]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
9485e25d87646bdfe02aaaf682bfa3eb7c97aa1e
[lyx.git] / src / ChangeLog
1 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lyxfunc.C:
4         * paragraph.C:
5         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
6         argument.
7
8 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
9
10         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
11         line after typing ctrl-enter
12
13 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14
15         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
16         math insets do not return a proper editable() state yet (bug 2124).
17
18 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
19
20         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
21         docs containing very large paragraphs.
22
23 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * cursor.C (selectionBegin, selectionEnd):
26         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
27         cursor at different depths.
28
29 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
30
31         * bufferview_funcs.C (coordOffset): do not call cursorPos
32         for collapsed collapsables (fix bug 2094).
33
34 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * paragraph.C (fontSpan): make sure that the FontSpan does not
37         span across beginOfBody (bug 1947).
38
39 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
42
43 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
44
45         * messages.C: fix crash and localization on MinGW/Windows platform
46
47 2005-11-02  Angus Leeming  <leeming@lyx.org>
48
49         * Bidi.C:
50         * lyxtextclass.C: trivial fixes to some MSVS warnings.
51
52 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         * text3.C (getStatus): re-enable disabled code. (bug 2081)
55
56         * BranchList.h (empty): constify.
57
58 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * text3.C (getStatus): 
61         * MenuBackend.C (expandBranches): take the branch list from the
62         master document (bug 2092).
63         
64         * MenuBackend.C (expandBranches): 
65         * bufferparams.C (writeFile): use BranchList type.
66
67 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * text3.C (dispatch, getStatus): 
70         * LyXAction.C (init): 
71         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
72
73 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
76
77 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * text.C (insertChar): do not reset boundary (bug 2061)
80
81 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * dociterator.C (updateInsets): new method. Updates the inset_
84         cache of all the slices of the iterator.
85
86         * text2.C (deleteEmptyParagraphMechanism): compare also containing
87         insets when comparing pit/pos; pass the right cursor to
88         recordUndo; when a paragraph has been deleted, compare `old.top()' to
89         the right cursor slice of `cur'; use updateInsets on cur to make
90         sure that the inset caches are correct; general cleanup.
91
92 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
95         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
96         containg inset. If this does not work, the same command will be
97         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
98
99         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
100         a dispatch.
101
102 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * lyxtextclass.C (Read): convert layout file if the format is wrong
105         * lyxtextclass.C (layout2layout): new, needed for the above
106
107 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * messages.C: do not forget to include <cerrno>.
110
111 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
112
113         * dociterator.h (StableDocIterator): add access to pos().
114         * undo.C (samePar): new method to check if two
115         iterators are in the same paragraph
116         * undo.C (recordUndo): check for samePar instead of cell identity
117         (which includes pos() and is too strict) (fixes bug 2097)
118
119 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * text.C (setCursorFromCoordinates): return a bool telling whether
122         dEPM triggered.
123
124         * text3.C (cursorPrevious): update if needed after
125         setCursorFromCoordinates (when dEPM triggered).
126
127         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
128         (otherwise the anchor may be completely wrong and make dEPM assert).
129
130 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
131
132         * buffer.C: version upgrade to 245.
133         * bufferparams.C: remove \quotes_times (bug 2090).
134         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
135         quotation marks as default.
136
137 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
138
139         * CutAndPaste.C (nrOfParagraphs): remove (unused)
140         * CutAndPaste.C (cutSelection): Remove debug message
141         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
142         undo information and only copy if this is a real cut
143         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
144         call
145         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
146         (bug 2059)
147         * CutAndPaste.C (eraseSelection): prevent cursor corruption
148         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
149         superflous cur.selection() setting
150         * CutAndPaste.[Ch] (grabSelection): take a const cursor
151         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
152
153 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
156         change anything.
157
158 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
159
160         * BufferView_pimpl.C: comment layout change
161
162 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
163
164         * LyXAction.C:
165         * lfuns.h:
166         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
167         by bibliography managers (bug 2071).
168
169 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
170
171         * BufferView_pimpl.C (update): choose arguments to update call so
172         that single-par update works most times
173         * text3.C (dispatch): carefully tune updating separately for
174         whole-screen and current-paragraph
175         * rowpainter.C (paintText): 1) replace painting by caching for
176         the two extra paragraphs, because we can;
177         2) suppress greying out of areas below/above drawn area in case of
178         single-par refresh
179         * lyxfunc.C (dispatch): remove superfluous update
180         * LyXAction.[Ch]: introduce SingleParUpdate
181
182 2005-10-05  Angus Leeming  <leeming@lyx.org>
183
184         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
185         always initialised before use.
186
187         * text.C (setHeightOfRow): squash warning about comparison
188         of signed and unsigned types.
189
190 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
191
192         * text.C (cursorX): two fixes involving RtL text drawing
193
194 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
197         items, not only large ones (part of bug 2057)
198
199 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
202         argument, use "newcommand".
203
204 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
205
206         * cursor.C (setSelection): do not open collapsable insets;
207         the insets do by themselves now (autoopen).
208
209 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
210
211         * buffer.C: format is up to 244.
212
213 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
214
215         * text.C (redoParagraph): fix calcultation of inset width wrt 
216         leftMargin (bug 1957).
217
218         * text3.C (dispatch): leave inset to the right when hitting ESC 
219         (bug 2034).
220
221 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * text2.C: 
224         * text.C: 
225         * factory.C:
226         * messages.C: include <boost/current_function.hpp> 
227
228 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
231         when command is internal. (bug 1941)
232
233 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * text2.C (cursorRight): do not honor boundary when at the end of
236         a paragraph. (bug 2010 again)
237
238 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
241
242 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
243
244         * rowpainter.C (paintText): fix RtL space width display bug (2029)
245
246 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
247
248         * text2.C (setCursor): remove the unused 'boundary' parameter for
249         the CursorSlice version; adapt the LCursor version.
250
251         * lyxrc.C (write): 
252         * paragraph_pimpl.C (markErased): 
253         * cursor.C (bruteFind2, bruteFond3): fix warnings.
254
255 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
256
257         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
258         as is already done for "chapter".
259
260 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
263         textclass; do not record undo if nothing is changed.
264
265 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
266
267         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
268
269 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
270
271         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
272
273 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
276         combox, it is necessary to search for the topmost paragraph in the
277         cursor stack (bug 1926)
278
279 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
280
281         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
282         end of paragraph. (bug 2010)
283
284 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
285
286         * text.C (leftMargin): check for inInset == 0
287
288 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
289
290         * text.C (leftMargin): test for insetbase's new neverIndent()
291         bool instead of listing each and every inset that does not
292         wish par indendation.
293
294 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * buffer_funcs.C (setCounter): put the code to compute enum label
297         here (where it belongs).
298
299         * counters.C (enumLabel): move code to buffer_funcs.C.
300
301 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
302
303         * outputparams.[Ch]: store local_font instead of local_language
304         * paragraph.C (simpleTeXOnePar): adapt to the change above
305
306 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
307
308         * buffer_funcs.C:
309         * counters.[Ch]: clean up special code for Hebrew.
310
311 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
314         than 2.
315
316 2005-09-08  Angus Leeming  <leeming@lyx.org>
317
318         * ispell.C:
319         * lyxrc.C: correct grammar describing invocation of the
320         spellchecker.
321
322 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
323
324         * text.C (read): remove unused variable.
325         (readParToken): remove static Change variable (never good in
326         recursive settings...); add it as a parameter instead.
327
328         * paragraph_pimpl.C (acceptChange): make debug info conditional.
329
330         * metricsinfo.C (PainterInfo): add new member erased_.
331
332         * rowpainter.C (RowPainter): add erased_ member, initialized from
333         PainterInfo. 
334         (paintInset): pass erased_ to Inset::draw.
335
336         * lyxfunc.C (lookupChange): new function. Tells whether change 
337         tracking is disabled at a given postion.
338         (getStatus): disable some actions when in deleted text with change
339         tracking. 
340
341 2005-08-03  John Levon  <levon@movementarian.org>
342         
343         * tabular.C (appendColumn, setMultiColumn): adapt to change to
344         InsetText::clear().
345
346         * paragraph_pimpl.C (markErased): add bool argument and handle it.
347         Also make sure to mark insets recursively.
348         (rejectChange, erase): be recursive
349
350         * paragraph.C (markErased): add bool argument.
351 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * lyxfind.C (findNextChange): tiny cleanup.
354
355         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
356         change tracking with the cursor in an inset; make sure the first
357         change is not skipped.
358
359 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
360
361         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
362         tabularStackDirty to work around bug 1919 (tabular needs
363         to know whether its own cell paste buffer or the one of 
364         texted is newer.
365         * CutAndPaste.C: mark tabular_stack_ clean after copy.
366
367 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
368
369         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
370
371 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
372
373         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
374         use old deleteion algorithm when changetracking is on.
375
376 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
377
378         * messages.C (get): add debug output.
379
380 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
381
382         * text.C (cursorX): fix bug 1965: cursor movement at
383         line end broken in RtL.
384         (drawSelection): fix bug 1970: drawing of single-line 
385         selection broken for RtL.
386
387 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         bug 465.
390
391         * dociterator.h (clear, push_back, pop_back): change from
392         protected to public.
393
394         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
395         and changed to just return the value of the item depth; take a
396         ParIterator as argument; take the itemdepth at outer nesting level
397         in account if necessary; cleanup and comment the code.
398         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
399         and changed to just return true if reset is needed; take a
400         ParIterator as argument; cleanup and comment the code.
401         (setCounter): adapt to above changes.
402
403 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * text3.C (dispatch): make debug message optional
406
407 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
408
409         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
410         inset. (bug 1963)
411
412 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
413
414         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
415
416 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
417
418         * text.C (insertChar):
419         * text2.C (deleteEmptyParagraphMechanism): take care whether 
420         a blank has been deleted (in change tracking mode) (bug 1254).
421
422 2005-07-20  John Levon  <levon@movementarian.org>
423
424         * text2.C (insertStringAsLines): remove old dubious code,
425         fixing bug 1939.
426
427 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * MenuBackend.C (expandToc): use Floating::listName() as title of
430         the floats submenus.
431
432 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
433
434         * toc.[Ch]: Do not use translatable strings (bug 1870).
435
436 2005-07-20  John Levon  <levon@movementarian.org>
437
438         * tabular.C: fix 1748 - setting multicolumn adds
439           left line to the first cell
440
441 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
442
443         bug 1920
444         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
445         pars in one go.
446
447 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
448
449         * messages.C: supress some lyxerr messages
450
451 2005-07-18  Juergen Vigna  <jug@lyx.org>
452
453         * text.C (drawSelection): honor boundary when asking for cursorX.
454
455 2005-07-17  José Matos  <jamatos@fc.up.pt>
456
457         * tabular.C (recalculateMulticolumns): fix handling of one column
458         tables.
459
460 2005-07-17  Juergen Vigna  <jug@lyx.org>
461
462         * text.C (Delete, backspace): fixed so that paragraph with the
463         same layout can be merged by Delete/Backspace.
464
465 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
466
467         * text.C (readParToken): fix spelling.
468
469 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
470
471         * text2.C: fix counter update for DEPM problem reported by
472         Georg Baum
473
474 2005-07-17  Juergen Vigna  <jug@lyx.org>
475
476         * BufferView_pimpl.C (setBuffer): save/restore the
477         cursor/selection when switching buffers
478
479         * buffer.h: 
480         * buffer.C (saveCursor): add saveDocumentIterators to save the
481         cursor when switching buffer.
482
483 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
484
485         * debug.C: fix typo
486         * buffer.C: clarify message
487         
488 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
489
490         * dociterator.C (DocIterator): fix initialization order
491
492 2005-07-17  Juergen Vigna  <jug@lyx.org>
493
494         * text2.C (cursorHome): 
495         * text.C (drawSelection, cursorX): 
496         * dociterator.C (textRow): add boundary to getRow() call
497
498         * paragraph.C (getRow): implementation of below
499
500         * paragraph.h: add parameter boundary for getRow() function
501
502 2005-07-17  José Matos  <jamatos@fc.up.pt>
503
504         * buffer.C:
505         * bufferparams.[Ch]:
506         * tex-strings.[Ch]: new file format, remove support for a4.sty,
507         a4wide.sty and a4widemargins.
508
509 2005-07-17  Juergen Vigna  <jug@lyx.org>
510
511         * text2.C (cursorLeft): fix one of error
512
513 2005-07-17  Juergen Vigna  <jug@lyx.org>
514
515         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
516                    cursorEnd):
517         more fixes for boundary handling
518
519         * text3.C (dispatch): don't reset cursor if boundary has changed
520         on cursor movement.
521
522 2005-07-16  Juergen Vigna  <jug@lyx.org>
523
524         * text2.C (getColumnNearX): hopefully got it right now,
525         check if we are on column 0 for special case.
526
527 2005-07-16  Juergen Vigna  <jug@lyx.org>
528
529         * text2.C (getColumnNearX): handle special case Newline Inset
530
531         * text.C (singleWidth): Just remove bogus check
532
533 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
534
535         * funcrequest.C (split): avoid reading uninitialized char c
536
537 2005-07-16  José Matos  <jamatos@fc.up.pt>
538
539         * buffer.C:
540         * converter.C:
541         * lyxrc.C:
542         * paper.h:
543         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
544         single papersize variable.
545
546 2005-07-16  Juergen Vigna  <jug@lyx.org>
547
548         * text3.C (dispatch): honor boundary when checking if a cursor
549         movement has been done
550
551         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
552         (setCursor, setCursorIntern): fix cursor movement with boundary
553
554 2005-07-16  Juergen Vigna  <jug@lyx.org>
555
556         * text.C (currentState): output the actual Boundary
557
558 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * factory.C (createInset): fix bad logic for tabular creation
561
562 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
563
564         * lyx_main.C (init): change some reLyX reference to tex2lyx
565
566 2005-07-16  Juergen Vigna  <jug@lyx.org>
567
568         * dociterator.C (DocIterator): initialize boundary
569
570 2005-07-16  Juergen Vigna  <jug@lyx.org>
571
572         * text2.C (getColumnNearX): Consider rows without trailing blank.  
573
574 2005-07-16  André Pönitz  <poenitz@gmx.net>
575
576         * lyxfont.h: Change order of declarations to give the compiler
577         a better chance to inline things
578
579         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
580         questions on unsaved docs for better scritability
581
582 2005-07-16  André Pönitz  <poenitz@gmx.net>
583
584         * paragraph.h (getChar): remove asserts as the same kind of security
585         can be achieved by using a suitable standard library implementation
586         and the function was in the critical path (25.9% in profiler)
587
588 2005-07-16  Juergen Vigna  <jug@lyx.org>
589
590         * cursor.C (bruteFind2):
591         * bufferview_funcs.C (coordOffset): 
592         * text.C (cursorX,cursorY): Handle cursor position after last char
593         in row before a inset which uses a whole row.
594
595 2005-07-15  José Matos <jamatos@lyx.org>
596
597         * output_plaintext.[Ch] (writeFileAscii): control reference title
598         printing.
599         (asciiParagraph): noparbreak was already deal and was incorrectly
600         used.
601
602 2005-07-15  Juergen Vigna <jug@lyx.org>
603
604         * lyxfunc.C (dispatch): save and restore the cursor after a
605         textclass switch.
606
607 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
608
609         * text.C (backspace): bug 806 for empty keepempty paragraphs we
610         change the layout to default before letting DEPM do its thing.
611
612         * paragraph_funcs.C (breakParagraph): dont reset the layout on
613         keepEmpty paragraphs
614
615         * text.C (setCursorFromCoordinates): add a debug statement
616
617         * text2.C (getColumnNearX): bug 1825 make sure that we don't
618         return a pos that is not on the row
619
620         * output_latex.C (TeXDeeper): get rid of potential dereferencing
621         of past the end iterator
622
623 2005-07-14  André Pönitz  <poenitz@gmx.net>
624
625         * undo.C (recordUndoFullBuffer): implement undo for
626         textclass switches
627
628 2005-07-14  André Pönitz  <poenitz@gmx.net>
629
630         * cursor.C (setSelection): open insets when selection is set there
631         to avoid crashs with cold coord cache
632
633 2005-07-14  André Pönitz  <poenitz@gmx.net>
634
635         * trans_mgr.C (insert): move cursor to the right after inserting
636         a char.
637
638 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
639
640         * BufferView_pimpl.C (update): dampen some of the debug blabbering
641         * factory.C (readInset): ditto
642         * text.C, text2.C: ditto
643
644 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * buffer.C: format incremented to 242. There is no file format per
647         se, but the "frenchb" language has been removed from lib/language
648         and has to be translated to "french" by lyx2lyx.
649
650 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
651
652         * cursor_slice.h, dociterator.h: add some documentation
653         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
654
655 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
656
657         * text.C (leftMargin): do not add identation to display() style
658         insets, because they are always centered (bug 1293).
659
660 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
661
662         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
663         formatted_time methods in support/lyxtime.
664
665 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
666
667         * toc.[Ch]: new method getGuiName, which is used by the frontends 
668         to set the toc combo (fixes bug 1870). Make TOC string translatable.
669
670 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
671
672         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
673         StableDocIterator const &)
674         * undo.C (recordUndo): use the above instead of cell.size() comparison
675         (fixes bug 1808; instructed by Andr�.
676
677 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
678
679         * cursor_slice.h: 
680         * dociterator.h: Fix the assert when copying rows/cols in math
681
682 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
683
684         * BufferView_pimpl.C:
685         * LyXAction.C:
686         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
687
688         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
689         (findInset): new functions, refactored from goto Inset that return 
690         the position of a certain inset without setting the buffer's cursor
691         (by Jean-Marc); 
692         (gotoInset): rewrite to call findInset and then set the cursor
693         (by Jean-Marc).
694
695 2005-06-16  Angus Leeming  <leeming@lyx.org>
696
697         * lyxrc.C (output, read): wrap all input and output of paths with
698         calls to os::internal_path and os::external_path, respectively.
699         (output): wrap bind_file inside quotes.
700
701         * format.C (view): enable the viewer to use the '$$s' placeholder.
702
703 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
704
705         * LColor.[Ch] (getFromLaTeXName): new
706
707 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
708
709         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
710
711 2005-06-14  Angus Leeming  <leeming@lyx.org>
712
713         * lyx_main.C (init): ensure that the LyX binary dir is the first
714         element in the PATH on non-POSIX builds.
715
716 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
719
720 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
721
722         * rowpainter.C (paintInset, paintHebrewComposeChar)
723         (paintArabicComposeChar, paintChars): add a LyXFont argument.
724         (paintChars): use getFontSpan to reduce calls to getFont to a
725         minimum; use Paragraph::lookupChange instead of isXXXText.
726         (paintForeignMark): rename LyXFont argument.
727         (paintFromPos): pass a LyXFont object to the various paintXXX
728         methods.
729
730         * FontIterator.C (FontIterator, operator++): use
731         Paragraph::getFontSpan
732
733         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
734         version that returns the font span as a pair.
735
736 2005-06-09  Angus Leeming  <leeming@lyx.org>
737
738         * converter.C (convert): Don't forget "outfile = real_outfile" as
739         the final step in a conversion where the input and output file names
740         are the same. Otherwise, future conversion steps won't work...
741
742 2005-06-09  Angus Leeming  <leeming@lyx.org>
743
744         * lyxsocket.C: remove stub code as it isn't needed by
745         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
746
747 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
748
749         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
750         effectively disabled -x
751
752 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
753
754         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
755         when it actually makes sense.
756
757 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
758
759         * BufferView_pimpl.C: revert to showCursor in connection with
760         Lars's front-end stack
761
762 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
763
764         * text.C (redoParagraph): move cursor right after a bibitem
765         has been inserted.
766
767         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
768
769 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
770
771         * buffer_funcs.C (bufferErrors): fix computation of the end of an
772         error range.
773
774 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
775
776         * BufferView.[Ch] (update):
777         * BufferView_pimpl.[Ch] (update, metrics):
778         * dimension.h (operator==):
779         * lyxfunc.C (dispatch):
780         * metricsinfo.h (ViewMetricsInfo):
781         * rowpainter.C (paintText):
782         * lyxtext.h:
783         * text.C (redoParagraph):
784         * text3.C (dispatch): Make LyX only repaint current paragraph in
785         case of character insert --> speedup. Also fix cursor draw
786         artifacts
787
788 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
789
790         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
791         avoid a crash (bug 1891)
792
793 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
794
795         Fix bug 1892:
796
797         * text2.C (getStringToIndex): constify cur argument.
798
799         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
800         argument has been given
801         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
802         try to invoke LFUN_INSET_APPLY).
803
804         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
805         if no inset was created by doInsertInset
806         (doInsertInset): return true if an inset has been inserted.
807
808 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * vspace.C (asGUIName): new method. A version of the space
811         suitable for showing on screen.
812
813 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
814
815         * MenuBackend.C:
816         * lyxrc.C: rename "ASCII" to "Plain Text"
817
818 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * buffer_funcs.C (expandLabel): take a Buffer as argument;
821         translate the labelstring.
822         (setCounter): translate labelstring as needed.
823
824         * output_docbook.C (makeCommand): fix expandLabel invokation
825
826 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
827
828         * BufferView.C: fix dialog title
829
830 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
831
832         * lyx_main.C (priv_exec): fix logic error with help from Angus
833         * lyx_main.C (parse_execute): set is_gui = false and remove now
834         obsolete comment about a segfault
835
836 2005-05-18  Angus Leeming  <leeming@lyx.org>
837
838         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
839
840 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
841
842         * tabular.[hC]: added setCellInset to fix tabular paste.
843
844 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
845
846         * buffer.C (save): check if destination is writable before trying
847         to copy a file
848
849 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
850
851         * BufferView_pimpl.C (update): fix processEvents -caused update
852         recursion bug
853
854 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
855
856         * buffer_funcs.C (setCounter): fix test for numbering of
857         environments.
858
859         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
860         depth correctly; use optional argument when it exists
861
862         * lyxtextclass.C: remove unused MaxCounterTags enum
863         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
864         (max_toclevel, min_toclevel): new methods.
865
866         * MenuBackend.C (expandToc2): fix case where depth is smaller than
867         the smallest depth in toc.
868
869         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
870         layouts that should not appear in a table of contents.
871
872 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
873
874         * cursor.h (undispatched, noUpdate): add comments from Andr�
875 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
876
877         * lfuns.h:
878         * LyXAction.C:
879         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
880
881 2005-05-07  André Pönitz  <poenitz@gmx.net>
882
883         * cursor.[Ch] (leaveInset): new function
884
885 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
886
887         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
888
889 2005-05-04  Angus Leeming  <leeming@lyx.org>
890
891         * lyxfunc.C (getStatus): disable the spell checker dialog if
892         none of USE_[AIP]SPELL are defined.
893
894 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
895
896         * tabular.C (setWidthOfCell): remove obsolete comment
897
898 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
899
900         * paragraph.C (bibitem):
901         * buffer_funcs.C (setCounter):
902         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
903
904 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
905
906         * text3.C (getStatus): immediately return after setOnOff
907
908         * rowpainter.C: fix drawing of appendix start
909
910 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
911
912         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
913         SwitchBetweenClasses and remove the unused return value.
914         Handle character styles, too
915
916 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
917
918         * factory.C (createInset): handle undefined character styles
919
920 2005-05-02  Angus Leeming  <leeming@lyx.org>
921
922         * buffer.C: protect the #include of utime.h with a preprocessor
923         guard.
924
925 2005-05-02  Angus Leeming  <leeming@lyx.org>
926
927         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
928         function so that auto-saving works, albeit in a blocking manner.
929
930         * Makefile.am: make compilation of the client sub directory, of
931         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
932         on conditionals set at configure time.
933
934         * SpellBase.[Ch]: no longer an abstract base class. Instead,
935         it can be compiled in its own right but has no-op functionality.
936
937         * aspell.C, pspell.C: remove preprocessor guards. The files should
938         be compiled only if the necessary functionality exists.
939
940         * lyxserver.C, lyxsocket.C: disable on Windows.
941
942 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
943
944         * text.C (leftMargin): Fix the parindent use bug (1764)
945         by dirty trick
946
947 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
948
949         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
950         argument.
951
952 2005-04-25  Angus Leeming  <leeming@lyx.org>
953
954         * Bidi.[Ch]:
955         * coordcache.[Ch]:
956         * ispell.C:
957         * lyxserver.C:
958         * mover.C:
959         * pch.h:
960         include <config.h> in .C files, not .h ones.
961         add licence blurb.
962         protect headers inside preprocessor guards.
963
964 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
965
966         * FuncStatus.h (StatusCodes): document
967
968 2005-04-21  André Pönitz  <poenitz@gmx.net>
969
970         * FuncStatus.h (enabled, onoff): document
971
972 2005-04-19  Angus Leeming  <leeming@lyx.org>
973
974         * BufferView_pimpl.C (cursorToggle): no longer test whether
975         any child processes have been reaped before calling
976         handleCompletedProcesses().
977
978 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
979
980         * text3.C (dispatch): fix, finally fix, the language problem in
981         new lyxtexts, without disabling on-the-fly font changes (Helge's
982         bug report)
983
984 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
985
986         * text3.C (dispatch): set cursor on double/triple click events
987         (bug 1811)
988
989 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
990
991         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
992         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
993
994         * rowpainter.C (paintFirst): simplify the code a little bit. In
995         particular, remove the test for secnumdepth.
996         * text.C (setHeightOfRow): only allocate space for chapter number
997         when updateCounters provided an actual label, instead of looking
998         at secnumdepth directly.
999
1000         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1001
1002         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1003         paragraphs when secnumdepth is large enough or, for environments,
1004         when they are not the first in a sequence.
1005
1006 2005-04-17  Angus Leeming  <leeming@lyx.org>
1007
1008         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1009         containing space and '~' characters with a call to latex_path().
1010
1011 2005-04-17  Angus Leeming  <leeming@lyx.org>
1012
1013         * converter.C (convert): protect all args of convertDefault.sh
1014         script with quotes.
1015
1016 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1017
1018         * text3.C (dispatch): change the layout to "Caption" after inserting
1019         a float.
1020
1021 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1022
1023         * text3.C (dispatch): fix language problem in newly created
1024         textinsets (and main text) in non-english docs
1025
1026 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1027
1028         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1029         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1030         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1031
1032 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1033
1034         * lyxtext.h:
1035         * text.C (metrics):
1036         * text2.C (getFont):
1037         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1038         fonts fix
1039
1040 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1041
1042         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1043         output of \item arguments without trailing text.
1044
1045 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * FontIterator.C (operator*): avoid a copy of the font.
1048
1049 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1050
1051         * rowpainter.C (getFont): fix language bug from previous fix
1052
1053 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * rowpainter.C (RowPainter, getFont): fix font inside inset
1056         (bugs 1766, 1809)
1057
1058 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1059
1060         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1061         preventing inserted font, deco, delim insets jumping to start of
1062         surrounding inset.
1063
1064 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1065
1066         * lyxfunc.C (dispatch): translate message before sending it to the
1067         minibuffer.
1068
1069 2005-03-29  Angus Leeming  <leeming@lyx.org>
1070
1071         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1072         to LyX on the command line.
1073
1074 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1075
1076         * vc-backend.C: use QuoteName to protect file names wherever
1077         necessary.
1078
1079 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1080
1081         * buffer.[Ch]:
1082         * BranchList.h: fix bugs 1844,1845: document settings don't
1083         stick
1084
1085 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * lyxrc.C (setDefaults, read, output, getDescription): add support
1088         for tex_allows_spaces.
1089
1090         * exporter.C (Export): allows files in directory containing spaces
1091         if tex_allows_spaces is true.
1092
1093         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1094         output it in double quotes.
1095
1096 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1097
1098         * rowpainter.C: use default text height for drawing change tracker
1099         strikeout lines.
1100
1101 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1102
1103         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1104
1105 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1106
1107         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1108         directory is missing.
1109
1110 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1111
1112         * text2.C: fixed the fix, extended to other case.
1113
1114 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1115
1116         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1117
1118 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1119
1120         * text2.C (cursorUp): get rid of a crash
1121         * text.C (x2pos): add an assert
1122
1123 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1124
1125         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1126
1127         * text3.C:
1128         * lyxfunc.C:
1129         * dociterator.C: include <boost/current_function.hpp>, which is
1130         needed when assertions are disabled.
1131
1132 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1133
1134         * text2.C: fix for stuck cursor when traversing two
1135         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1136
1137 2005-02-25  Andreas Vox  <avox@arcor.de>
1138
1139         * output_docbook.C (makeParagraph): suppress trailing newline
1140         after a run of paragraphs
1141
1142 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1143
1144         * paragraph.C: fix for confused change tracker when pasting
1145         text that begins with a lineseparator. [bug 1827]
1146         (setChange(0, Change::INSERTED);)
1147
1148         * paragraph_funcs.C: fix for lost changes on triple-paste
1149         in change tracking mode [bug 1827] (par.setChange()).
1150
1151 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1152
1153         * text2.C (updateCounters, setCounter, expandLabel): move to
1154         buffer_funcs.
1155
1156         * buffer_funcs.C (updateCounters): turn into a free standing
1157         function and add a buffer parameter. Remove dead code for tracking
1158         labelstring change.
1159         (setCounter): change into a free-standing function which gets a
1160         dociterator as argument. Use this iterator to fix captions in a
1161         simple way. When no float is found above the caption, use the
1162         labelstring of the caption layout as default.
1163
1164         * text.C (breakParagraph, backspace):
1165         * text2.C (init, setLayout, changeDepth):
1166         * text3.C (dispatch):
1167         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1168         updateCounters.
1169
1170         * dociterator.C (forwardPar): make it much faster by calling
1171         forwardPos() only when really necessary.
1172
1173         * output_docbook.C (makeCommand): adapt to expandLabel move.
1174
1175         * cursor.C: remove unused variable
1176
1177 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1178
1179         * paragraph_funcs.C: fix crash when pasting insets in change
1180         tracking mode [bug 1277] (honour change type in moveItem).
1181
1182 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1183
1184         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1185
1186 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * BufferView.C (setCursor): change to use a DocIterator.
1189         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1190         (putSelectionAt): adapt to BufferView::setCursor change.
1191
1192         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1193         moved here from LyXText and rewritten to use proper cursor
1194         methods. Fixes bug 1787, 616 and 835.
1195
1196         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1197         when inside an inset (part of bug 781).
1198         (dispatch): adapt to change of BufferView::setCursor.
1199         (getStatus, dispatch): handle LFUN_GOTOERROR,
1200         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1201
1202         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1203         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1204         * text3.C (gotoNextInset, gotoInset): removed.
1205
1206 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1209
1210 2005-02-15  Angus Leeming  <leeming@lyx.org>
1211
1212         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1213         can be used meaningfully in a comparison.
1214
1215 2005-02-13  André Pönitz  <poenitz@gmx.net>
1216
1217         * bufferview_funcs.C (coordOffset): improve cursor drawing
1218
1219 2005-02-13  André Pönitz  <poenitz@gmx.net>
1220
1221         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1222         * Cursor.C (dispatch): use fixIfBroken
1223         * lyxfunc.C (getStatus): use fixIfBroken
1224
1225 2005-02-15  Angus Leeming  <leeming@lyx.org>
1226
1227         * lyx_main.C (error_handler):
1228         * lyxfunc.C:
1229         * lyxrc.C (setDefaults):
1230         s/GetEnv/getEnv/.
1231         #include "environment.h".
1232
1233         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1234
1235 2005-02-15  Angus Leeming  <leeming@lyx.org>
1236
1237         * lyxserver.C (startPipe): squash MSVC warning "local variable
1238         'fd' used without having been initialized".
1239
1240 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1241
1242         * BufferView_pimpl.C: revert accidental commit.
1243
1244 2005-02-14  André Pönitz  <poenitz@gmx.net>
1245
1246         * dociterator.[Ch]: new member forwardPosNoDescent(),
1247         which doesn't enter nested insets.
1248         * text2.C (setFont): use forwardPosNoDescent() instead
1249         of ForwardPos() (fixes crash on font change).
1250
1251 2005-02-13  Angus Leeming  <leeming@lyx.org>
1252
1253         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1254         only if lyxrc.path_prefix is not empty.
1255
1256 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1257
1258         * bufferparams.C (readGraphicsDriver): prevent crash
1259
1260 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1261
1262         * text2.C (setCounter): check for inInset() == 0
1263
1264 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1265
1266         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1267         but use update() to get correct screen display; use convert
1268         instead of istringstream.
1269         (getStatus): handle LFUN_GOTO_PARAGRAPH
1270
1271         * lyxfunc.C (dispatch, getStatus): do not handle
1272         LFUN_GOTO_PARAGRAPH here.
1273
1274 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1275
1276         * text3.C (dispatch): size() -> depth()
1277
1278         * text2.C: remove some debug output
1279
1280         * paragraph.C: ws changes only
1281
1282         * lyxfunc.C (getStatus): size() -> depth()
1283
1284         * dociterator.h (clear, push_back, pop_back, internalData,
1285         operator[], resize, empty): new functions
1286         Make StableDocIterator and operator== be friends. Don't inherit
1287         from std::vector use a privat class variable slices_ instead.
1288         Modify to fit.
1289
1290         * dociterator.C: update because of not inheriting from std::vector
1291         anymore. Call explictly to slices_ instead. Use depth() instead of
1292         size() and top() instead of back()
1293
1294         * cursor.C: chagne size() -> depth and back() -> top(). Also
1295         remove some direct operator[](i) calls in favour of foo[i]
1296         (getFont): remove some dead code
1297
1298         * bufferview_funcs.C (coordOffset): size() -> depth()
1299
1300         * buffer.C: ws changes only
1301
1302         * CutAndPaste.C (eraseSelection): back() -> top()
1303
1304         * BufferView_pimpl.C (selectionRequested): back() -> top()
1305
1306         * BufferView.C (setCursor): size() -> depth()
1307
1308 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1309
1310         * text3.C (cursorPrevious): return true if depm changed something
1311         (cursorNext): ditto
1312         (dispatch): rename sl to oldTopSlice, remove moving use the new
1313         NoUpdate func attrib instead. Make sure that needsUpdate is set
1314         for function that have NoUpdate, but where depm might have changed
1315         the buffer anyway.
1316
1317         * text2.C (cursorLeft): make us return true if depm changed
1318         something
1319         (cursorRight): ditto
1320         (cursorUpParagraph): ditto
1321         (curosrDownParagraph): ditto
1322         (cursorUp, cursorDown): ditto, make sure to read comments in code
1323         (deleteEmptyParagraphMechanism): remove an assert, also return
1324         true if just a single char was deleted.
1325
1326         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1327         cursor that we modify, to avoid modifying an active cursor before
1328         we call setCursor. This allows depm to run. Also return true if
1329         depm deleted something.
1330
1331         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1332         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1333         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1334         something was changed in the buffer because of them (ie. depm run)
1335
1336         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1337         debug messages. Make update by default be false. Make sure that
1338         the result of update is retained throught several calls down to
1339         dispatch.
1340
1341         * LyXAction.h: add a new func_attrib: NoUpdate
1342
1343         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1344         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1345         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1346         and LFUN_WORDLEFT
1347         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1348
1349 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350
1351         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1352         bv_->owner(), bv_->buffer() by direct references to the private
1353         members.
1354         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1355         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1356         (fitCursor): center() is in BufferView::Pimpl.
1357         (getStatus, trackChanges, dispatch): no need for a temporary buf
1358         variable
1359         (fitCursor, workAreaDispatch): use workarea().workheight()
1360
1361 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1362
1363         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1364
1365 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1366
1367         * buffer.C: format up to 241.
1368         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1369         break if pasting into ERT
1370         * lyxfunc.C (getStatus): suppress mathpanel and
1371         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1372
1373 2005-02-01  Angus Leeming  <leeming@lyx.org>
1374
1375         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1376
1377 2005-02-01  Angus Leeming  <leeming@lyx.org>
1378
1379         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1380         calling fs::is_directory().
1381
1382 2005-01-31  Angus Leeming  <leeming@lyx.org>
1383
1384         * lyx_main.C (priv_exec): specify explicitly the relative location
1385         of the top level build directory when run in-place.
1386
1387 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1388
1389         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1390         LyXText containing the cursor, not the top-level one.
1391
1392         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1393         true.
1394         (insertStringAsLines): rename par to pit; use temporary variable
1395         par to hold a Paragraph; do not store par.layout() in a variable,
1396         since the pointer may die when breaking paragraphs; pass pars to
1397         breakParagraph() instead of Buffer::paragraphs().
1398
1399 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1400
1401         * lyxlex_pimpl.h: #include <fstream>.
1402
1403         * BufferView.[Ch] (getLyXText): add a const version.
1404
1405         * BufferView_pimpl.C: add debug aids.
1406
1407         * RowList_fwd.h:
1408         * buffer.h:
1409         * lyxrow.h:
1410         * paragraph_funcs.h: add commentary explaining what the class does.
1411
1412
1413         * coordcache.[Ch]: add lots of commentary.
1414         (startUpdating, doneUpdating): debug aids.
1415         (arrays, insets, parPos, getParPos): accessors to private data.
1416
1417         * cursor_slice.[Ch] (text): add a const version.
1418         * dociterator.[Ch] (text, innerText): add const versions.
1419
1420         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1421         bool.
1422
1423         * paragraph.C (getRow, pos2ros): add asserts.
1424
1425         * paragraph.h: add commentary. Lots of.
1426
1427         * paragraph.[Ch] (metrucs, draw): removed.
1428
1429         * cursor.C:
1430         * rowpainter.[Ch]: const-correct changes.
1431
1432         * text.C: various obvious clean-ups. Removal of ancient cruft.
1433         Bug fixes, even.
1434
1435 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1436
1437         * vc-backend.C (find_file): rewrite to use boost.filesystem
1438         (scanMaster): ditto
1439
1440         * main.C (main): set default name check for boost.filesystem to
1441         no check
1442
1443         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1444         (open): ditto
1445         (doImport): ditto
1446         (actOnUpdatedPrefs): ditto
1447
1448         * lyx_main.C (init): rewrite to use boost.filesystem
1449         (queryUserLyXDir): ditto
1450
1451         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1452         (getContentsOfAsciiFile): ditto
1453
1454         * lastfiles.C (readFile): rewrite to use boost.filesystem
1455
1456         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1457
1458         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1459         (loadLyXFile): ditto
1460
1461         * buffer.C (Buffer): adjust for destroydir
1462         (getLogName): rewrite to use boost.filesystem
1463         (setFileName): ditto
1464         (save): use fs::copy_file (from fs_extras)
1465
1466         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1467
1468         * LaTeX.C (run): rewrite to use boost.filesystem
1469         (scanAuxFiles): ditto
1470         (handleFoundFile): ditto
1471
1472 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1473
1474         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1475
1476         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1477
1478 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1479
1480         * lyxlayout.[Ch]: change some vars from float to double
1481
1482         * buffer.C (readFile): make a local var const
1483
1484         * Several files: use convert<> instead of atoi,strToXXX and friends
1485
1486 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1487
1488         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1489         holds the contents of packages.lst. New functions getAvailable
1490         and isAvailable to parse and check that list, resp.
1491
1492         * LyXAction.C:
1493         * lfuns.h:
1494         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1495
1496         * bufferparams.[Ch]: new param output_changes.
1497
1498         * Buffer.C: increase file format to 240.
1499         Use output_changes and isVailable.
1500
1501         * changes.[Ch]:
1502         * paragraph.C:
1503         * paragraph_pimpl.C: Use output_changes and isVailable.
1504
1505 2005-01-23  Angus Leeming  <leeming@lyx.org>
1506
1507         * output_latex.C: #include "insetbibitem.h", rather than
1508         forward declare function bibitemWidest.
1509
1510 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1511
1512         * lyx_main.C (init): make it compile on the Mac.
1513
1514 2005-01-20  Angus Leeming  <leeming@lyx.org>
1515
1516         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1517         (setLyXMisc): (char string literal) != (char string literal) is
1518         performing a comparison on the addresses. Convert one operand
1519         explicitly to string to guarantee expected behaviour.
1520         From MSVC warning.
1521
1522 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1523
1524         * buffer.C:
1525         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1526
1527         * output_plaintext.C: remove unneeded #include gzstream.h.
1528
1529 2005-01-20  Angus Leeming  <leeming@lyx.org>
1530
1531         * SpellBase.h: rename some of the elements of the Result enum.
1532
1533         * aspell_local.h:
1534         * ispell.h:
1535         * pspell.h:
1536         * aspell.C (check):
1537         * ispell.C (check):
1538         * pspell.C (check): ditto
1539
1540 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1541
1542         * buffer.C: add #include <fstream>.
1543
1544         * lyx_main.C (init): Compile fix.
1545
1546         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1547
1548 2005-01-20  Angus Leeming  <leeming@lyx.org>
1549
1550         * mover.h: change commentary to reflect the changed meaning of
1551         the $$s placeholder.
1552
1553 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1554
1555         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1556
1557         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1558
1559 2005-01-20  Angus Leeming  <leeming@lyx.org>
1560
1561         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1562         printing diagnostic data by not dereferecing an iterator past the
1563         end.
1564
1565 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1566
1567         * buffer.C (readHeader): use "&&" rather than "and".
1568
1569         * lyxserver.h (inPipeName, outPipeName): make these const.
1570
1571 2005-01-19  Angus Leeming  <leeming@lyx.org>
1572
1573         * lyx_main.C (error_handler, init): protect SIGHUP with
1574         #ifdef SIGHUP guards.
1575
1576 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1577
1578         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1579
1580 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * text.C (setHeightOfRow): add a margin at the top and bottom of
1583         the document (bug 1761)
1584
1585 2005-01-17  Angus Leeming  <leeming@lyx.org>
1586
1587         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1588         with "python ". Workaround for a brain-dead Windows.
1589
1590 2005-01-16  Angus Leeming  <leeming@lyx.org>
1591
1592         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1593         for MacOSX and Windows to use prependEnvPath.
1594         Strip out the hard-coded block to add elements to the PATH for
1595         MacOSX and replace it with a call to prependEnvPath using the
1596         contents of LyXRC::path_prefix.
1597         (queryUserLyXDir): strip out the code to run reconfigure, instead
1598         returning a boolean indicating the necessity to do so.
1599         (reconfigureUserLyXDir): contains the code to reconfigure the
1600         user support directory. Is now called after the various LyXRC data
1601         files have been read.
1602
1603         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1604
1605 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1606
1607         * converter.[Ch] (convert): take a new parameter try_default. Use
1608         a default converter (imagemagick) if try_default is true.
1609
1610 2005-01-13  Angus Leeming  <leeming@lyx.org>
1611
1612         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1613         os::cygwin_path_fix.
1614         (write): output LyXRC::cygwin_path_fix as necessary.
1615
1616 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1617
1618         * lyxrc.h:
1619         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1620
1621 2005-01-12  Angus Leeming  <leeming@lyx.org>
1622
1623         * lyx_main.C (init): set the PATH variable to include the
1624         directory containing the LyX binary when running on Mac or Windows.
1625
1626 2005-01-12  Angus Leeming  <leeming@lyx.org>
1627
1628         * lyx_main.C (init): remove cruft that purports to set the locale
1629         dir. It doesn't and is not needed anyway.
1630
1631 2005-01-10  Angus Leeming  <leeming@lyx.org>
1632
1633         * Makefile.am: remove the lyx_main.C special casing.
1634
1635         * BufferView_pimpl.C:
1636         * bufferlist.C:
1637         * exporter.C:
1638         * lyx_cb.C:
1639         * lyx_main.C:
1640         * lyxfunc.C:
1641         * messages.C: use support/package.h to provide the paths to the
1642         various directories used by LyX.
1643
1644 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1645
1646         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1647         layout if pasting into an empty paragraph)
1648
1649 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1650
1651         * tex-accent.C: add <string>
1652
1653 2005-01-06  José Matos  <jamatos@lyx.org>
1654
1655         * ParagraphParameters.C (write): put every parameter in its own line.
1656         * paragraph.C (write): reduce number of consecutive empty lines exported.
1657         * buffer.C (LYX_FORMAT): increase file format to 239.
1658
1659 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1660
1661         * everywhere: change support/tostr.h -> support/convert.h
1662
1663         * tabular.C: make all write_attributes templates, tostr -> convert
1664
1665         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1666         (emptyTag): and -> &&, and fix type for ret from getChar
1667         (getFirstWord): fix type for ret from getChar
1668         (onlyText): and -> &&
1669         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1670         getChar
1671
1672         * toc.C (goTo, action):
1673         * text3.C (dispatch):
1674         * text.C (currentState):
1675         * tex-accent.C (DoAccent):
1676         * sgml.C:
1677         * lyxrc.C:
1678         * lyxfunc.C (menuNew):
1679         * lyxfinc.C (replace):
1680         * counters.C (laberItem):
1681         * bufferview_funcs.C (font2string):
1682         * bufferparams.C (writeFile):
1683         * buffer.C (readFile):
1684         * Spacing.C (set):
1685         * MenuBackend.C: tostr -> convert
1686
1687         * LaTeX.C (runMessage): fix format
1688         (scanAuxFiles): tostr -> convert
1689
1690         * BufferView_pimpl.C (savePosition): fix format
1691         (restorePosition): ditto
1692         (dispatch): ditto
1693
1694 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1695
1696         * Spacing.[Ch]: New method getValueAsString().
1697
1698         * Spacing.[Ch]:
1699         * bufferparams.C:
1700         * ParagraphParameters.C:
1701         * lyxlayout.C:
1702         * text.C:
1703         * text3.C: store/read spacing value as string.
1704
1705         * rowpainter.C: change float value (spacing_val) to double.
1706
1707         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1708         broken custom document spacing).
1709
1710 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1711
1712         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1713         namespace, also more use of temp references and const
1714
1715         * cursor.[Ch] (getStatus): move to lyxfunc.C
1716
1717         * bufferparams.C: reformat slightly
1718
1719         * bufferview_funcs.C (font2string): constify arg
1720
1721         * changes.C:
1722         * converter.C:
1723         * counters.C:
1724         * bufferlist.C:
1725         * buffer_funcs.C: (many funcs): constify arg on function
1726         definitions, also make more local vars const, also add ASSERTS on
1727         pointer args.
1728
1729         * buffer.C (LYX_FORMAT): put const in correct place
1730         (many funcs): constify arg on function definitions, also make
1731         more local vars const
1732
1733         * aspell_local.h: remove "struct" from typdef setup
1734
1735         * aspell.C (check): make word_ok const
1736         (nextMiss): simplify slightly
1737         (error): ditto
1738
1739 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1740
1741         * lyxrc.[Ch]: store all float values as strings.
1742         use int (not float) for lyxrc.dpi.
1743
1744 2005-01-04  Angus Leeming  <leeming@lyx.org>
1745
1746         * lyx_cb.C (Reconfigure):
1747         * lyx_main.C (queryUserLyXDir):
1748         to run the <system_lyxdir>/configure correctly on Windows, prefix
1749         the path to the script with "sh " when generating the string that
1750         is passed to system().
1751
1752 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1753
1754         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1755
1756 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1757
1758         * lyxlength.C (asLatexString): get rid of setprecision
1759
1760 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1761
1762         * text2.C (setLayout): remove unused variable endpit.
1763         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1764
1765         * paragraph.C (onlyText): remove unused variable style.
1766
1767         * cursor.C (bruteFind): remove unused variables beg and end.
1768
1769         * Makefile.am (dist_noinset_DATA): not needed anymore
1770
1771         * cheaders/*: remove.
1772
1773 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1774
1775         * text3.C: fix LFUN_MATH_MODE.
1776
1777 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * buffer_funcs.C (countWords): new function. Counts words between
1780         two iterators.
1781
1782         * BufferView_pimpl.C (getStatus, dispatch): handle
1783         LFUN_WORDS_COUNT.
1784
1785         * LyXAction.C (init):
1786         * lfuns.h: add LFUN_WORDS_COUNT.
1787
1788 2004-12-19  Angus Leeming  <leeming@lyx.org>
1789
1790         * buffer.C (save): s/slashify_path/internal_path/.
1791
1792 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1793
1794         * lyxfind.C (findChange): do not search for end of pars, because
1795         the change tracker cannot handle this (fixes bug 1719).
1796
1797 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1798
1799         * paragraph.[Ch] (autoBreakRows): remove
1800
1801         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1802
1803         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1804         avoid using the paragraph one
1805
1806         * text2.C (LyXText, insertStringAsLines): adjust
1807
1808 2004-12-16  Angus Leeming  <leeming@lyx.org>
1809
1810         * bufferlist.C:
1811         * lyx_main.C:
1812         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1813
1814 2004-12-14  Angus Leeming  <leeming@lyx.org>
1815
1816         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1817
1818         * bufferlist.C (emergencyWrite):
1819         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1820         GetEnvPath("HOME").
1821
1822 2004-12-14  Angus Leeming  <leeming@lyx.org>
1823
1824         * main.C: (main): no longer pass pointers to os::init.
1825
1826 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1827
1828         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1829         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1830
1831 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1832
1833         * lyxfunc.C:
1834         * text3.C: remove selection_possible global flag
1835
1836 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1837
1838         * text2.C (getSelectionSpan): remove
1839         (changeDepth, changeDepthAllowed): adjust
1840
1841 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1842
1843         * Makefile.am (BOOST_LIBS): use boost variables
1844
1845 2004-12-03  José Matos  <jamatos@lyx.org>
1846
1847         * buffer.C: format up to 238.
1848
1849 2004-12-03  José Matos  <jamatos@lyx.org>
1850
1851         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1852
1853 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1854
1855         * cursor.C (goUpDown): remove call to idxUpDown2
1856
1857 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1858
1859         * tabular.[Ch]: use size_t-like types for cell, row and column
1860         indices
1861
1862 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1863
1864         * lyxfunc.C (getStatus): do not lose previous information when
1865         calling BufferView::getStatus; do not set a default "Command
1866         disabled" message at the beginning, but just before returning.
1867
1868 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1869
1870         * cursor.h (getStatus): add better comment from src/cursor.C
1871
1872 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1873
1874         * text3.C (getStatus): return false when the lfun is not handled
1875
1876 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1877
1878         * broken_headers.h: remove
1879
1880         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1881
1882 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1883
1884         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1885         offset_ref accessors
1886
1887         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1888         top_y_, merge fitcursor with update
1889         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1890         coord scheme
1891         (metrics): introduce
1892         (workAreaDispatch): adapt to new coord scheme
1893         (redoCurrentBuffer): remove
1894
1895         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1896
1897         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1898         CurStatus enum.
1899
1900         * coordcache.[Ch]: add paragraph cache and helpers
1901
1902         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1903         adjust everywhere
1904
1905         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1906         (targetX, setTargetX): introduce
1907
1908         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1909         baseline -> ascent, as the rest of lyx
1910
1911         * lyxtext.h: remove redoParagraphs, updateParPositions,
1912         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1913         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1914         have ascent/descent (ascent is ascent of first par)
1915
1916         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1917         step of BufferView
1918
1919         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1920
1921         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1922
1923         * pariterator.C: fix infinite loop introduced in par->pit renaming
1924
1925         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1926         in insets and LyXText, draw two off-screen paragraphs using
1927         NullPainter, and adapt to new coord scheme
1928
1929         * text.C:
1930         * text2.C:
1931         * text3.C: adapt lfun handlers to the new coord scheme, which
1932         means: there's only guaranteed coord information for onscreen pars
1933         plus one above and one below. This implies that one can do search
1934         from y coordinates in the range [-1,workHeight]
1935
1936 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1937
1938         * rename a lot of InsetOld to InsetBase
1939
1940 2004-11-25  Angus Leeming  <leeming@lyx.org>
1941
1942         * BufferView_pimpl.C:
1943         * lyx_cb.C:
1944         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1945
1946 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1947
1948         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1949         call BufferView::getStatus if LCursor::getStatus did nothing
1950         (setStatusMessage, getStatusMessage): removed.
1951
1952         * FuncStatus.C (message): new methods. Used to provide an error
1953         message indicating why a command is disabled.
1954         (clear, |=, FuncStatus): update for message.
1955
1956 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1957
1958         * lyxfunc.C (dispatch): always call sendDispatchMessage
1959
1960 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1961
1962         * BufferView.C:
1963         * BufferView_pimpl.C:
1964         * CutAndPaste.C:
1965         * FontIterator.C:
1966         * buffer.C:
1967         * cursor.C:
1968         * cursor_slice.[Ch]:
1969         * dociterator.[Ch]:
1970         * lyxfind.C:
1971         * paragraph_funcs.C:
1972         * pariterator.C:
1973         * rowpainter.C:
1974         * text.C:
1975         * text2.C:
1976         * text3.C:
1977         * undo.C: par->pit renaming
1978
1979 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1980
1981         * tabular.C (cellstruct): use initialization, store a shared_ptr
1982         to insettext instead of the insettext directly, adjust to fit.
1983         (operator=):  new function
1984         (swap): new function
1985         (rowstruct): use initialization
1986         (columnstruct): use initialization
1987         (ltType): use initialization
1988
1989
1990         * lyxlength.h (swap): new function
1991
1992         * LColor.[Ch] (operator=): use the common semantics
1993
1994 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1995
1996         * lyxfind.C (findNextChange): update the bufferview after setting
1997         the selection.
1998
1999 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2000
2001         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2002         number of InsetOptArgs has already been inserted.
2003
2004         * output_latex.C (latexOptArgInsets): new method. This outputs all
2005         the optarg insets, up to the limit defined in the layout file.
2006         (optArgInset): removed
2007         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2008
2009 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2010
2011         * paragraph.C (isLetter): remove special spellchecker-related
2012         code; return true also for digits
2013         (isWord, isKomma): remove
2014
2015         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2016         * lyxfind.C (MatchString()): use isLetter instead of isWord
2017
2018 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2019
2020         * pariterator.h (operatir=): comment out un-implemented member
2021         function.
2022
2023         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2024         static cast.
2025
2026 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2027
2028         * lyxfont.h: include LColor.h to satisfy concept checks.
2029
2030 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * pariterator.h: add typdefs for value_type, difference_type,
2033         pointer and reference to satisfy concept checks. Also add default
2034         constructor for same reason.
2035
2036         * pariterator.C (operator++): add post-increment operator to
2037         satisfy concept checks.
2038
2039         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2040         checks.
2041
2042         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2043
2044         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2045         checks. Also rename base_type to BaseType to follow naming
2046         standard better.
2047
2048         * FloatList.h: include Floating.h to satisfy concept checks.
2049
2050 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2051
2052         * lyxfunc.C (getStatus): when the origin of the request is menu or
2053         toolbar, and the LyXView does not have focus, do as if there was
2054         no buffer (bug 1720)
2055
2056         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2057         FuncRequest to individual entries of LFUN_SEQUENCE
2058
2059 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2060
2061         * output_latex.C (TeXOnePar): override runparams.moving_arg
2062         according to the needprotect value of the current paragraph (bug
2063         1739)
2064
2065         * paragraph.C (simpleTeXOnePar): no need to override
2066         runparams.moving_args here
2067
2068 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2069
2070         * vspace.C: fix off-by-one-error, related to fix #1682
2071
2072 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2073
2074         * lengthcommon.C: a more general fix for bug 1682
2075
2076 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2077
2078         * text.C (backspace): fix crash
2079
2080 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2081
2082         * format.[Ch] (getFormatFromFile): new method
2083         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2084
2085 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2088
2089 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2090
2091         * lyxfunc.C (dispatch): remove the verbose argument
2092         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2093         instead
2094
2095         * kbmap.C (defkey): set the origin of func to KEYBOARD
2096
2097         * MenuBackend.C (MenuItem):
2098         * ToolbarBackend.C (add): set the origin of func to UI
2099
2100         * funcrequest.[Ch]: add origin member, which indicates which part
2101         of LyX requests an action
2102
2103 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2104
2105         * converter.C (move): don't lie in the error message
2106         * converter.h (isReachable, move): document
2107
2108 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2109
2110         * buffer.C: remove unused using lyx::support::atoi
2111         * paragraph_funcs.C: ditto
2112
2113 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2114
2115         * bufferlist.C (exists): use bind and equal_to instead of
2116         compare_memfun
2117         (getBuffer): ditto
2118         * lyxtextclasslist.C (NumberOfClass): ditto
2119
2120         * cursor.C (insert): use for_each instead of explicit for loop
2121
2122         * bufferlist.C (getFileNames): use std::transform and
2123         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2124
2125         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2126         for loop
2127
2128         * buffer.C (changeLanguage): use for_each instead of explicit for
2129         loop
2130         (hasParWithID): implement using getParFromID
2131
2132         * LaTeXFeatures.C: ws change only
2133
2134         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2135         to cleanup a bit.
2136
2137         * BufferView_pimpl.C (trackChanges): use for_each instead of
2138         expilicit for loop
2139
2140 2004-11-04  André Pönitz  <poenitz@gmx.net>
2141
2142         * undo.h:
2143         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2144
2145         * dociterator.C (asDocIterator): use hard assert again.
2146
2147 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2148
2149         * lyxlength.C (asLatexString): rewrite so that it does not use
2150         snprintf anymore
2151
2152 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2153
2154         * text3.C (specialChar, dispatch): make sure cursor moves to the
2155         right after inserting an inset
2156
2157 2004-11-02  José Matos  <jamatos@lyx.org>
2158
2159         * output_docbook.C (docbook):
2160         * paragraph.C (getID):
2161         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2162         garantee that the output is always legal.
2163
2164         * tabular.C (docbook):
2165         * outputprams.[Ch]: remove mixed contents.
2166
2167 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2168
2169         * text2.C (setCounter): prevent endless loop
2170
2171 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2172
2173         * exporter.C (copyFile): use the mover instead of support::copy()
2174         * exporter.C (Export): pass format and latex name to copyFile()
2175         * exporter.h (addExternalFile): document
2176         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2177
2178 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2179
2180         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2181
2182 2004-10-30  José Matos  <jamatos@lyx.org>
2183
2184         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2185         text and no inset or font change. This allows to use CDATA
2186         sections just for the whole paragraph.
2187
2188 2004-10-30  José Matos  <jamatos@lyx.org>
2189
2190         * paragraph.C (getFirstWord): remove unused variable.
2191
2192 2004-10-30  José Matos  <jamatos@lyx.org>
2193
2194         * paragraph.C (getFirstWord): the content should always be escaped
2195         there.
2196         (simpleDocBookOnePar):
2197         * output_docbook.C (makeEnvironment): replace reference to CDATA
2198         to style pass_thru.
2199
2200 2004-10-30  José Matos  <jamatos@lyx.org>
2201
2202         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2203
2204 2004-10-30  José Matos  <jamatos@lyx.org>
2205
2206         * output_docbook.C (makeParagraphs):
2207         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2208         standard paragraph has only a given type of content drop the wrapper.
2209
2210 2004-10-29  José Matos  <jamatos@lyx.org>
2211
2212         * output_docbook.C (makeEnvironment):
2213         * sgml.C (openTag):
2214         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2215
2216 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2217
2218         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2219         (cleanID): sanitize any id.
2220
2221 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2222
2223         * buffer.C, lyxlex_pimpl.C:
2224         * lyxlex_pimpl.C (setFile):
2225         s/getExtFromContents/getFormatFromContents/
2226
2227 2004-10-28  José Matos  <jamatos@lyx.org>
2228
2229         * output_docbook.C (makeEnvironment): move id to broadest possible
2230         scope.
2231
2232         * sgml.C (openTag): apply substitution of <> for all attributes.
2233
2234 2004-10-28  José Matos  <jamatos@lyx.org>
2235
2236         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2237         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2238         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2239
2240         * sgml.[Ch]: new version for open and closeTag for paragraph and
2241         for strings. Now they handle the ids of paragraphs.
2242
2243 2004-10-26  Angus Leeming  <leeming@lyx.org>
2244
2245         * Makefile.am: add mover.[Ch].
2246
2247         * converter.C (convert, move): use the new Movers to move external
2248         files to the temp directory.
2249
2250         * lyx_main.C (init): ensure that the global system_movers data
2251         is initialised.
2252
2253         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2254         preferences file.
2255
2256         * mover.[Ch]: new files, defining a Mover as a utility to move an
2257         external file between directories and, if necessary, manipulate this
2258         file using a helper script.
2259
2260 2004-10-25  José Matos  <jamatos@lyx.org>
2261
2262         * output_docbook.C (makeCommand): merge two if's that tested the
2263         same condition.
2264
2265 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2266
2267         * sgml.C (escapeString): fix warning in a better way
2268
2269 2004-10-25  José Matos  <jamatos@lyx.org>
2270
2271         * sgml.C (escapeString): import the require boosts header file for
2272         tie, and avoid a signed unsigned comparison.
2273
2274 2004-10-25  José Matos  <jamatos@lyx.org>
2275
2276         * sgml.h: add #include <string>
2277
2278 2004-10-25  José Matos  <jamatos@lyx.org>
2279
2280         * sgml.[Ch] (escapeString): new function to escape all the string.
2281
2282 2004-10-24  José Matos  <jamatos@lyx.org>
2283
2284         * paragraph.[Ch] (getFirstWord): new function to get the first
2285         word. Useful for description.
2286         (simpleDocBookOnePar): remove depth argument, add another that
2287         says where to start the paragraph.
2288
2289         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2290         use the new functions to fix cleanly the support for descriptions.
2291
2292 2004-10-24  José Matos  <jamatos@lyx.org>
2293
2294         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2295         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2296         * output_linuxdoc.C (linuxdocParagraphs):
2297         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2298         add buffer as argument.
2299
2300 2004-10-24  José Matos  <jamatos@lyx.org>
2301
2302         * output_docbook.C (makeEnvironment, searchEnvironment): place
2303         CDATA inside paragraphs and fix scope for listitems.
2304
2305 2004-10-24  José Matos  <jamatos@lyx.org>
2306
2307         * output_docbook.C: remove using statement for stack.
2308
2309 2004-10-23  José Matos  <jamatos@lyx.org>
2310
2311         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2312         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2313         docbook. The new scheme is recursive and makes use of iterators, the
2314         same as latex export works.
2315         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2316         directly with the paragraph contents. This code was moved up to
2317         output_docbook.C (docbookParagraphs).
2318         * sgml.C (openTag, closeTag): removed unneeded newlines.
2319         (closeEnvTags) removed.
2320
2321 2004-10-23  André Pönitz  <poenitz@gmx.net>
2322
2323         * undo.C (textUndoOrRedo):
2324         * dociterator.C (asDocIterator): work around crash
2325
2326         * cursor.C (getStatus): replace ASSERT by more verbose error message
2327           and manual correction of the problem. Should increase stability
2328           while providing more sensible information.
2329
2330 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2331
2332         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2333
2334         * bufferlist.C (previous, next): new methods
2335
2336         * lfuns.h:
2337         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2338
2339 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2340
2341         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2342         entities to preamble.
2343
2344 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2345
2346         * messages.C (Pimpl): strip off translation context information
2347
2348 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2349
2350         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2351         the cursor is correct (bug 1694)
2352
2353 2004-10-13  José Matos  <jamatos@lyx.org>
2354
2355         * output_docbook.C (docbookParagraphs): fix closing tags in the
2356         end of the document.
2357
2358 2004-10-09  José Matos  <jamatos@lyx.org>
2359
2360         * buffer.C: format up to 237.
2361         * bufferparams.C (write): use tostr to convert booleans to strings.
2362
2363 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2364
2365         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2366
2367 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2368
2369         * LaTeX.C: implement use of babel language in xindy.
2370
2371 2004-10-05  José Matos  <jamatos@lyx.org>
2372
2373         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2374         Add new translators to help reading and writing the lyx file.
2375
2376 2004-10-05  José Matos  <jamatos@lyx.org>
2377
2378         * ParagraphParameters.C (read):
2379         * text.C (readParToken): replace nexToken by more appropriate lex
2380         methods.
2381
2382 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2383
2384         * LaTeX.C (runMakeIndex):
2385         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2386         (usually 'makeindex') configurable.
2387
2388         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2389         with a variable rather than with a number.
2390
2391 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2392
2393         * output_latex.C (TeXOnePar): make sure font setting is the first
2394         thing that gets output (and the last at the end). Should fix bug
2395         1404.
2396
2397 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * pch.h: use proper signal include
2400
2401         * LaTeX.h: Use preferred calling of Boost.Signal
2402         * buffer.h: ditto
2403
2404 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * pch.h: dont include <boost/function/function0.hpp>
2407
2408         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2409
2410         * paragraph_pimpl.h: remove usage of ShareContainer
2411
2412         * paragraph_pimpl.C: remove initialization of ShareContainer.
2413
2414 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2415
2416         Fix bug #1666
2417
2418         * BufferView.C (putSelectionAt): change the semantics when
2419         backwards == true: now, this just swaps cursor and anchor wrt the
2420         forward case
2421
2422         * BufferView.h (putSelectionAt): add some documentation
2423
2424         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2425         make sure backwardChar is done at least once (to avoid getting
2426         stuck)
2427         (findNextChange): use putSelectionAt in the forward direction
2428         (operator()): use Paragraph::isWord
2429
2430 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2431
2432         * Spacing.C (set): c_str fix
2433
2434 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         * lyx_cb.C (Reconfigure): quote the name of configure script in
2437         case it contains spaces
2438
2439 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2440
2441         * client: new dir
2442
2443         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2444         (BOOST_LIBS): use top_buildir when looking for the file
2445
2446 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2447
2448         * pch.h: do not use include boost/format.hpp, multiple symbols
2449                 will result (gcc bug)
2450
2451
2452 2004-08-23  José Matos  <jamatos@lyx.org>
2453
2454         * bufferparams.C (readToken): fix reading of the author field.
2455
2456 2004-08-20  José Matos  <jamatos@lyx.org>
2457
2458         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2459
2460 2004-08-20  José Matos  <jamatos@lyx.org>
2461
2462         * lyxlex.[Ch] (findToken): remove function.
2463
2464         * ParagraphParameters.C (findToken):
2465         * bufferparams.C (findToken): replace call for previous function
2466         with local copy. This local function has one more argument, the
2467         read string argument.
2468
2469 2004-08-16  José Matos  <jamatos@lyx.org>
2470
2471         * ParagraphParameters.C (write):
2472         * Spacing.C (writeFile):
2473         * bufferparams.C (writeLaTeX):
2474         * lyx_cb.C (Reconfigure):
2475         * paragraph.C (write):
2476         * tabular.C (write): remove unnecessary space at end of line.
2477
2478
2479 2004-08-16  José Matos  <jamatos@lyx.org>
2480
2481         * text.C (readParagraph): remove debug message.
2482
2483 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2484
2485         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2486         crash
2487
2488         * output_plaintext.C (asciiParagraph): set depth correctly
2489
2490         * outputparams.h: add member depth
2491
2492         * paragraph_funcs.C (ownerPar): remove.
2493
2494         * text2.C (setCounter): remove first_pit; comment out some
2495         non-working code that uses ownerPar
2496
2497         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2498         uses ownerPar
2499
2500 2004-08-16  José Matos  <jamatos@lyx.org>
2501
2502         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2503         For the same level of importance use the same chanel to report problems.
2504         (read): add code to deal with \begin_body and \end_body.
2505
2506
2507 2004-08-15  José Matos  <jamatos@lyx.org>
2508
2509         * lyxlex.C (getString): fix comment, buffer::readBody is now
2510         buffer:readDocument.
2511
2512         * tex-strings.C (string_papersize): Default -> default,
2513         Custom -> custom, for consistency with other options.
2514
2515 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2516
2517         * pch.h: new file
2518
2519         * Makefile.am: support pch
2520
2521 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2522
2523         * text.C (readParToken): remove the static LyXFont variable and
2524         pass it as a parameter instead. This fixes a nasty bug where an
2525         inset will be inserted with a bad font in some situations
2526         (readParagraph): adapt
2527
2528         * text2.C (setCounter): reduce number of calls to pars_[pit]
2529
2530         * text.C (singleWidth): add an assert, fix a test
2531
2532         * rowpainter.C (paintText): reduce number of calls to singleWidth
2533
2534         * paragraph.C (isHfill):
2535         (isNewline): ws only
2536
2537 2004-08-14  André Pönitz  <poenitz@gmx.net>
2538
2539         * text.C:
2540         * text2.C:
2541         * rowpainter.C:
2542         * lyxtext.h (several functions): use a Paragraph & argument
2543         instead of par_type
2544
2545 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2546
2547         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2548
2549         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2550
2551         * text.C (singleWidth): remove useless test
2552
2553 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         * tabular.h: remove bogus comments
2556
2557         * tabular.C (getDescentOfRow):
2558         (isPartOfMultiColumn): add assertions
2559
2560         * lyxlength.C (inPixels): remove #warning
2561
2562 2004-08-14  André Pönitz  <poenitz@gmx.net>
2563
2564         * paragraph.h: inline getChar()
2565
2566         * BufferView.h: remove unused declarations
2567
2568 2004-08-14  José Matos  <jamatos@lyx.org>
2569
2570         * Buffer.[Ch] (readDocument): new name for old readBody.
2571         * Buffer.C: new file format, new keywords: \begin_document,
2572         \begin_header, \begin_body, \end_body.
2573
2574         * bufferparams.C (readToken): replace all calls to lex.nextToken
2575         by lex.next(). Do the same to eatLine except where really needed.
2576
2577         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2578         line when writing to the lyx file.
2579
2580         * output_plaintext.C (asciiParagraph): fix Bibliography style
2581         handling.
2582
2583         * text.C (read): fix end of file handling.
2584
2585 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2586
2587         * MenuBackend.C (Menu::operator[]): new method to access
2588         individual menu items
2589         (Menu::hasFunc): new method. search for an item that corresponds
2590         to a given func
2591         (MenuBackend::specialMenu): new method
2592         (MenuBackend::expand): if a special menu has been set, skip
2593         entries whose func() appears in this menu
2594
2595 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2596
2597         * text3.C: use Debug::DEBUG a bit more
2598
2599         * text.C (leftMargin): try to simplify a tiny bit change var x to
2600         l_margin. Dont output the wide margins always.
2601         (rightMargin): no margin in inner texts
2602
2603         * rowpainter.h (nestMargin): new func
2604         (changebarMargin): new func
2605         (rightMargin): new func
2606
2607         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2608         now functions.
2609         (paintLast): ditto
2610
2611         * factory.C (createInset): modify setDrawFrame
2612
2613         * cursor.C: use Debug::DEBUG a bit more
2614
2615 2004-08-14  André Pönitz  <poenitz@gmx.net>
2616
2617         * coordcache.[Ch]:
2618         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2619         cache for all insets in (at least partially) visible (top-level)
2620         paragraphs.
2621
2622         * BufferView_pimpl.C: reset external coord cache before every update.
2623         This means the coord cache only contains valid entries.
2624
2625 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2626
2627         bug 1096
2628         * BufferView_pimpl.C (getInsetByCode): move function out of class
2629         and change in to a template in anon namespace. Also fix to do what
2630         suits us better.
2631
2632 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2633
2634         bug 1305
2635         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2636         of char
2637         (breakParagraph): rename par to par_offset and use a local
2638         reference. Add code to keep the language over a rebreak.
2639         (breakParagraphConservative): rename par to par_offset, use a
2640         local reference
2641         (mergeParagraph): ditto
2642         (outerHook): ditto
2643         (isFirstInSequence): ditto
2644         (outerFont): rename pit to par_offset
2645
2646         * paragraph.C: ws change
2647         * paragraph.h: ditto
2648         * text3.C: ditto
2649         * text.C: ditto
2650
2651 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2652
2653         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2654         treatment for ']'
2655
2656         * paragraph.C (simpleTeXOnePar): when we have a \item with
2657         optional argument, enclose the argument with curly brackets (in
2658         case it contains a closing square bracket)
2659
2660         * text2.C (editXY):
2661         * text2.C (editXY):
2662         * text3.C (checkInsetHit): constify
2663
2664 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2667         documents (bug 1629)
2668
2669 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2670
2671         Fix toggling of collapsable insets with the mouse (bug 1558)
2672
2673         * lyxfunc.C (dispatch): adapt to LCursor changes
2674
2675         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2676         make sure that dispatch is not invoked twice
2677
2678         * cursor.C (needsUpdate): new method
2679         (dispatch): return void
2680         (result): new method, to access the DispatchResult of the cursor.
2681
2682 2004-08-13  José Matos  <jamatos@lyx.org>
2683
2684         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2685
2686 2004-08-13  André Pönitz  <poenitz@gmx.net>
2687
2688         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2689
2690         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2691           multiple cells
2692
2693 2004-08-12  André Pönitz  <poenitz@gmx.net>
2694
2695         * text3.C: take out the 'cursor right' form insertInset and only
2696         do it in those places when it is really needed. Fixes crash on
2697         C-m...
2698
2699 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2700
2701         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2702
2703         * BufferView_pimpl.C (setBuffer): initialize the current font of
2704         the underlying LyXText
2705
2706 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2707
2708         * kbsequence.C (print): use UI native formatting for menu
2709         shortcuts
2710
2711         * text.C (insertChar): call Paragraph::insertChar with a font
2712         argument (cosmetic)
2713
2714         * paragraph.C (insertInset, insertChar): the version that takes a
2715         LyXFont argument is now a wrapper around the other one (the
2716         opposite used to be true).
2717
2718         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2719         argument. Font setting is done in Paragraph now.
2720
2721 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2722
2723         * outputparams.h: add new members intitle and lang.
2724
2725         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2726         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2727
2728 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2729
2730         * text3.C (dispatch): remove special handling of button 4 and 5,
2731         it is now taken care of in the frontend code.
2732
2733 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2734
2735         * Spacing.h: add <string> (STLPort compile fix)
2736
2737 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2738
2739         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2740
2741 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2744         to bool.
2745
2746         * converter.C (showMessage): inherit from unary_function, make
2747         operator() const.
2748
2749         * buffer.C (writeFile): initialize retval
2750
2751         * InsetList.h: rename private variable list to list_
2752         * InsetList.[Ch]: adjust accordingly.
2753
2754 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2755
2756         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2757         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2758         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2759         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2760         * ParagraphParameters.C, LaTeXFeatures.C: replace
2761         "support/std_sstream.h" with <sstream>
2762
2763 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2766         * lyxsocket.C (LyXServerSocket): ditto
2767         (serverCallback): ditto
2768
2769 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2770
2771         * LaTeXFeatures.C: check release date when loading jurabib.
2772
2773 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * lyxserver.C (startPipe): call register_socket_callback
2776         (endPipe): call unregister_socket_callback
2777
2778 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2779
2780         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2781         (LyXServerSocket): register the callback
2782         (LyXServerSocket): unregister the callback
2783         (fd): delete function
2784         (serverCallback): improve error checking and setup the callbacks.
2785         (dataCallback): change arg to fd.
2786         (writeln): new func (copied fro the client socket) used for server
2787         write to client.
2788         (LyXDataSocket): simplify
2789         (~LyXDataSocket): close ann unregiser callback
2790         (server): delete function
2791         (fd): delete function
2792         (readln): small changes, improve some std::string usage
2793         (writeln): constify a bit
2794
2795 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2796
2797         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2798         Qt frontend
2799
2800 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2801
2802         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2803         after it has been populated
2804
2805 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2806
2807         * text2.C (insertInset): move cursor when inserting inset.
2808
2809 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2810
2811         * kbmap.C (findbindings): a couple of new methods. returns a
2812         container of kb_sequence objects. The real work is done by the
2813         private recursive version
2814         (printbindings): uses findbindings to print out a bracketed list
2815         of bindings (renamed from findbinding).
2816
2817         * MenuBackend.C (binding): use kb_keymap::findbindings
2818
2819         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2820
2821 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2822
2823         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2824
2825 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2826
2827         * paragraph.C (isWord): return true on insets that report
2828         isLetter().
2829
2830         * text.C (getWord): use Paragraph::isWord to decide what is in a
2831         word and what is not; fix bug 1609.
2832
2833 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2834
2835         * tex-strings.C: add "none" to string_paperpackages[], fixes
2836         off-by-one-error in the paperpackage selection.
2837
2838         * lyxlex.[Ch]:
2839         * tex-strings.[Ch]: char const * string[n]
2840         -> char const * const string[]
2841
2842 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2843
2844         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2845         command, return early.
2846
2847 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2848
2849         * debug.h: add DEBUG to enum and fix size of ANY.
2850
2851         * debug.C: add support for Debug::DEBUG
2852         (showTags): cast errorTags.level to unsigned int
2853
2854         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2855         (redoCurrentBuffer): ditto
2856         (updateScrollbar): ditto
2857         * cursor.C (dispatch): ditto
2858         * text2.C (setLayout): ditto
2859         (setFont): ditto
2860         (updateCounters): ditto
2861         (editXY): ditto
2862         (deleteEmptyParagraphMechanism): ditto
2863
2864 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2865
2866         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2867         annotations to cleanup the Makefile slightly.
2868
2869 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2870
2871         * lyxrc.C: do not set user_email to a default value but use empty
2872         instead. The entry used to be translated, which does not work
2873         since at the point where lyxrc is constructed there is no
2874         translation service available
2875
2876         * messages.C (getLocaleDir): remove and use directly
2877         lyx_localedir() instead
2878
2879 2004-06-02  Angus Leeming  <leeming@lyx.org>
2880
2881         Fix crash caused by dereferencing null pointer 'exportdata' in
2882         OutputParams by creating a new ExportData variable on the heap,
2883         storing it in a boost::shared_ptr.
2884         The crash was triggered when generating an Instant Preview
2885         of an external inset.
2886
2887         * Makefile.am: add outputparams.C
2888
2889         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2890         (c-tor): allocate memory to it.
2891
2892         * exporter.C (c-tor): associated changes.
2893
2894 2004-06-01  Angus Leeming  <leeming@lyx.org>
2895
2896         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2897         contains data before calling isInset(0). (Bug 1513.)
2898
2899 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2900
2901         * exporter.C (checkOverwrite): new method
2902         * exporter.C (copyFile): new method
2903         * exporter.C (Export): copy referenced files to the document dir
2904         * exporter.[Ch]: new class ExportedFile
2905         * exporter.[Ch]: new class ExportData. Contains currently the
2906         names of referenced external files
2907         * outputparams.h: add exportdata member.
2908
2909 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2912         version.C-tmp
2913
2914 2004-05-19  Angus Leeming  <leeming@lyx.org>
2915
2916         * LaTeXFeatures.C:
2917         * ToolbarBackend.C:
2918         * bufferparams.C:
2919         * lyxfunc.C: small changes due to the introduction of namespace
2920         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2921
2922 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * text3.C (dispatch): supress update when only moving the cursor
2925         * cursor.C (selHandle): remove commented code
2926
2927 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2928
2929         * paragraph.C (startTeXParParams): correct column count
2930         * CutAndPaste.C (pasteSelection): remove const_cast
2931         * output_docbook.C (docbookParagraphs): remove const_cast
2932         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2933         const_cast and return ParagraphList::const_iterator
2934         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2935         * output_plaintext.C (writeFileAscii): remove const_cast
2936         * paragraph.[Ch] (simpleTeXOnePar): make const
2937         * paragraph_funcs.C (outerPar): use const iterators
2938         * paragraph_pimpl.C (validate): use const iterators
2939         * text.C (setHeightOfRow): use const iterators
2940
2941 2004-05-17  Angus Leeming  <leeming@lyx.org>
2942
2943         * lfuns.h:
2944         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2945
2946         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2947         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2948         if the citation engine has changed.
2949
2950 2004-05-14  José Matos  <jamatos@lyx.org>
2951
2952         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2953         if the textclass does not provide it. Have it different for sgml and
2954         xml.
2955         support the language of document.
2956         * output_docbook.C (docbookParagraphs):
2957         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2958         first anchor as the id of the paragraph, remove special case code.
2959         * sgml.C (escapeChar): escape only < & >.
2960
2961 2004-05-14  Angus Leeming  <leeming@lyx.org>
2962
2963         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2964         dependencies on src/frontends/controllers/biblio.h. Define a
2965         CiteEngine_enum wrapper class to enable the enum to be forward
2966         declared.
2967
2968 2004-05-12  Angus Leeming  <leeming@lyx.org>
2969
2970         * buffer.C: up LYX_FORMAT to 234.
2971         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2972         use_numerical_citations with a single biblio::CiteEngine cite_engine
2973         variable.
2974         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2975
2976 2004-05-13  José Matos  <jamatos@lyx.org>
2977
2978         * converter.h:
2979         * converter.C (Converter, readFlags): add xml member.
2980         * outputparams.h: add XML flavor.
2981         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2982
2983 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2984
2985         * lyxfunc.C (dispatch):
2986         (getStatus): fix handling of LFUN_SEQUENCE
2987
2988 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2989
2990         * debug.C (showLevel): do not forget the end-of-line marker
2991
2992 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2993
2994         * kbmap.C (read): do not stop parsing a bind file when an error
2995         occurs (bug 1575)
2996
2997 2004-04-29  Angus Leeming  <leeming@lyx.org>
2998
2999         * cursor.C:
3000         * factory.C:
3001         * pariterator.C:
3002         * text2.C: wrap a bunch of #warning statements
3003         inside #ifdef WITH_WARNINGS blocks.
3004
3005 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3006
3007         * buffer.C: increment format to 233.
3008
3009 2004-04-28  Angus Leeming  <leeming@lyx.org>
3010
3011         * BufferView_pimpl.C:
3012         * lyxfunc.C:
3013         * text3.C:
3014         s/updateToolbar()/updateToolbars()/
3015         s/Toolbar.h/Toolbars.h/
3016
3017 2004-04-28  Angus Leeming  <leeming@lyx.org>
3018
3019         * BufferView.[Ch] (c-tor):
3020         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3021         No longer passes these data to the WorkArea generator.
3022
3023 2004-04-28  Angus Leeming  <leeming@lyx.org>
3024
3025         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3026
3027 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3028
3029         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3030
3031 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3032
3033         * output_latex.C (TeXEnvironment): make sure that there is a line
3034         break before \end{foo} for the last paragraph of a document
3035         (TeXOnePar): if the paragraph is at the end of the document (or
3036         inset) and the language has to be reset, then make sure that the
3037         line break is _before_ the language command, not after (fixes bug
3038         1225); also make sure that the language reset command is the first
3039         thing after the paragraph (to ensure proper nesting of
3040         environments and thus fix bug 1404)
3041
3042 2004-04-21  John Levon  <levon@movementarian.org>
3043
3044         * ToolbarBackend.h:
3045         * ToolbarBackend.C: make "name" be a programmatic name
3046         and a gui_name field.
3047
3048         * lyxfunc.C: display the minibuffer on M-x
3049
3050 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3051
3052         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3053         (bug 1526)
3054
3055 2004-04-19  Angus Leeming  <leeming@lyx.org>
3056
3057         * BufferView_pimpl.C (setBuffer): changed preview interface.
3058
3059         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3060         possible values.
3061
3062 2004-04-19  John Levon  <levon@movementarian.org>
3063
3064         * BufferView_pimpl.C:
3065         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3066
3067 2004-04-05  Angus Leeming  <leeming@lyx.org>
3068
3069         * text.C (redoParagraphs): add call to updateCounters(), thereby
3070         fixing the missing "Figure #:" label from the caption of a
3071         figure float.
3072
3073 2004-04-13  Angus Leeming  <leeming@lyx.org>
3074
3075         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3076         cursor is clicked out of an inset.
3077
3078 2004-04-13  Angus Leeming  <leeming@lyx.org>
3079
3080         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3081         than an InsetOld one.
3082
3083 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3084
3085         * format.[Ch]: add editor to Format
3086         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3087         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3088
3089 2004-04-08  André Pönitz  <poenitz@gmx.net>
3090
3091         * metricsinfo.h: remove PainterInfo::width member
3092
3093 2004-04-08  Angus Leeming  <leeming@lyx.org>
3094
3095         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3096         "\providecommand" rather than "\newcommand", thereby preventing
3097         clashes with packages that define "\boldsymbol" themselves.
3098         Eg, beamer.
3099
3100 2004-04-08  Angus Leeming  <leeming@lyx.org>
3101
3102         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3103         thereby squashing an unnecessary warning.
3104
3105 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3106
3107         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3108         setBuffer()
3109
3110 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3111
3112         * BufferView.C (setCursor): call redoParagraph (some insets could
3113         have been opened)
3114         (putSelectionAt): remove the 'double update' trick
3115
3116         * BufferView_pimpl.C (fitCursor): call refreshPar
3117         (workAreaDispatch): remove an uneeded update call
3118         (dispatch): remove some manual update calls
3119
3120         * cursor.[Ch]: remove cached_y_, updatePos
3121         (selHandle): set noUpdate when appropriate
3122
3123         * lyxfunc.C (dispatch): track if we need an update
3124
3125         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3126
3127         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3128         (paintSelection): cheap optimization, do not call cursorX when not
3129         needed
3130         (paintPars): change signature
3131         (refreshPar): add
3132         (paintText): adjust
3133         (paintTextInset): adjust
3134
3135         * text.C: adjust
3136
3137 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3138
3139         * lengthcommon.C: compilation fix: remove explicit array size from
3140         unit_name[] and friends
3141
3142 2004-04-05  Angus Leeming  <leeming@lyx.org>
3143
3144         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3145
3146         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3147         present only for the preferences dialog.
3148         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3149
3150 2004-04-05  Angus Leeming  <leeming@lyx.org>
3151
3152         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3153         to enable the frontends to export changes to lyxrc correctly.
3154
3155         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3156
3157 2004-04-07  André Pönitz  <poenitz@gmx.net>
3158
3159         * cursor.[Ch] (selClear, adjust): remove math
3160
3161         * cursor_slice.C: more agressive assert
3162
3163         * lyxfunc.C:
3164         * BufferView_pimpl.C: rework mouse event dispatch
3165
3166         * dociterator.C:
3167         * paragraph.C:
3168         * text2.C:
3169         * text3.C: adjust
3170
3171 2004-04-05  André Pönitz  <poenitz@gmx.net>
3172
3173         * cursor.[Ch] (valign, halign...): remove unneeded functions
3174
3175 2004-04-05  Angus Leeming  <leeming@lyx.org>
3176
3177         * lyxlength.[Ch] (unit_name et al.): const-correct.
3178
3179 2004-04-05  Angus Leeming  <leeming@lyx.org>
3180
3181         * BufferView_pimpl.C:
3182         * buffer.C:
3183         * counters.C:
3184         * cursor.C:
3185         * lyxfunc.C
3186         * paragraph.C:
3187         * pariterator.C:
3188         * text.C:
3189         * text2.C:
3190         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3191
3192 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3193
3194         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3195
3196 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3197
3198         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3199         * BufferView_pimpl.[Ch] (getStatus)
3200         * BufferView.[Ch] (getStatus): add
3201         * lyxfunc.C (getStatus): move lfuns handled in
3202         BufferView::dispatch to te function above
3203         * Cursor.C (setSelection): set selection() = true
3204
3205 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3206
3207         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3208
3209 2004-03-31  Angus Leeming  <leeming@lyx.org>
3210
3211         * lyxfunc.C (dispatch): Fall through to the generic
3212         Dialogs::show("preamble").
3213
3214 2004-03-31  Angus Leeming  <leeming@lyx.org>
3215
3216         * lyxfunc.C (dispatch): Fall through to the generic
3217         Dialogs::show("spellchecker").
3218
3219 2004-03-31  Angus Leeming  <leeming@lyx.org>
3220
3221         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3222         preferences dialog.
3223
3224 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3225
3226         * BufferView.C
3227         * cursor.[Ch]
3228         * dociterator.[Ch]:
3229         * insetiterator.[Ch]:
3230         * lyxfind.C:
3231         * lyxfunc.C:
3232         * pariterator.[Ch]:
3233         * text2.C:
3234         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3235
3236 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3237
3238         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3239         insets where we are putting the cursor.
3240
3241 2004-03-31  Angus Leeming  <leeming@lyx.org>
3242
3243         * lfuns.h:
3244         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3245
3246         * lyxrc.[Ch] (read, write): overloaded member functions taking
3247         a std::[io]stream arguments.
3248
3249         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3250
3251 2004-03-31  Angus Leeming  <leeming@lyx.org>
3252
3253         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3254         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3255
3256         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3257         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3258
3259 2004-03-31  Angus Leeming  <leeming@lyx.org>
3260
3261         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3262         the LFUN_ALL_INSETS_TOGGLE code.
3263
3264 2004-03-30  Angus Leeming  <leeming@lyx.org>
3265
3266         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3267         has died. Fall through to the generic Dialogs::show("document").
3268
3269 2004-03-30  Angus Leeming  <leeming@lyx.org>
3270
3271         * lfuns.h:
3272         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3273         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3274
3275         * lyxfunc.C (getStatus, dispatch): define the actions for these
3276         lfuns. Little more than a cut and pste job from ControlDocument.C
3277
3278         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3279
3280 2004-03-30  Angus Leeming  <leeming@lyx.org>
3281
3282         * lfuns.h:
3283         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3284         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3285
3286         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3287         open/closed state of ollapsable insets. Usage:
3288
3289         all-inset-toggle <state> <name>, where
3290         <state> == "open" || "closed" || "toggle" and
3291         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3292
3293         * lyxtext.h, text2.C (toggleInset): removed.
3294
3295         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3296         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3297         now passes LFUN_INSET_TOGGLE to the found inset.
3298
3299         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3300         is now invoked as "all-insets-toggle toggle branch".
3301
3302 2004-03-30  Angus Leeming  <leeming@lyx.org>
3303
3304         * dociterator.C:
3305         * insetiterator.C:
3306         * pariterator.[Ch]: added/corrected header blurb.
3307
3308 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3309
3310         * dociterator.[Ch]: add an inset_ member
3311         (backwardPos): implemented
3312         (backwardPos, forwardPos): use inset_ when the stack is empty.
3313         (doc_iterator_begin, doc_iterator_end): implemented
3314         * pariterator.[Ch]: adjust, add begin, end
3315         * insetiterator.[Ch]: adjust, add begin, end
3316         * cursor.C:
3317         * document.C:
3318         * BufferView.C:
3319         * BufferView_pimpl.C:
3320         * CutAndPaste.C: adjust
3321
3322 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3323
3324         * buffer.C: increment file format to 232.
3325         * LaTeXFeatures.C: add bibtopic package.
3326         * bufferparams.[Ch]: param \use_bibtopic.
3327
3328         * lyxrc.[Ch]: add lyxrc bibtex_command
3329         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3330
3331         * buffer.C: increment file format to 231.
3332
3333 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3334
3335         * dociterator.C: implement forwardPar
3336         * iterators.[Ch]: remove, replaced by
3337         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3338         * BufferView.C:
3339         * BufferView_pimpl.C:
3340         * CutAndPaste.C:
3341         * buffer.C:
3342         * bufferview_funcs.C:
3343         * cursor.C:
3344         * lyxfind.C
3345         * lyxfunc.C
3346         * paragraph_funcs.C
3347         * toc.C:
3348         * Makefile.am: adjust
3349
3350 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3351
3352         * CutAndPaste.C (pasteSelection): fix 2 crashes
3353         (eraseSelection): fix a crash
3354         * paragraph_funcs.C: remove a warning
3355
3356 2004-03-28  Angus Leeming  <leeming@lyx.org>
3357
3358         * lfuns.h:
3359         * LyXAction.C (init): new LFUN_PRINT.
3360
3361         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3362
3363 2004-03-27  Angus Leeming  <leeming@lyx.org>
3364
3365         * lfuns.h:
3366         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3367
3368         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3369
3370 2004-03-27  Angus Leeming  <leeming@lyx.org>
3371
3372         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3373         insetlist always contains non-null pointers to insets.
3374
3375 2004-03-26  Angus Leeming  <leeming@lyx.org>
3376
3377         * src/BufferView_pimpl.C:
3378         * src/CutAndPaste.C:
3379         * src/buffer.C:
3380         * src/iterators.C:
3381         * src/output_plaintext.C:
3382         * src/outputparams.h:
3383         * src/paragraph_funcs.C:
3384         * src/rowpainter.C:
3385         * src/text.C:
3386         * src/text2.C:
3387         * src/frontends/controllers/ControlErrorList.C:
3388         * src/frontends/gtk/FileDialogPrivate.C:
3389         * src/frontends/gtk/GPainter.C:
3390         * src/frontends/gtk/GToolbar.C:
3391         * src/frontends/qt2/QRef.C:
3392         * src/mathed/math_scriptinset.C: squash compiler warnings.
3393
3394 2004-03-26  Angus Leeming  <leeming@lyx.org>
3395
3396         * ispell.C (LaunchIspell::start):
3397         * lyx_cb.C (AutoSaveBuffer::start):
3398         invoke run(DontWait) rather than runNonBlocking().
3399
3400 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3401
3402         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3403
3404 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3405
3406         * kbsequence.C (print): adjust
3407
3408         * kbmap.C (printKeySym): rename and change signature
3409         (printKey): use LyXKeySym::print()
3410
3411 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3412
3413         * undo.C: add using std::advance to compile for stlport
3414
3415 2004-03-24  Angus Leeming  <leeming@lyx.org>
3416
3417         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3418         it leads to a crash when no buffer is present.
3419
3420 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3421             Martin Vermeer  <martin.vermeer@hut.fi>
3422
3423         * lyxfunc.C (dispatch):
3424         * bufferparams.C (readToken): use the new LColor::setColor
3425
3426         * LColor.[Ch] (setColor): new version that takes two strings as
3427         argument and creates a new color entry if necessary
3428
3429 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3430
3431         * buffer.C (makeLaTeXFile): if the main latex file that is
3432         processed is usually a subdocument of some master, then pretend
3433         for a while that it is actually the master
3434
3435 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3436
3437         * buffer.C (getLabelList):
3438         (getBibkeyList): use getMasterBuffer()
3439         (getMasterBuffer): new method. Returns the main document in the
3440         case where one is using included documents.
3441
3442 2004-03-25  André Pönitz  <poenitz@gmx.net>
3443
3444         * Makefile.am:
3445         * iterators.[Ch]:
3446         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3447
3448         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3449
3450         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3451         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3452
3453         * ParameterStruct.h: merge with ParagraphParameters
3454
3455         * lyxtext.h: remove LyXText::parOffset() and getPar()
3456
3457         * text3.C: Remove all 'manual' update calls. We do now one per user
3458         interaction which is completely sufficient.
3459
3460         * Bidi.C:
3461         * BufferView.[Ch]:
3462         * BufferView_pimpl.C:
3463         * FontIterator.[Ch]:
3464         * MenuBackend.C:
3465         * ParagraphParameters.[Ch]:
3466         * buffer.C:
3467         * buffer.h:
3468         * bufferlist.C:
3469         * cursor.[Ch]:
3470         * cursor_slice.[Ch]:
3471         * dociterator.[Ch]:
3472         * errorlist.[Ch]:
3473         * factory.C:
3474         * lfuns.h:
3475         * lyxfind.C:
3476         * lyxfunc.C:
3477         * output_docbook.[Ch]:
3478         * output_latex.[Ch]:
3479         * output_linuxdoc.[Ch]:
3480         * output_plaintext.[Ch]:
3481         * paragraph.[Ch]:
3482         * paragraph_funcs.[Ch]:
3483         * paragraph_pimpl.[Ch]:
3484         * rowpainter.C:
3485         * tabular.[Ch]:
3486         * text.C:
3487         * text2.C:
3488         * toc.C:
3489         * undo.[Ch]: adjust
3490
3491         * frontends/controllers/ControlDocument.C:
3492         * frontends/controllers/ControlErrorList.C:
3493         * frontends/controllers/ControlSpellchecker.C:
3494         * insets/inset.C:
3495         * insets/inset.h:
3496         * insets/insetbase.h:
3497         * insets/insetbibitem.C:
3498         * insets/insetbox.C:
3499         * insets/insetbranch.C:
3500         * insets/insetcaption.C:
3501         * insets/insetcharstyle.C:
3502         * insets/insetcharstyle.h:
3503         * insets/insetcollapsable.C:
3504         * insets/insetcollapsable.h:
3505         * insets/insetert.C:
3506         * insets/insetfloat.C:
3507         * insets/insetfoot.C:
3508         * insets/insetmarginal.C:
3509         * insets/insetnote.C:
3510         * insets/insetoptarg.C:
3511         * insets/insettabular.C:
3512         * insets/insettext.C:
3513         * insets/insettext.h:
3514         * insets/insetwrap.C:
3515         * mathed/math_mboxinset.C:
3516         * mathed/math_nestinset.C:
3517         * mathed/math_scriptinset.C:
3518         * mathed/math_scriptinset.h:
3519         * support/types.h:
3520
3521 2004-03-24  Angus Leeming  <leeming@lyx.org>
3522
3523         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3524         deal with any child processes that have finished but are waiting to
3525         communicate this fact to the rest of LyX.
3526
3527 2004-03-24  Angus Leeming  <leeming@lyx.org>
3528
3529         64-bit compile fixes.
3530
3531         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3532         (c-tor): pass lyx::pos_types rather than ints.
3533
3534         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3535         lyx::pos_type.
3536
3537         * text.C (Delete): compile fix.
3538         (getPar): ensure that function declaration is the same as that in
3539         the header file.
3540
3541 2004-03-23  Angus Leeming  <leeming@lyx.org>
3542
3543         * ispell.C (LaunchIspell):
3544         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3545         a boost::shred_ptr rather than a std::auto_ptr.
3546
3547 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3548
3549         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3550         handle LFUN_FILE_INSERT_*
3551
3552         * lyxrc.C (setDefaults, getDescription, output, read):
3553         * lyxrc.h: remove ps_command
3554
3555 2004-03-22  Angus Leeming  <leeming@lyx.org>
3556
3557         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3558         Ensure that error_handler is processed once only and that all data
3559         is saved before attempting to output any warning messages.
3560
3561         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3562
3563 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3564
3565         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3566
3567 2004-03-19  André Pönitz  <poenitz@gmx.net>
3568
3569         * cursor.[Ch] (reset): take main text inset as argument
3570
3571         * BufferView: adjust
3572         * BufferView_pimpl.C: adjust
3573
3574         * paragraph.[Ch]: fix completely broken operator=()
3575
3576 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3577
3578         * LColor.C (getFromLyXName): make sure that the color name is used
3579         as lowercase.
3580
3581 2004-03-17  Angus Leeming  <leeming@lyx.org>
3582
3583         * lfuns.h:
3584         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3585
3586         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3587         dialog and to kill a forked process.
3588
3589 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3590
3591         * text2.C (setCursorFromCoordinates): fix font problem
3592
3593 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3594
3595         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3596         bogus "rebuild cursor" code
3597
3598 2004-03-11  André Pönitz  <poenitz@gmx.net>
3599
3600         * buffer.[Ch]: use InsetText instead of LyXText as container for
3601         the main lyx text.
3602
3603         * dociterator.[Ch]: drop the BufferView * member which is not needed
3604         anymore after the change to buffer.C
3605
3606         * paragraph_funcs.C:
3607         * text.C:
3608         * text2.C:
3609         * BufferView.[Ch]:
3610         * BufferView_pimpl.[Ch]:
3611         * cursor.[Ch]:
3612         * cursor_slice.[Ch]: adjust
3613
3614         * text3.C: fix bug in mathDispatch
3615
3616 2004-03-08  André Pönitz  <poenitz@gmx.net>
3617
3618         * undo.[Ch]: use 'StableDocumentIterator' as base for
3619         the Undo struct.
3620
3621 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3622
3623         * LaTeXFeatures.C:
3624         * bufferparams.[Ch]: add jurabib support and param.
3625
3626         * LaTeX.C: add FIXME/comment.
3627
3628 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3629
3630         * buffer.C: increment file format to 230.
3631
3632 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3633
3634         * cursor.C (dispatch): avoid infinite loops
3635
3636 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3637
3638         * rowpainter.C (paintSelection): fix x coordinates
3639
3640 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3641
3642         * text.C (rowBreakPoint): fix breaking before displayed insets
3643
3644 2004-03-01  André Pönitz  <poenitz@gmx.net>
3645
3646         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3647
3648         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3649
3650         * Makefile.am:
3651         * BufferView.C:
3652         * BufferView_pimpl.C:
3653         * buffer.C:
3654         * lyxfind.C:
3655         * lyxfunc.C:
3656         * text.C:
3657         * text2.C:
3658         * text3.C: adjust
3659
3660 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * lyxtext.h:
3663         * text.C:
3664         * text2.C:
3665         * rowpainter.C:
3666         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3667         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3668
3669 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3670
3671         * Bidi.[Ch] (computeTables): const correctness
3672         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3673         fill_hfill, fill_label_hfill and x from Row
3674         * lyxtext.h: prepareToPrint returns a RowMetrics
3675         * rowPainter.C: adjust
3676         * text.C (prepareToPrint): use width, not textWidth. adjust
3677         (redoParagraphInternal, cursorX): adjust
3678         * text2.C (getColumnNearX): adjust
3679         (init): put a default value to the top LyXText::width
3680
3681 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3682
3683         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3684
3685 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3686
3687         * lyxtext.h: add FontIterator class
3688
3689         * text.C (FontIterator, operator*, operator->, operator++): add
3690         (rowBreakPoint, setRowWidth): adjust (fixing a
3691         rebreaking bug)
3692
3693 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3694
3695         * BufferView_pimpl.C (workAreaDispatch): allow also
3696         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3697
3698 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3699
3700         * text.C (rowBreakPoint): fix a bug showing with very large insets
3701
3702 2004-02-25  André Pönitz  <poenitz@gmx.net>
3703
3704         * text3.C:
3705         * cursor.[Ch]: move some mathed specific code to mathed
3706
3707 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3708
3709         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3710         use_tempdir in preferences
3711         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3712         tempfile creation
3713         * lyx_main.C: ensure that tempdir is valid
3714         * lyxlex.h: correct typo
3715         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3716         * paragraph.[Ch] (isMultiLingual): make const
3717         * cursor.[Ch] (openable): make const
3718
3719 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3720
3721         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3722
3723 2004-02-20  André Pönitz  <poenitz@gmx.net>
3724
3725         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3726
3727         * cursor.[Ch]: prepare for localized getStatus()
3728
3729         * lyxtext.h:
3730         * tabular.C:
3731         * text.C:
3732         * text2.C:
3733         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3734
3735 2004-02-20  André Pönitz  <poenitz@gmx.net>
3736
3737         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3738
3739 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3740
3741         * text2.C (setCursorFromCoordinates): switch to absolute coords
3742         (cursorUp): adjust
3743         (cursorDown): adjust
3744         * text3.C (dispatch): adjust
3745
3746 2004-02-16  André Pönitz  <poenitz@gmx.net>
3747
3748         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3749           insets/ChangeLog)
3750
3751         * cursor_slice.[Ch]: remove unneeded acessor function
3752
3753         * lyxtext.h: rename rtl() to isRTL()
3754
3755         * rowpainter.C:
3756         * tabular.C:
3757         * text.C:
3758         * text2.C:
3759         * text3.C: adjust
3760
3761 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3762
3763         * rowpainter.C (paintSelection): coord fix
3764
3765 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3766
3767         * Spacing.C: compile fix
3768
3769 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3770
3771         * cursor.C (dispatch): restore current_ before returning
3772
3773 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3774
3775         * text2.C (cursorUp, cursorDown): fix coords
3776         (moveUp): fix crash
3777
3778 2004-02-12  André Pönitz  <poenitz@gmx.net>
3779
3780         * lyxtext.h:
3781         * text.C:
3782         * text2.C:
3783         * text3.C: add LCursor & parameter to most cursor movement functions
3784           remove usage of LyXText::cursorRow() and cursorPar()
3785
3786         * cursor.[Ch]: add textRow() needed members
3787
3788         * BufferView.C:
3789         * BufferView_pimpl.C:
3790         * paragraph.[Ch]:
3791         * BufferView.C:
3792         * BufferView_pimpl.C: adjust
3793
3794 2004-02-11  André Pönitz  <poenitz@gmx.net>
3795
3796         * lyxfunc.C:
3797         * BufferView.[Ch]:
3798         * BufferView_pimpl.C: shift undo/redo handling
3799
3800         * cursor.[Ch]: fix mathed crash
3801
3802         * lyxfind.C:
3803         * lyxtext.h: move selectionAsText to LCursor
3804
3805         * output_latex.C:
3806         * paragraph.C:
3807         * text.C:
3808         * text2.C:
3809         * text3.C: adjust
3810
3811         * rowpainter.C: fix excessive drawing
3812
3813 2004-02-06  André Pönitz  <poenitz@gmx.net>
3814
3815         * BufferView.[Ch]:
3816         * BufferView_pimpl.[Ch]:
3817         * text3.C: move some text specific LFUN handling
3818
3819 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3820
3821         * text3.C (checkInsetHit): adjust coords
3822         * text2.C (getColumnNearX): adjust coords
3823         (edit): adjust coords
3824         * text.C (getRowNearY): add two asserts
3825
3826 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3827
3828         * converter.C:
3829         * format.C: add using std::distance to compile on gcc 2.95/stlport
3830
3831 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3832
3833         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3834
3835 2004-02-04  André Pönitz  <poenitz@gmx.net>
3836
3837         * BufferView.[Ch] (insertInset):
3838         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3839
3840         * text2.C:
3841         * text3.C: adjust
3842
3843 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3844
3845         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3846         on the default clause of the switch
3847         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3848         wasn't catched by LCursor::dispatch
3849
3850 2004-02-03  André Pönitz  <poenitz@gmx.net>
3851
3852         * BufferView.C:
3853         * cursor.[Ch]: some additional asserts
3854
3855         * undo.[Ch]: remove LyXText dependency in interface
3856
3857         * lyxfunc.C: adjust
3858
3859         * lyxtext.h (firstPar, lastPar): remove dead functions
3860
3861         * text.C:
3862         * text2.C:
3863         * text3.C:
3864         * paragraph.[Ch]: adjust
3865
3866 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3867
3868         * lyxfind.C (find): fix argument order in call to ::find
3869
3870 2004-02-02  André Pönitz  <poenitz@gmx.net>
3871
3872         * cursor.[Ch]: remove direct access to anchor
3873
3874         * text.C: remove findText() hack
3875
3876 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3877
3878         * iterators.[Ch] (lockPath): remove in favour of...
3879         * BufferView.[Ch] (setCursor): this addition
3880         * BufferView.C (putSelectionAt): adjust
3881         * undo.C (performUndoOrRedo): adjust
3882         * lyxfunc.C (dispatch): adjust
3883
3884 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3885
3886         * iterators.C (lockPath): add a missing slice
3887         * undo.C (performUndoOrRedo): remove redundant positioning code
3888
3889 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3890
3891         * vc-backend.C (scanMaster): ";" -> ';'
3892
3893 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3894
3895         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3896         std::binary_function
3897
3898         * lyxtextclass.C (compare_name): rename to...
3899         (LayoutNamesEqual): ...this
3900
3901         * lyxlex_pimpl.C (compare_tags): inherit from
3902         std::binary_function, put back into anon namespace
3903
3904         * lyxfind.C (MatchString): inherig from std::binary_function
3905         (findChange): use empty() istead of !size()
3906
3907         * format.C (FormatNamesEqual): new functor
3908         (getFormat): use it
3909         (getNumber): use it
3910         (add): use it
3911         (erase): use it
3912         (setViewer): use it
3913
3914         * converter.C (compare_Converter): rename to...
3915         (ConverterEqual): ...this, and fixup a bit.
3916         (getConverter): use it, and make function const
3917         (getNumber): use it, and make function const
3918         (add): use it
3919         (erase): use it:
3920
3921         * bufferlist.C: add using boost::bind
3922
3923         * MenuBackend.C (MenuNamesEqual): new functor
3924         (hasMenu): use it, and make function const
3925         (hasSubmenu): use nested bind to get rid of compare_memfun.
3926
3927 2004-01-30  André Pönitz  <poenitz@gmx.net>
3928
3929         * BufferView_pimpl.C:
3930         * cursor.C:
3931         * cursor.h:
3932         * cursor_slice.[Ch]:
3933         * lyxfunc.C:
3934         * lyxtext.h:
3935         * paragraph_funcs.C:
3936         * paragraph_funcs.h:
3937         * rowpainter.C:
3938         * text.C:
3939         * text2.C:
3940         * text3.C: move some of the edit(x,y) handling to the insets
3941         some coordinate changes.
3942
3943 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * text.C: add using statements for std::advance and std::distance
3946
3947         * paragraph.C: add using statement for std::distance
3948
3949         * lyxfind.C: add using statement for std::advance
3950
3951         * cursor.C (region): remove std:: from swap
3952         (openable): use nucleus in stead of operator->
3953
3954         * BufferView.C: add using statements for std::distance and std::swap
3955
3956 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * iterators.C: Remove the pimple, move the needed structures to
3959         the header file. Create accessor for the positions stack.
3960         (asPosIterator): remove function
3961
3962         * PosIterator.C (PosIterator): move constructors to top of file
3963         (PosIterator): reimplement the constructor taking a ParIterator in
3964         terms of setFrom.
3965         (setFrom): new function
3966         (operator!=): inline it
3967
3968 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * lyxfind.C (replaceAll): use std::advance
3971
3972         * iterators.h: inherit from std::iterator.
3973
3974         * PosIterator.C (advance, distance): remove
3975         * PosIterator.h: interit from std::iterator.
3976
3977 2004-01-26  André Pönitz  <poenitz@gmx.net>
3978
3979         * BufferView.[Ch]:
3980         * BufferView_pimpl.[Ch]:
3981         * InsetList.[Ch]:
3982         * PosIterator.[Ch]:
3983         * buffer.h:
3984         * bufferview_funcs.C:
3985         * cursor.[Ch]:
3986         * cursor_slice.h:
3987         * factory.[Ch]:
3988         * iterators.[Ch]:
3989         * lyxfind.C:
3990         * lyxfunc.C:
3991         * lyxtext.h:
3992         * output_docbook.C:
3993         * output_latex.C:
3994         * output_linuxdoc.C:
3995         * output_plaintext.C:
3996         * paragraph.[Ch]:
3997         * paragraph_funcs.[Ch]:
3998         * paragraph_pimpl.[Ch]:
3999         * rowpainter.C:
4000         * tabular.C:
4001         * tabular.h:
4002         * text.C:
4003         * text2.C:
4004         * text3.C: more IU:  dumps most of the rest of the mathcursor
4005     implementation into cursor.[Ch]; "globalize" a bit of it.
4006
4007 2004-01-25  Angus Leeming  <leeming@lyx.org>
4008
4009         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4010
4011 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4012
4013         * LaTeXFeatures.h: add nice_ and nice() const
4014         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4015
4016 2004-01-20  André Pönitz  <poenitz@gmx.net>
4017
4018         * BufferView.[Ch]:
4019         * BufferView_pimpl.C:
4020         * PosIterator.C:
4021         * bufferview_funcs.C:
4022         * cursor.[Ch]:
4023         * cursor_slice.[Ch]:
4024         * factory.C:
4025         * iterators.C:
4026         * lyx_cb.C:
4027         * lyxfind.C:
4028         * lyxfunc.C:
4029         * lyxtext.h:
4030         * rowpainter.C:
4031         * text.C:
4032         * text2.C:
4033         * text3.C:
4034         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4035           LCursor and mathcursor parts to LCursor and InsetBase.
4036
4037 2004-01-15  André Pönitz  <poenitz@gmx.net>
4038
4039         * cursor_slice.[Ch]: add a few covienience functions
4040
4041         * funcrequest.[Ch]: remove BufferView * member
4042
4043         * BufferView_pimpl.C:
4044         * cursor.C:
4045         * factory.[Ch]:
4046         * lyxfind.[Ch]:
4047         * lyxfunc.C:
4048         * lyxtext.h:
4049         * text3.C:
4050         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4051
4052 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4053
4054         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4055         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4056
4057 2004-01-13  André Pönitz  <poenitz@gmx.net>
4058
4059         * textcursor.[Ch]:
4060         * lyxtext.h: hide cursor and selection anchor behind accessor function
4061
4062         * BufferView.C:
4063         * BufferView_pimpl.[Ch]:
4064         * PosIterator.C:
4065         * bufferview_funcs.C:
4066         * cursor.h:
4067         * lyxfind.C:
4068         * lyxfunc.C:
4069         * text.C:
4070         * text2.C:
4071         * text3.C:
4072         * undo.C: adjust
4073
4074         * cursor.h:
4075         * cursor_slice.[Ch]: some integer type changes for inset unification
4076
4077         * lyxcursor.[hC]: remove, it's CursorSlice now.
4078
4079         * Makefile.am:
4080         * BufferView_pimpl.[Ch]:
4081         * bufferview_funcs.C:
4082         * cursor_slice.C:
4083         * lyxtext.h:
4084         * text.C:
4085         * text2.C:
4086         * text3.C:
4087         * textcursor.[Ch]: adjust
4088
4089 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4090
4091         * text2.C (undoSpan): add and use
4092         * text.C (breakParagraph): use undoSpan (fix bug 578)
4093         * lyxtext.h: adjust
4094
4095 2004-01-08  Angus Leeming  <leeming@lyx.org>
4096
4097         * BufferView_pimpl.C (MenuInsertLyXFile):
4098         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4099         * lyxfunc.C (menuNew, open, doImport):
4100         FileFilterList change to the FileDialog open and save functions.
4101
4102 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * ShareContainer.h: make isEqual and isUnique adaptable
4105
4106         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4107
4108 2004-01-07  Angus Leeming  <leeming@lyx.org>
4109
4110         * LyXAction.C:
4111         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4112
4113         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4114
4115         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4116         functions replacing find, replace and replaceAll.
4117
4118         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4119         LFUN_WORDFIND(FORWARD|BACKWARD).
4120
4121 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4122
4123         * text.C (breakParagraph): remove an outdated #warning
4124
4125 2004-01-07  André Pönitz  <poenitz@gmx.net>
4126
4127         * lyxfind.C: somewhat clearer logic
4128
4129         * text.C: prevent crash in cursorX on unitialized row cache
4130
4131 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4132
4133         * lyxcursor.[Ch] (operator>): add
4134         * textcursor.C (selStart, selEnd): use std::min and std::max
4135
4136 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * Chktex.C: include boost/format.hpp
4139
4140 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4141
4142         * InsetList.C: replace functor MathcIt with adaptable functor
4143         InsetTablePosLess
4144         (insetIterator): modify accordingly
4145
4146         * BranchList.h: move the BranchNamesEqual functor here from...
4147         * BranchList.C: ... to here
4148
4149         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4150         SameName and match.
4151         (add): replace a finding loop with std::find_if.
4152
4153 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4154
4155         * output_docbook.C: moving LatexParam functionality into
4156         .layout files
4157
4158 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4159
4160         * buffer.C: increment format to 229.
4161
4162 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4163
4164         * LaTeXFeatures.C:
4165         * lyx_sty.[Ch]: remove minipageindent_def
4166
4167         * LyXAction.C:
4168         * factory.C:
4169         * lfuns.h:
4170         * lyxfunc.C:
4171         * text3.C: remove LFUN_INSET_MINIPAGE
4172
4173 2003-12-28  Angus Leeming  <leeming@lyx.org>
4174
4175         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4176
4177 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4178
4179         * text2.C (setParagraph): fix off-by-one crash
4180
4181 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4182
4183         * output_docbook.C: header stuff for AGU
4184
4185 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4186
4187         * text2.C (redoCursor): remove
4188         * text.C:
4189         * text3.C:
4190         * BufferView_pimpl.C: remove calls to redoCursor and
4191         setCursor(cursor.par(), cursor.pos()) all around
4192
4193 2003-12-15  Angus Leeming  <leeming@lyx.org>
4194
4195         * buffer.C: up the format to 228.
4196
4197 2003-12-15  André Pönitz  <poenitz@gmx.net>
4198
4199         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4200         slices
4201
4202         * Makefile.am:
4203
4204         * BufferView_pimpl.C:
4205         * cursor.[Ch]:
4206         * lyxcursor.[Ch]:
4207         * rowpainter.[Ch]:
4208         * lyxtext.h:
4209         * text.C:
4210         * text2.C:
4211         * text3.C: adjust
4212
4213 2003-12-15  Angus Leeming  <leeming@lyx.org>
4214
4215         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4216         than getFromGUIName to manipulate the color.
4217
4218 2003-12-14  Angus Leeming  <leeming@lyx.org>
4219
4220         * BranchList.[Ch]: minimize the API.
4221         (Branch::getBranch, getColor): now return a 'const &'.
4222         (Branch::setSelected) now returns a bool set to true if the
4223         selection status changes.
4224         (BranchList::clear, size, getColor, setColor, setSelected,
4225         allBranches, allSelected, separator): removed.
4226         (BranchList::find): new functions, returning the Branch with
4227         the given name.
4228         (BranchList::add, remove): return a bool indicating that
4229         the operation was successful.
4230
4231         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4232         new InsetBranch::isBranchSlected member function.
4233
4234         * LColor.[Ch]: mimimize the API.
4235         (fill): renamed as addColor and made private.
4236         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4237         versions of these functions taking a string arg have been removed.
4238
4239         * bufferparams.C (readToken):
4240         * lyxfunc.C (dispatch):
4241         * lyxrc.C (read): changes due to the altered BranchList and
4242         LColor APIs.
4243
4244         * factory.C (createInset, readInset): changes due to altered
4245         InsetBranch c-tor.
4246
4247 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4248
4249         * factory.C:
4250         * lyxfunc.C: remove insetminipage. "minipage-insert"
4251         now produces a frameless minipage box inset.
4252
4253 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4254
4255         * textcursor.[Ch] (selStart,selEnd): add new methods
4256         remove selection::start, end, use LyXCursor::operator<
4257         * lyxcursor.[Ch] (operator<): add
4258         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4259         * BufferView.[Ch] (unsetXSel): add
4260         * text2.C (clearSelection): use unsetXSel,adjust
4261         * text.C: adjust
4262         * text3.C: adjust
4263         * rowpainter.C: adjust
4264         * bufferview_funcs.C (put_selection_at): adjust
4265
4266 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4267
4268         * BufferView_pimpl.C: small coord. correction
4269
4270 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4271
4272         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4273         dragging over the splash screen.
4274
4275 2003-12-11  Angus Leeming  <leeming@lyx.org>
4276
4277         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4278         as it is now handled in LyXText::dispatch.
4279
4280         * text3.C (doInsertInset): remove a level of nesting.
4281
4282 2003-12-11  Angus Leeming  <leeming@lyx.org>
4283
4284         * factory.C (createInset): changes due to the changed interface to
4285         InsetCommandMailer::string2params.
4286
4287 2003-12-10  Angus Leeming  <leeming@lyx.org>
4288
4289         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4290         'dialog-show-new-inset <inset name>'
4291
4292 2003-12-10  Angus Leeming  <leeming@lyx.org>
4293
4294         * buffer.C: up the format to 227.
4295
4296         * factory.C: the box inset is now identified simply by 'Box'.
4297
4298 2003-12-10  Angus Leeming  <leeming@lyx.org>
4299
4300         * buffer.C: up the format to 226.
4301
4302         * factory.C: the note inset is now identified simply by 'Note'.
4303
4304 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4305
4306         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4307         when a pit is enough. Standarize a couple of loops.
4308
4309 2003-12-05  Angus Leeming  <leeming@lyx.org>
4310
4311         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4312         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4313         data to the re-worked "log" dialog.
4314
4315 2003-12-03  André Pönitz  <poenitz@gmx.net>
4316
4317         * PosIterator.C:
4318         * iterators.C:
4319         * lyxtext.h:
4320         * output_latex.C:
4321         * paragraph_funcs.C:
4322         * text.C:
4323         * text2.C: use Inset::getText instead of Inset::getParagraph
4324
4325 2003-12-03  André Pönitz  <poenitz@gmx.net>
4326
4327         * buffer.[Ch]:
4328         * lyxtext.h:
4329         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4330         InsetText::read() as LyXText::read()
4331
4332 2003-12-02  Angus Leeming  <leeming@lyx.org>
4333
4334         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4335         type. Add a comment in the implementation that the function uses
4336         the stream's bad() function rather than fail() as the std::streams
4337         would do.
4338
4339 2003-12-02  André Pönitz  <poenitz@gmx.net>
4340
4341         * lyxlex.[Ch]: make interface more similar to std::stream
4342
4343         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4344
4345 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4346
4347         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4348
4349 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4350
4351         * vspace.[Ch]: remove VSpace::NONE
4352
4353 2003-12-01  André Pönitz  <poenitz@gmx.net>
4354
4355         * buffer.[Ch]:
4356         * lyxtext.h: move ParagraphList member to LyXText
4357         rename LyXText::ownerParagraphs to LyXText::paragraph
4358
4359         * CutAndPaste.C:
4360         * bufferview_funcs.C:
4361         * iterators.[Ch]:
4362         * lyx_cb.C:
4363         * paragraph.C:
4364         * rowpainter.C:
4365         * tabular.C:
4366         * text.C:
4367         * text2.C:
4368         * text3.C: adjust
4369
4370         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4371
4372         * undo.C: fix cursor positioning
4373
4374 2003-12-01  John Levon  <levon@movementarian.org>
4375
4376         * BufferView_pimpl.C: fix a crash on exit with
4377         a buffer open
4378
4379 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4380
4381         * BranchList.C: fix setSelected() method.
4382
4383 2003-11-28  André Pönitz  <poenitz@gmx.net>
4384
4385         * ParagraphParameters.[Ch]:
4386         * ParameterStruct.h: remove space above/below from Paragraph to
4387          InsetVSpace
4388
4389         * BufferView_pimpl.C:
4390         * factory.C:
4391         * lyxfunc.C:
4392         * lyxtext.h:
4393         * output_latex.C:
4394         * paragraph.C:
4395         * paragraph_funcs.C:
4396         * rowpainter.[Ch]:
4397         * text.C:
4398         * text2.C:
4399         * text3.C: adjust
4400
4401 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4402
4403         * factory.C: Syntax change for CharStyles
4404
4405 2003-11-28  André Pönitz  <poenitz@gmx.net>
4406
4407         * BufferView.[Ch]:
4408         * BufferView.[Ch]:
4409         * buffer.[Ch]:
4410         * buffer.[Ch]: move LyXText member
4411
4412 2003-11-28  André Pönitz  <poenitz@gmx.net>
4413
4414         * BufferView.[Ch]: make LyXText * text a private member
4415
4416         * BufferView_pimpl.C:
4417         * cursor.C:
4418         * iterators.C:
4419         * lyx_cb.C:
4420         * lyxfind.C:
4421         * lyxtext.h:
4422         * rowpainter.[Ch]:
4423         * text.C:
4424         * text2.C:
4425         * undo.C: adjust
4426
4427         * output_plaintext.C: cleanup
4428
4429 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4430
4431         * buffer.C:
4432         * lyxtextclass.[Ch]: parametrize SGML document header
4433
4434 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4435
4436         * converter.[Ch]:
4437         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4438         getFlavor().
4439
4440 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4441
4442         * text2.C (setFont): rework using PosIterator (no more recursive)
4443         (setCharFont): no more needed
4444         (setLayout): no more selection cursors fiddling (done by redoCursor)
4445         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4446         destroy remaining ones)
4447
4448 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4449
4450         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4451         * lyxtext.h: ditto
4452         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4453         selection cursors
4454         * lyxfunc.C: adjust
4455         * text3.C: adjust + re-allow multi par depth changes
4456         * textcursor.C: simplify a bit
4457
4458 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4459
4460         * src/buffer.C:
4461         * src/lyxlayout.C:
4462         * src/lyxlayout.h:
4463         * src/lyxtext.h:
4464         * src/output_docbook.C:
4465         * src/output_latex.C:
4466         * src/paragraph.C:
4467         * src/paragraph.h:
4468         * src/sgml.C:
4469         * src/sgml.h:
4470         * src/text2.C: Introducing a number of tags parametrizing various
4471         XML formats that we may want to support
4472
4473 2003-11-25  André Pönitz  <poenitz@gmx.net>
4474
4475         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4476
4477         * lyxtext.h (leftMargin/rightMargin): simplify interface
4478
4479         * rowpainter.C:
4480         * text.C:
4481         * text2.C:
4482         * text3.C: adjust
4483
4484 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4485
4486         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4487         master file to any child files. Fixes bug 546.
4488
4489 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4490
4491         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4492
4493 2003-11-24  André Pönitz  <poenitz@gmx.net>
4494
4495         * rowpainter.C: simplification
4496
4497         * text2.C (updateCounters): remove call to redoParagraph on
4498         changed labels as this is far too expensive.
4499
4500 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4501
4502         * converter.C (convert): fix a crash: this function gets
4503         called with buffer == 0 from importer code.
4504
4505 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4506
4507         * text3.C (cursorPrevious): make sure that we do not compare
4508         iterators form different containers.
4509         (cursorNext): ditto
4510
4511         * rowpainter.C (paintSelection): make sure that we do not compare
4512         iterators from different containers.
4513
4514         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4515         iterators from different ParagraphList containers.
4516         [NEXT] ditto
4517
4518         * text2.C (LyXText): change order of initialization slightly
4519         (operator=): new function. copy all variables except cache_par_
4520         (moveUp): make sure that we do not compare iterators from
4521         different ParagraphList constainers.
4522         (moveDown): ditto
4523
4524         * text.C (firstPar): new function
4525         (lastPar): new function
4526         (endPar): new function
4527
4528         * lyxtext.h: move things around and group public functions, public
4529         variables, private functions, private variables
4530
4531 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4532
4533         * factory.C: change call to InsetERT constructor to avoid
4534         additional invocation of method status
4535         * text2.C (toggleInset): remove redundant update() call
4536         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4537         instead of a Bufferview pointer
4538
4539 2003-11-21  André Pönitz  <poenitz@gmx.net>
4540
4541         * rowpainter.C: simplification
4542
4543 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4544
4545         * text3.C (dispatch): make possible to extend a word/row selection
4546         with the mouse
4547
4548 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4549
4550         * lyxtext.h: x0_,y0_ -> xo_,yo_
4551         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4552         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4553         * rowpainter.C (paintRows): paint full paragraphs
4554
4555 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4556
4557         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4558         screen coordinates)
4559
4560 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4561
4562         * lyxtext.h: add x0_, y0_
4563         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4564         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4565
4566 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4567
4568         * text2.C (setCursorIntern): move the x_target update here *
4569         * text3.C: change some bv() to true/false in calls to
4570         cursorUp/Down/Right/Left
4571         * cursor.C: use helper function.
4572
4573 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4574
4575         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4576         * paragraph_funcs.[Ch]: correct comment
4577         * rowpainter.C: do not paint selections away from bv->cursor()
4578         Fix a long standing selection painting bug.
4579         * text3.C: generalize mouse-selection code to LyXTexts other that
4580         top one
4581         * textcursor.C: do not use y coords if we can use par offsets
4582
4583 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4584
4585         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4586         cursor position after e.g. inset insert)
4587
4588 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4589
4590         * lyxfind.C (replace): adjust to locking removal + some
4591         code simplification
4592
4593 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4594
4595         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4596         of the path
4597
4598 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4599
4600         * lyxlayout.[Ch]:
4601         * output_docbook.C: XML sanitation: new layout
4602         parameters InnerTag and CommandDepth
4603
4604 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4605
4606         * BufferView_pimpl.C:
4607         * factory.C:
4608         * text3.C: Fix the insertion and modification of button-style
4609         insets
4610
4611 2003-11-13  André Pönitz  <poenitz@gmx.net>
4612
4613         * InsetList.[Ch]: remove deleteLyXText
4614
4615         * paragraph.[Ch]: cache beginOfBody position
4616
4617         * Bidi.C:
4618         * text.C:
4619         * text2.C:
4620         * text3.C: remove superfluous update() calls
4621
4622         * vspace.C: cleanup
4623
4624 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4625
4626         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4627         * BufferView.C (fitLockedInsetCursor): remove
4628         * cursor.[Ch] (getDim): add
4629         * text.C (getRowNearY): add faster version
4630         * text3.C: remove some update calls
4631
4632 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4633
4634         * LaTeXFeatures.C:
4635         * LyXAction.C:
4636         * MenuBackend.C:
4637         * MenuBackend.h:
4638         * dispatchresult.h:
4639         * factory.C:
4640         * lfuns.h:
4641         * lyxfunc.C:
4642         * lyxtextclass.C:
4643         * lyxtextclass.h:
4644         * text3.C: The Character Style /XML short element patch.
4645
4646 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4647
4648         * text3.C:
4649         * factory.C: Small step to solving 'unable to insert some insets'
4650         problem
4651
4652 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4653
4654         * cursor.[Ch] (updatePos): new function for updating the y
4655         position of the tip inset
4656         * bufferview_funcs.C (put_selection_at):
4657         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4658
4659 2003-11-11  André Pönitz  <poenitz@gmx.net>
4660
4661         * text.C: remove big comment on invalid Paragraph pointers as it is
4662         not valid anymore
4663
4664 2003-11-11  André Pönitz  <poenitz@gmx.net>
4665
4666         * text_funcs.[Ch]: merge with ...
4667
4668         * text.C: ... this
4669
4670         * lyxtext.h:
4671         * text2.C:
4672         * text3.C: adjust
4673
4674         * Makefile.am: remove text_funcs.[Ch]
4675
4676 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4677
4678         * cursor.C (getPos): return absolute cached y coord
4679
4680         * BufferView_pimpl.C (fitCursor): new simplistic code
4681         (workAreaDispatch): add a fitCursor call
4682
4683 2003-11-10  André Pönitz  <poenitz@gmx.net>
4684
4685         * BufferView.[Ch]:
4686         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4687
4688 2003-11-10  André Pönitz  <poenitz@gmx.net>
4689
4690         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4691         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4692         indicate that the cursor needs to leave an inset
4693
4694         * lyxtext.h: remove inset locking
4695
4696         * cursor.[Ch]: re-implement functionality provided by inset locking
4697
4698         * BufferView.[Ch]:
4699         * BufferView_pimpl.[Ch]:
4700         * LyXAction.C:
4701         * bufferview_funcs.[Ch]:
4702         * factory.C:
4703         * funcrequest.[Ch]:
4704         * iterators.C:
4705         * lyx_cb.C:
4706         * lyxfind.C:
4707         * lyxfunc.C:
4708         * text.C:
4709         * text2.C:
4710         * text3.C:
4711         * undo.C: adjust
4712
4713 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4714
4715         * PosIterator.[Ch]: replace the stack with a vector, add inset
4716         accesor
4717         * iterators.[C]: adjust
4718
4719 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4720
4721         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4722         replaced
4723         * paragraph_funcs.C (readParToken): put the correct id in the
4724         error item, not the id of the top paragraph
4725
4726 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4727
4728         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4729         * bufferview_funcs.C (put_selection_at): use the above
4730
4731 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4732
4733         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4734
4735 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4736
4737         * output_linuxdoc.h:
4738         * output_plaintext.h:
4739         * output.h:
4740         * output_docbook.h: add #include statements
4741
4742 2003-11-05  José Matos  <jamatos@lyx.org>
4743
4744         * output_docbook.[Ch]:
4745         * output_latex.[Ch]:
4746         * output_linuxdoc.[Ch]:
4747         * output_plaintext.[Ch]: New files for output formats.
4748         * output.[Ch]: New file for helper functions.
4749
4750         * buffer.[Ch]:
4751         * paragraph_funcs.[Ch]: output functions moved to new files.
4752
4753         * outputparams.h: rename of latexrunparams.h
4754
4755         * LaTeX.[Ch]:
4756         * buffer.[Ch]:
4757         * bufferlist.[Ch]:
4758         * converter.[Ch]:
4759         * exporter.C:
4760         * paragraph.[Ch]:
4761         * paragraph_funcs.[Ch]:
4762         * paragraph_pimpl.[Ch]:
4763         * tabular.[Ch]: rename ascii to plaintext
4764         and LatexRunParams to OutputParams.
4765
4766 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4767
4768         * iterators.[Ch] (text): require bv argument
4769         * undo.C (recordUndo):
4770         * lyxfunc.C (dispatch):
4771         * bufferview_funcs.C (put_selection_at): adjust
4772
4773 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4774
4775         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4776
4777 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4778
4779         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4780         nestings
4781
4782 2003-11-04  André Pönitz  <poenitz@gmx.net>
4783
4784         * cursor.[Ch]: restructure
4785
4786         * BufferView.[Ch]:
4787         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4788
4789         * iterators.[Ch] (asCursor): remove
4790
4791         * lfuns.h: remove LFUN_INSET_EDIT
4792
4793         * lyxfunc.C:
4794         * tabular.C:
4795         * text.C:
4796         * text2.C:
4797         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4798
4799 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4800
4801         * lyxfind.[Ch]: complete overhaul
4802         * BufferView_pimpl.C:
4803         * lyxfunc.C: adjust
4804         * paragraph.[Ch] (insert): add
4805
4806 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4807
4808         * BufferView.[Ch]:
4809         * lyxtext.h:
4810         * text.C: remove dead spellcheck code
4811
4812 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4813
4814         * dispatchresult.h: add a val setter
4815
4816         * cursor.C (dispatch): use a tempvar for data_[i]
4817
4818 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4819
4820         * PosIterator.[Ch]: compile fix
4821
4822 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4823
4824         * text.C (cursorPar): deactivate the cursor cache
4825
4826 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4829
4830 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4831
4832         * text3.C (dispatch): adjust for new DisptchResult semantics.
4833
4834         * lyxfunc.C (dispatch): handle update when return from
4835         Cursor::dispatch, adjust for new DispatchResult semantics.
4836
4837         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4838         DispatchResult(true) mean to not update. Add class functions for
4839         setting dispatched and update, as well as reading.
4840
4841         * cursor.C (dispatch): don't handle update here
4842
4843 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4846         * trans_mgr.C: adjust
4847
4848         * paragraph_funcs.C (readParToken): exception safety
4849
4850         * lyxvc.h: store the vcs pointer in a scoped_ptr
4851         * lyxvc.C: adjust
4852
4853         * lyxsocket.C (serverCallback): exception safety
4854
4855         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4856
4857         * ispell.C (clone): make it return a auto_ptr
4858
4859         * factory.C (createInset): exception safety
4860         (readInset): exception safety
4861
4862         * bufferlist.C (newBuffer): exception safety
4863
4864         * Thesaurus.C (Thesaurus): use initialization for aik_
4865
4866         * MenuBackend.C (expandToc): exception safety.
4867
4868 2003-11-03  André Pönitz  <poenitz@gmx.net>
4869
4870         * buffer.C:
4871         * buffer.h:
4872         * bufferview_funcs.C: remove getInsetFromId()
4873
4874         * lyxcursor.[Ch]:
4875         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4876
4877         * lyxfunc.C:
4878         * text2.C:
4879         * text3.C: adjust
4880
4881 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4882
4883         * PosIterator.C (distance, advance): new
4884         * bufferview_funcs.[Ch] (put_selection_at): new
4885         * iterators.[Ch] (lockPath): new
4886
4887 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4888
4889         * iterators.[Ch] (asPosIterator): added
4890         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4891         * PosIterator.[Ch]: added
4892
4893 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * text3.C:
4896         * lyxfunc.C:
4897         * cursor.C (dispatch):
4898         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4899
4900         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4901         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4902         contructor, add a class function dispatched. Remove operator>=
4903
4904 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * debug.C: only use the default constructor for debugstream
4907         (lyxerr) here.
4908
4909         * main.C (main): include debug.h and setup the lyxerr streambuf
4910         here.
4911
4912 2003-10-31  José Matos  <jamatos@lyx.org>
4913
4914         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4915
4916         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4917         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4918         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4919         * paragraph_pimpl.C (simpleTeXSpecialC):
4920         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4921         add LatexRunParams argument.
4922
4923         * exporter.C (Export): change call accordingly.
4924
4925         * latexrunparams.h: add new member to take care of the other backends.
4926 2003-10-30  José Matos  <jamatos@lyx.org>
4927
4928         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4929         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4930         factorise code for paragraph output.
4931         * buffer.[Ch]:
4932         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4933         move functions.
4934
4935 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * text3.C (dispatch):
4938         * lyxfunc.C (dispatch):
4939         * cursor.C (dispatch):
4940         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4941
4942         * dispatchresult.h: make the dispatch_result_t ctor explicit
4943
4944 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4945
4946         * sgml.[Ch]:
4947         * buffer.C: small refactoring of docbook stuff
4948
4949 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4952         meaning.
4953
4954 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4957         operator dispatch_result_t, and operators for == != and >=
4958
4959         * cursor.C (dispatch): adjust for operator dispatch_result_t
4960         removal. comment out call to update
4961
4962         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4963
4964 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4965
4966         * text3.C:
4967         * text2.C:
4968         * text.C:
4969         * lyxtext.h:
4970         * lyxfunc.C:
4971         * cursor.C:
4972         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4973         (dispatch):
4974
4975         * dispatchresult.h: new file, DispatchResult broken out of
4976         insets/insetbase.h
4977
4978         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4979
4980 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4981
4982         * text.C (rowBreakPoint): put a hack inside #if 0
4983
4984 2003-10-28  André Pönitz  <poenitz@gmx.net>
4985
4986         * lyxtext.h:
4987         * metricsinfo.C:
4988         * paragraph_funcs.C:
4989         * rowpainter.C:
4990         * text.C:
4991         * text2.C: general cleanup (lots of small stuff)
4992
4993 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * text2.C (cursorEnd): simple fix to the "end key goes to one
4996         before the end on last row" bug
4997
4998 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4999
5000         * text.C (backspace): fix the "zombie characters"
5001
5002 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5005
5006 2003-10-27  André Pönitz  <poenitz@gmx.net>
5007
5008         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5009
5010         * factory.C: handle new InsetPagebreak, InsetLine
5011
5012         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5013         and move handling into new InsetPagebreak, InsetLine
5014
5015         * BufferView_pimpl.C:
5016         * LyXAction.C:
5017         * ParagraphParameters.C:
5018         * ParameterStruct.h:
5019         * lyxfunc.C:
5020         * lyxtext.h:
5021         * paragraph.C:
5022         * paragraph.h:
5023         * paragraph_funcs.C:
5024         * paragraph_pimpl.C:
5025         * rowpainter.C:
5026         * text.C:
5027         * text2.C:
5028         * text3.C: adjust
5029
5030 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5031
5032         * text.C:
5033         * lyxrow_funcs.[Ch]:
5034         * Bidi.C:
5035         * paragraph.C:
5036         * lyxtext.h:
5037         * rowpainter.C:
5038         * text2.C:
5039         * text3.C: remove lastPos uses in favour of Row::endpos
5040
5041 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5042
5043         * undo.C (performUndoOrRedo): fix two crashes by setting a
5044         cursor by hand and reordering some calls. Use bv->lockInset instead
5045         of inset->edit because the latter loses cursor information
5046
5047 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5048
5049         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5050         by Martin
5051         (rowBreakPoint): fix width. change point to point + 1.
5052         Add a missing check.
5053
5054 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5055
5056         * MenuBackend.C:
5057         * lyxfunc.C: fix (at least partly) the problems
5058         with the Nav menu and headers inside branch insets
5059         reported by Kayvan
5060
5061 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5062
5063         * paragraph.C (getChar): add strong asserts
5064
5065         * lyxrow_funcs.C (lastPos): remove hideous hack
5066
5067         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5068         (fill): adjust to that (avoid an infinite loop)
5069
5070 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5073
5074 2003-10-23  André Pönitz  <poenitz@gmx.net>
5075
5076         * RowList_fwd.h: change list<> to vector<> to gain speed
5077         after suggestion from Alfredo
5078
5079 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5080
5081         * lyxtext.h: move the bidi stuff from here...
5082         * text.C: and here
5083         * text2.C: and here
5084         * Bidi.[Ch]: ... to here
5085
5086 2003-10-23  André Pönitz  <poenitz@gmx.net>
5087
5088         * lyxtext.h:
5089         * text.C (isLastRow, isFirstRow): new functions
5090
5091         * paragraph.h: new width cache member
5092
5093         * rowpainter.C: replace RowList::iterator with Row & where possible
5094
5095         * lyxfunc.C: replace several view()->text with a single call
5096
5097         * toc.C: fix 'unused' warning
5098
5099 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5102         when woring with stream::pos_type
5103         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5104
5105 2003-10-22  André Pönitz  <poenitz@gmx.net>
5106
5107         * lyxtext.h:
5108         * text.C: use Row & instead of RowList::iterator
5109
5110         * lyxrow.h: rename end() to endpos()
5111
5112         * rowpainter.C:
5113         * text.C:
5114         * text2.C: adjust
5115
5116 2003-10-22  Angus Leeming  <leeming@lyx.org>
5117
5118         * buffer.[Ch] (fully_loaded): new member function, returning true
5119         only when the file has been loaded fully.
5120         Used to prevent the premature generation of previews and by the
5121         citation inset to prevent computation of the natbib-style label.
5122
5123         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5124         templates are all set up.
5125
5126         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5127
5128 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5129
5130         * text.C: fixed an "oops" in the "is a bit silly"
5131         bug fix
5132
5133 2003-10-21  André Pönitz  <poenitz@gmx.net>
5134
5135         * FuncStatus.[Ch]: small stuff, whitespace
5136
5137         * lyxfont.[Ch]: operator<<() for debug reasons
5138
5139         * lyxfunc.C:
5140         * lyxrow_funcs.C:
5141         * lyxtext.h: whitespace, spelling
5142
5143         * paragraph.C: naming of variables
5144
5145         * text.C:
5146         * text2.C: small stuff
5147
5148
5149 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5150
5151         * text.C: (1) finish off the inset display() work;
5152         (2) fix the "is a bit silly" bug (accessing char
5153         past end of par).
5154
5155 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5156
5157         * text.C: re-introduce display() for insets, fixing the
5158         various bugs (stretch of line above, math inset
5159         positioning, ...)
5160
5161 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5162
5163         * text.C (rightMargin): remove spurious semicolon
5164
5165         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5166         1415)
5167
5168 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5169
5170         * text3.C: fix one crash due to wrong cursor def
5171
5172 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * vc-backend.C (scanMaster): make the regex static
5175
5176         * LaTeX.C (scanAuxFile): make the regexs static
5177
5178         * text3.C (doInsertInset, dispatch, dispatch):
5179         * text2.C (cursorUp, cursorDown):
5180         * text.C (selectNextWordToSpellcheck):
5181         * BufferView_pimpl.C (dispatch):
5182         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5183
5184 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5185
5186         * lyxsocket.C: include <cerrno>
5187
5188 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5189
5190         * lyxfunc.C (dispatch): remove textcache stuff
5191
5192         * bufferlist.C (release): remove textcache stuff
5193         (closeAll): ditto
5194
5195         * TextCache.C: delete file
5196         * TextCache.h: delete file
5197
5198         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5199
5200         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5201         delete of the bv_->text.
5202         (resizeCurrentBuffer): remove texcache stuff
5203         (workAreaResize): ditto
5204
5205 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5208         action.
5209
5210 2003-10-16  André Pönitz  <poenitz@gmx.net>
5211
5212         * lyxrow.[Ch]:
5213         * paragraph.h:
5214         * rowpainter.C:
5215         * text.C:
5216         * text2.C:
5217         * text3.C: speed up by storing y positions per paragraph plus per-row
5218         offset instead of having a 'full' y position in the row.
5219
5220 2003-10-15  André Pönitz  <poenitz@gmx.net>
5221
5222         * iterators.[Ch]:
5223         * iterators.[Ch]:
5224         * undo.[Ch]: make undo aware of inner insets
5225
5226 2003-10-14  Angus Leeming  <leeming@lyx.org>
5227
5228         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5229         static member functions LyX::ref() and LyX::cref.
5230         (lastfiles): new accessor functions for the new lastfiles_ member var.
5231         (addLyXView, views_): add a new LyXView to the list of views_.
5232         (updateInset): loop over all LyXViews to call their own updateInset
5233         member function, returning a pointer to the Buffer owning the inset.
5234
5235         * BufferView_pimpl.C (loadLyXFile):
5236         * MenuBackend.C (expandLastfiles):
5237         * bufferlist.C (MenuWrite, QuitLyX):
5238         lastfiles is no longer a global variable.
5239         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5240
5241         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5242         static function. Access through LyX::cref().emergencyCleanup().
5243
5244 2003-10-14  André Pönitz  <poenitz@gmx.net>
5245
5246         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5247
5248         * undo.[Ch]: restoring part of 'undo in insets'
5249
5250         * Makefile.am:
5251         * undo_funcs.[Ch]: merge with undo.[Ch]
5252
5253         * tabular.C: small cleansing stuff
5254
5255 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5256
5257         * paragraph_funcs.C (readParToken): report unknown insets as error
5258         boxes. Use the outer paragraph as location (also for unknown
5259         tokens).
5260
5261         * factory.C (readInset): do not abort on reading an unknown inset.
5262         Eat it and return 0.
5263
5264 2003-10-13  Angus Leeming  <leeming@lyx.org>
5265
5266         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5267
5268         * lyxrc.C: displayTranslator is now a function,
5269         declared in GraphicsTypes.h.
5270
5271 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5272
5273         * format.C: new placeholder $$a to pass the socket address.
5274
5275         * bufferlist.[Ch]: new function getBufferFromTmp.
5276
5277         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5278           files in the temporary dir.
5279
5280 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5281
5282         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5283
5284         * Makefile.am: add lyxsocket.[Ch].
5285
5286         * lyx_main.C (error_handler): handle SIGPIPE.
5287
5288 2003-10-13  André Pönitz  <poenitz@gmx.net>
5289
5290         * BufferView_pimpl.C:
5291         * lyxtext.h:
5292         * text.C:
5293         * text2.C:
5294         * text3.C:
5295         * undo_funcs.[Ch]: use paroffset_type instead of
5296           ParagraphList::iterators to prevent multiple conversion
5297           (and get a more robust interface)
5298
5299 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5300
5301         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5302         * lyxtext.h: ditto
5303         * text3.C (dispatch): ditto
5304
5305 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5306
5307         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5308         move the onlyfile, use onlyfile instead of foundfile in a couple
5309         of places.
5310
5311         * DepTable.C (update): flush the error stream a bit more
5312
5313 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * lyxserver.C (callback): adjust
5316
5317         * lyxfunc.C (getStatus): add a missing brace in commented code
5318         (ensureBufferClean): reindent
5319         (dispatch): delete version taking a string
5320
5321 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * LaTeX.C (deplog): move found file handlig from here...
5324         (handleFoundFile): .. to new function here.
5325         (deplog): make sure to discover several files mentioned on the
5326         same log line.
5327
5328 2003-10-10  André Pönitz  <poenitz@gmx.net>
5329
5330         * lyxfunc.C:
5331         * lyxtext.h:
5332         * tabular.C:
5333         * text.C:
5334         * text2.C:
5335         * text3.C: fix some of the tabular crashes
5336
5337 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5338
5339         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5340
5341         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5342
5343 2003-10-09  André Pönitz  <poenitz@gmx.net>
5344
5345         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5346
5347         * BufferView.C:
5348         * BufferView_pimpl.C:
5349         * bufferview_funcs.C:
5350         * lyx_cb.C:
5351         * lyxcursor.C:
5352         * lyxfind.C:
5353         * lyxfunc.C:
5354         * lyxtext.h:
5355         * text.C:
5356         * text2.C:
5357         * text3.C:
5358         * text_funcs.[Ch]:
5359         * textcursor.[Ch]:
5360         * undo_funcs.C: adjust
5361
5362 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * text2.C (incrementItemDepth): new function, use a backtracking
5365         algorithm to discover the correct item depth.
5366         (resetEnumCounterIfNeeded): new function, use a backtracking
5367         algorithm to discover if counter reset is needed.
5368         (setCounter): use them. Simplify a bit. Add different labels for
5369         different item depths for itemize.
5370
5371         * paragraph.C (Paragraph): remove initialization of enumdepth
5372         (operator=): ditto
5373
5374         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5375         enumerate and itemize. Change the type of itemdepth to signed char.
5376
5377 2003-10-08  André Pönitz  <poenitz@gmx.net>
5378
5379         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5380           thing assignable.
5381         * text.C:
5382         * text2.C: adjust
5383
5384         * tabular.[Ch]: fix crash after 'row-insert'
5385
5386 2003-10-08  Angus Leeming  <leeming@lyx.org>
5387
5388         Fix doxygen warnings.
5389
5390         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5391         Remove CutAndPaste:: prefix from header file declaration.
5392
5393         * LColor.h (fill): remove LColor:: prefix from declaration.
5394
5395         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5396         use lyx::depth_type rather than Paragraph::depth_type so that
5397         header file and .C file match.
5398
5399         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5400
5401         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5402         * aspell.C: \file aspell_local.C -> \file aspell.C
5403         * gettext.C: \file gettext.C -> \file src/gettext.C
5404         * gettext.h: \file gettext.h -> \file src/gettext.h
5405         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5406         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5407         * text.C: \file text.C -> \file src/text.C
5408
5409         * toc.C: move comment so that doxygen is not confused.
5410
5411 2003-10-07  Angus Leeming  <leeming@lyx.org>
5412
5413         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5414
5415 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5416
5417         * aspell.C:
5418         * aspell_local.h: add forgotten std::string's.
5419
5420 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5421
5422         * LaTeXFeatures.C:
5423         * LyXAction.C:
5424         * factory.C:
5425         * lfuns.h:
5426         * lyxfunc.C:
5427         * text3.C: The Box patch. Fancybox support, minipage, parbox
5428
5429 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5430
5431         * CutAndPaste.h:
5432         * DepTable.h:
5433         * FloatList.h:
5434         * LaTeXFeatures.h:
5435         * ParagraphParameters.h:
5436         * TextCache.h:
5437         * Thesaurus.h:
5438         * bufferlist.h:
5439         * exporter.h:
5440         * importer.h:
5441         * lastfiles.h:
5442         * lyxfind.h:
5443         * lyxfont.h:
5444         * lyxlex.h:
5445         * lyxtextclasslist.h:
5446         * messages.h:
5447         * paragraph.h:
5448         * paragraph_pimpl.C:
5449         * textcursor.h: add <string> and other small fixes to make Lars'
5450         std::string patch compile with STLport.
5451
5452 2003-10-06  Angus Leeming  <leeming@lyx.org>
5453
5454         * LColor.h: Add missing #include <string>.
5455
5456 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * All most all file in all subdirs: Make <string> be the prefered
5459         way of getting to std::string, add using declarations.
5460
5461 2003-10-06  André Pönitz  <poenitz@gmx.net>
5462
5463         * metricsinfo.C: initialize LyXFont before changing attribute.
5464         (fixes the 'math in \emph is upright' bug)
5465
5466 2003-10-06  André Pönitz  <poenitz@gmx.net>
5467
5468         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5469
5470 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5471
5472         * graph.C:
5473         * paragraph_pimpl.C: Small fixes to build using STLport
5474
5475 2003-10-02  André Pönitz  <poenitz@gmx.net>
5476
5477         * lyxfunc.C:
5478         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5479
5480 2003-10-01  André Pönitz  <poenitz@gmx.net>
5481
5482         * factory.C: assert early
5483
5484 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5485
5486         * lyx_main.C: remove the global debug object
5487
5488         * debug.h: adjust for new debugstream
5489
5490         * debug.C: adjust for new debugstream and keep the global debug
5491         object here.
5492
5493 2003-09-22  Angus Leeming  <leeming@lyx.org>
5494
5495         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5496         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5497         an incomplete class LyXFont.
5498
5499 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5500
5501         * factory.C: bug fix in branches
5502
5503 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5504
5505         * lyxfunc.C (processKeySym): adjust
5506         (dispatch): adjust
5507         (dispatch): change arg name from ev to func, adjust
5508         (sendDispatchMessage): ditto
5509
5510         * lyx_main.C (defaultKeyBindings): adjust keybindings
5511         (deadKeyBindings): ditto
5512
5513         * kbsequence.C (addkey): return a FuncRequest
5514
5515         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5516
5517         * kbmap.C (bind): take a FuncRequest as arg, adjust
5518         (read): adjust
5519         (lookup): adjust
5520         (defkey): change to take a FuncRequest as arg, adjust
5521         (findbinding): take a FuncRequest as arg, adjust.
5522
5523         * funcrequest.h (operator=): added
5524
5525         * funcrequest.C (FuncRequest): default kb_action changed from
5526         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5527
5528         * buffer.C (dispatch): simplify
5529         (dispatch): adjust to take a FuncRequest as arg, adjust
5530
5531         * boost.C (assertion_failed): change assertion message slightly
5532
5533         * ToolbarBackend.C (read): simplify
5534
5535         * MenuBackend.C (binding): adjust call to findbinding, add a
5536         message if no binding is found.
5537         (read): simplify
5538         (expandToc): correct by adding a empty FuncRequest
5539
5540         * LyXAction.C: include <boost/assert.hpp>
5541         (isPseudoAction): delete function
5542         (LookupFunc): change name to...
5543         (lookupFunc): this. change return type to FuncRequest.
5544         (getActionName): take kb_action as arg, simplify
5545         (funcHasFlag): add an assert, simplify.
5546
5547 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5548
5549         * toc.C (action): return a FuncRequest, simplify
5550
5551         * lyxfunc.C (processKeySym): adjust
5552         (getStatus): delete version that takes an int.
5553         (getStatus): adjust
5554         (dispatch): delete version that takes action as int
5555         (dispatch): adjust
5556         (sendDispatchMessage): simplify and adjust
5557
5558         * funcrequest.C (getArg): take unsigned int as arg
5559
5560         * ToolbarBackend.C (read): adjust
5561         (add): delete version that takes func as a string.
5562         (getIton): take a FuncRequest as arg
5563
5564         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5565         action.
5566
5567         * MenuBackend.C (MenuItem): add a new construct that only takes a
5568         Kind, simplify the constructor use for submenus.
5569         (add): adjust
5570         (expandLastfiles): adjust
5571         (expandDocuments): adjust
5572         (expandFormats): adjust
5573         (expandFloatListInsert): adjust
5574         (expandFloatInsert): adjust
5575         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5576
5577         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5578         Remove class variables lyx_pseudo_map and lyx_arg_map
5579
5580         * LyXAction.C (searchActionArg): delete function
5581         (getPseudoAction): delete function
5582         (retrieveActionArg): delete function
5583         (LookupFunc): make it return kb_action, simplify.
5584         (getActionName): simplify
5585
5586         * factory.C (createInset): fix new bug
5587
5588 2003-09-19  Angus Leeming  <leeming@lyx.org>
5589
5590         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5591         masterFilename_ parameter in the include inset.
5592
5593         * factory.C (createInset): changes due to the changes to InsetInclude.
5594
5595 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5596
5597         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5598
5599 2003-09-18  Angus Leeming  <leeming@lyx.org>
5600
5601         * buffer.C:
5602         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5603         Inset::fillWithBibKeys.
5604         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5605
5606 2003-09-18  Angus Leeming  <leeming@lyx.org>
5607
5608         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5609         variables.
5610         (ctor): pass and store a 'Buffer const &'
5611         (buffer): new member function.
5612
5613         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5614         '*this' to the LaTeXFeatures ctor.
5615
5616 2003-09-18  Angus Leeming  <leeming@lyx.org>
5617
5618         * LColor.h:
5619         * lyxfont.C:
5620         * lyxfont.h:
5621         * lyxtext.h:
5622         * text.C: rename EnumLColor as LColor_color.
5623
5624 2003-09-18  Angus Leeming  <leeming@lyx.org>
5625
5626         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5627         remove #include "insets/insetbase.h" from cursor.h.
5628
5629 2003-09-18  Angus Leeming  <leeming@lyx.org>
5630
5631         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5632         InsetOld_code to remove #include "inset.h".
5633
5634         * iterators.C: add #include "insets/inset.h"
5635
5636 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5637
5638         * BufferView.C: remove more locking stuff that apparently doesn't
5639         do anything sensible.
5640
5641 2003-09-16  André Pönitz  <poenitz@gmx.net>
5642
5643         * paragraph.[Ch]:
5644         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5645           performance boost.
5646
5647 2003-09-16  Angus Leeming  <leeming@lyx.org>
5648
5649         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5650
5651         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5652         arg/return type.
5653
5654         * paragraph.h: remove #include "lyxfont.h". Forward declare
5655         LyXFont_size.
5656
5657 2003-09-16  Angus Leeming  <leeming@lyx.org>
5658
5659         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5660         of support/textutils.h.
5661         (isWord): move the contents of support/textutils.h's IsWordChar here.
5662
5663         * buffer.C:
5664         * lyxfind.C:
5665         * rowpainter.C:
5666         * text.C:
5667         * text2.C: add #include "paragraph.h".
5668
5669         * rowpainter.C:
5670         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5671
5672 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * main.C:
5675         * lyx_main.C:
5676         * lyx_cb.C:
5677         * buffer.C:
5678         * LaTeX.C: use namespace alias for lyx::support::os
5679
5680 2003-09-16  Angus Leeming  <leeming@lyx.org>
5681
5682         * bufferparams.C:
5683         * bufferview_funcs.C:
5684         * factory.C:
5685         * lyxfunc.C:
5686         * paragraph_pimpl.C:
5687         * rowpainter.C:
5688         * text.C: add #include "LColor.h".
5689
5690 2003-09-16  Angus Leeming  <leeming@lyx.org>
5691
5692         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5693         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5694         return LyXFont &.
5695         Store the FontBits::color variable as an int rather than as an
5696         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5697         file.
5698
5699         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5700         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5701         string calls together.
5702
5703         * lyxrc.C: add #include "LColor.h".
5704
5705 2003-09-15  Angus Leeming  <leeming@lyx.org>
5706
5707         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5708         a cow_ptr.
5709
5710 2003-09-15  Angus Leeming  <leeming@lyx.org>
5711
5712         * LColor.h: add an EnumLColor wrapper for LColor::color.
5713
5714         * lyxfont.[Ch] (color, setColor, realColor):
5715         * lyxtext.h, text.C (backgroundColor):
5716         pass EnumLColor args to/from the functions, rather than LColor::color
5717         ones.
5718
5719         * lyxfont.h:
5720         * lyxtext.h: forward declare EnumLColor.
5721
5722         * lyx_main.C: add #include "LColor.h".
5723
5724 2003-09-15  Angus Leeming  <leeming@lyx.org>
5725
5726         * .cvsignore: add lyx-gtk.
5727
5728 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * Chktex.C
5731         * LaTeX.C
5732         * LaTeXFeatures.C
5733         * ParagraphParameters.C
5734         * Spacing.C
5735         * buffer.C
5736         * bufferparams.C
5737         * bufferview_funcs.C
5738         * chset.C
5739         * counters.C
5740         * funcrequest.C
5741         * lyxfont.C
5742         * lyxgluelength.C
5743         * lyxlength.C
5744         * paragraph.C
5745         * paragraph_funcs.C
5746         * text3.C
5747         * vc-backend.C: remove usage of STRCONV
5748
5749 2003-09-15  Angus Leeming  <leeming@lyx.org>
5750
5751         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5752         explicitly define the color passed to the painter.
5753
5754 2003-09-15  Angus Leeming  <leeming@lyx.org>
5755
5756         * bufferparams.C (BufferParams): reorder member initializers to avoid
5757         compiler warning.
5758
5759 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5760
5761         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5762         * text.C (updateRowPositions): remove an unusual nop
5763
5764 2003-09-12  André Pönitz  <poenitz@gmx.net>
5765
5766         * BufferView_pimpl.C:
5767         * Bullet.C:
5768         * layout.h:
5769         * lyxfunc.C:
5770         * lyxlayout.[Ch]:
5771         * lyxtextclass.C:
5772         * rowpainter.C:
5773         * text.C:
5774         * text2.C:
5775         * Counters.[Ch]: finish the 'automatic counters' job
5776
5777 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5778
5779         * aspell.C: include <boost/assert.cpp> (compile fix)
5780
5781 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5782
5783         * boost.C (assertion_failed): use lyx::support::abort instead of
5784         assert.
5785
5786 2003-09-10  Angus Leeming  <leeming@lyx.org>
5787
5788         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5789         with their _fwd progeny.
5790
5791 2003-09-09  Angus Leeming  <leeming@lyx.org>
5792
5793         134 files throughtout the source tree: replace 'using namespace abc;'
5794         directives with the appropriate 'using abc::xyz;' declarations.
5795
5796 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5797
5798         * boost.C (emergencyCleanup): moved here from LAssert.c
5799         (assertion_failed): new function, called by BOOST_ASSERT
5800
5801         * several files: change Assert to BOOST_ASSERT
5802
5803 2003-09-09  Angus Leeming  <leeming@lyx.org>
5804
5805         * buffer.[Ch]: Add an Impl class and move Buffer's member
5806         variables into it. As a result move several header files out of
5807         buffer.h.
5808
5809         Add header files to lots of .C files all over the tree as a result.
5810
5811 2003-09-09  Angus Leeming  <leeming@lyx.org>
5812
5813         * buffer.[Ch]: make Buffer's member variables private. Add
5814         accessor functions.
5815
5816         Lots of changes all over the tree as a result.
5817
5818 2003-09-08  Angus Leeming  <leeming@lyx.org>
5819
5820         * graph.C: #include <config.h>.
5821
5822 2003-09-08  Angus Leeming  <leeming@lyx.org>
5823
5824         * BranchList.C:
5825         * BufferView.C:
5826         * BufferView_pimpl.C:
5827         * CutAndPaste.C:
5828         * DepTable.C:
5829         * LaTeX.C:
5830         * LaTeXFeatures.C:
5831         * LyXAction.C:
5832         * MenuBackend.C:
5833         * TextCache.C:
5834         * aspell.C:
5835         * buffer.C:
5836         * bufferlist.C:
5837         * changes.C:
5838         * chset.C:
5839         * converter.C:
5840         * counters.C:
5841         * debug.C:
5842         * graph.C:
5843         * ispell.C:
5844         * lyx_cb.C:
5845         * lyxfind.C:
5846         * lyxfunc.C:
5847         * lyxlex_pimpl.C:
5848         * lyxrc.C:
5849         * lyxrow.C:
5850         * paragraph.C:
5851         * rowpainter.C:
5852         * texrow.C:
5853         * text.C:
5854         * text2.C:
5855         * toc.C: remove redundant using directives.
5856
5857 2003-09-07  Angus Leeming  <leeming@lyx.org>
5858
5859         * LaTeXFeatures.h: remove #include "support/types.h".
5860         * ToolbarBackend.h: remove #include <algorithm>.
5861         * changes.h: remove #include <ctime>.
5862         * debug.h: remove #include <iosfwd>.
5863         * graph.h: remove #include "support/std_string.h".
5864         * lyx_main.h: remove #include <csignal>.
5865         * lyxlex_pimpl.h: remove #include <fstream>.
5866         * sgml.h: remove #include <algorithm>, <utility>.
5867         * toc.h: remove #include "support/std_ostream.h".
5868         Add #include <iosfwd>.
5869
5870 2003-09-07  Angus Leeming  <leeming@lyx.org>
5871
5872         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5873
5874         * converter.h: forward declare LatexRunParams.
5875         * encoding.h: remove #include "lyxrc.h".
5876         * lyxtext.h: remove #include "LColor.h".
5877         * lyxtextclass.h: remove #include "support/types.h".
5878         * trans.h: remove #include "tex-accent.h".
5879         * trans_mgr.h: remove #include "tex-accent.h".
5880         * insets/inset.h: remove #include "support/types.h", <vector>.
5881         * insets/insetcollapsable.h: remove #include "LColor.h".
5882         * insets/insetinclude.h: remove #include "dimension.h".
5883         * insets/insetlatexaccent.h: remove #include "dimension.h".
5884         * insets/insetoptarg.h:: remove #include "insettext.h".
5885         * insets/insettext.h: remove #include "dimension.h",
5886         <boost/shared_ptr.hpp>
5887
5888         * insets/renderers.h: add #include "dimension.h".
5889         * insets/updatableinset.h: add #include "support/types.h".
5890
5891         * many .C files: Associated changes.
5892
5893 2003-09-06  Angus Leeming  <leeming@lyx.org>
5894
5895         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5896         one, inside testInvariant.
5897
5898         * PrinterParams.C: new file.
5899         * PrinterParams.[Ch]: move the function bodies out of line.
5900
5901 2003-09-06  Angus Leeming  <leeming@lyx.org>
5902
5903         * ParagraphParameters.h: forward declare ParameterStruct rather than
5904         including its header file.
5905         (depth): moved out-of-line.
5906
5907 2003-09-06  Angus Leeming  <leeming@lyx.org>
5908
5909         * BufferView_pimpl.h:
5910         * kbmap.h:
5911         * kbsequence.h:
5912         * lyxfunc.h: forward declare LyXKeySym rather than
5913         #include "frontends/LyXKeySym.h".
5914
5915         * BufferView_pimpl.C:
5916         * kbmap.C:
5917         * kbsequence.C:
5918         * lyxfunc.C: associated changes.
5919
5920 2003-09-06  Angus Leeming  <leeming@lyx.org>
5921
5922         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5923         As a result, can remove the #include "insets/inset.h" from BufferView.h
5924
5925 2003-09-06  Angus Leeming  <leeming@lyx.org>
5926
5927         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5928         As a result, can remove the #include "insets/inset.h" from BufferView.h
5929
5930 2003-09-06  Angus Leeming  <leeming@lyx.org>
5931
5932         * buffer_funcs.C:
5933         * buffer.h:
5934         * bufferlist.C:
5935         * BufferView.C:
5936         * bufferview_funcs.C:
5937         * BufferView_pimpl.C:
5938         * CutAndPaste.C:
5939         * lyx_cb.C:
5940         * lyxfunc.C:
5941         * paragraph.h:
5942         * ParagraphParameters.C:
5943         * tabular.C:
5944         * text3.C:
5945         * toc.C:
5946         * undo_funcs.C:
5947         * frontends/controllers/ControlDocument.C:
5948         * insets/insetcaption.C: rearrange the #includes into some sort of
5949         coherent order.
5950
5951         * buffer.h: remove #includes ErrorList.h, undo.h
5952
5953 2003-09-06  Angus Leeming  <leeming@lyx.org>
5954
5955         * support/types.h: add a 'depth_type' typedef, used to store the
5956         nesting depth of a paragraph.
5957
5958         * paragraph.h:
5959         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5960         defining explicitly.
5961
5962         * buffer.h:
5963         * paragraph_funcs.h:
5964         * ParagraphParameters.h:
5965         * sgml.h: use lyx::depth_type rather than Paragraph or
5966         ParameterStruct's depth_type.
5967
5968         * buffer.h
5969         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5970
5971         * BufferView.C:
5972         * BufferView_pimpl.C:
5973         * CutAndPaste.C:
5974         * ParagraphParameters.C:
5975         * buffer_funcs.C:
5976         * bufferlist.C:
5977         * bufferview_funcs.C:
5978         * lyx_cb.C:
5979         * lyxfunc.C:
5980         * tabular.C:
5981         * text3.C:
5982         * toc.C:
5983         * undo_funcs.C:
5984         * frontends/LyXView.C:
5985         * frontends/controllers/ControlDocument.C:
5986         * frontends/controllers/ControlErrorList.C:
5987         * insets/insetbibitem.C:
5988         * insets/insetbranch.C:
5989         * insets/insetcaption.C:
5990         * insets/insetcollapsable.C:
5991         * insets/insetenv.C:
5992         * insets/insetert.C:
5993         * insets/insetfloat.C:
5994         * insets/insetfoot.C:
5995         * insets/insetfootlike.C:
5996         * insets/insetnewline.C:
5997         * insets/insetquotes.C:
5998         * insets/insettabular.C:
5999         * insets/insettext.C:
6000         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6001
6002         * frontends/controllers/ControlChanges.C: #include "changes.h".
6003
6004 2003-09-06  Angus Leeming  <leeming@lyx.org>
6005
6006         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6007         than #including paragraph.h.
6008
6009         * ParagraphList.h:
6010         * RowList.h: deleted. Superfluous.
6011
6012         * CutAndPaste.h:
6013         * iterators.h:
6014         * lyxcursor.h:
6015         * lyxtext.h:
6016         * text_funcs.h:
6017         * undo.h:
6018         * undo_funcs.h:
6019         * insets/inset.h:
6020         * insets/insettext.h: use ParagraphList_fwd.h rather than
6021         ParagraphList.h.
6022
6023         * paragraph.h: don't forward declare ParagraphList.
6024
6025         * buffer.h:
6026         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6027         rather than ParagraphList.h. paragraph.h is still needed for the
6028         Paragraph::depth_type parameters.
6029
6030         * textcursor.h: enable it to compile stand-alone in light of the
6031         above changes.
6032
6033         * bufferview_funcs.C:
6034         * iterators.C:
6035         * lyxfunc.C:
6036         * lyxrow_funcs.C:
6037         * paragraph.C:
6038         * rowpainter.C:
6039         * text.C:
6040         * text2.C:
6041         * text3.C:
6042         * text_funcs.C:
6043         * textcursor.C:
6044         * undo.C:
6045         * frontends/controllers/ControlParagraph.C:
6046         * frontends/controllers/ControlTabular.C:
6047         * insets/insetmarginal.C:
6048         * insets/insetminipage.C:
6049         * insets/insetnote.C:
6050         * insets/insetoptarg.C: add header files needed to compile again.
6051
6052 2003-09-06  Angus Leeming  <leeming@lyx.org>
6053
6054         * RowList_fwd.h: new file, forward-declaring Row rather than
6055         #including lyxrow.h.
6056
6057         * lyxrow_funcs.h:
6058         * lyxtext.h:
6059         * paragraph.h:
6060         * insets/insettext.h: use it instead of RowList.h
6061
6062         * bufferview_funcs.C:
6063         * lyxfunc.C:
6064         * lyxrow_funcs.C:
6065         * paragraph.C:
6066         * rowpainter.C:
6067         * text.C:
6068         * text2.C:
6069         * text3.C: #include "RowList.h".
6070
6071 2003-09-05  Angus Leeming  <leeming@lyx.org>
6072
6073         * factory.C (createInset):
6074         * vspace.C (c-tor): replace sscanf call with an istringstream.
6075         * ispell.C: re-add missing HP/UX headers.
6076         * lyxserver.C: re-add missing  os2 headers.
6077
6078 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6079
6080         * BranchList.C:
6081         * graph.C:
6082         * ispell.C:
6083         * lastfiles.C:
6084         * lyx_cb.C:
6085         * lyxserver.C:
6086         * texrow.C:
6087         * text3.C: re-add missing system headers, needed for 2.95.2.
6088
6089 2003-09-05  Angus Leeming  <leeming@lyx.org>
6090
6091         Changes most place everywhere due to the removal of using directives
6092         from support/std_sstream.h.
6093
6094 2003-09-05  Angus Leeming  <leeming@lyx.org>
6095
6096         Replace LString.h with support/std_string.h,
6097         Lsstream.h with support/std_sstream.h,
6098         support/LIstream.h with support/std_istream.h,
6099         support/LOstream.h with support/std_ostream.h.
6100
6101         Changes resulting throughout the tree.
6102
6103 2003-09-05  Angus Leeming  <leeming@lyx.org>
6104
6105         * sgml.h: ensure that the header file can be compiled stand-alone.
6106         * *.C: strip out redundant #includes. (320 in total.)
6107
6108 2003-09-04  Angus Leeming  <leeming@lyx.org>
6109
6110         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6111         here (from getPackages).
6112
6113         * debug.[Ch]: add a new EXTERNAL tag.
6114
6115 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6116
6117         * text2.C (cursorEnd): simplify
6118         (setCursor): adjust
6119         (getColumnNearX): adjust
6120
6121         * text.C (computeBidiTables): adjust
6122         (fill): adjust
6123
6124         * rowpainter.C (paintChars): adjust
6125         (paintSelection): adjust
6126         (paintChangeBar): adjust
6127         (paintText): adjust
6128
6129         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6130         lastPos instead.
6131         (numberOfSeparators): adjust
6132
6133 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6134
6135         * LyXAction.C:
6136         * box.[Ch]:
6137         * lfuns.h:
6138         * lyxfunc.C:
6139         * text3.C: Restricts the mouse click functionality
6140         of insets like bibtex, include, toc and floatlist to the visible
6141         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6142         up the dialogs. Cursor has to be in front of the inset (i.e.
6143         start of row) for this to function.
6144
6145 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6146
6147         * bufferview_funcs.C (currentState): output row information
6148
6149 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6150
6151         * bufferview_funcs.C (currentState): output paragraph position
6152
6153 2003-09-04  Angus Leeming  <leeming@lyx.org>
6154
6155         * FloatList.h: move out #include "Floating.h".
6156         * LaTeX.h: move out #include "DepTable.h".
6157         * LyXAction.h: move out #include "funcrequest.h".
6158         * buffer.h: move out #include "author.h", "iterators.h".
6159         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6160         * lyx_main.h: move out #include "errorlist.h".
6161         * lyxfunc.h: move out #include "FuncStatus.h".
6162         * lyxtext: move out #include "lyxcursor.h".
6163         * paragraph_pimpl.h: move out #include "counters.h".
6164
6165 2003-09-03  Angus Leeming  <leeming@lyx.org>
6166
6167         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6168         preamble_snippets list, enabling us to add snippets to the preamble
6169         only if the snippet was not there already.
6170
6171 2003-09-04  Angus Leeming  <leeming@lyx.org>
6172
6173         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6174
6175 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6178         update
6179
6180 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6181
6182         * BranchList.C: point fix, earlier forgotten
6183
6184 2003-09-02  Angus Leeming  <leeming@lyx.org>
6185
6186         * box.C (contains): renamed from 'contained' after a fantastic
6187         amount of hot air.
6188
6189 2003-09-02  John Levon  <levon@movementarian.org>
6190
6191         * BufferView.C:
6192         * lyxcursor.h:
6193         * lyxcursor.C:
6194         * lyxfunc.C:
6195         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6196
6197 2003-09-02  John Levon  <levon@movementarian.org>
6198
6199         * text2.C: simplification of cursorEnd(), including partial
6200         fix for bug 1376
6201
6202 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * buffer.C (readFile): add a space
6205
6206 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6207
6208         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6209
6210 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6211
6212         * buffer.C (readFile): new function, take a filename and a
6213         ParagraphList::iterator
6214         (readFile): adjust
6215         (readFile): adjust, make it private. don't use setStream, make
6216         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6217         always contain the filename.
6218
6219         * BufferView.C (insertLyXFile): simplify and make it work for
6220         gzipped files.
6221
6222 2003-08-30  John Levon  <levon@movementarian.org>
6223
6224         * Makefile.am: fix dist (from Kayvan)
6225
6226 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6227
6228         * most files: change to use const Buffer refs
6229
6230 2003-08-27  André Pönitz  <poenitz@gmx.net>
6231
6232         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6233         on top of ownerPar().
6234
6235 2003-08-27  John Levon  <levon@movementarian.org>
6236
6237         * funcrequest.C: properly initialise POD members
6238
6239 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6240
6241         * lyxtext.h (top_y): move top_y from here
6242         * text.C:
6243         * text2.C:
6244         * text3.C:
6245         * BufferView.[Ch]:
6246         * BufferView_pimpl.[Ch]: to here
6247         * frontends/screen.C:
6248         * insets/insettabular.C:
6249         * insets/insettext.C: adjust
6250         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6251
6252 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6253
6254         * BufferView.[Ch]:
6255         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6256
6257 2003-08-26  André Pönitz  <poenitz@gmx.net>
6258
6259         * paragraph_func.[Ch] (outerPar): new function
6260
6261         * paragraph.C:
6262         * paragraph_funcs.C:
6263         * paragraph_funcs.h:
6264         * paragraph_pimpl.C:
6265         * text2.C: remove Inset::par_owner
6266
6267 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6268
6269         * lyxrow_funcs.C:
6270         * lyxtext.h:
6271         * text.C:
6272         * text2.C: eliminates the needFullRow/display() stuff
6273         altogether, putting the logic in metrics/draw in the insets.
6274
6275 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6276
6277         * text2.C (redoParagraphInternal, redoParagraphs):
6278         * text.C (redoParagraph): add a call to updateRowPositions at the
6279         end of each 'metrics-like' call. Remove all others.
6280         (getRow): remove the 'y-computing' version.
6281         (getRowNearY): do not compute nor return the real y. Solve the
6282         'y < 0' problem and simplify.
6283
6284 2003-08-22  Angus Leeming  <leeming@lyx.org>
6285
6286         * *.[Ch]: clean-up of licence and author blurbs.
6287         Also move config.h out of a few .h files and into a few .C files.
6288
6289 2003-08-22  André Pönitz  <poenitz@gmx.net>
6290
6291         * lyxrow.[Ch]: add x_ and *fill_ members
6292
6293         * lyxtext.h:
6294         * text.C:
6295         * rowpainter.C:
6296         * text2.C: adjust/remove prepareToPrint() calls
6297
6298 2003-08-22  André Pönitz  <poenitz@gmx.net>
6299
6300         * lyxrow.[Ch]: add  end_ member
6301
6302         * lyxrow_funcs.C: use LyXRow::end_
6303
6304         * lyxtext.h (singleWidth): add LyXFont parameter
6305
6306         * rowpainter.C:
6307         * text2.C: adjust LyXText::singleWidth() calls
6308
6309         * text.C (redoParagraph): simplify row breaking logic
6310
6311
6312 2003-08-19  André Pönitz  <poenitz@gmx.net>
6313
6314         * funcrequest.C: initialize button_ member
6315
6316         * text3.C:
6317         * rowpainter.[Ch]: interface consolidation
6318
6319 2003-08-18  André Pönitz  <poenitz@gmx.net>
6320
6321         * BufferView.C:
6322         * BufferView_pimpl.C:
6323         * lyxfind.C:
6324         * paragraph_funcs.C:
6325         * rowpainter.C:
6326         * text3.C: remove LyXScreen::draw() and fitCursor calls
6327
6328         * BranchList.h: remove spurious semicolons
6329
6330         * MenuBackend.C: fix branchlist related crash
6331
6332 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6333
6334         * BranchList.[Ch]:
6335         * InsetList.[Ch]:
6336         * LColor.[Ch]:
6337         * LyXAction.C:
6338         * Makefile.am:
6339         * MenuBackend.[Ch]:
6340         * bufferparams.[Ch]:
6341         * factory.C:
6342         * lfuns.h:
6343         * lyxfunc.C:
6344         * text3.C: implements the 'branch inset'
6345         idea. This allows the output of various versions of a document
6346         from a single source version, selectively outputing or suppressing
6347         output of parts of the text.
6348         This implementation contains a 'branch list editor' in a separate
6349         tab of the document settings dialog. Branches are user definable
6350         and have a "display colour" to distinguish them on-screen.
6351
6352         ColorHandler was somewhat cleaned up.
6353         (1) make possible a dynamically growing LColor list by allowing
6354         the graphic context cache to grow along (vector);
6355         (2) eliminate an IMHO unnecessary step in colour allocation.
6356
6357 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6358
6359         * BufferView_pimpl.C: compile fix
6360
6361 2003-08-15  André Pönitz  <poenitz@gmx.net>
6362
6363         * rowpainter.C: remove extra metrics calls
6364
6365         * lyxtext.h: merge the two constructors into a single one,
6366           pass reference to owner's par list
6367
6368         * BufferView_pimpl.C:
6369         * text.C:
6370         * text2.C: adjust
6371
6372 2003-08-15  André Pönitz  <poenitz@gmx.net>
6373
6374         * lyxrow_funcs.[Ch]:
6375         * lyxtext.h:
6376         * paragraph.h:
6377         * paragraph_funcs.C:
6378         * rowpainter.C:
6379         * text.C:
6380         * text2.C:
6381         * text3.C:
6382         * text_funcs.C: split LyXText::rowlist_ into individual
6383         Paragraph::rows_ chunks
6384
6385         * BufferView.[Ch]:
6386         * BufferView_pimpl.[Ch]:
6387         * lyxfind.C:
6388         * lyxtext.h:
6389         * text3.C: remove toggleSelection()
6390
6391 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6392
6393         * bufferlist.C: beautify two alerts (shorter text of buttons)
6394         * buffer.C: Remove redundant ' ' from message
6395         * tabular.h:
6396         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6397         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6398         rename VALIGN_CENTER to VALIGN_MIDDLE
6399
6400 2003-08-11  André Pönitz  <poenitz@gmx.net>
6401
6402         * lyxtext.h (getPar):
6403         * text.C: new function
6404
6405 2003-08-11  André Pönitz  <poenitz@gmx.net>
6406
6407         * Makefile.am:
6408         * tracer.[Ch]: remove unneeded files
6409
6410         * InsetList.[Ch]: remove resizeInsetsLyXText()
6411
6412         * lyxtext.h:
6413         * text.C:
6414         * text2.C:
6415         * text3.C: merge insertParagraphs() and appendParagraph()
6416         remove breakAgain(), update()
6417
6418         * BufferView_pimpl.[Ch]:
6419         * bufferview_funcs.[Ch]:
6420         * lyxfunc.C:
6421         * paragraph.[Ch]:
6422         * rowpainter.C:
6423         * tabular.C: adjust after text & InsetList changes.
6424
6425 2003-08-08  André Pönitz  <poenitz@gmx.net>
6426
6427         * text.C (insertChar, backspace): replace rowlist fiddling
6428         with rebreak of full par
6429
6430         * lyxtext.h:
6431         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6432         checkParagraph, updateInset): removed
6433
6434 2003-08-07  André Pönitz  <poenitz@gmx.net>
6435
6436         * paragraph.C:
6437         * text3.C: merge some LFUN handlers, remove dead code
6438
6439 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6440
6441         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6442
6443 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6444
6445         * text2.C (DEPM): fix part of bug 1255 and 1256
6446
6447 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6448
6449         * BufferView_pimpl.C (workAreaDispatch): change to use
6450         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6451         that are no mouse related.
6452
6453 2003-08-05  André Pönitz  <poenitz@gmx.net>
6454
6455         * BufferView.[Ch]:
6456         * BufferView_pimpl.[Ch]:
6457         * bufferview_funcs.C:
6458         * text2.C:
6459         * text3.C: rip out "deep update"
6460
6461         * textcursor.[Ch] (last_sel_cursor): remove unused member
6462
6463 2003-08-04  André Pönitz  <poenitz@gmx.net>
6464
6465         * BufferView.[Ch]:
6466         * BufferView_pimpl.[Ch]:
6467         * ParagraphParameters.C:
6468         * bufferview_funcs.C:
6469         * lyx_cb.C:
6470         * lyxfind.C:
6471         * lyxfunc.C:
6472         * text.C:
6473         * text2.C:
6474         * text3.C: replace "complicated" BufferView::update(...) calls with
6475         simpler ones.
6476
6477         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6478
6479 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6480
6481         * Makefile.am (lyx_SOURCES): add paper.h
6482
6483 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6484
6485         * Makefile.am: move things around so that both lyx-qt and
6486         lyx-xforms can be built (according to --with-frontend). Then lyx
6487         is a symbolic link to lyx-[firstfrontend]
6488
6489 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6490
6491         * Always use std::endl with lyxerr
6492
6493 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6494
6495         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6496
6497 2003-08-01  André Pönitz  <poenitz@gmx.net>
6498
6499         * BufferView.[Ch]:
6500         * BufferView_pimpl.[Ch]:
6501         * lyxfunc.C:
6502         * text3.C: merge BufferView::repaint() and BufferView::update()
6503
6504 2003-08-01  José Matos  <jamatos@lyx.org>
6505
6506         * buffer.[Ch]: file_format is no longer a buffer data element.
6507
6508 2003-08-01  André Pönitz  <poenitz@gmx.net>
6509
6510         * BufferView.C:
6511         * lyxtext.h:
6512         * text.C:
6513         * text2.C: make redoParagraph more independent of current cursor
6514
6515         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6516         * text.C:
6517         * text2.C: remove unneeded members
6518
6519 2003-07-30  André Pönitz  <poenitz@gmx.net>
6520
6521         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6522
6523         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6524           create a single function...
6525
6526         * paragraph_funcs.C (moveItem): ... here.
6527
6528         * text.C:
6529           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6530
6531 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6532
6533         * LColor.[Ch]: Add comment and greyedout logical colors.
6534
6535 2003-07-30  André Pönitz  <poenitz@gmx.net>
6536
6537         * tabular.C: don't use Assert too heavily. This crashes where it
6538           shouldn't
6539
6540 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6541
6542         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6543         is disabled (bug 1232)
6544
6545 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6546
6547         * factory.C: limited 'arg' scope
6548
6549 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6550
6551         * factory.C: fixed Note submenu issues
6552
6553 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6554
6555         * factory.C: submenu for Note/Comment/Greyedout
6556
6557 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6558
6559         * lyx_main.C (LyX):
6560         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6561
6562 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6563
6564         * LaTeXFeatures.C:
6565         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6566         greyedout. Patch provided by Jürgen Spitzmüller.
6567
6568 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6569
6570         * kbmap.C (read): fix error message when reading bind files
6571
6572 2003-07-29  Angus Leeming  <leeming@lyx.org>
6573
6574         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6575         certainly does not do what it purports to do. I am doing it, and
6576         us, a favour by killing it.
6577
6578 2003-07-28  José Matos  <jamatos@lyx.org>
6579
6580         * buffer.C (readBody, do_writeFile):
6581         * paragraph.C(readParagraph): \end_document replaces \the_end.
6582
6583 2003-07-29  André Pönitz  <poenitz@gmx.net>
6584
6585         * BufferView.[Ch]:
6586         * BufferView_pimpl.[Ch]:
6587         * lyxfunc.C:
6588         * text2.C:
6589         * text3.C:
6590         * textcursor.[Ch]: remove toggleToggle & Co
6591
6592 2003-07-28  José Matos  <jamatos@fep.up.pt>
6593
6594         * buffer.C (readParagraph):
6595         * params_func (readParToken, readParagraph):
6596         * paragraph.C (write): \layout -> \begin_layout.
6597
6598 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * lyxlex_pimpl.C (setFile): clean up slightly.
6601
6602         * bufferparams.h: add compressed var
6603
6604         * buffer_funcs.C (readFile): adjust for LyXLex change
6605         (newFile): ditto + simplify
6606
6607         * buffer.C (writeFile): handle writing of compressed files
6608
6609         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6610         Check if the file is compressed and set a bufferparm if so.
6611
6612         * Makefile.am (lyx_LDADD): remove explicit -lz
6613
6614 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6615
6616         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6617         makeDocBookFile): put the real LyX version in the first line of
6618         the file
6619
6620         * version.h:
6621         * version.C.in: remove lyx_docversion
6622
6623         * tabular.C (write_attribute): add a template-based version to
6624         write enums properly
6625
6626 2003-07-28  André Pönitz  <poenitz@gmx.net>
6627
6628         * lyxtext.h:
6629         * text.C:
6630         * text2.C:
6631         * text3.C: use doubles again for x-coordinates. They are needed.
6632
6633 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * messages.C (getLocaleDir): use lyx_localedir()
6636
6637         * lyxlex_pimpl.C (setFile): compress stuff
6638
6639         * buffer.C (writeFile): add some compression stuff
6640         (do_writeFile): new func, dont call expliti close... will this
6641         breake anything?
6642
6643         * Makefile.am (lyx_LDADD): add -lz
6644
6645 2003-07-28  José Matos  <jamatos@fep.up.pt>
6646
6647         * buffer.C: increment file format.
6648         * paragraph_funcs (readParagraph, readParToken):
6649         * paragraph.C (readParagraph): add \end_layout.
6650
6651 2003-07-27  Angus Leeming  <leeming@lyx.org>
6652
6653         * Makefile.am: remove special casing for configure-time setting of
6654         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6655
6656         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6657         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6658
6659 2003-07-26  André Pönitz  <poenitz@gmx.net>
6660
6661         * paragraph_func.[Ch]:
6662         * paragraph.C (realizeFont): inline it whereever it is used
6663
6664         * rowpainter.C:
6665         * text.C:
6666         * text2.C:
6667         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6668
6669
6670 2003-07-26  André Pönitz  <poenitz@gmx.net>
6671
6672         *       lyxtext.h:
6673         * text.C:
6674         * text2.C: get rid of LyXText::need_break_row
6675
6676 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6677
6678         * toc.[Ch]: put namespace toc inside namespace lyx
6679
6680         * MenuBackend.C (expandToc2): adjust for lyx::toc
6681         (expandToc): ditto
6682
6683         * lyxfunc.C (dispatch): adjust for lyx::find
6684
6685         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6686         lyx::find instead. Reorganize a bit.
6687         (LyXReplace): rename to replace
6688         (LyXFind): rename to find
6689
6690         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6691         (dispatch): ditto
6692
6693 2003-07-26  André Pönitz  <poenitz@gmx.net>
6694
6695         * text.C (setHeightOfRow): restrict scope of temporary variable
6696
6697         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6698           code (never has been used?)
6699
6700 2003-07-27  Asger Alstrup  <alstrup@local>
6701
6702         * text.C (fill): Optimise algorithm to exploit that we can reuse
6703         the LyXFont for many characters.
6704         (setHeightOfRow): Same thing.
6705         (rowBreakPoint): Same thing.
6706
6707 2003-07-26  Asger Alstrup  <alstrup@local>
6708
6709         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6710
6711         * text.C (singleWidth): Spurious font copying in hot-spot
6712         singleWidth avoided. Reorder tests for arabic for efficiency.
6713
6714         * text.C (fill): handle empty paragraphs better.
6715
6716 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6717
6718         * ispell.C:
6719         * encoding.h: add includes
6720
6721         * lyxrc.C: remove reading of bind files
6722
6723         * lyx_main.C (init): setup bindings and menus only if we have a
6724         gui.
6725
6726         * kbmap.C (read): new method. Do the actual reading of bind
6727         files.
6728
6729         * converter.C (dvipdfm_options):
6730         * bufferparams.C:
6731         * lyxrc.C (read):
6732         (output): adapt PAPER_* enums.
6733
6734         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6735
6736         * bufferparams.h: remove paper-related enums from there
6737
6738         * paper.h: New file. A trivial header file to hold paper-related
6739         enums. It should later expand to contain many paper-related
6740         horrors access.
6741
6742         * lyxrc.C: declare extern displayTranslator
6743
6744 2003-07-27  José Matos  <jamatos@fep.up.pt>
6745
6746         * tabular.[Ch] (linuxdoc): add support for tables and figures
6747         (linuxdoc).
6748
6749 2003-07-27  José Matos  <jamatos@fep.up.pt>
6750
6751         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6752         consistency in both functions.
6753         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6754
6755 2003-07-26  Asger Alstrup  <alstrup@local>
6756
6757         * rowpainter.C (paintRows): Change algorithm to work directly on
6758         the insets rather than asking every character in the document
6759         whether its an inset.
6760
6761 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6762
6763         * buffer.C (openFileWrite): factorize some code
6764
6765 2003-07-26  Angus Leeming  <leeming@lyx.org>
6766
6767         * lyx_cb.C:
6768         * lyx_main.[Ch]: replace occurances of system_tempdir with
6769         os::getTmpDir().
6770
6771 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * rename Inset to InsetOld
6774
6775 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6776
6777         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6778         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6779         which I think is a bit clearer. EDIT is gone, since it was
6780         premature optimisation, and broken for mathed anyway.
6781         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6782         with cursor positioning in insets as well (math insets still do not
6783         work, but that's a different story anyway.) It mysteriously
6784         crashes sometimes with undo in the first paragraph, but I'm fairly
6785         confident that this is a compiler bug.
6786
6787 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6788
6789         * paragraph.C (Paragraph): adjust for new clone return type
6790         (operator==): ditto
6791         (copyIntoMinibuffer): ditto
6792
6793 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6794
6795         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6796         by not having a special case, and always doing a full rebreak of
6797         the document after undo.
6798
6799 2003-07-23  Angus Leeming  <leeming@lyx.org>
6800
6801         * factory.C (createInset): InsetExternal::setParams now takes a
6802         Buffer const * arg.
6803
6804 2003-07-23  Angus Leeming  <leeming@lyx.org>
6805
6806         * factory.C (createInset): changed interface to the external and
6807         graphics mailers' string2params functions.
6808
6809 2003-07-23  Angus Leeming  <leeming@lyx.org>
6810
6811         * factory.C (createInset): pass a
6812         Buffer const * parameter to InsetExternalMailer's string2params.
6813
6814 2003-07-22  John Levon  <levon@movementarian.org>
6815
6816         * Thesaurus.h: include the right aiksaurus header
6817
6818 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6819
6820         * MenuBackend.C (expand): check menu shortcuts unconditionally
6821
6822 2003-07-21  Angus Leeming  <leeming@lyx.org>
6823
6824         * factory.C (createInset): pass a
6825         buffer_path parameter to InsetGraphicsMailer's string2params.
6826
6827 2003-07-21  Angus Leeming  <leeming@lyx.org>
6828
6829         * BufferView_pimpl.C (buffer):
6830         * buffer.C (d-tor):
6831         * lyx_main.C (LyX):
6832         * lyxfunc.C (dispatch):
6833         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6834         rather than the grfx shortcut.
6835
6836 2003-07-21  André Pönitz  <poenitz@gmx.net>
6837
6838         * rowpainter.C: remove unused variables
6839
6840         * tabular_funcs.C:
6841         * tabular_funcs.h: move to tabular.C
6842         * Makefile.am: adjust
6843
6844         * tabular.[Ch]: basic optical cleaning
6845
6846         * author.h: pass references, not values
6847
6848 2003-07-18  André Pönitz  <poenitz@gmx.net>
6849
6850         * lyxtext.h:
6851         * metricsinfo.C:
6852         * metricsinfo.h:
6853         * rowpainter.C:
6854         * text.C:
6855         * text2.C:
6856         * text3.C: two-phase drawing for InsetText and InsetTabular
6857         some float -> int changes.
6858
6859 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6860
6861         * lyx_main.C: fix the fix
6862
6863 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6864
6865         * lyx_main.C: fix a crash in batch mode if no files specified
6866         * converter.C: ws
6867
6868 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6869
6870         * format.[Ch] (papersize): moved to BufferParams
6871         * converter.[Ch] (dvips_options): moved to BufferParams
6872         (dvipdfm_options): moved to anon namespace
6873         * bufferparams.[Ch]: added above functions.
6874
6875 2003-07-17  André Pönitz  <poenitz@gmx.net>
6876
6877         * lyxtext.h:
6878         * rowpainter.C:
6879         * text2.C: don't call inset->update() anymore
6880
6881         * metricsinfo.[Ch]: add convenience constructor
6882
6883 2003-07-16  André Pönitz  <poenitz@gmx.net>
6884
6885         * lyxcursor.[Ch]:
6886         * lyxfunc.[Ch]:
6887         * text.C:
6888         * text2.C: replace the LyXCursor::irow_ member with
6889          on-demand computation of the value
6890
6891 2003-07-16  John Levon  <levon@movementarian.org>
6892
6893         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6894
6895 2003-07-15  André Pönitz  <poenitz@gmx.net>
6896
6897         * text.C:
6898         * text2.C: remove no more needed refresh_row
6899
6900 2003-07-15  André Pönitz  <poenitz@gmx.net>
6901
6902         * lyxtext.h:
6903         * rowpainter.C:
6904         * text2.C:
6905         * text3.C: refresh_status tristate -> need_update bool
6906
6907 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6908
6909         * lyxtext.h (init): remove reinit argument (act as if always true)
6910         * text2.C: adjust to that
6911
6912 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6913
6914         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6915         * text3.C: use it to delete selections in some cases
6916         (bugs 441, 673, 702, 954).
6917
6918 2003-07-14  André Pönitz  <poenitz@gmx.net>
6919
6920         * rowpainter.[Ch]: reduce interface
6921
6922 2003-07-14  André Pönitz  <poenitz@gmx.net>
6923
6924         * BufferView_pimpl.C:
6925         * text2.C: adjust after removing unused BufferView * argument
6926
6927 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6928
6929         * text2.C (init): fix a crash fired on resize
6930
6931 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6932
6933         * buffer.[Ch]: added new closing signal
6934         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6935         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6936         BufferView::Pimpl via the closing the signal
6937
6938 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6939
6940         * buffer.[Ch]: take out all bv-related from buffer
6941         * BufferView.C:
6942         * BufferView_pimpl.[Ch]: connect to new signals
6943         * CutAndPaste.C: removed useless asserts
6944         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6945         * lyxvc.[Ch]:
6946         * vc-backend.[Ch]:
6947         * lyxfunc.C: moved view-related funciontality from vc here
6948         * paragraph.C: removed outdated comments
6949         * text.C: ws
6950
6951 2003-07-10  André Pönitz  <poenitz@gmx.net>
6952
6953         * BufferView_pimpl.C:
6954         * tabular.h:
6955         * tabular_funcs.C:
6956         * text.C:
6957         * text2.C: remove InsetText::InnerCache, clean up consequences
6958
6959 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6960
6961         * ispell.C: fix two typos in error messages
6962
6963 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6964
6965         * Extend Note inset to other forms of annotation like Comment
6966         and Greyedout. Right button click gives dialog.
6967
6968         Files modified or added (+):
6969
6970         * insetnote.[Ch]
6971         * FormNote.[Ch]      +
6972         * ControlNote.[Ch]   +
6973         * form_note.fd       +
6974         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6975         frontends/controllers
6976         * xforms/Dialogs.C
6977         * factory.C
6978
6979 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6980
6981         * aspell.C: add missing namespace lyx::support
6982
6983 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6984
6985         * BufferView.[Ch] (newFile): Add
6986         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6987         * LaTeX.[Ch] (message): added this signal and use it
6988         * buffer.[Ch] (busy, message): added these signals and use them
6989         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6990         * converter.C:
6991         * exporter.C:
6992         * format.C:
6993         * importer.C: use buffer signals instead of direct bv calling
6994         * lyx_cb.[Ch] (ShowMessage): removed
6995         * lyx_main.C:
6996         * lyxfunc.C:
6997         * paragraph_funcs.C:
6998         * text2.C: use buffer signals
6999
7000 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * introduce namespace lyx::graphics
7003
7004 2003-07-02  André Pönitz  <poenitz@gmx.net>
7005
7006         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7007
7008 2003-07-01  André Pönitz  <poenitz@gmx.net>
7009
7010         * text.C:
7011         * text2.C:
7012         * text3.C:
7013         * text_funcs.[Ch]:
7014         * textcursor.h:
7015         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7016           text*.C to text_func.C
7017
7018 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7019
7020         * introduce namespace lyx::support
7021
7022 2003-06-30  André Pönitz  <poenitz@gmx.net>
7023
7024         * Chktex.C:
7025         * funcrequest.C:
7026         * lyxtext.h:
7027         * text.C: re-enable --with-included-string
7028
7029 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7030
7031         * textcursor.C: add <config.h>
7032
7033         * text.C (getWord): remove const from word_location arg
7034
7035         * lyxvc.C (getLogFile): fix const type order
7036
7037         * lyxtext.h: remove const from word_location arg, add arg name
7038
7039         * lyxlayout.h: currect type on labeltype.
7040
7041         * importer.C: correct \file
7042
7043         * converter.C (intToFormat): use std:: on ret val, ws changes
7044
7045         * bufferlist.h: correct \file
7046
7047         * buffer.C (makeLinuxDocFile): fix const type order
7048         (makeDocBookFile): ditto
7049         (fillWithBibKeys): use std:: on stdlib args.
7050
7051         * CutAndPaste.C: fix authors.
7052         (availableSelections): use std:: on return vector
7053
7054 2003-06-27  André Pönitz  <poenitz@gmx.net>
7055
7056         * BufferView_pimpl.C:
7057         * bufferview_funcs.C:
7058         * lyxcursor.C:
7059         * lyxcursor.h:
7060         * lyxfunc.C:
7061         * lyxtext.h:
7062         * rowpainter.C:
7063         * text.C:
7064         * text2.C:
7065         * text3.C: remove LyXCursor::row_ member
7066
7067         * lyxtext.h:
7068         * text.C: rename fullRebreak() to partialRebreak() and implement
7069           a fullRebreak() that really bereks fully
7070
7071         * textcursor.h: new struct for cursor-related data
7072
7073 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7074
7075         * lyx_main.C (LyX): get full path of document loaded on the
7076         command line
7077
7078 2003-06-26  André Pönitz  <poenitz@gmx.net>
7079
7080         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7081           remove unused/broken operator>,<,>=.
7082
7083         *       text.C: remove only use of broken operator<= in an Assert().
7084
7085 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7086
7087         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7088         moved errorlist_.clear to showErrorList
7089
7090 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7091
7092         * converter.C (scanLog, runLaTeX):
7093         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7094         move the bv->showErrorList call to the callers
7095         * lyxfunc.C: i.e. here...
7096         * text2.C: and here
7097         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7098         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7099         namespace, the second to...
7100         * buffer_funcs (BufferFormat, parseErrors): added
7101         * errorlist.C (ErrorList(TeXErrors const &)): removed
7102
7103 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7104
7105         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7106
7107 2003-06-24  "Garst R. Reese" <reese@isn.net>
7108
7109         * debug.C: fix typo
7110
7111 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7112
7113         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7114
7115         * version.C.in: change docversion to 1.4
7116
7117 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7118
7119         * buffer.C: fix a bug just introduced
7120
7121 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7122
7123         * buffer.[Ch]: added the parseError signal and use it, removed
7124         sgmlError
7125         * BufferView.[Ch] (addError): moved to ...
7126         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7127         to the Buffer::parseError signal to catch (guess what) parse errors
7128         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7129
7130 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7131
7132         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7133         ability to create a buffer and to return an existing one from
7134         the list. Moved these functions to...
7135         * buffer_funcs.[Ch]: added
7136         * BufferView.[Ch] (loadLyXFile): added
7137         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7138         job removed from bufferlist::loadLyXFile.
7139         * buffer.C (setReadOnly): make it work without view
7140         (i.e added an if (users))
7141
7142 2003-06-19  Angus Leeming  <leeming@lyx.org>
7143
7144         * lfuns.h:
7145         * LyXAction.C (init):
7146         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7147         with LFUN_DIALOG_SHOW <name> <data>.
7148
7149 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7150
7151         * CutAndPaste.C (availableSelections): small compilation fix for
7152         ancient (gcc 2.9x) compilers
7153
7154 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7155
7156         * text3.C (cursorNext): add tmp var
7157
7158         * text2.C (updateCounters): for function calling out of for clause
7159         (replaceSelectionWithString): ditto
7160         (insertStringAsParagraphs): ditto
7161         (getColumnNearX): add tmp var
7162         (setCursorFromCoordinates): add tmp var
7163         (cursorDownParagraph): add tmp var
7164         (deleteEmptyParagraphMechanism): add tmp var
7165
7166         * text.C (insertChar): add tmp var
7167
7168         * rowpainter.C (paintDepthBar): add tmp var
7169
7170         * CutAndPaste.C (availableSelections): potentially check all
7171         paragraphs in a cut to fill the shown strings.
7172
7173 2003-06-18  André Pönitz  <poenitz@gmx.net>
7174
7175         * kbmap.[Ch]: use vector<> instead of list<>
7176
7177 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7178
7179         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7180         pasteSelection with index
7181
7182         * text2.C (pasteSelection): modify, call pasteSelection with index
7183
7184         * paragraph.C (asString): reimplement version with no interval to
7185         call the one with interval.
7186
7187         * lyxtext.h: add index arg to pasteSelection
7188
7189         * MenuBackend.C (MenuItem): handle PasteRecent
7190         (Menu::read::Menutags): add md_pasterecent
7191         (read): handle it
7192         (expandPasteRecent): new function
7193         (expand): use it
7194
7195         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7196
7197         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7198         the limited stack
7199         (availableSelections): new function
7200
7201 2003-06-17  Angus Leeming  <leeming@lyx.org>
7202
7203         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7204
7205 2003-06-17  Angus Leeming  <leeming@lyx.org>
7206
7207         * lfuns.h:
7208         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7209
7210         * lyxfunc.C (dispatch): invoke it.
7211
7212 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7213
7214         * iterators.C (operator++, ParPosition): reintroduce some
7215         const_cast for the benefit of older compilers.
7216
7217 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7218
7219         * text3.C (dispatch): do not modify clipboard when doing
7220         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7221         LFUN_DELETE_SKIP on a selection selection
7222
7223 2003-06-16  André Pönitz  <poenitz@gmx.net>
7224
7225         * BufferView.C:
7226         * buffer.C:
7227         * buffer.h:
7228         * paragraph.C:
7229         * tabular.[Ch]: IU of clone() and getLabelList();
7230
7231 2003-06-13  André Pönitz  <poenitz@gmx.net>
7232
7233         * tabular.h: compactification
7234
7235 2003-06-12  André Pönitz  <poenitz@gmx.net>
7236
7237         * tabular.C:
7238         * tabular.h:
7239         * tabular_funcs.h: some renaming plus whitespace
7240
7241 2003-06-12  André Pönitz  <poenitz@gmx.net>
7242
7243         * BufferView.C:
7244         * BufferView_pimpl.C:
7245         * CutAndPaste.C:
7246         * buffer.C:
7247         * iterators.[Ch]:
7248         * lyxfunc.C:
7249         * text.C:
7250         * toc.C: Return a Paragraph & for ParIterator::operator*()
7251
7252 2003-06-11  John Levon  <levon@movementarian.org>
7253
7254         * lyx_main.C:
7255         * ToolbarBackend.h:
7256         * ToolbarBackend.C: add "Toolbars" section and
7257         put the flags there
7258
7259 2003-06-10  Angus Leeming  <leeming@lyx.org>
7260
7261         * lfuns.h:
7262         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7263
7264         * lyxfunc.C (dispatch): invoke it.
7265
7266 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7267
7268         * main.C: protect <ios> with HAVE_IOS
7269         (main): protect sync_with_stdio with HAVE_IOS
7270
7271 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7272
7273         * text2.C (cutSelection): adjust
7274         (pasteSelection): adjust
7275
7276         * messages.C: handle get of empty string
7277
7278         * main.C (main): use sync_with_stdio(false)
7279
7280         * lyxfunc.C (dispatch): adjust
7281
7282         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7283         (WriteAs): remove unneeded BufferView arg.
7284
7285         * bufferparams.h: use correct types on papersize, papersize2 and
7286         paperpackage.
7287
7288         * bufferparams.C (readToken): adjust for type
7289         (writeLaTeX): add missing cases to switch.
7290
7291         * bufferlist.C (quitWriteBuffer): adjust
7292         (close): adjust
7293
7294         * buffer.C (asciiParagraph): remove some commented code.
7295
7296         * CutAndPaste.C: remove current_view extern variable.
7297         (cutSelection): add BufferParams arg.
7298         (eraseSelection): add BufferParams arg.
7299         (pasteSelection): add Buffer const & arg
7300
7301 2003-06-07  John Levon  <levon@movementarian.org>
7302
7303         * buffer.C:
7304         * paragraph_funcs.C:
7305         * paragraph_pimpl.C:
7306         * text.C:
7307         * text2.C:
7308         * paragraph.h:
7309         * paragraph.C: allow InsetERT to freely space lines,
7310         and some consolidation of code
7311
7312 2003-06-06  José Matos  <jamatos@fep.up.pt>
7313
7314         * buffer.C (makeDocBookFile): fix bug #821
7315
7316 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7317
7318         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7319
7320 2003-06-04  Angus Leeming  <leeming@lyx.org>
7321
7322         * buffer.C: bump format to 224.
7323
7324 2003-06-05  André Pönitz  <poenitz@gmx.net>
7325
7326         * text2.C (redoParagraphs): remove two const_cast<>
7327
7328 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7329
7330         * ParagraphList.h: remove last remnants of NO_STD_LIST
7331
7332 2003-06-03  Angus Leeming  <leeming@lyx.org>
7333
7334         * factory.C (createInset): small change to the way InsetExternal's params
7335         are set.
7336
7337 2003-06-04  André Pönitz  <poenitz@gmx.net>
7338
7339         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7340
7341         * paragraph_pimpl.h:
7342         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7343
7344         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7345
7346         * undo_funcs.C: make some simple cases of undo work again
7347
7348 2003-06-03  John Levon  <levon@movementarian.org>
7349
7350         * ispell.C: HPUX doesn't have sys/select.h
7351         (from Albert Chin)
7352
7353 2003-06-03  John Levon  <levon@movementarian.org>
7354
7355         * CutAndPaste.C: update tabular and include inset
7356         buffer references
7357
7358         * buffer.h:
7359         * paragraph.h:
7360         * paragraph.C: remove owningBuffer(), don't pass Buffer
7361         to clone()
7362
7363         * factory.C: insetGraphicsParams changed
7364
7365 2003-06-02  John Levon  <levon@movementarian.org>
7366
7367         * LyXAction.C:
7368         * factory.C:
7369         * lfuns.h:
7370         * lyxfunc.C:
7371         * text3.C: remove insetparent
7372
7373 2003-06-02  John Levon  <levon@movementarian.org>
7374
7375         * buffer.h:
7376         * buffer.C: fix inset_iterator.end(), move out of line
7377         (bug 1149)
7378
7379 2003-06-01  John Levon  <levon@movementarian.org>
7380
7381         * text3.C: use a proper cut/paste when doing inset
7382         insert (from Jürgen Spitzmüller)
7383
7384 2003-06-01  John Levon  <levon@movementarian.org>
7385
7386         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7387
7388 2003-05-30  André Pönitz  <poenitz@gmx.net>
7389
7390         * rowpainter.C: unify second drawing phase
7391
7392 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7393
7394         * trans_mgr.C: remove one case of current_view
7395
7396         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7397
7398         * paragraph_funcs.h: remove paragraph.h include
7399
7400         * paragraph.h: delete NO_STD_LIST stuff
7401
7402         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7403
7404         * buffer.h: remove paragraph.h include
7405
7406         * ParagraphList.C: delete file
7407
7408         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7409
7410         * toc.C (getTocList): adjust
7411
7412         * paragraph_pimpl.C (validate): adjust
7413
7414         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7415
7416         * paragraph.C (Paragraph): adjust
7417         (getPositionOfInset): use const_iterator, adjust
7418         (bibitem): use const_iterator, adjust
7419         (setInsetOwner): adjust
7420
7421         * iterators.C (operator++): adjust
7422
7423         * InsetList.[Ch]: Replace selfmade iterator with standard
7424         vector::iterator also introduce const_iterator. Remove getPos,
7425         getInset and setInset from InsetTable. Adjust accordingly.
7426
7427         * BufferView.C (lockInset): adjust
7428         (ChangeInsets): adjust
7429
7430         * tabular.[Ch]: delete commented same_id functions
7431
7432 2003-05-28  John Levon  <levon@movementarian.org>
7433
7434         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7435
7436 2003-05-28  André Pönitz  <poenitz@gmx.net>
7437
7438         * metricsinfo.[Ch]: remove 'fullredraw' member
7439
7440 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7441
7442         * lyxtextclass.C (operator): remove caching.
7443
7444 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7445
7446         * text3.C: adjust
7447
7448         * text2.C (cursorBottom): adjust
7449         (setCounter): use ParagraphList::find, adjust
7450
7451         * text.C (workWidth): use ParagraphList::find, adjust
7452
7453         * lyxcursor.C (LyXCursor): adjust
7454
7455         * buffer.C (inset_iterator): adjust
7456
7457         * ParagraphList.h: make iterator(value_type) private, make
7458         ParagraphList a friend of iterator.
7459
7460         * ParagraphList.C (find): new function
7461
7462         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7463
7464 2003-05-27  André Pönitz  <poenitz@gmx.net>
7465
7466         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7467
7468 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7469
7470         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7471
7472 2003-05-26  John Levon  <levon@movementarian.org>
7473
7474         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7475
7476 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7477
7478         * remove same_id from function signatures, adjust.
7479
7480 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7483
7484         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7485
7486         * paragraph.C (Paragraph): get rid of same_ids parameter
7487
7488         * ParagraphList.C (insert): adjust
7489         (push_back): adjust
7490
7491 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7492
7493         * paragraph_funcs.C (breakParagraph): adjust
7494         (breakParagraphConservative): adjust
7495
7496         * buffer.C (readParagraph): adjust
7497
7498         * ParagraphList.C (insert): take a reference instead of a pointer
7499         (insert): adjust
7500
7501         * paragraph.[Ch] (id): new function
7502
7503         * bufferlist.C (newFile): adjust
7504
7505         * ParagraphList.C (ParagraphList): adjust
7506         (assign): adjust
7507         (push_back): take a reference instead of a pointer.
7508
7509         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7510
7511         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7512         instead.
7513
7514         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7515         set else use old code.
7516
7517         * ParagraphList.C: remove all NO_NEXT code and only compile this
7518         code of NO_STD_LIST is set.
7519
7520 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7521
7522         * BufferView_pimpl.C:
7523         * TextCache.C:
7524         * TextCache.h:
7525         * bufferlist.C:
7526         * errorlist.h:
7527         * format.C:
7528         * format.h:
7529         * graph.C:
7530         * lyxfunc.C:
7531         * lyxrc.C:
7532         * graphics/GraphicsConverter.C:
7533         * graphics/PreviewLoader.C: header adjustment
7534
7535 2003-05-23  Angus Leeming  <leeming@lyx.org>
7536
7537         * LaTeXFeatures.[Ch] (useBabel): new method.
7538         * bufferparams.C (writeLaTeX): use it.
7539
7540 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7541
7542         * ParagraphList.h (set): remove unused function.
7543
7544 2003-05-23  André Pönitz  <poenitz@gmx.net>
7545
7546         * BufferView.C:
7547         * BufferView_pimpl.C:
7548         * buffer.C:
7549         * buffer.h:
7550         * lyxfunc.C:
7551         * undo_funcs.C: setUndo reworked
7552
7553         * iterators.[Ch]: add access to topmost ParagraphList
7554
7555         * lyxtext.[Ch] (workWidth): add a const
7556
7557 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7558
7559         * texrow.[Ch] (increasePos): remove function
7560         * exporter.C (export): removed unused var and outdated comment
7561
7562 2003-05-23  Angus Leeming  <leeming@lyx.org>
7563
7564         * latexrunparams.h: rename fragile as moving_arg.
7565         * paragraph.C (simpleTeXOnePar): ditto.
7566         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7567
7568 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7571         (createUndo): ditto
7572         (textUndoOrRedo): comment out a currently unused var.
7573
7574         * paragraph.h (NO_NEXT): enable NO_NEXT
7575
7576         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7577
7578         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7579
7580         * exporter.C (Export): adjust for removeAutoInsets removal.
7581
7582         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7583
7584         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7585
7586         * BufferView.[Ch] (removeAutoInsets): delete function
7587
7588 2003-05-22  Angus Leeming  <leeming@lyx.org>
7589
7590         * latexrunparams.h: add a free_spacing variable.
7591
7592         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7593         to pass moving_arg, as the data is stored in runparams.fragile.
7594
7595         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7596         to Inset::latexOptional or to simpleTeXOnePar.
7597
7598         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7599         free_spacing arg to Inset::latexOptional.
7600
7601         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7602         free_spacing arg.
7603
7604 2003-05-22  Angus Leeming  <leeming@lyx.org>
7605
7606         * latexrunparams.h: add fragile and use_babel variables.
7607
7608         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7609         * buffer.C (makeLaTeXFile): store this returned value in
7610         runparams.use_babel, thus passing it to the inset::latex methods.
7611
7612         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7613         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7614
7615         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7616         longer has a fragile arg, as it is stored in runparams.fragile.
7617
7618         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7619         moving_arg parameter as the data is stored in runparams.fragile.
7620
7621         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7622         a fragile parameter as the data is stored in runparams.fragile.
7623
7624 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7627
7628 2003-05-22  Angus Leeming  <leeming@lyx.org>
7629
7630         * latexrunparams.h: add a 'bool nice' which defaults to false.
7631
7632         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7633         now encapsulated within runparams.
7634
7635         * bufferlist.C (updateIncludedTeXfiles):
7636         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7637
7638 2003-05-22  Angus Leeming  <leeming@lyx.org>
7639
7640         * latexrunparams.h: new file containing struct LatexRunParams.
7641         * Makefile.am: add new file.
7642
7643         * LaTeX.[Ch] (c-tor, run):
7644         * buffer.[Ch] (makeLaTeXFile):
7645         * bufferlist.[Ch] (updateIncludedTeXfiles):
7646         * converter.C (convert, scanLog):
7647         * converter.[Ch] (runLaTeX):
7648         * exporter.C (Export):
7649         * paragraph.[Ch] (simpleTeXOnePar):
7650         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7651         * paragraph_funcs.[Ch] (latexParagraphs):
7652         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7653         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7654         pass around a LatexRunParams parameter.
7655
7656 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * paragraph.[Ch]: remove unused constructor
7659
7660         * ParagraphList.C (erase): new function, taking two iterators
7661
7662 2003-05-22  André Pönitz  <poenitz@gmx.net>
7663
7664         * undo_funcs.C: remove duplicated code
7665
7666         * iterator.[Ch]: operator=
7667
7668 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * tabular.C (SetMultiColumn): ws changes
7671
7672         * rowpainter.C (paintFirst): get rid of a ->previous
7673
7674         * lyx_cb.C (getPossibleLabel): parlist simplification
7675
7676         * BufferView.C (ChangeInsets): simplify slightly.
7677
7678 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7679
7680         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7681         * lfuns.h: new LFUN_SPACE
7682         * lyxfunc.C: protected space has a new lfun
7683         * paragraph_funcs.C: read new space insets
7684         * text3.C:
7685         * factory.C: handle new space insets
7686
7687 2003-05-22  André Pönitz  <poenitz@gmx.net>
7688
7689         * BufferView.C:
7690         * BufferView_pimpl.C:
7691         * buffer.[Ch]:
7692         * lyxfunc.C:
7693         * undo_funcs.C: return a ParIterator from getParFromID.
7694
7695         * iterators.[Ch]: add two const's
7696
7697 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * toc.C (getTocList): adjust
7700
7701         * iterators.[Ch]: rework for parlist
7702
7703         * buffer.C (par_iterator_begin): adjust
7704         (par_iterator_end): adjust
7705
7706         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7707
7708         * BufferView.C (removeAutoInsets): adjust
7709         (ChangeInsets): adjust
7710
7711 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7712
7713         * text.C (top_y): fix bug 1110
7714
7715 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7716
7717         * errorlist.[Ch]: added
7718         * buffer.C:
7719         * BufferView.[Ch]:
7720         * BufferView_pimpl.C:
7721         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7722         instead
7723
7724 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7725
7726         * Makefile.am: ensure that lyx is relinked upon changes to the
7727         various "convenience" libs.
7728
7729 2003-05-20  Angus Leeming  <leeming@lyx.org>
7730
7731         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7732         files are compiled in alphabetical order again.
7733
7734         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7735
7736 2003-05-19  Angus Leeming  <leeming@lyx.org>
7737
7738         * gettext.[Ch]: remove "char const * _(char const *)".
7739
7740 2003-05-19  André Pönitz  <poenitz@gmx.net>
7741
7742         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7743
7744         * Makefile.am:
7745         * BufferView.C:
7746         * DepTable.h:
7747         * LaTeXFeatures.C:
7748         * buffer.C:
7749         * lyxfont.C:
7750         * lyxlex.h:
7751         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7752
7753 2003-05-19  André Pönitz  <poenitz@gmx.net>
7754
7755         * buffer.C:
7756         * lyxlayout.[Ch]:
7757         * lyxtextclass.[Ch]:
7758         * paragraph.C:
7759         * paragraph_funcs.[Ch]:
7760         * text2.C:
7761         * text3.C: more insetenv work
7762
7763 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7764
7765         * ParagraphParameters.C (params2string): small bug fixed
7766
7767 2003-05-16  André Pönitz  <poenitz@gmx.net>
7768
7769         * debug.C:
7770         * bufferview_funcs.C: patch from Kornel Benko to prevent
7771           crash when _(...) is called twice in a statement
7772
7773 2003-05-16  André Pönitz  <poenitz@gmx.net>
7774
7775         * BufferView.C:
7776         * lyxfunc.C:
7777         * text.C:
7778         * text2.C:
7779         * text3.C:
7780         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7781
7782 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7783
7784         * lyx_main.C (init): remove spurious static_cast
7785
7786 2003-05-14  André Pönitz  <poenitz@gmx.net>
7787
7788         * BufferView.C: fix format string
7789
7790 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7791
7792         * BufferView.[Ch] (insertErrors): removed
7793         * BufferView.[Ch] (showErrorList): added
7794         * buffer.C (runChkTeX):
7795         * converter.C (scanLog): call showErrorList instead of inserterrors
7796
7797 2003-05-13  André Pönitz  <poenitz@gmx.net>
7798
7799         * BufferView_pimpl.C:
7800         * buffer.C:
7801         * bufferview_func.C:
7802         * MenuBackend.C:
7803         * lyxfunc.C:
7804         * lyxrc.C:
7805         * tex-accent.C:
7806         * text3.C:
7807         * toc.C:
7808         * tabular_funcs.h: tostr() from its own header
7809
7810         * ParagraphParameters.C:
7811         * ToolbarBackend.C:
7812         * bufferparams.C:
7813         * format.C:
7814         * lyxlex_pimpl.C:
7815         * text3.C: STRCONV()
7816
7817 2003-05-12  André Pönitz  <poenitz@gmx.net>
7818
7819         * BufferView.C:
7820         * BufferView_pimpl.C:
7821         * CutAndPaste.C:
7822         * LaTeX.C:
7823         * LaTeXFeatures.C:
7824         * ParagraphParameters.C:
7825         * buffer.C:
7826         * bufferlist.C:
7827         * bufferparams.C:
7828         * bufferview_funcs.C:
7829         * converter.C:
7830         * counters.C:
7831         * debug.C:
7832         * exporter.C:
7833         * format.C:
7834         * importer.C:
7835         * lyx_cb.C:
7836         * lyx_main.C:
7837         * lyxfont.C:
7838         * lyxfunc.C:
7839         * lyxvc.C:
7840         * paragraph.C:
7841         * paragraph_funcs.C:
7842         * tabular.C:
7843         * tabular_funcs.C:
7844         * text2.C:
7845         * text3.C:  boost::format -> bformat  all over the place
7846
7847
7848 2003-05-09  André Pönitz  <poenitz@gmx.net>
7849
7850         * LColor.[Ch]: Pimpl the #include <map> away
7851
7852 2003-05-09  John Levon  <levon@movementarian.org>
7853
7854         * bufferlist.C: never remove emergency saves
7855
7856 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * Makefile.am: better lib building
7859
7860 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7861
7862         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7863         instead.
7864         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7865         (simpleTeXSpecialChars): adjust
7866         (simpleTeXSpecialChars): adjust
7867         * paragraph.C (simpleTeXOnePar): adjust
7868         * buffer.C (makeLaTeXFile): adjust
7869
7870         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7871
7872         * text2.C (changeDepth): parlist cleanup
7873         (getColumnNearX): ditto
7874
7875         * rowpainter.C (getLabelFont): parlist cleanup
7876
7877         * bufferlist.C (newFile): parlist cleanup
7878
7879         * CutAndPaste.C (eraseSelection): parlist cleanup
7880
7881         * BufferView_pimpl.C (trackChanges): parlist cleanup
7882         (dispatch): ditto
7883
7884         * BufferView.C (lockInset): parlist cleanup.
7885         (ChangeInsets): ditto
7886
7887 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * CutAndPaste.h: Update file header.
7890
7891         * CutAndPaste.C: Update file header.
7892         Store the parts cut out of the Document in a limited_stack.
7893         (copySelection): adjust
7894         (pasteSelection): new function, takes the index in the limited stack.
7895         (nrOfParagraphs): adjust
7896         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7897         simplify error inset insertion.
7898         (checkPastePossible): adjust
7899
7900 2003-05-06  John Levon  <levon@movementarian.org>
7901
7902         * text2.C: don't cast wrap inset to float
7903
7904 2003-05-05  André Pönitz  <poenitz@gmx.net>
7905
7906         * iterator.C:
7907         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7908
7909         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7910           few naked Paragraph *.
7911
7912 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7913
7914         * bufferparams.C: Output warning if a document with missing
7915         TeX document class is loaded
7916         * exporter.C: Disable TeX exports if the document class is missing
7917         * lyxtextclass.C:
7918         * lyxtextclass.h:
7919         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7920         isTeXClassAvailable()
7921
7922 2003-05-03  John Levon  <levon@movementarian.org>
7923
7924         * BufferView.h:
7925         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7926         explicit cursor show/hide
7927
7928         * BufferView_pimpl.h:
7929         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7930         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7931
7932         * lyxfunc.C: hide cursor before dispatching.
7933
7934         * lyx_cb.C:
7935         * lyxfind.C:
7936         * text.C:
7937         * text3.C: remove explicit cursor hides
7938
7939 2003-05-02  André Pönitz  <poenitz@gmx.net>
7940
7941         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7942
7943         * undo_funcs.C:
7944         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7945           linked lists
7946
7947         * text2.C: tiny whitespace
7948
7949 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7950
7951         * undo_funcs.C: almost only ws changes.
7952
7953         * ParagraphList.C (splice): just return if pl is empty.
7954
7955 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * ParagraphList.C (splice): new function.
7958
7959         * CutAndPaste.C (pasteSelection): use it
7960
7961 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * CutAndPaste.C (pasteSelection): remove the last next and
7964         previous from this file.
7965
7966 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7967
7968         * CutAndPaste.C (pasteSelection): more clean up, user proper
7969         ParagraphList functions for pasteing.
7970
7971         * ParagraphList.C (insert): new function, three arg insert
7972
7973 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * ParagraphList.C (insert): new function, three arg insert
7976
7977         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7978         not on paragraphs.
7979
7980 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7983
7984 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7987
7988 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7991         (copySelection): clean up a bit.
7992         (pasteSelection): use make_pair
7993
7994         * ParagraphList.C (ParagraphList): implement copy constructor
7995         (operator=): implement, base on copy constructor.
7996         (assign): new func
7997
7998         * paragraph.C (erase): return a bool
7999
8000         * paragraph_pimpl.C (erasePos): remove function, move contents...
8001         (erase): ... here. Return a bool.
8002         (erase): call erase instead of erasePos.
8003
8004 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8005
8006         * ParagraphList.h: define PitPosPair
8007         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8008         ParagraphList, fix a bug on pasting multiple pars
8009         * text2.C: change interface to C&P
8010
8011 2003-04-30  André Pönitz  <poenitz@gmx.net>
8012
8013         * undo_func.C: revert part of yesterday's patch 2
8014
8015 2003-04-30  John Levon  <levon@movementarian.org>
8016
8017         * LColor.C: s/tabular/table/
8018
8019 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8020
8021         * text3.C (dispatch): do not convert iterator -> pointer
8022         * undo_funcs.C (setCursorParUndo): ditto
8023         * text_funcs.C (transposeChars): ditto
8024
8025         * text2.C (setLayout): ws changes only
8026
8027         * text.C (breakParagraph): do not convert iterator -> pointer
8028         (insertChar): ditto
8029         (acceptChange): ditto
8030         (rejectChange): ditto
8031         (changeCase): ditto
8032         (Delete): ditto
8033         (backspace): ditto
8034
8035         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8036         pointer
8037
8038 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8039
8040         * text3.C (gotoInset): YABG (yet another bad getChar)
8041
8042 2003-04-29  André Pönitz  <poenitz@gmx.net>
8043
8044         * paragraph.h: make operator= private unimplemented as long as
8045           it is unusable
8046
8047         * ParagraphList.C: whitespace
8048
8049         * paragraph.[Ch]:
8050         * paragraph_pimpl.[Ch]:
8051         * paragraph_funcs.C:
8052         * CutAndPaste.C:
8053         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8054
8055         * text2.C:
8056           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8057
8058 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8059
8060         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8061         * paragraph.[Ch] (erase):
8062         * paragraph_pimpl.[Ch] (erase): change return type and value
8063         * text2.C (cutSelection): some rework
8064
8065 2003-04-28  John Levon  <levon@movementarian.org>
8066
8067         * bufferlist.C: changes for unsaved changes dialog
8068
8069 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8070
8071         * bufferlist.C (newFile): set language (messages_) for new
8072         documents also.
8073
8074         * buffer.C (readFile): ws changes only.
8075
8076 2003-04-28  André Pönitz  <poenitz@gmx.net>
8077
8078         * undo_funcs.C:
8079         * lyxfunc.C:
8080         * buffer.[Ch]:
8081         * BufferView_pimpl.C:
8082         * BufferView.C: getParFromID related ParagraphList::iterator changes
8083
8084 2003-04-28  André Pönitz  <poenitz@gmx.net>
8085
8086         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8087           Changes
8088
8089 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8090
8091         * messages.C: remove one more localedir class variable.
8092
8093 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * messages.C (getLocaleDir): singleton generation function
8096         (Pimpl): use it.
8097         (Messages): add a default constructor.
8098
8099         * main.C (main): do not setup localedir here, do not call
8100         gettext_init.
8101
8102         * gettext.C (_): use it.
8103         (gettext_init): delete funciton
8104
8105 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8106
8107         * gettext.C (getLyXMessages): new singleton generating function.
8108
8109         * buffer.C (updateDocLang): adjust
8110
8111         * Makefile.am (messages.o): add target
8112         (main.o): remove target
8113
8114 2003-04-27  John Levon  <levon@movementarian.org>
8115
8116         * bufferlist.C:
8117         * lyx_cb.C:
8118         * lyxfunc.C:
8119         * lyxvc.C: specify cancel button in Alert::prompt
8120
8121 2003-04-26  John Levon  <levon@movementarian.org>
8122
8123         * text3.C:
8124         * lyxfunc.C:
8125         * lfuns.h:
8126         * LyXAction.C: add LFUN_INSET_SETTINGS
8127
8128         * lyxfunc.C: don't enable tabular-feature when there's
8129         just any locking inset
8130
8131 2003-04-26  John Levon  <levon@movementarian.org>
8132
8133         * bufferlist.C: re-add Cancel to buffer close question
8134
8135         * lyxfunc.C: fix import UI a bit
8136
8137 2003-04-25  John Levon  <levon@movementarian.org>
8138
8139         * gettext.C: remove the broken asserts for now
8140
8141 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * messages.C: make case where setlocale cannot comply work better.
8144
8145         * buffer.C (updateDocLang): new function
8146         (changeLanguage): use it
8147         (readFile): use it
8148
8149         * text2.C (setCounter): use B_ a bit.
8150
8151         * lyxlayout.C (Read): be sure to trim the label strings.
8152
8153         * messages.C (Messages): fix typo in comment
8154
8155         * buffer.C (readFile): set message_ after file is loaded.
8156         (makeDocBookFile): remove double return
8157         (changeLanguage): reset message_ upon language change.
8158         (B_): new func, use this to get translated buffer strings.
8159
8160         * main.C: add myself and Jean Marc as authors.
8161
8162 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8163
8164         * messages.[hC]: pimplify Messages, and three different pimpls to be
8165         used in different circumstances.
8166
8167         * gettext.[Ch]: change for use with new message code.
8168
8169 2003-04-24 André Pönitz <poenitz@gmx.net>
8170
8171         * factory.C: support for eqref
8172
8173 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8174
8175         * messages.[Ch]: add missing char
8176
8177         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8178
8179         * messages.[Ch]: New files
8180
8181 2003-04-18  John Levon  <levon@movementarian.org>
8182
8183         * BufferView.h:
8184         * BufferView.C:
8185         * BufferView_pimpl.C:
8186         * lfuns.h:
8187         * LyXAction.C:
8188         * lyxtext.h:
8189         * text2.C: remove layout-copy/paste (bug 778)
8190
8191 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8192
8193         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8194
8195 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8196
8197         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8198         if they succeed. Act accordingly.
8199
8200 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * text2.C (setCharFont): adjust
8203         (setCounter): adjust
8204         (insertStringAsLines): adjust
8205
8206         * text.C (leftMargin): adjust
8207         (setHeightOfRow): adjust
8208
8209         * rowpainter.C (paintFirst): adjust
8210         (paintLast): adjust
8211
8212         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8213         (outerHook): ditto
8214         (isFirstInSequence): ditto
8215         (getEndLabel): ditto
8216         (outerFont): adjust
8217
8218         * paragraph.C (getParLanguage): comment out some hard stuff.
8219
8220         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8221         (sgmlError): ditto
8222         (simpleDocBookOnePar): ditto
8223         (makeDocBookFile): use ParagraphList::iterator
8224
8225         * CutAndPaste.C (pasteSelection): adjust
8226
8227 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * text2.C (getFont): adjust
8230         (getLayoutFont): adjust
8231         (getLabelFont): adjust
8232
8233         * paragraph_funcs.C (TeXOnePar): adjust
8234
8235         * buffer.C (simpleLinuxDocOnePar): adjust
8236         (simpleDocBookOnePar): adjust
8237
8238         * CutAndPaste.C (pasteSelection): adjust
8239
8240         * BufferView.C (getEncoding): adjust
8241
8242         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8243
8244 2003-04-16  John Levon  <levon@movementarian.org>
8245
8246         * lyxfind.C: use parlist stuff for search/changes
8247
8248 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8251
8252         * text2.C (deleteEmptyParagraphMechanism): adjust
8253
8254         * text2.[Ch] (ownerParagraph): delete func (both of them
8255
8256 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8259
8260 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8261
8262         * ParagraphList.C: prepare for NO_NEXT
8263
8264 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * text2.C (getFont): adjust
8267         (getLayoutFont): adjust
8268         (getLabelFont): adjust
8269
8270         * paragraph.C (getFont): adjust
8271         (getLabelFont): adjust
8272         (getLayoutFont): adjust
8273
8274         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8275
8276 2003-04-15  John Levon  <levon@movementarian.org>
8277
8278         From Angus Leeming
8279
8280         * lyx_main.C: handle Include in .ui files
8281
8282 2003-04-15  John Levon  <levon@movementarian.org>
8283
8284         * MenuBackend.C: make the doc files length shorter
8285
8286         * ToolbarBackend.h:
8287         * ToolbarBackend.C: handle toolbar placement flags,
8288         Minibuffer
8289
8290 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8291
8292         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8293         adjust
8294
8295         * paragraph_funcs.C (TeXOnePar): adjust
8296
8297         * paragraph.C (getLabelFont): add outerfont arg, adjust
8298         (getLayoutFont): ditto
8299         (simpleTeXOnePar): adjust
8300
8301         * paragraph_pimpl.C (realizeFont): delete func
8302
8303 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8304
8305         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8306         row argument, constify cur argument.
8307
8308 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * text2.C (getFont): adjust
8311         (getLayoutFont): adjust
8312         (getLabelFont): adjust
8313
8314         * paragraph_funcs.C (TeXOnePar): adjust
8315         (outerFont): new func...
8316         (realizeFont): ...moved out from here, changed this to facilitate
8317         transition
8318
8319         * paragraph.C (getFont): take outerfont as arg, adjust
8320         (simpleTeXOnePar): add outerfont arg, adjust
8321
8322         * buffer.C (simpleLinuxDocOnePar): adjust
8323         (simpleDocBookOnePar): adjust
8324
8325         * CutAndPaste.C (pasteSelection): adjust
8326
8327         * BufferView.C (getEncoding): adjust
8328
8329 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * text2.C (setCharFont): adjust
8332         (setCounter): adjust
8333
8334         * text.C (leftMargin): adjust
8335         (setHeightOfRow): adjust
8336
8337         * rowpainter.C (paintFirst): adjust
8338         (paintLast): adjust
8339
8340         * paragraph_pimpl.C (realizeFont): adjust
8341
8342         * paragraph.C (isFirstInSequence): move from here...
8343         * paragraph_funcs.C (isFirstInSequence): ...to here
8344
8345         * paragraph.C (outerHook): move from here...
8346         * paragraph_funcs.C (outerHook): ...to here
8347
8348         * paragraph.C (depthHook): move from here...
8349         * paragraph_funcs.C (depthHook): ...to here
8350
8351         * paragraph.C (getEndLabel): move from here...
8352         * paragraph_funcs.C (getEndLabel): ...to here
8353
8354         * text2.C (realizeFont): move from here...
8355         * paragraph_funcs.C (realizeFont): ...to here
8356
8357 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8360
8361 2003-04-14  Angus Leeming  <leeming@lyx.org>
8362
8363         * LColor.[Ch]: scrap LColor mathcursor.
8364
8365 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * lyxlex.[Ch] (text): delete function
8368         * trans.C (Load): adjust
8369         * paragraph_funcs.C (readParToken): adjust
8370
8371 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8374         vector<char> instead of a char[].
8375
8376         * lyxlex_pimpl.C (getString): adjust
8377         (next): adjust
8378         (lex): use getString
8379         (eatLine): adjust
8380         (nextToken): adjust
8381
8382         * lyxlex.C (text): use pimpl_->getString()
8383         (getBool): ditto
8384         (findToken): ditto
8385
8386 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8389         (makeFontEntriesLayoutSpecific): temp var for par.size()
8390         (setLayout): temp var for ownerParagraphs().end()
8391         (fullRebreak): temp var for rows().end()
8392         (selectionAsString): temp var for boost::next(startpit), realize
8393         that the while really is a regular for loop.
8394         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8395         setCursor in one place.
8396         (setParagraph): temp vr for ownerParagraphs().end()
8397         (updateCounters): make the while loop a for loop
8398         (cutSelection): temp var for ownerParagraphs().end()
8399         (updateInset): make the do {} while() a regular for loop
8400         (getCursorX): use temp vars
8401         (setCurrentFont): use temp vars
8402         (getColumnNearX): use temp vars
8403
8404 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * text.C (transformChar): use temp var for getChar
8407         (computeBidiTables): use temp var for row->par()
8408         (fill): move temp vars for row->par() and pit->layout() earlier in
8409         the function.
8410         (labelFill): use temp var for row->par()
8411         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8412         asc and desc, realize that pit never changes and that firstpit is
8413         just a duplicate and not needed. Exchange rit->par() with pit in a
8414         lot of places.
8415         (breakAgain): use a temp var for boost::next(rit)
8416         (breakAgainOneRow): ditto
8417         (breakParagraph): use a temp var for rows().begin()
8418         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8419         (cursorRightOneWord): use temp var for cursor.par() and
8420         cursor.pos(), remove usage of tmpcursor.
8421         (cursorLeftOneWord): use temp var for cursor.par() and
8422         cursor.pos() only set cur at end of function.
8423
8424 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * text.C, text2.C: exchange all usage of Paragraph::next with
8427         boost::next(ParagraphList::iterator)
8428
8429         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8430
8431         * text2.C (cursorTop): simplify implementation
8432         (cursorBottom): ditto
8433         (setParagraph): use ParagraphList::iterator
8434         (setCurrentFont): adjust
8435         (getColumnNearX): adjust
8436         (cursorRight): adjust
8437         (cursorLeft): remove usage of Paragraph::previous
8438         (cursorUpParagraph): ditto
8439         (deleteEmptyParagraphMechanism): slight cleanup
8440
8441         * text.C (isBoundary): take a Paragraph const & instead of a
8442         pointer as arg.
8443         (addressBreakPoint): ditto
8444         (leftMargin): remove usage of Paragraph::previous.
8445         (setHeightOfRow): ditto
8446         (cursorLeftOneWord): ditto
8447         (selectNextWordToSpellcheck): ditto
8448         (Delete): ditto
8449         (backspace): ditto
8450         (breakParagraph): remove one usage of Paragraph::next
8451         (redoParagraph): ditto
8452         (acceptChange): ditto
8453         (insertChar): adjust
8454         (rowBreakPoint): adjust
8455
8456         * bufferview_funcs.C (toggleAndShow): adjust
8457
8458 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8459
8460         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8461         methods to access it.
8462         * lyxtext.h:
8463         * text.C: Added updateRowPositions to compute all row positions.
8464         Make top_y and getRowNearY() to use the cached y position
8465
8466 2003-04-11  John Levon  <levon@movementarian.org>
8467
8468         * text.C (rowBreakPoint): reintroduce the labelEnd
8469         checks, code copied from the row fill stuff. Deep voodoo.
8470
8471         * text.C (fill): add a comment and debugging for the
8472         next poor soul.
8473
8474 2003-04-11  John Levon  <levon@movementarian.org>
8475
8476         * text.C: make sure fullrow insets get wrapped to the next line,
8477         even when they're in a manual label
8478
8479 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8480
8481         * text2.C (insertParagraph): make it take ParagraphList::iterator
8482         as arg.
8483         (setLayout): make it return ParagraphList::iterator
8484         (redoParagraphs): ditto
8485         (setCounter): ditto
8486         (checkParagraph): ditto
8487
8488         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8489
8490         * text2.C: adjust several funcs.
8491         (realizeFont): take a ParagraphList::iterator as arg.
8492         (getLayoutFont): ditto
8493         (getLabelFont): ditto
8494         (setCharFont): ditto
8495
8496         * text.C: adjust several funcs.
8497
8498 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8499
8500         * text.C (selectNextWordToSpellcheck): don't accidentally
8501         skip insets
8502
8503 2003-04-10  John Levon  <levon@movementarian.org>
8504
8505         * ToolbarBackend.C (getIcon): special handling for
8506         LFUN_MATH_DELIM
8507
8508 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8509
8510         * text2.C (cursorRight): a getChar assert fixed
8511
8512 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8513
8514         * text2.C (getFont): change to take a ParagraphList::iterator
8515         instead of Paragraph*
8516         Adjust several functions.
8517
8518         * text.C (transformChar): change to take a ParagraphList::iterator
8519         instead of Paragraph*
8520         (singleWidth): ditto
8521         Adjust several functions.
8522
8523         * rowpainter.C: adjust several functions
8524         * rowpainter.h:store a ParagraphList::iterator and not a
8525         Paragraph&.
8526
8527
8528 2003-04-09  John Levon  <levon@movementarian.org>
8529
8530         * lyxfunc.C:
8531         * lfuns.h:
8532         * LyXAction.h:
8533         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8534         and the "help" bits as well
8535
8536 2003-04-09  John Levon  <levon@movementarian.org>
8537
8538         * ToolbarBackend.h:
8539         * ToolbarBackend.C: allow multiple toolbars
8540
8541 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8542
8543         * undo_funcs.C (setCursorParUndo): adjust
8544
8545         * text_funcs.C (transposeChars): adjust
8546
8547         * text3.C (gotoNextInset): adjust
8548         (dispatch): adjust
8549
8550         * text2.C (setLayout): adjust
8551         (changeDepth): adjust
8552         (setFont): adjust
8553         (redoParagraphs): adjust
8554         (selectionAsString): adjust
8555         (setParagraph): adjust
8556         (insertInset): adjust
8557         (cutSelection): adjust
8558         (copySelection): adjust
8559         (pasteSelection): adjust
8560         (insertStringAsLines): adjust
8561         (updateInset): adjust
8562         (setCursor): change to take a ParagraphList::iterator parameter
8563         (setCursorIntern): change to take a ParagraphList::iterator parameter
8564         (setCurrentFont): adjust
8565         (cursorLeft): adjust
8566         (cursorRight): adjust
8567         (deleteEmptyParagraphMechanism): adjust
8568
8569         * text.C (breakParagraph): adjust
8570         (insertChar): adjust
8571         (acceptChange): adjust
8572         (rejectChange): adjust
8573         (selectNextWordToSpellcheck): adjust
8574         (changeCase): adjust
8575         (Delete): adjust
8576         (backspace): adjust
8577
8578         * lyxfind.C (SearchForward): adjust
8579         (SearchBackward): adjust
8580         (nextChange): adjust
8581
8582         * lyxcursor.C (par): adjust
8583
8584         * lyxcursor.h: store a ParagraphList::iterator instead of a
8585         Paragraph*
8586
8587         * lyx_cb.C (getPossibleLabel): adjust
8588
8589         * bufferview_funcs.C (toggleAndShow): adjust
8590
8591         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8592         (dispatch): adjust
8593
8594         * BufferView.C (removeAutoInsets): adjust
8595         (lockedInsetStoreUndo): adjust
8596
8597 2003-04-09  John Levon  <levon@movementarian.org>
8598
8599         * ToolbarBackend.C: try icon without argument
8600         if with argument fails
8601
8602 2003-04-08  John Levon  <levon@movementarian.org>
8603
8604         * ToolbarBackend.h:
8605         * ToolbarBackend.C: add getIcon(), handle tooltip,
8606         and change from "Icon" to "Item".
8607
8608 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8609
8610         * BufferView.C (lockInset): another bad getchar crunched
8611
8612 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8613
8614         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8615         again)
8616
8617 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8618
8619         * lyxfind.C (searchForward, searchBackwards): bug 782
8620
8621 2003-04-07  John Levon  <levon@movementarian.org>
8622
8623         * paragraph.C: remove dead comment
8624
8625         * text.C: remove troublesome depth-fiddling code
8626         in leftMargin() and rightMargin() (bug 1017)
8627
8628         * text.C: fix breaking of rows in nested lists
8629         (bug 1004)
8630
8631         * text2.C (updateCounters): fix up depth values
8632         (bug 1013)
8633
8634 2003-04-07  John Levon  <levon@movementarian.org>
8635
8636         * BufferView_pimpl.C: clear message when doc finishes resizing,
8637         and after a mouse event
8638
8639         * lyxfunc.C: clear message after exiting inset
8640
8641 2003-04-07  John Levon  <levon@movementarian.org>
8642
8643         * bufferview_funcs.C: show math status not outside
8644         status in the statusbar
8645
8646 2003-04-07  John Levon  <levon@movementarian.org>
8647
8648         * lyxfunc.C: note status changed after a depth change
8649
8650 2003-04-04  Angus Leeming  <leeming@lyx.org>
8651
8652         * LaTeX.h: move AuxInfo operator==, != out of line.
8653         Remove LaTeX virtual destructor; nothing derives from it.
8654         Move operator()() out of public area and rename it startscript().
8655         Change protected for private.
8656
8657 2003-04-04  Angus Leeming  <leeming@lyx.org>
8658
8659         * lyxfunc.C:
8660         * text2.C: remove unneeded #includes.
8661
8662 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8663
8664         * text2.C (dEPM): fix the heigth of the next row
8665
8666 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8667
8668         * text.C: squashed an invalid getChar requester + some ws changes
8669
8670 2003-04-03  John Levon  <levon@movementarian.org>
8671
8672         * bufferview_funcs.h:
8673         * bufferview_funcs.C:
8674         * lyxfunc.C:
8675         * lyxtext.h:
8676         * text2.C: make getStatus work for the env depth lfuns
8677
8678 2003-04-03  John Levon  <levon@movementarian.org>
8679
8680         * bufferview_funcs.h:
8681         * bufferview_funcs.C:
8682         * lyxfunc.C:
8683         * lyxtext.h:
8684         * text2.C: parlistize decDepth(), by merging it with incDepth()
8685
8686 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8687
8688         * lyxrow.h: store a ParagraphList::iterator instead of a
8689         Paragraph* and adjust other class functions to suit.
8690
8691         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8692         above.
8693
8694 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8695
8696         * text2.C (setCursor): do not anchor to cursor row for the time being
8697
8698 2003-04-02  John Levon  <levon@movementarian.org>
8699
8700         * LyXAction.C:
8701         * lfuns.h:
8702         * lyx_main.C:
8703         * lyxtext.h:
8704         * text.C:
8705         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8706
8707 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8708
8709         * paragraph.h: make ParagraphList and ParagraphList::iterator
8710         friends of Paragraph.
8711
8712         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8713
8714         * ParagraphList.C: Use the private next_ and previous_ from
8715         Paragraph.
8716
8717 2003-04-01  John Levon  <levon@movementarian.org>
8718
8719         * ToolbarBackend.h:
8720         * ToolbarBackend.C:
8721         * Makefile.am: rename, remove defaults gunk
8722
8723         * MenuBackend.h:
8724         * MenuBackend.C: remove defaults gunk
8725
8726         * Languages.h:
8727         * Languages.C: remove defaults gunk
8728
8729         * lyx_main.h:
8730         * lyx_main.C: error out if files couldn't be found.
8731
8732 2003-04-02  John Levon  <levon@movementarian.org>
8733
8734         * text2.C: make incDepth() use parlist
8735
8736 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * undo_funcs.C (firstUndoParagraph): adjust
8739
8740         * text3.C (gotoInset): adjust
8741         (dispatch): adjust, and rewrite loop.
8742
8743         * text2.C (init): adjust, and rewrite loop.
8744         (redoParagraphs): adjust
8745         (updateInset): adjust, and rewrite loop.
8746         (deleteEmptyParagraphMechanism): adjust
8747
8748         * tabular.C (LyXTabular): adjust
8749         (SetMultiColumn): adjust
8750         (TeXRow): adjust
8751
8752         * lyxtext.[Ch] (ownerParagraph): delete function
8753         (ownerParagraphs): new function returns a ParagraphList.
8754
8755         * BufferView.C (removeAutoInsets): adjust
8756         (insertErrors): adjust
8757         (setCursorFromRow): adjust
8758
8759 2003-04-01  Angus Leeming  <leeming@lyx.org>
8760
8761         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8762         in the frontends.
8763
8764 2003-04-02  John Levon  <levon@movementarian.org>
8765
8766         * lyxtext.h:
8767         * text.C:
8768         * Makefile.am:
8769         * text_funcs.h:
8770         * text_funcs.C: make transposeChars a free function
8771
8772         * lyxrow_funcs.C: remove wrong comment
8773
8774 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * lyxtext.h: adjust
8777         * rowpainter.C: adjust
8778         * text.C: adjust
8779         * text2.C: adjust
8780         * text3.C: adjust
8781
8782         * lyxrow_funcs. [Ch]: new files
8783
8784         * lyxrow.[Ch]: remove next and previous pointers
8785         (next,previous): remove accessor functions
8786         (isParEnd): move to lyxrow_funcs
8787         (lastPos): move to lyxrow_funcs
8788         (nextRowIsAllInset): move to lyxrow_funcs
8789         (lastPrintablePos): move to lyxrow_funcs
8790         (numberOfSeparators): move to lyxrow_funcs
8791         (numberOfHfills): move to lyxrow_funcs
8792         (numberOfLabelHfills): move to lyxrow_funcs
8793         (hfillExpansion): move to lyxrow_funcs
8794
8795         * lyxfunc.C: adjust
8796
8797         * bufferview_funcs.C (toggleAndShow): adjust
8798
8799         * RowList.h: Remove class RowList from file leave just a
8800         std::list<Row>.
8801
8802         * RowList.C: delete file
8803
8804         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8805         and lyxrow_funcs.h
8806
8807 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8808
8809         * text3.C (cursorPrevious): adjust
8810         (cursorNext): adjust
8811         (dispatch): adjust
8812
8813         * text2.C (redoHeightOfParagraph): adjust
8814         (redoDrawingOfParagraph): adjust
8815         (setCursor): adjust
8816
8817         * text.C (breakParagraph): adjust
8818         (insertChar): adjust
8819         (backspace): adjust
8820
8821         * rowpainter.C (RowPainter): adjust
8822         (leftMargin): simplify and adjust
8823         (most rowpainter functions): adjust.
8824
8825         * rowpainter.h: store the row as RowList::iterator not as Row*
8826
8827         * lyxcursor.C (row): taka RowList::iterator as arg
8828         (irow): ditto
8829
8830         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8831         of Row*.
8832
8833 2003-04-01  Angus Leeming  <leeming@lyx.org>
8834
8835         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8836         stuff like bool Bool.
8837
8838 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8839
8840         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8841         rewrite a loop
8842
8843 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8844
8845         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8846         RowList::iterator.
8847
8848         * lyxtext.h (rows): drop one version and leve a const variant that
8849         returns a RowList::iterator.
8850
8851 2003-03-31  Angus Leeming  <leeming@lyx.org>
8852
8853         * text.C (fill): ensure that the signature is the same as that in the
8854         header file.
8855
8856 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8857
8858         * text2.C (redoParagraphs): adjust
8859         (updateCounters): adjust
8860         (checkParagraph): adjust
8861         (getColumnNearX): adjust and reformat a bit.
8862
8863         * text.C (top_y): adjust
8864         (workWidth): adjust
8865         (leftMargin): adjust
8866         (prepareToPrint): adjust
8867         (getRow): adjust
8868         (getRowNearY): adjust
8869
8870         * lyxtext.h: make rowlist_ mutable.
8871
8872         * RowList.h: add const_iterator
8873         * RowList.C: adjust for RowList::const_iterator.
8874
8875         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8876         adjust.
8877
8878 2003-03-31  John Levon  <levon@movementarian.org>
8879
8880         * lyxrc.h:
8881         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8882
8883         * lyx_main.C: set default fonts from using lyx_gui funcs
8884
8885         * exporter.C: pdf_mode moved from lyxrc
8886
8887         * lyx_cb.C:
8888         * lyxfunc.C: changes from above
8889
8890 2003-03-31  John Levon  <levon@movementarian.org>
8891
8892         * lyx_main.C: fix to the last fix
8893
8894 2003-03-31  John Levon  <levon@movementarian.org>
8895
8896         * bufferlist.C: "Load original" -> "Load Original"
8897
8898         * converter.C:
8899         * exporter.C:
8900         * importer.C:
8901         * lyx_main.C:
8902         * format.C: more Alert cleanups
8903
8904 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8905
8906         * text2.C (removeParagraph): make it take a RowList::iterator as
8907         arg, adjust.
8908         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8909         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8910
8911         * text.C (anchor_row): make it take a RowList::iterator as arg,
8912         adjust.
8913         (computeBidiTables): make it take a const reference to Row instead
8914         of Row pointer, adjust.
8915         (leftMargin): make it take a RowList::iterator as arg, adjust.
8916         (rowBreakPoint): adjust
8917         (breakAgainOneRow): make it take a RowList::iterator as arg,
8918         adjust.
8919         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8920
8921         * bufferview_funcs.C (toggleAndShow): adjust
8922
8923 2003-03-30  John Levon  <levon@movementarian.org>
8924
8925         * Makefile.am:
8926         * BoostFormat.h:
8927         * boost-inst.C: moved to support
8928
8929         * several files: changes as a result
8930
8931 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8932
8933         * text2.C (LyXText): adjust.
8934         (init): adjust
8935         (removeRow): make it take a RowList::iterator as arg, adjust.
8936         (fullRebreak): adjust
8937         (deleteEmptyParagraphMechanism): adjust
8938         (clearPaint): adjust
8939         (postPaint): adjust
8940
8941         * text.C (top_y): adjust
8942         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8943         (breakAgain): make it take a RowList::iterator as arg, adjust.
8944         (breakParagraph): adjust
8945         (insertChar): adjust
8946         (backspace): adjust
8947
8948         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8949         need_break_row, and refresh_row.
8950
8951         * text3.C (dispatch): adjust
8952
8953         * text2.C (checkParagraph): adjust
8954         (setCursor): adjust
8955         (setCursorFromCoordinates): adjust
8956
8957         * text.C (top_y): adjust
8958         (workWidth): adjust
8959         (getRow): make it return a RowList::iterator, adjust
8960         (getRowNearY): make it return a RowList::iterator, adjust
8961
8962         * text2.C (init): adjust
8963         (insertRow): remove function
8964         (insertParagraph): adjust
8965         (redoParagraphs): adjust
8966         (fullRebreak): adjust
8967         (updateCounters): adjust
8968
8969         * text.C (top_y): rewrite to use RowList iterators.
8970         (top_y): adjust
8971         (setHeightOfRow): rewrite to sue RowList iterators.
8972         (appendParagraph): adjust
8973         (breakAgain): adjust
8974         (breakAgainOneRow): adjust
8975         (breakParagraph): adjust
8976         (getRow): adjust
8977         (getRowNearY): adjust, and remove commented code.
8978
8979         * lyxtext.h (firstRow): delete function
8980         (lastRow): delete function
8981         (rows): new function (const and non-const versions.)
8982         (insertRow): delete function
8983
8984         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8985
8986 2003-03-29  John Levon  <levon@movementarian.org>
8987
8988         * BufferView_pimpl.C: always update scrollbar top
8989         because pasting text when we're anchored could mean we
8990         miss an update altogether
8991
8992 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8993
8994         * text2.C (init): use rowlist_.end() and not 0.
8995         (insertRow): change to take a RowList::iterator as arg, adjust
8996         for this.
8997         (insertParagraph): change to take a RowList::iterator as arg,
8998         adjust for this.
8999         (redoParagraphs): remove some debug msgs.
9000
9001         * text.C (appendParagraph): change to take a RowList::iterator
9002         arg, adjust for this.
9003         (breakAgain): add an assert
9004         (breakAgainOneRow): ditto
9005
9006 2003-03-29  John Levon  <levon@movementarian.org>
9007
9008         * text2.C: do not clear selection after inc/decDepth
9009         (bug 550)
9010
9011 2003-03-29  John Levon  <levon@movementarian.org>
9012
9013         * BufferView.C:
9014         * buffer.C: fix broken strerrors according to Lars
9015
9016 2003-03-29  John Levon  <levon@movementarian.org>
9017
9018         * converters.C: more Alert cleanups
9019
9020 2003-03-29  John Levon  <levon@movementarian.org>
9021
9022         * bufferview_funcs.C: remove pointless Alert
9023
9024         * buffer.C: fix confusing error message when
9025         a template is chmoded 000
9026
9027 2003-03-29  John Levon  <levon@movementarian.org>
9028
9029         * BufferView.C:
9030         * BufferView.h:
9031         * BufferView_pimpl.C: Alert fixes
9032
9033         * Makefile.am:
9034         * tabular.C:
9035         * tabular-old.C: remove unused table compat reading
9036
9037 2003-03-29  John Levon  <levon@movementarian.org>
9038
9039         * BufferView.C:
9040         * buffer.C:
9041         * lyx_cb.h:
9042         * lyx_cb.C: more Alert cleanups
9043
9044         * lyxfunc.C: don't allow chktex if not latex document
9045
9046 2003-03-29  John Levon  <levon@movementarian.org>
9047
9048         * lyx_cb.C:
9049         * BufferView.C:
9050         * buffer.C: warnings pushed down from support/,
9051         kill err_alert
9052
9053 2003-03-29  John Levon  <levon@movementarian.org>
9054
9055         * lyxfunc.C: safety check for C-r (revert)
9056
9057 2003-03-29  John Levon  <levon@movementarian.org>
9058
9059         * bufferlist.h:
9060         * bufferlist.C: several UI fixes using Alert::prompt.
9061         Fix the pointless looping quit code. Fix stupid revert
9062         behaviour (bug 938)
9063
9064         * lyxvc.h:
9065         * lyxvc.C:
9066         * lyx_cb.C: use Alert::prompt
9067
9068         * lyx_main.C: remove a silly question
9069
9070         * lyxfunc.C: remove a couple of silly questions,
9071         use Alert::prompt
9072
9073 2003-03-28  John Levon  <levon@movementarian.org>
9074
9075         * text2.C: fix bug 974 (End on empty par)
9076
9077 2003-03-28  John Levon  <levon@movementarian.org>
9078
9079         * BufferView_pimpl.C:
9080         * LyXAction.C:
9081         * lfuns.h: remove do-nothing math greek lfuns
9082
9083 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9084
9085         * lyxgluelength.h (isValidGlueLength): add default arg on
9086         parameter 2. Remove default arg from friend in class.
9087
9088         * lyxlength.h (isValidLength): add default arg on parameter 2.
9089         Remove default arg from friend in class.
9090
9091         * text2.C (LyXText): adjust, initialize refresh_row.
9092         (init): adjust
9093         (removeRow): adjust
9094         (insertRow): adjust
9095         (insertParagraph): adjst
9096         (redoParagraphs): adjust
9097         (fullRebreak): adjust
9098         (updateCounters): adjust
9099         (deleteEmptyParagraphMechanism): first attempt at fixing a
9100         crashing bug.
9101
9102         * text.C (top_y): adjust
9103         (setHeightOfRow): adjust
9104         (getRow): adjust
9105         (getRowNearY): adjust
9106
9107         * lyxtext.h: include RowList.h
9108         (~LyXText): not needed anymore, deleted.
9109         (firstRow): modify for RowList
9110         (lastRow): new function
9111         Delete firstrow and lastrow class variables, add a Rowlist
9112         rowlist_ class variable.
9113
9114         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9115         paragraph is empty.
9116
9117         * RowList.C (insert): fix case where it == begin().
9118
9119 2003-03-26  Angus Leeming  <leeming@lyx.org>
9120
9121         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9122         the thesaurus dialog.
9123
9124 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9125
9126         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9127
9128         * RowList.[Ch]: new files
9129
9130         * ParagraphList.C (erase): handle the case where it == begin
9131         correctly.
9132
9133 2003-03-25  John Levon  <levon@movementarian.org>
9134
9135         * Makefile.am:
9136         * aspell_local.h:
9137         * aspell.C: add new aspell support
9138
9139         * lyxrc.h:
9140         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9141         have it accessible.
9142
9143 2003-03-25  Angus Leeming  <leeming@lyx.org>
9144
9145         * lfuns.h:
9146         * LyXAction.C (init): new LFUN_INSET_INSERT.
9147
9148         * BufferView_pimpl.C (dispatch): split out part of the
9149         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9150
9151         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9152         LFUN_INSET_APPLY.
9153
9154 2003-03-25  Angus Leeming  <leeming@lyx.org>
9155
9156         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9157
9158 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9159
9160         * text2.C:
9161         * text3.C: remove useless row->height(0)
9162
9163 2003-03-25  John Levon  <levon@movementarian.org>
9164
9165         * lyxtext.h:
9166         * text2.C:
9167         * text3.C: rename the refreshing stuff to better names
9168
9169 2003-03-24  John Levon  <levon@movementarian.org>
9170
9171         * BufferView_pimpl.h:
9172         * BufferView_pimpl.C: update layout choice on a mouse
9173         press/release
9174
9175 2003-03-23  John Levon  <levon@movementarian.org>
9176
9177         * Makefile.am: fix commandtags.h reference
9178
9179 2003-03-22  John Levon  <levon@movementarian.org>
9180
9181         * BufferView_pimpl.C:
9182         * lyxtext.h:
9183         * rowpainter.C:
9184         * rowpainter.h:
9185         * text.C:
9186         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9187
9188 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9189
9190         * lyxtext.h:
9191         * text.C: take the rtl methods out of line
9192
9193 2003-03-21 André Pönitz <poenitz@gmx.net>
9194
9195         * metricsinfo.[Ch]: new files containing structures to be passed around
9196         during the two-phase-drawing...
9197
9198 2003-03-21 André Pönitz <poenitz@gmx.net>
9199
9200         * lyxtextclass.C: read 'environment' tag.
9201
9202 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9203
9204         * text2.C (removeRow): fix bug 964
9205
9206 2003-03-20  John Levon  <levon@movementarian.org>
9207
9208         * rowpainter.C:
9209         * text.C:
9210         * text2.C: paint cleanups. Inset::update() dropped font
9211         parameter
9212
9213 2003-03-19  John Levon  <levon@movementarian.org>
9214
9215         * lyxfunc.C: only fitcursor/markDirty if available()
9216
9217 2003-03-19  John Levon  <levon@movementarian.org>
9218
9219         * commandtags.h: rename to ...
9220
9221         * lfuns.h: ... this, and renumber / cleanup
9222
9223 2003-03-19  John Levon  <levon@movementarian.org>
9224
9225         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9226         fit the cursor after an lfun
9227
9228         * BufferView.h:
9229         * BufferView.C:
9230         * BufferView_pimpl.h:
9231         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9232
9233         * LyXAction.C: layout-character should have ReadOnly
9234
9235         * ParagraphParameters.C:
9236         * buffer.C:
9237         * bufferview_funcs.C:
9238         * lyx_cb.C:
9239         * lyxfind.C:
9240         * lyxtext.h:
9241         * text.C:
9242         * text2.C:
9243         * text3.C:
9244         * undo_funcs.C: changes from above
9245
9246 2003-03-18  John Levon  <levon@movementarian.org>
9247
9248         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9249         remove it from update()
9250
9251         * lyxfunc.C: update layout choice after an lfun
9252
9253         * text3.C: remove extra updateLayoutChoice()s
9254
9255 2003-03-18  John Levon  <levon@movementarian.org>
9256
9257         * text.C: top_y change means full repaint, fix
9258         a drawing bug with cursor movement
9259
9260 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9261
9262         * lyxtext.h:
9263         * text.C:
9264         * text2.C: anchor row on setCursor
9265
9266 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9267
9268         * lyxtext.h: remove almost all mutable keywords
9269         * text.C:
9270         * text2.C:
9271         * text3.C: remove const keywords accordingly
9272
9273 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9274
9275         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9276         anon namespace
9277         (TeXEnvironment): ditto
9278         (TeXOnePar): ditto
9279
9280 2003-03-17  John Levon  <levon@movementarian.org>
9281
9282         * text.C (rowBreakPoint): remove attempt to fix displayed
9283         math insets inside a manual label
9284
9285 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9286
9287         * lyxtext.h: remove BufferView* as first arg from almost all class
9288         functions.
9289         * other files: adjust.
9290
9291 2003-03-17  John Levon  <levon@movementarian.org>
9292
9293         * lyxtext.h:
9294         * undo_funcs.C:
9295         * text2.C: more paint cleanups
9296
9297         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9298
9299         * rowpainter.h:
9300         * rowpainter.C: remove "smart" background painting code
9301
9302 2003-03-16  John Levon  <levon@movementarian.org>
9303
9304         * lyxtext.h:
9305         * text.C:
9306         * text2.C:
9307         * text3.C: add helper functions for setting refresh_row/y
9308
9309 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9310
9311         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9312         newline inset which *can* get inserted in the pass_thru layouts.
9313         This is primarily for literate documents.
9314
9315 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9316
9317         * buffer.C: increment LYX_FORMAT to 223
9318
9319 2003-03-14 André Pönitz <poenitz@gmx.net>
9320
9321         * textclass.h: prepare for environment handling, ws changes
9322         * lyxlayout.C: read latexheader and latexfooter tags
9323
9324 2003-03-14  John Levon  <levon@movementarian.org>
9325
9326         * text2.C: rewrite ::status() a bit
9327
9328 2003-03-13  John Levon  <levon@movementarian.org>
9329
9330         * lyxtext.h: add some docs
9331
9332 2003-03-13  John Levon  <levon@movementarian.org>
9333
9334         * lyxtext.h:
9335         * text.C:
9336         * text2.C:
9337         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9338
9339 2003-03-13  John Levon  <levon@movementarian.org>
9340
9341         * text3.C: fix appendix redrawing
9342
9343 2003-03-13  John Levon  <levon@movementarian.org>
9344
9345         * text.C (setHeightOfRow):
9346         * rowpainter.h:
9347         * rowpainter.C: make appendix mark have the text
9348           "Appendix" so the user knows what it is
9349
9350         * LColor.h:
9351         * LColor.C: s/appendixline/appendix/ from above
9352
9353 2003-03-13  John Levon  <levon@movementarian.org>
9354
9355         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9356
9357         * text.C: fix a getChar(pos) bug properly
9358
9359 2003-03-13  Angus Leeming  <leeming@lyx.org>
9360
9361         * commandtags.h:
9362         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9363         Probably only temporary. Let's see how things pan out.
9364
9365         * BufferView.C (unlockInset):
9366         * BufferView_pimpl.C (fitCursor):
9367         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9368
9369         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9370         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9371
9372         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9373         new functions that convert ParagraphParameters to and from a string.
9374
9375         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9376         BufferView::Pimpl's dispatch.
9377         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9378
9379 2003-03-13 André Pönitz <poenitz@gmx.net>
9380
9381         * lyxfunc.C:
9382         * text3.C:
9383         * factory.C: make it aware of InsetEnv
9384
9385 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9386
9387         * text2.C (setCursor): never ask for one past last
9388         (setCursor): add some debugging messages.
9389
9390         * text.C (singleWidth): never ask for one past last
9391         (singleWidth): ditto
9392         (leftMargin): ditto
9393         (rightMargin): ditto
9394         (rowBreakPoint): ditto
9395         (setHeightOfRow): ditto
9396         (prepareToPrint): ditto
9397
9398         * rowpainter.C (paintBackground): never ask for one past last
9399         (paintText): never ask for one past last
9400
9401         * paragraph_pimpl.C (getChar): make the assert stricter, never
9402         allow the one past last pos to be taken
9403
9404         * paragraph.C (getChar): ws changes only
9405
9406         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9407         (numberOfSeparators): ditto
9408         (numberOfHfills): ditto
9409
9410 2003-03-12  John Levon  <levon@movementarian.org>
9411
9412         * author.h:
9413         * author.C:
9414         * bufferparams.h:
9415         * bufferparams.C:
9416         * paragraph_funcs.C: fix per-buffer authorlists
9417
9418 2003-03-12  John Levon  <levon@movementarian.org>
9419
9420         * text.C: fix newline in right address
9421
9422 2003-03-12  Angus Leeming  <leeming@lyx.org>
9423
9424         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9425         duplicate those in LyXFunc::dispatch.
9426
9427         * commandtags.h:
9428         * LyXAction.C:
9429         * ToolbarDefaults.C:
9430         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9431         Add LFUN_FONTFREE_UPDATE.
9432
9433         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9434         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9435
9436         * bufferview_func.[Ch]: several new functions to facilliate
9437         transfer of data to and from the character dialog.
9438
9439 2003-03-12  John Levon  <levon@movementarian.org>
9440
9441         * buffer.C:
9442         * paragraph.h:
9443         * paragraph.C:
9444         * paragraph_funcs.C:
9445         * paragraph_pimpl.C:
9446         * sgml.C:
9447         * tabular.C:
9448         * text.C:
9449         * text3.C: remove META_NEWLINE in favour of an inset
9450
9451         * rowpainter.h:
9452         * rowpainter.C: remove paintNewline (done by inset)
9453
9454 2003-03-12  John Levon  <levon@movementarian.org>
9455
9456         * paragraph_pimpl.C: complain about bad getChar()s
9457         for a while at least
9458
9459 2003-03-12  John Levon  <levon@movementarian.org>
9460
9461         * buffer.h:
9462         * buffer.C: move paragraph read into a separate function,
9463         a little renaming to reflect that.
9464
9465         * bufferparams.h:
9466         * bufferparams.C: remove the author_ids map, not necessary now
9467
9468         * factory.h:
9469         * factory.C: moved Buffer::readInset to here
9470
9471         * paragraph_funcs.h:
9472         * paragraph_funcs.C: readParagraph free function moved from
9473         buffer.C
9474
9475         * tabular.C: name change
9476
9477 2003-03-12  John Levon  <levon@movementarian.org>
9478
9479         * buffer.C:
9480         * ParagraphParameters.C: move par params input to
9481         a read() method
9482
9483         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9484         behave like a normal read from the stream wrt reading
9485         a line vs. a \\token
9486
9487 2003-03-12  John Levon  <levon@movementarian.org>
9488
9489         * paragraph.C:
9490         * ParagraphParameters.h:
9491         * ParagraphParameters.C: move output code to a
9492         ::write() method
9493
9494 2003-03-12  John Levon  <levon@movementarian.org>
9495
9496         * BufferView.C (insertLyXFile):
9497         * buffer.h:
9498         * buffer.C:
9499         * tabular.C: use a parlist iterator for creating the
9500           document.
9501
9502 2003-03-12  John Levon  <levon@movementarian.org>
9503
9504         * buffer.C: make current_change static local not
9505           static file-scope
9506
9507 2003-03-12  John Levon  <levon@movementarian.org>
9508
9509         * buffer.C: fix insertStringAsLines for change tracking
9510
9511 2003-03-12  John Levon  <levon@movementarian.org>
9512
9513         * BufferView.C:
9514         * tabular.C:
9515         * buffer.h:
9516         * buffer.C:
9517         * bufferparams.h:
9518         * bufferparams.C: move author list into params. Rename some
9519           functions. Move the header reading into a separate token
9520           loop. Move the header token reading into BufferParams.
9521
9522 2003-03-12  John Levon  <levon@movementarian.org>
9523
9524         * changes.C: put debug inside lyxerr.debugging() checks
9525
9526 2003-03-11 André Pönitz <poenitz@gmx.net>
9527
9528         * factory.C: make it aware of InsetHFill
9529
9530 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9531
9532         * buffer.C (latexParagraphs): move function from here...
9533         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9534         args.
9535
9536 2003-03-10  Angus Leeming  <leeming@lyx.org>
9537
9538         * LyXAction.C (init): fix bug in poplating array with multiple entries
9539         with the same LFUN (spotted by JMarc).
9540
9541 2003-03-10  John Levon  <levon@movementarian.org>
9542
9543         * text.C:
9544         * text2.C: move getColumnNearX() near its
9545         only call site
9546
9547 2003-03-10  John Levon  <levon@movementarian.org>
9548
9549         * text.C: fix break before a minipage
9550
9551 2003-03-10  John Levon  <levon@movementarian.org>
9552
9553         * text.C: fix the last commit
9554
9555 2003-03-09  John Levon  <levon@movementarian.org>
9556
9557         * lyxtext.h:
9558         * text.C:
9559         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9560         bug 365 (don't break before insets unless needed). Don't
9561         return a value > last under any circumstances.
9562
9563 2003-03-09  Angus Leeming  <leeming@lyx.org>
9564
9565         * BufferView_pimpl.C (trackChanges, dispatch): call
9566         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9567
9568 2003-03-09  Angus Leeming  <leeming@lyx.org>
9569
9570         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9571         than Dialogs::showAboutlyx().
9572
9573 2003-03-09  Angus Leeming  <leeming@lyx.org>
9574
9575         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9576         than Dialogs::showTabularCreate().
9577
9578 2003-03-09  John Levon  <levon@movementarian.org>
9579
9580         * lyxtext.h:
9581         * text.C:
9582         * text2.C: 3rd arg to nextBreakPoint was always the same.
9583           Use references.
9584
9585 2003-03-08  John Levon  <levon@movementarian.org>
9586
9587         * lyxrow.C:
9588         * paragraph.C:
9589         * paragraph.h:
9590         * rowpainter.C:
9591         * text.C:
9592         * text2.C: Remove the "main" bit from the "main body"
9593           notion.
9594
9595 2003-03-08  John Levon  <levon@movementarian.org>
9596
9597         * text.C (leftMargin): The left margin of an empty
9598         manual label paragraph should not include the label width
9599         string length.
9600
9601         * text.C (prepareToPrint): don't attempt to measure hfills
9602         for empty manual label paragraphs - the answer should be 0
9603
9604 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9605
9606         * CutAndPaste.C: remove commented code and reindent.
9607
9608 2003-03-08  John Levon  <levon@movementarian.org>
9609
9610         * lyxfunc.h:
9611         * lyxfunc.C: move reloadBuffer()
9612
9613         * BufferView.h:
9614         * BufferView.C: to here
9615
9616         * lyxvc.C: add comment
9617
9618         * vc-backend.h:
9619         * vc-backend.C: call bv->reload() to avoid
9620           getStatus() check on MENURELOAD
9621
9622 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9623
9624         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9625         to an old format .dep file.
9626
9627 2003-03-07  Angus Leeming  <leeming@lyx.org>
9628
9629         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9630         when the LFUN_MOUSE_RELEASE should have been handled by
9631         inset->localDispatch.
9632
9633 2003-03-07  Angus Leeming  <leeming@lyx.org>
9634
9635         * BufferView_pimpl.C (dispatch):
9636         * LyXAction.C (init):
9637         * ToolbarDefaults.C (init):
9638         * commandtags.h:
9639         * lyxfunc.C (getStatus):
9640         remove LFUN_INSET_GRAPHICS.
9641
9642         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9643
9644 2003-03-07  Angus Leeming  <leeming@lyx.org>
9645
9646         * commandtags.h:
9647         * LyXAction.C (init):
9648         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9649
9650         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9651
9652         * commandtags.h:
9653         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9654
9655         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9656         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9657
9658 2003-03-07  Angus Leeming  <leeming@lyx.org>
9659
9660         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9661         remove "ert".
9662
9663 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9664
9665         * ParagraphList.C (front): new function
9666         (back): implement
9667
9668 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9669
9670         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9671         and top_row_offset_. removed var first_y.
9672         * text.C (top_y):
9673         * text2.C (LyXText, removeRow):
9674         * text3.C:
9675         * BufferView_pimpl.C:
9676         use these methods instead of using first_y
9677
9678 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9679
9680         * text2.C (pasteSelection): adjust for checkPastePossible
9681
9682         * CutAndPaste.C: remove Paragraph * buf and replace with
9683         ParagraphList paragraphs.
9684         (DeleteBuffer): delete
9685         (cutSelection): change the tc type to textclass_type
9686         (copySelection): change the tc type to textclass_type
9687         (copySelection): adjust for ParagraphList
9688         (pasteSelection): change the tc type to textclass_type
9689         (pasteSelection): adjust for Paragraphlist
9690         (nrOfParagraphs): simplify for ParagraphList
9691         (checkPastePossible): simplify for ParagraphList
9692         (checkPastePossible): remove unused arg
9693
9694         * ParagraphList.C (insert): handle the case where there are no
9695         paragraphs yet.
9696
9697         * CutAndPaste.h: make CutAndPaste a namespace.
9698
9699         * text3.C (dispatch): adjust
9700
9701         * text.C (breakParagraph): add a ParagraphList as arg
9702
9703         * paragraph_funcs.C (breakParagraph): change to take a
9704         BufferParams and a ParagraphList as args.
9705         (breakParagraphConservative): ditto
9706         (mergeParagraph): ditto
9707         (TeXDeeper): add a ParagraphList arg
9708         (TeXEnvironment): ditto
9709         (TeXOnePar): ditto
9710
9711         * buffer.C (readLyXformat2): adjust
9712         (insertStringAsLines): adjust
9713         (latexParagraphs): adjust
9714
9715         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9716         (cutSelection): adjust
9717         (pasteSelection): adjust
9718
9719         * BufferView_pimpl.C (insertInset): adjust
9720
9721 2003-03-05  Angus Leeming  <leeming@lyx.org>
9722
9723         * commandtags.h:
9724         * LyXAction.C (init):
9725         * BufferView_pimpl.C (dispatch):
9726         * lyxfunc.C (getStatus):
9727         remove LFUN_CHILD_INSERT.
9728
9729         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9730
9731 2003-03-05  Angus Leeming  <leeming@lyx.org>
9732
9733         * commandtags.h:
9734         * LyXAction.C (init):
9735         * src/factory.C (createInset):
9736         * lyxfunc.C (getStatus):
9737         * text3.C (dispatch):
9738         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9739
9740         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9741
9742 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9743
9744         * ParagraphList.C (insert): handle insert right before end()
9745         (erase): fix cases where it can be first or last paragraph.
9746
9747 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9748
9749         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9750         Paragraph::next and Paragraph::previous
9751         (TeXOnePar): ditto
9752
9753         * text.C (breakParagraph): adjust
9754
9755         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9756         BufferParams& as arg.
9757         (breakParagraph): use ParagraphList::insert
9758         (breakParagraphConservative): take a Buffer* instead of a
9759         BufferParams& as arg.
9760         (breakParagraphConservative): use ParagraphList::insert.
9761
9762         * buffer.C (insertStringAsLines): un-const it
9763         (insertStringAsLines): adjust
9764
9765         * ParagraphList.C (insert): new function
9766
9767         * CutAndPaste.C (pasteSelection): adjust
9768
9769         * text.C (backspace): adjust
9770
9771         * tabular.C (SetMultiColumn): adjust
9772
9773         * CutAndPaste.C (cutSelection): adjust
9774         (pasteSelection): adjust
9775
9776         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9777         Buffer const * as arg
9778
9779         * ParagraphList.C (erase): new function
9780         * paragraph_funcs.C (mergeParagraph): use it
9781         (mergeParagraph): make it take a Buffer* instead of a
9782         BufferParams* as arg
9783
9784         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9785         as arg
9786         (breakParagraphConservative): ditto
9787
9788         * paragraph.h: remove the breakParagraph friend
9789
9790         * paragraph.C (eraseIntern): new function
9791         (setChange): new function
9792
9793         * paragraph_funcs.C (mergeParagraph): make it take a
9794         ParagraphList::iterator instead of a Paragraph *, adjust
9795         accordingly.
9796
9797         * paragraph.h: move an #endif so that the change tracking stuff
9798         also works in the NO_NEXT case.
9799
9800 2003-03-04  Angus Leeming  <leeming@lyx.org>
9801
9802         * commandtags.h:
9803         * LyXAction.C: new LFUN_INSET_MODIFY.
9804
9805         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9806         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9807
9808 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9809
9810         * several files: ws changes only
9811
9812         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9813         (TeXEnvironment): ditto
9814         (TeXDeeper): ditto
9815
9816         * buffer.C (makeLaTeXFile): adjust
9817         (latexParagraphs): make it take ParagraphList::iterator as args
9818
9819 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9820
9821         * buffer.C (latexParagraphs): adjust
9822
9823         * paragraph.C (TeXOnePar): move function...
9824         (optArgInset): move function...
9825         (TeXEnvironment): move function...
9826         * paragraph_pimpl.C (TeXDeeper): move function...
9827         * paragraph_funcs.C: ...here
9828
9829         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9830
9831 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9832
9833         * buffer.C (readInset): remove compability code for old Figure and
9834         InsetInfo insets
9835
9836 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9837
9838         * buffer.C: ws changes
9839         (readInset):
9840
9841         * BufferView_pimpl.C: ditto
9842         * author.C: ditto
9843         * buffer.h: ditto
9844         * bufferlist.h: ditto
9845         * changes.h: ditto
9846         * lyxfunc.C: ditto
9847
9848 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9849
9850         * converter.[Ch]: split into itself +
9851         * graph.[Ch]
9852         * format.[Ch]
9853         * Makefile.am: += graph.[Ch] + format.[Ch]
9854         * MenuBackend.C
9855         * buffer.C
9856         * exporter.C
9857         * importer.C
9858         * lyx_main.C
9859         * lyxfunc.C
9860         * lyxrc.C: added #include "format.h"
9861
9862 2003-02-27  Angus Leeming  <leeming@lyx.org>
9863
9864         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9865           a label.
9866
9867         * factory.C (createInset): add "label" to the factory.
9868
9869         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9870           string and do no more.
9871
9872 2003-02-27  Angus Leeming  <leeming@lyx.org>
9873
9874         * commandtags.h:
9875         * LyXAction.C (init):
9876         * factory.C (createInset):
9877         * BufferView_pimpl.C (dispatch):
9878           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9879
9880         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9881
9882         * lyxfunc.C (dispatch):
9883         * text3.C (dispatch): pass name to params2string.
9884
9885 2003-02-26  Angus Leeming  <leeming@lyx.org>
9886
9887         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9888           blocks together.
9889           Rearrange the ~includes. Strip out the unnecessary ones.
9890
9891         * factory.C (createInset): reformat.
9892           create new insets for the various LFUN_XYZ_APPLY lfuns.
9893
9894 2003-02-26  John Levon  <levon@movementarian.org>
9895
9896         * lyxrow.h:
9897         * lyxrow.C: add isParStart,isParEnd helpers
9898
9899         * paragraph.h: make isInserted/DeletedText take refs
9900
9901         * paragraph_funcs.h:
9902         * paragraph_funcs.C: remove #if 0'd code
9903
9904         * lyxtext.h:
9905         * text3.C:
9906         * text2.C:
9907         * text.C: use lyxrow helpers above.
9908           Move draw and paint routines to RowPainter.
9909           Make several methods use refs not pointers.
9910           Make backgroundColor() const.
9911           Add markChangeInDraw(), isInInset().
9912           Merge changeRegionCase into changeCase.
9913           Make workWidth() shouldn't-happen code into an Assert.
9914
9915         * rowpainter.h:
9916         * rowpainter.C: new class for painting a row.
9917
9918         * vspace.h:
9919         * vspace.C: make inPixels take a ref
9920
9921 2003-02-26  Angus Leeming  <leeming@lyx.org>
9922
9923         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9924         LFUN_REF_APPLY.
9925
9926 2003-02-25  John Levon  <levon@movementarian.org>
9927
9928         * ispell.C: give the forked command a more accurate name
9929
9930 2003-02-22  John Levon  <levon@movementarian.org>
9931
9932         * toc.h:
9933         * toc.C: make TocItem store an id not a Paragraph *
9934           (bug #913)
9935
9936 2003-02-21  Angus Leeming  <leeming@lyx.org>
9937
9938         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9939           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9940           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9941           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9942           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9943           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9944
9945         * BufferView_pimpl.C (dispatch):
9946         * LyXAction.C (init):
9947         * factory.C (createInset):
9948         * lyxfunc.C (getStatus, dispatch):
9949         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9950
9951 2003-02-21  Angus Leeming  <leeming@lyx.org>
9952
9953         * BufferView_pimpl.C (MenuInsertLyXFile):
9954         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9955         * lyxfunc.C (menuNew, open, doImport):
9956           no longer pass a LyXView & to fileDlg.
9957
9958 2003-02-21  Angus Leeming  <leeming@lyx.org>
9959
9960         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9961         * LyXAction.C: change, BIBKEY to BIBITEM.
9962         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9963         Change InsetBibKey to InsetBibitem.
9964         Change BIBKEY_CODE to BIBITEM_CODE.
9965         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9966         * factory.C: replace insetbib.h with insetbibitem.h.
9967         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9968         * paragraph.C: replace insetbib.h with insetbibitem.h.
9969         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9970         Change bibkey() to bibitem().
9971         * text.C: remove insetbib.h.
9972         * text2.C: replace insetbib.h with insetbibitem.h.
9973         change bibkey() to bibitem().
9974         * text3.C: remove insetbib.h.
9975         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9976
9977 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9978
9979         * lyxrc.C (output): enclose user email in quotes (in case there are
9980         several words)
9981
9982 2003-02-18  John Levon  <levon@movementarian.org>
9983
9984         * buffer.h: add std::
9985
9986 2003-02-17  John Levon  <levon@movementarian.org>
9987
9988         * SpellBase.h:
9989         * ispell.h:
9990         * ispell.C:
9991         * pspell.h:
9992         * pspell.C: reworking. Especially in ispell, a large
9993           number of clean ups and bug fixes.
9994
9995         * lyxfunc.C: fix revert to behave sensibly
9996
9997 2003-02-17 André Pönitz <poenitz@gmx.net>
9998
9999         * LyXAction.C:
10000         * commandtags.h: new LFUN_INSERT_BIBKEY
10001
10002         * layout.h:
10003         * lyxlayout.C:
10004         * buffer.C:
10005         * factory.C:
10006         * text.C:
10007         * text2.C:
10008         * text3.C:
10009         * paragraph.[Ch]:
10010         * paragraph_func.C: remove special bibkey handling
10011
10012 2003-02-17  John Levon  <levon@movementarian.org>
10013
10014         * text.C (Delete): fix case where delete at the end of
10015           the very first paragraph would not merge the pars
10016
10017 2003-02-17  John Levon  <levon@movementarian.org>
10018
10019         * lyxrow.C: fix lastPrintablePos()
10020
10021 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10022
10023         * bufferparams.C (writeLaTeX): add a std:here
10024
10025         * buffer.C: and remove a using directive there
10026
10027 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10028
10029         * buffer.C (makeLaTeXFile): move the code that generates the
10030           preamble...
10031
10032         * bufferparams.C (writeLaTeX): ... in this new method
10033
10034         * LaTeXFeatures.C (getEncodingSet): make const
10035           (getLanguages): make const
10036
10037         * MenuBackend.C (binding): returns the binding associated to this
10038           action
10039           (add): sets the status of each item by calling getStatus. Adds
10040           some intelligence.
10041           (read): add support for OptSubMenu
10042           (expand): remove extra separator at the end of expanded menu
10043
10044 2003-02-15  John Levon  <levon@movementarian.org>
10045
10046         * BufferView.C:
10047         * BufferView_pimpl.C:
10048         * bufferlist.h:
10049         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10050           inset code that had no actual effect. Remove unneeded status
10051           code.
10052
10053 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10054
10055         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10056           in preamble
10057
10058 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10059
10060         * text.C (drawLengthMarker): also draw an arrow marker for
10061           symbolic lengths (medskip...)
10062
10063 2003-02-14  John Levon  <levon@movementarian.org>
10064
10065         * tabular.h:
10066         * tabular.C: better method names
10067
10068 2003-02-14  John Levon  <levon@movementarian.org>
10069
10070         * BufferView_pimpl.C:
10071         * bufferlist.C:
10072         * buffer.C:
10073         * converter.C:
10074         * lyx_cb.C:
10075         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10076           it's a more accurate name. Remove some pointless uses.
10077
10078 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10079
10080         * text2.C (LyXText): change order of initilizers to shut off
10081           warnings
10082
10083 2003-02-14  John Levon  <levon@movementarian.org>
10084
10085         * buffer.C: use ParIterator for getParFromID()
10086
10087         * paragraph.h:
10088         * paragraph.C:
10089         * paragraph_pimpl.h:
10090         * paragraph_pimpl.C: remove unused getParFromID()
10091
10092 2003-02-14  John Levon  <levon@movementarian.org>
10093
10094         * buffer.C: remove some very old #if 0'd parse code
10095
10096 2003-02-13  John Levon  <levon@movementarian.org>
10097
10098         * text.h:
10099         * text.C:
10100         * text2.C: move hfillExpansion(), numberOfSeparators(),
10101           rowLast(), rowLastPrintable(), numberofHfills(),
10102           numberOfLabelHfills() ...
10103
10104         * lyxrow.h:
10105         * lyxrow.C: ... to member functions here.
10106
10107         * paragraph.h:
10108         * paragraph.C:
10109         * lyxtext.h:
10110         * text.C: remove LyXText::beginningOfMainBody(), and call
10111           p->beginningOfMainBody() directly. Move the check for
10112           LABEL_MANUAL into the latter.
10113
10114         * text.h:
10115         * text.C:
10116         * text2.C:
10117         * vspace.C:
10118         * BufferView.h:
10119         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10120
10121         * text.h:
10122         * text.C:
10123         * text2.C:
10124         * text3.C:
10125         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10126           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10127
10128 2003-02-13  John Levon  <levon@movementarian.org>
10129
10130         * CutAndPaste.C: remove debug
10131
10132 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10133
10134         * paragraph.C (asString): remove two unused variables
10135
10136         * lyxtextclass.C (readTitleType):
10137           (Read):
10138           (LyXTextClass): handle new members titletype_ and titlename_
10139
10140         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10141
10142 2003-02-09  John Levon  <levon@movementarian.org>
10143
10144         * buffer.h:
10145         * buffer.C: replace hand-coded list with a map for the dep clean
10146
10147 2003-02-08  John Levon  <levon@movementarian.org>
10148
10149         * LaTeX.C: consolidate code into showRunMessage() helper
10150
10151 2003-02-08  John Levon  <levon@movementarian.org>
10152
10153         * lyxfind.C:
10154         * lyxtext.h:
10155         * text2.C:
10156         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10157           and pass the size in explicitly
10158
10159         * BufferView_pimpl.h:
10160         * BufferView_pimpl.C:
10161         * BufferView.h:
10162         * BufferView.C: add getCurrentChange()
10163
10164         * BufferView_pimpl.h:
10165         * BufferView_pimpl.C: handle change lfuns
10166
10167         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10168           for changes. Mark pasted paragraphs as new.
10169
10170         * support/lyxtime.h:
10171         * support/lyxtime.C:
10172         * DepTable.C: abstract time_t as lyx::time_type
10173
10174         * LColor.h:
10175         * LColor.C: add colours for new text, deleted text, changebars
10176
10177         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10178           package use "usenames" option.
10179
10180         * commandtags.h:
10181         * lyxfunc.C:
10182         * LyXAction.C: add change lfuns
10183
10184         * Makefile.am:
10185         * author.h:
10186         * author.C: author handling
10187
10188         * buffer.h:
10189         * buffer.C: add a per-buffer author list, with first entry as
10190           current author. Handle new .lyx tokens for change tracking. Output
10191           author list to .lyx file. Output dvipost stuff to .tex preamble.
10192           Bump lyx format to 222.
10193
10194         * bufferlist.h:
10195         * bufferlist.C: add setCurrentAuthor() to reset current author details
10196           in all buffers.
10197
10198         * bufferparams.h:
10199         * bufferparams.C: add param for tracking
10200
10201         * bufferview_funcs.C: output change info in minibuffer
10202
10203         * Makefile.am:
10204         * changes.h:
10205         * changes.C: add change-tracking structure
10206
10207         * debug.h:
10208         * debug.C: add CHANGES debug flag
10209
10210         * lyxfind.h:
10211         * lyxfind.C: add code for finding the next change piece
10212
10213         * lyxrc.h:
10214         * lyxrc.C: add user_name and user_email
10215
10216         * lyxrow.h:
10217         * lyxrow.C: add a metric for the top of the text line
10218
10219         * lyxtext.h:
10220         * text.C: implement accept/rejectChange()
10221
10222         * lyxtext.h:
10223         * text.C: paint changebars. Paint new/deleted text in the chosen
10224         colours. Strike through deleted text.
10225
10226         * paragraph.h:
10227         * paragraph.C:
10228         * paragraph_pimpl.h:
10229         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10230           in the current change to the insert functions. Rework erase to
10231           mark text as deleted, adding an eraseIntern() and a range-based
10232           erase(). Implement per-paragraph change lookup and
10233           accept/reject.
10234
10235         * paragraph_funcs.C: Fixup paste for change tracking.
10236
10237         * tabular.C: mark added row/columns as new.
10238
10239         * text.C: fix rowLast() to never return -1. Don't allow
10240           spellchecking of deleted text. Track transpose changes. Don't
10241           allow paragraph break or merge where appropriate.
10242
10243         * text2.C: leave cursor at end of selection after a cut.
10244
10245 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10246
10247         * text.C (getLengthMarkerHeight):
10248         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10249         visible on screen too.
10250
10251 2003-02-07  John Levon  <levon@movementarian.org>
10252
10253         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10254
10255 2003-02-05  Angus Leeming  <leeming@lyx.org>
10256
10257         * lyxserver.C (read_ready): revert my patch of 11 September last year
10258         as it sends PC cpu through the roof. Presumably this means that
10259         the lyxserver will no longer run on an Alpha...
10260
10261 2003-01-30  Angus Leeming  <leeming@lyx.org>
10262
10263         * factory.C (createInset): create an InsetCommandParam of type "index"
10264         and use it to 'do the right thing'.
10265
10266         * text2.C (getStringToIndex): ensure that cursor position is always
10267         reset to the reset_cursor position.
10268
10269 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10270
10271         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10272         disabled.
10273
10274 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10275
10276         * bufferview.C:
10277         * lyxcb.C:
10278         * lyxfunc.C: Output messages with identical spelling, punctuation,
10279         and spaces
10280
10281 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10282
10283         * MenuBackend.C (expandFormats): List only viewable export formats
10284         in "View" menu
10285
10286         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10287         message
10288
10289         * lyxfunc.C (getStatus): Make sure that formats other than
10290         "fax" can also be disabled
10291
10292 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10293
10294         * text3.C (dispatch): put the lfuns that insert insets in 3
10295         groups, and call doInsertInset with appropriate arguments.
10296         (doInsertInset): new function, that creates an inset and inserts
10297         it according to some boolean parameters.
10298
10299 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10300
10301         * buffer.C (readFile): remember to pass on 'par' when calling
10302         readFile recursively.
10303
10304 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10305
10306         * MenuBackend.C (expandFormats): add "..." to import formats.
10307
10308 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10309
10310         * paragraph.C (asString): Remove XForms RTL hacks.
10311
10312 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10313         * buffer.C: fix typo
10314
10315 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10316
10317         * Makefile.am (LIBS): delete var
10318         (lyx_LDADD): add @LIBS@ here instead.
10319
10320 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10321
10322         * Clarify the meaning of "wheel mouse jump"
10323
10324 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10325
10326         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10327         tabular in a float
10328
10329 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10330
10331         * importer.C (Loaders): do not preallocate 3 elements in the
10332         vector, since one ends up with 6 elements otherwise
10333
10334 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10335
10336         * DepTable.C (write): write the file name as last element of the
10337         .dep file (because it may contain spaces)
10338         (read): read info in the right order
10339
10340 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10341
10342         * paragraph_pimpl.C (simpleTeXBlanks):
10343         (simpleTeXSpecialChars):
10344         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10345
10346         * tabular.C (latex): add some missing case statements. Reindent.
10347
10348         * MenuBackend.C (expandToc): remove unused variable.
10349
10350 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10351
10352         * LColor.C:
10353         * LaTeX.C:
10354         * LyXAction.C:
10355         * MenuBackend.C:
10356         * buffer.C:
10357         * exporter.C:
10358         * lyxfunc.C:
10359         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10360         and the like.
10361
10362 2003-01-05  John Levon  <levon@movementarian.org>
10363
10364         * BufferView.h:
10365         * BufferView.C: add getEncoding()
10366
10367         * kbsequence.h:
10368         * kbsequence.C: do not store last keypress
10369
10370         * lyxfunc.h:
10371         * lyxfunc.C: store last keypress here instead. Pass encoding
10372           to getISOEncoded()
10373
10374 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10375
10376         * lyx_main.C (init): remove annoying error message when following
10377         symbolic links (bug #780)
10378
10379 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10380
10381         * text.C (insertChar):
10382         * lyxrc.C (getDescription): remove extra spaces
10383
10384 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10385
10386         * lyxrc.C (getDescription): remove extra spaces
10387
10388 2002-12-20  John Levon  <levon@movementarian.org>
10389
10390         * text3.C: hack fix for page up/down across tall rows
10391
10392 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10393
10394         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10395         not been invoked
10396
10397 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10398
10399         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10400         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10401         thesaurus is not compiled in
10402
10403 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10404
10405         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10406
10407 2002-12-16  Angus Leeming  <leeming@lyx.org>
10408
10409         * lyxrc.[Ch]:
10410         * lyx_main.C (init): remove override_x_deadkeys stuff.
10411
10412 2002-12-12  John Levon  <levon@movementarian.org>
10413
10414         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10415           insert. Only remove shift modifier under strict
10416           circumstances.
10417
10418 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10419
10420         * MenuBackend.C (expandToc): fix crash.
10421
10422 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10423
10424         * MenuBackend.C (expandToc): gettext on float names.
10425
10426 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10427
10428         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10429         implement bool empty() [bug 490]
10430
10431 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10432
10433         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10434
10435 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10436
10437         * several files: ws changes
10438
10439 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10440
10441         * text2.C (setCounter): clean up a bit, use boost.format.
10442         (updateCounters): initialize par upon declaration.
10443
10444         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10445         if the layout exists. We do not just store the layout any more.
10446         (SwitchLayoutsBetweenClasses): use boost.format
10447
10448 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10449
10450         * converter.C (convert): if from and to files are the same, use a
10451         temporary files as intermediary
10452
10453 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10454
10455         * commandtags.h:
10456         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10457
10458 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10459
10460         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10461
10462 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10463
10464         * tabular.C (asciiPrintCell): use string(size, char) instead of
10465         explicit loop.
10466
10467         * sgml.C (openTag): fix order of arguments to string constructor
10468         (closeTag): ditto
10469
10470         * lyxfunc.C (dispatch): use boost.format
10471
10472         * lots of files: change "c" -> 'c'
10473
10474 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10475
10476         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10477
10478 2002-11-25  Angus Leeming  <leeming@lyx.org>
10479
10480         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10481
10482         * lyx_main.C (init): compile fix.
10483
10484 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10485
10486         * lyx_cb.C (start): boost.formatify
10487         do not include <iostream>
10488
10489         * lengthcommon.C: ws only
10490
10491         * boost-inst.C,BoostFormat.h: add more explict instantations
10492
10493 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10494
10495         * lots of files: handle USE_BOOST_FORMAT
10496
10497 2002-11-21  John Levon  <levon@movementarian.org>
10498
10499         * pspell.C: fix compile
10500
10501 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10502
10503         * lyxfunc.C (dispatch): use boost::format
10504         (open): ditto
10505         (doImport): ditto
10506
10507         * lyxfont.C (stateText): use boost::format
10508
10509         * lyx_main.C (LyX): use boost::format
10510         (init): ditto
10511         (queryUserLyXDir): ditto
10512         (readRcFile): ditto
10513         (parse_dbg): ditto
10514         (typedef boost::function): use the recommened syntax.
10515
10516         * importer.C (Import): use boost::format
10517
10518         * debug.C (showLevel): use boost::format
10519
10520         * converter.C (view): use boost::format
10521         (convert): ditto
10522         (move): ditto
10523         (scanLog): ditto
10524
10525         * bufferview_funcs.C (currentState): use boost::format
10526
10527         * bufferlist.C (emergencyWrite): use boost::format
10528
10529         * buffer.C (readLyXformat2): use boost::format
10530         (parseSingleLyXformat2Token): ditto
10531
10532         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10533
10534         * LaTeX.C (run): use boost::format
10535
10536         * Chktex.C (scanLogFile): use boost::format
10537
10538         * BufferView_pimpl.C (savePosition): use boost::format
10539         (restorePosition): ditto
10540         (MenuInsertLyXFile): ditto
10541
10542         * BoostFormat.h: help file for explicit instation.
10543
10544 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10545
10546         * tabular.C (latex): Support for block alignment in fixed width
10547         columns.
10548
10549 2002-11-17  John Levon  <levon@movementarian.org>
10550
10551         * BufferView_pimpl.C:
10552         * lyx_cb.C:
10553         * lyxfunc.C: split filedialog into open/save
10554
10555 2002-11-08  Juergen Vigna  <jug@sad.it>
10556
10557         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10558         by my last patch (hopefully).
10559
10560 2002-11-08  John Levon  <levon@movementarian.org>
10561
10562         * iterators.h:
10563         * iterators.C:
10564         * buffer.h:
10565         * buffer.C:
10566         * paragraph.h:
10567         * paragraph.C:
10568         * toc.h:
10569         * toc.C: ParConstIterator, and use it (from Lars)
10570
10571 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10572
10573         * lyxtextclass.[Ch]: revise and add doxygen comments
10574
10575 2002-11-07  John Levon  <levon@movementarian.org>
10576
10577         * text.C: fix progress value for spellchecker
10578
10579         * toc.C: fix navigate menu for insetwrap inside minipage
10580
10581         * paragraph_funcs.C: added FIXME for suspect code
10582
10583 2002-11-07  John Levon  <levon@movementarian.org>
10584
10585         * BufferView_pimpl.C: fix redrawing of insets
10586           on buffer switch
10587
10588 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10589
10590         * text2.C (updateCounters): fix bug 668
10591
10592 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10593
10594         * text3.C (dispatch): Do not make the buffer dirty when moving the
10595         cursor.
10596
10597 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10598
10599         * vc-backend.C: STRCONV
10600         (scanMaster): ditto
10601
10602         * text2.C (setCounter): STRCONV
10603
10604         * paragraph.C (asString): STRCONV
10605
10606         * lyxlength.C (asString): STRCONV
10607         (asLatexString): ditto
10608
10609         * lyxgluelength.C (asString): STRCONV
10610         (asLatexString): ditto
10611
10612         * lyxfunc.C (dispatch): STRCONV
10613         (open): ditto
10614
10615         * lyxfont.C (stateText): STRCONV
10616
10617         * importer.C (Import): STRCONV
10618
10619         * counters.C (labelItem): STRCONV
10620         (numberLabel): ditto
10621         (numberLabel): remove unused ostringstream o
10622
10623         * chset.C: STRCONV
10624         (loadFile): ditto
10625
10626         * bufferview_funcs.C (currentState): STRCONV
10627
10628         * buffer.C (readFile): STRCONV
10629         (asciiParagraph): ditto
10630         (makeLaTeXFile): ditto
10631
10632         * Spacing.C (writeEnvirBegin): STRCONV
10633
10634         * LaTeXFeatures.C (getLanguages): STRCONV
10635         (getPackages): ditto
10636         (getMacros): ditto
10637         (getBabelOptions): ditto
10638         (getTClassPreamble): ditto
10639         (getLyXSGMLEntities): ditto
10640         (getIncludedFiles): ditto
10641
10642         * LaTeX.C: STRCONV
10643         (run): ditto
10644         (scanAuxFile): ditto
10645         (deplog): ditto
10646
10647         * LString.h: add the STRCONV macros
10648
10649         * BufferView_pimpl.C (savePosition): STRCONV
10650         (restorePosition): ditto
10651         (MenuInsertLyXFile): ditto
10652
10653         * vc-backend.C (scanMaster): change from submatch[...] to
10654         submatch.str(...)
10655
10656         * funcrequest.C: include config.h
10657
10658         * factory.C: include config.h
10659
10660         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10661
10662         * box.C: include config.h
10663
10664         * LaTeX.C (scanAuxFile): change from submatch[...] to
10665         submatch.str(...)
10666         (deplog): ditto
10667
10668 2002-10-25  Angus Leeming  <leeming@lyx.org>
10669
10670         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10671
10672         * ispell.[Ch] (setError): new method.
10673         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10674         Use setError() insetead of goto END.
10675
10676         * lyx_cb.C (AutoSave): move out child process into new class
10677         AutoSaveBuffer.
10678
10679 2002-10-30  John Levon  <levon@movementarian.org>
10680
10681         * text3.C: make start appendix undoable
10682
10683 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * lyxlength.C (inPixels): Fix returned value.
10686
10687         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10688         environment.
10689
10690 2002-10-24  Angus Leeming  <leeming@lyx.org>
10691
10692         * lyxgluelength.h: no need to forward declare BufferParams
10693         or BufferView, so don't.
10694
10695 2002-10-21  John Levon  <levon@movementarian.org>
10696
10697         * BufferView.C: menuUndo ->undo, redo
10698
10699         * BufferView.h: document, remove dead, make some methods private
10700
10701         * paragraph_funcs.h:
10702         * paragraph_funcs.C:
10703         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10704
10705         * buffer.h:
10706         * buffer.C:
10707         * sgml.h:
10708         * sgml.C: move sgml open/close tag into sgml.C
10709
10710         * bufferview_funcs.h: unused prototype
10711
10712         * lyxfunc.h:
10713         * lyxfunc.C: remove unused
10714
10715         * lyxtext.h:
10716         * text.C: remove unused
10717
10718 2002-10-21  John Levon  <levon@movementarian.org>
10719
10720         * BufferView.h:
10721         * BufferView.C:
10722         * BufferView_pimpl.h:
10723         * BufferView_pimpl.C: fix mouse wheel handling based on
10724           patch from Darren Freeman
10725
10726 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10727
10728         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10729
10730 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10731
10732         * lyxlength.C (inPixels): Fix hanfling of negative length.
10733         Fix LyXLength::MU case.
10734
10735 2002-10-16  John Levon  <levon@movementarian.org>
10736
10737         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10738
10739 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10740
10741         * converter.C (view): add support for $$i (file name) and $$p
10742         (file path) for the viewer command. If $$i is not specified, then
10743         it is appended to the command (for compatibility with old syntax)
10744
10745 2002-10-14  Juergen Vigna  <jug@sad.it>
10746
10747         * undo_funcs.C (textHandleUndo): alter the order in which the
10748         new undopar is added to the LyXText, as we have to set first
10749         the right prev/next and then add it as otherwise the rebuild of
10750         LyXText is not correct. Also reset the cursor to the right paragraph,
10751         with this IMO we could remove the hack in "redoParagraphs()".
10752
10753 2002-10-09  Angus Leeming  <leeming@lyx.org>
10754
10755         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10756         to turn off an optimisation if a new inset is to be inserted.
10757
10758 2002-10-11 André Pönitz <poenitz@gmx.net>
10759
10760         * lyxtext.h: make some functions public to allow access
10761         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10762
10763 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10764
10765         * text3.C (dispatch): when changing layout, avoid an infinite loop
10766         [bug #652]
10767
10768 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10769
10770         * lyxrc.C (read): treat a viewer or converter command of "none" as
10771         if it were empty.
10772
10773         * MenuBackend.C (expandFormats): for an update, also allow the
10774         formats that are not viewable
10775
10776         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10777         script if it is newer than the lyxrc.defaults in user directory
10778
10779 2002-10-07 André Pönitz <poenitz@gmx.net>
10780
10781         * text.C: Vitaly Lipatov's small i18n fix
10782
10783 2002-09-25  Angus Leeming  <leeming@lyx.org>
10784
10785         * ispell.h: doxygen fix.
10786
10787 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10788
10789         * buffer.h (readFile): Add a new argument to the method, to allow
10790         reading of old-format templates.
10791
10792 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10793
10794         * toc.C (getTocList): Get TOC from InsetWrap.
10795
10796 2002-09-16  John Levon  <levon@movementarian.org>
10797
10798         * lyxfunc.C: check tabular for cut/copy too
10799
10800 2002-09-12  John Levon  <levon@movementarian.org>
10801
10802         * LyXAction.C: tidy
10803
10804         * factory.h:
10805         * factory.C: add header
10806
10807         * paragraph_funcs.h:
10808         * paragraph_funcs.C: cleanup
10809
10810 2002-09-11  John Levon  <levon@movementarian.org>
10811
10812         * PrinterParams.h: odd/even default to true
10813
10814 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10815
10816         * PrinterParams.h: update printer parameters for new xforms dialog
10817
10818 2002-09-11  Angus Leeming  <leeming@lyx.org>
10819
10820         * lyxserver.C (read_ready): re-write to make it more transparent
10821         and to make it work in coherent fashion under Tru64 Unix.
10822
10823 2002-09-11  André Pönitz <poenitz@gmx.net>
10824
10825         * commandtags.h:
10826         * LyXAction.C:
10827         * text3.C: implement LFUN_WORDSEL
10828
10829 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10830
10831         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10832         make floatlist_ a boost::shared_ptr<FloatList>
10833
10834         * lyxtextclass.C: include FloatList.h
10835         (LyXTextClass): initialize floatlist_
10836         (TextClassTags): add TC_NOFLOAT
10837         (Read): match "nofloat" to TC_NOFLOAT and use it.
10838         (readFloat): modify call to floatlist_
10839         (floats): ditto
10840         (floats): ditto
10841
10842         * FloatList.[Ch] (FloatList): remove commented out float
10843         initialization.
10844         (erase): new function
10845
10846 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10847
10848         * MenuBackend.C (expandToc): fix crash when there is no document
10849         open
10850
10851 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10852
10853         * many files: Add insetwrap.
10854
10855 2002-09-09  John Levon  <levon@movementarian.org>
10856
10857         * text2.C: remove confusing and awkward depth wraparound
10858
10859 2002-09-09  John Levon  <levon@movementarian.org>
10860
10861         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10862
10863         * buffer.h:
10864         * buffer.C: remove getIncludeonlyList()
10865
10866         * paragraph.C:
10867         * lyxfunc.C: remove headers
10868
10869 2002-09-09  Juergen Vigna  <jug@sad.it>
10870
10871         * text.C (getColumnNearX): fix form Michael this is most
10872         probably a cut&paste bug.
10873
10874 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10875
10876         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10877
10878         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10879         references, ws changes.
10880
10881         * text2.C (init): update counters after init
10882         (insertParagraph): no need to set counter on idividual paragraphs.
10883         (setCounter): access the counters object in the textclass object
10884         on in the buffer object.
10885         (updateCounters): ditto
10886
10887         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10888         shared_ptr<Counters> to avoid loading counters.h in all
10889         compilation units.
10890         (LyXTextClass): initialize ctrs_
10891         (TextClassTags): add TC_COUNTER, and ...
10892         (Read): use it here.
10893         (CounterTags): new tags
10894         (readCounter): new function
10895         (counters): new funtion
10896         (defaultLayoutName): return a const reference
10897
10898         * counters.C (Counters): remove contructor
10899         (newCounter): remove a couple of unneeded statements.
10900         (newCounter): simplify a bit.
10901         (numberLabel): some small formatting changes.
10902
10903         * buffer.[Ch]: remove all traces of counters, move the Counters
10904         object to the LyXTextClass.
10905
10906 2002-09-06  Alain Castera  <castera@in2p3.fr>
10907
10908         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10909         package to set the horizontal alignment on fixed width columns.
10910
10911         * lyx_sty.C:
10912         * lyx_sty.h: added tabularnewline macro def.
10913
10914         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10915
10916 2002-09-06  John Levon  <levon@movementarian.org>
10917
10918         * LyXAction.C: tooltips for sub/superscript
10919
10920         * MenuBackend.C: a bit more verbose
10921
10922         * lyxfunc.C: tiny clean
10923
10924         * undo_funcs.C: document undo_frozen
10925
10926 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10927
10928         * counters.C (Counters): add missing algorithm counter.
10929
10930         * text2.C (setCounter): lookup the counter with layouts latexname
10931         instead of by section number.
10932         (setCounter): use a hackish way to lookup the correct enum
10933         counter.
10934         a float name->type change
10935         reset enum couners with counter name directly instead of depth value.
10936
10937         * counters.C (Counters): remove the push_backs, change to use the
10938         float type not the float name.
10939         (labelItem): remove unused string, float name->type change
10940
10941         * counters.h: don't include vector, loose the enums and sects vectors
10942
10943 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10944
10945         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10946         (Read): add float->TC_FLOAT to textclassTags
10947         (Read): and handle it in the switch
10948         (readFloat): new function
10949
10950         * FloatList.C (FloatList): comment out the hardcoded float
10951         definitions.
10952
10953         * lyxlayout.h: ws change.
10954
10955 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10956
10957         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10958
10959 2002-09-03  Angus Leeming  <leeming@lyx.org>
10960
10961         * BufferView_pimpl.h: qualified name is not allowed in member
10962         declaration: WorkArea & Pimpl::workarea() const;
10963
10964         * factory.C: added using std::endl directive.
10965
10966         * text3.C: added using std::find and std::vector directives.
10967
10968 2002-08-29  André Pönitz <poenitz@gmx.net>
10969
10970         * lyxtext.h:
10971         * text2.C: remove unused member number_of_rows
10972
10973         * Makefile.am:
10974         * BufferView2.C: remove file, move contents to...
10975         * BufferView.C: ... here
10976
10977         * BufferView_pimpl.C:
10978         * factory.C: move more inset creation to factory
10979
10980         * vspace.C: avoid direct usage of LyXText, ws changes
10981
10982         * BufferView.[Ch]:
10983                 don't provide direct access to WorkArea, use two simple
10984                 acessors haveSelction() and workHeight() instead
10985
10986
10987 2002-08-29  John Levon  <levon@movementarian.org>
10988
10989         * BufferView_pimpl.C (dispatch): do not continue when
10990           no buffer
10991
10992 2002-08-28  André Pönitz <poenitz@gmx.net>
10993
10994         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10995
10996         * BufferView.h:
10997         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10998
10999 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11000
11001         * buffer.C: increment LYX_FORMAT to 221
11002
11003         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11004         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11005
11006         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11007
11008         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11009
11010 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11011
11012         * factory.C (createInset): use LyXTextClass::floats
11013
11014         * MenuBackend.C (expandFloatListInsert):
11015         (expandFloatInsert):
11016         (expandToc):
11017
11018         * text2.C (setCounter):
11019
11020         * LaTeXFeatures.C (useFloat):
11021         (getFloatDefinitions):
11022
11023         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11024
11025         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11026         floatlist_, with accessor floats().
11027
11028         * FloatList.h: remove global FloatList
11029
11030 2002-08-26  André Pönitz <poenitz@gmx.net>
11031
11032         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11033
11034         * BufferView.h:
11035         * BufferView2.C:
11036         * BufferView_pimpl.C:
11037         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11038
11039 2002-08-25  John Levon  <levon@movementarian.org>
11040
11041         * LyXAction.C: fix margin note description
11042
11043 2002-08-24  John Levon  <levon@movementarian.org>
11044
11045         * buffer.C:
11046         * bufferlist.C:
11047         * bufferview_funcs.C:
11048         * lyxfont.C:
11049         * undo_funcs.C: cleanups
11050
11051         * lyxfunc.C: disable CUT/COPY when no selection
11052
11053 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11054
11055         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11056         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11057
11058         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11059         Add backward compatibility to "mono", "gray" and "no".
11060
11061 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11062
11063         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11064         (and file_format >= 200).
11065
11066 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11067
11068         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11069
11070 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11071
11072         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11073
11074 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11075
11076         * BufferView_pimpl.C:
11077         * LyXAction.C:
11078         * buffer.C:
11079         * commandtags.h:
11080         * lyxfunc.C:
11081         * paragraph.[Ch]:
11082         * text2.C:
11083         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11084         inset and code to make it  work with the paragraph code. The inset
11085         can be anywhere in the paragraph, but will only do the expected
11086         thing in LaTeX if the layout file contains the parameter line
11087                         OptionalArgs    1
11088         (or more generally, a nonzero value) for that layout.
11089
11090 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11091
11092         * paragraph.h: remove the declaration of undefined counters class
11093         function.
11094
11095 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11096
11097         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11098         Dr. Richard Hawkins.
11099
11100 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * paragraph_funcs.h: remove some unneeded includes
11103
11104         * text.C (backspace): pasteParagraph now in global scipe
11105
11106         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11107         (pasteSelection): ditto
11108
11109         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11110         * paragraph_funcs.C (pasteParagraph): ... here
11111
11112 2002-08-20  André Pönitz <poenitz@gmx.net>
11113
11114         * commandtags.h: new LFUNs for swapping/copying table row/colums
11115
11116         * LyXAction.C:
11117         * lyxfunc.C: support for new lfuns
11118
11119 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11120
11121         * tabular.C:
11122         * buffer.[Ch]: remove NO_COMPABILITY stuff
11123
11124 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11125
11126         * boost.C (throw_exception): new file, with helper function for
11127         boost compiled without exceptions.
11128
11129         * paragraph.h:
11130         * lyxlength.C:
11131         * buffer.C:
11132         * ParameterStruct.h:
11133         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11134
11135         * bufferlist.C (emergencyWriteAll): use boost bind
11136
11137         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11138
11139         * text.C: include paragraph_funcs.h
11140         (breakParagraph): breakParagraph is now in global scope
11141
11142         * paragraph_funcs.[Ch]: new files
11143
11144         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11145         global scope
11146
11147         * buffer.C: include paragraph_funcs.h
11148         (insertStringAsLines): breakParagraph is now in global scope
11149
11150         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11151         paragraph_funcs.C
11152
11153         * CutAndPaste.C: include paragraph_funcs.h
11154         (cutSelection): breakParagraphConservative is now in global scope
11155         (pasteSelection): ditto
11156
11157         * buffer.h: declare oprator== and operator!= for
11158         Buffer::inset_iterator
11159
11160         * bufferlist.C (emergencyWrite): don't use fmt(...)
11161
11162         * text3.C: add using std::endl
11163
11164         * BufferView.C (moveCursorUpdate): remove default arg
11165
11166 2002-08-20  André Pönitz <poenitz@gmx.net>
11167
11168         * buffer.[Ch]: move inline functions to .C
11169
11170         * BufferView2.C:
11171         * BufferView_pimpl.C:
11172         * text.C:
11173         * buffer.[Ch]: use improved inset_iterator
11174
11175         * buffer.C:
11176         * paragraph.[Ch]: write one paragraph at a time
11177
11178 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11179
11180         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11181         style if style is not specified.
11182
11183 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11184
11185         * text2.C (setCounter): when searching for right label for a
11186         caption, make sure to recurse to parent insets (so that a caption
11187         in a minipage in a figure float works) (bug #568)
11188
11189 2002-08-20  André Pönitz <poenitz@gmx.net>
11190
11191         * text3.C: new file for LyXText::dispatch() and helpers
11192
11193         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11194
11195         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11196
11197 2002-08-19  André Pönitz <poenitz@gmx.net>
11198
11199         * lyxtext.h:
11200         * text.C: new LyXText::dispatch()
11201
11202         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11203
11204 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11205
11206         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11207
11208         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11209         Hebrew text.
11210
11211 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11212
11213         * Makefile.am: use $(variables) instead of @substitutions@
11214
11215 2002-08-15  André Pönitz <poenitz@gmx.net>
11216
11217         * lyxfunc.C:
11218         * BufferView_pimpl.C: streamlining mathed <-> outer world
11219         interaction
11220
11221         * commandtags.h:
11222         * LyXAction.C: remove unused LFUN_MATH
11223
11224 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11225
11226         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11227
11228 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11229
11230         * paragraph.C (Paragraph): reformat a bit
11231         (cutIntoMinibuffer): use builtin InsetList function instad of
11232         doing it manually.
11233         (getInset): ditto
11234
11235         * buffer.C: include boost/bind.hpp, add using std::for_each
11236         (writeFileAscii): use ParagraphList iterators
11237         (validate): use for_each for validate traversal of paragraphs
11238         (getBibkeyList): use ParagraphList iterators
11239         (resizeInsets): use for_each to resizeInsetsLyXText for all
11240         paragraphs.
11241         (getParFromID): use ParagraphList iterators
11242
11243         * BufferView2.C (lockInset): use paragraph list and iterators
11244
11245 2002-08-14  John Levon  <levon@movementarian.org>
11246
11247         * lyxserver.C: remove spurious xforms include
11248
11249 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11252
11253 2002-08-13  André Pönitz <poenitz@gmx.net>
11254
11255         * LyXAction.[Ch]:
11256         * lyxfunc.C: further cleaning
11257
11258 2002-08-13  André Pönitz <poenitz@gmx.net>
11259
11260         * funcrequest.h: new constructor
11261
11262         * funcrequest.C: move stuff here from .h
11263
11264         * Makefile.am:
11265         * BufferView_pimpl.C:
11266         * LyXAction.C:
11267         * toc.C:
11268         * lyxfunc.C: subsequent changes
11269
11270         * lyxfunc.h: new view() member function
11271
11272         * lyxfunc.C: subsequent changes
11273
11274 2002-08-13  Angus Leeming  <leeming@lyx.org>
11275
11276         * BufferView2.C:
11277         * BufferView_pimpl.C:
11278         * buffer.C:
11279         * converter.C:
11280         * importer.C:
11281         * lyxfunc.C:
11282         * lyxvc.C:
11283         * toc.C:
11284         * vc-backend.C:
11285         changes due to the changed LyXView interface that now returns references
11286         to member variables not pointers.
11287
11288 2002-08-13  Angus Leeming  <leeming@lyx.org>
11289
11290         * WordLangTuple (word, lang_code): return references to strings,
11291         not strings.
11292
11293         * BufferView.h:
11294         * SpellBase.h:
11295         * lyxtext.h: forward-declare WordLangTuple.
11296
11297         * BufferView2.C:
11298         * ispell.C:
11299         * pspell.C:
11300         * text.C: #include "WordLangTuple.h".
11301
11302         * lyxtext.h:
11303         * text.C: (selectNextWordToSpellcheck): constify return type.
11304
11305 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11306
11307         * buffer.C:
11308         * buffer.h:
11309         * lyxtext.h:
11310         * paragraph.C:
11311         * paragraph_pimpl.h:
11312         * text.C:
11313         * text2.C:
11314         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11315         suggested by Angus.
11316         Made updateCounter always count from start of buffer, and removed
11317         second argument (par).
11318         Reverted floats number display to '#'. Perhaps I'll try again when the
11319         code base is sanitized a bit.
11320
11321 2002-08-12  Angus Leeming  <leeming@lyx.org>
11322
11323         * buffer.[Ch] (getLabelList): constify.
11324
11325 2002-08-07  André Pönitz <poenitz@gmx.net>
11326
11327         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11328
11329         * funcrequest.h: extension to keep mouse (x,y) position
11330
11331 2002-08-12  Juergen Vigna  <jug@sad.it>
11332
11333         * BufferView2.C (insertErrors): forbid undo when inserting error
11334         insets.
11335
11336         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11337
11338 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11339
11340         * ParagraphList.[Ch]: new files
11341
11342         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11343
11344         * BufferView2.C (lockInset): ParagraphList changes
11345         * toc.C: ditto
11346         * text2.C: ditto
11347         * bufferlist.C: ditto
11348         * buffer.h: ditto
11349         * buffer.C: ditto
11350
11351 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11352
11353         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11354         unused class variable counter_,
11355
11356         * paragraph.[Ch] (getFirstCounter): delete unused function
11357
11358         * counters.C: include LAssert.h
11359         (reset): add a new function with no arg, change other version to
11360         not have def. arg and to not allow empty arg.
11361
11362         * text2.C (setCounter): remove empty arg from call to Counters::reset
11363
11364 2002-08-11  John Levon  <levon@movementarian.org>
11365
11366         * Makefile.am: add WordLangTuple.h
11367
11368 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11369
11370         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11371         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11372
11373         * insets/insettext.C: InsetList changes
11374
11375         * graphics/GraphicsSupport.C (operator()): InsetList changes
11376
11377         * toc.C (getTocList): InsetList changes
11378
11379         * paragraph_pimpl.[Ch]: InsetList changes
11380
11381         * paragraph.[Ch]: InsetList changes
11382
11383         * buffer.C (inset_iterator): InsetList changes
11384         (setParagraph): ditto
11385         * buffer.h (inset_iterator): ditto
11386         * iterators.C (operator++): ditto
11387         * iterators.h: ditto
11388
11389         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11390
11391         * InsetList.[Ch]: new files, most InsetList handling moved out of
11392         paragraph.C.
11393
11394         * BufferView2.C (removeAutoInsets): InsetList changes
11395         (lockInset): ditto
11396         (ChangeInsets): ditto
11397
11398 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11399
11400         * paragraph_pimpl.h (empty): new function
11401
11402         * paragraph.[Ch] (empty): new function
11403
11404         * other files: use the new Paragraph::empty function
11405
11406 2002-08-09  John Levon  <levon@movementarian.org>
11407
11408         * lyxtext.h: remove unused refresh_height
11409
11410 2002-08-09  John Levon  <levon@movementarian.org>
11411
11412         * Makefile.am:
11413         * sgml.h:
11414         * sgml.C:
11415         * buffer.C:
11416         * paragraph.h:
11417         * paragraph.C: move sgml char escaping out of paragraph
11418
11419         * paragraph.h:
11420         * paragraph.C: remove id setter
11421
11422         * buffer.C:
11423         * paragraph.C:
11424         * paragraph_pimpl.C: remove dead tex_code_break_column
11425
11426         * bufferview_funcs.C: small cleanup
11427
11428         * lyxfunc.C: remove dead proto
11429
11430         * lyxtext.h: make some stuff private. Remove some dead stuff.
11431
11432         * lyxgluelength.C: make as[LyX]String() readable
11433
11434 2002-08-08  John Levon  <levon@movementarian.org>
11435
11436         * LyXAction.h:
11437         * LyXAction.C:
11438         * MenuBackend.C:
11439         * ToolbarDefaults.C:
11440         * lyxfunc.C:
11441         * lyxrc.C:
11442         * toc.C: lyxaction cleanup
11443
11444 2002-08-08  John Levon  <levon@movementarian.org>
11445
11446         * BufferView2.C: small cleanup
11447
11448         * lyxfind.h:
11449         * lyxfind.C: move unnecessary header into the .C
11450
11451 2002-08-08  John Levon  <levon@movementarian.org>
11452
11453         * funcrequest.h: just tedious nonsense
11454
11455         * lyx_main.h:
11456         * lyx_main.C: cleanups
11457
11458         * buffer.C:
11459         * vspace.C: remove dead header lyx_main.h
11460
11461 2002-08-07  Angus Leeming  <leeming@lyx.org>
11462
11463         * Paragraph.[Ch]:
11464         * paragraph_pimpl.h:
11465         Forward declare class Counters in paragraph.h by moving the ctrs member
11466         variable into Paragraph::Pimpl.
11467         (counters): new method, returning a reference to pimpl_->ctrs.
11468
11469         * text2.C: ensuing changes.
11470
11471 2002-08-07  John Levon  <levon@movementarian.org>
11472
11473         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11474
11475         * BufferView_pimpl.C: announce X selection on double/triple
11476           click
11477
11478         * lyx_main.C: use correct bool in batch dispatch
11479
11480         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11481
11482 2002-08-07  André Pönitz <poenitz@gmx.net>
11483
11484         * funcrequest.h: new class to wrap a kb_action and its argument
11485
11486         * BufferView.[Ch]:
11487         * BufferView_pimpl[Ch]:
11488         * LaTeX.C:
11489         * LyXAction.[Ch]:
11490         * lyxfunc.[Ch]:
11491         * lyxrc.C: subsequent changes
11492
11493
11494 2002-08-07  John Levon  <levon@movementarian.org>
11495
11496         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11497           document options change.
11498
11499 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11500
11501         * counters.[Ch]
11502         * text2.C
11503         * paragraph.[Ch]
11504         * makefile.am: move counters functionality over from
11505         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11506
11507 2002-08-06  John Levon  <levon@movementarian.org>
11508
11509         * WordLangTuple.h: new file for word + language code tuple
11510
11511         * SpellBase.h:
11512         * pspell.h:
11513         * pspell.C:
11514         * ispell.h:
11515         * ispell.C:
11516         * lyxtext.h:
11517         * text.C:
11518         * text2.C:
11519         * BufferView.h:
11520         * BufferView2.C: use WordLangTuple
11521
11522         * layout.h:
11523         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11524
11525 2002-08-06  John Levon  <levon@movementarian.org>
11526
11527         * lyx_main.C: fix cmdline batch handling
11528
11529 2002-08-06  André Pönitz <poenitz@gmx.net>
11530
11531         * lyxrc.C: set default for show_banner to true
11532
11533 2002-08-06  John Levon  <levon@movementarian.org>
11534
11535         * pspell.C: fix a crash, and allow new aspell to work
11536
11537 2002-08-06  John Levon  <levon@movementarian.org>
11538
11539         * lyxfunc.C:
11540         * kbmap.C: small cleanup
11541
11542         * vspace.h:
11543         * vspace.C: add const
11544
11545 2002-08-05  John Levon  <levon@movementarian.org>
11546
11547         * LyXAction.C: back to tabular-insert
11548
11549 2002-08-04  John Levon  <levon@movementarian.org>
11550
11551         * BufferView.h:
11552         * BufferView.C: cosmetic change
11553
11554         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11555
11556         * bufferlist.C:
11557         * buffer.h:
11558         * buffer.C:
11559         * lyxcb.h:
11560         * lyxcb.C:
11561         * lyxserver.C:
11562         * lyxvc.C:
11563         * vc-backend.C:
11564         * BufferView2.C: purge all "Lyx" not "LyX" strings
11565
11566         * lyxcursor.h:
11567         * lyxcursor.C: attempt to add some documentation
11568
11569         * lyxfunc.C:
11570         * commandtags.h:
11571         * LyXAction.C:
11572         * ToolbarDefaults.C:
11573         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11574           merge with LFUN_TABULAR_INSERT
11575
11576         * Makefile.am:
11577         * SpellBase.h:
11578         * ispell.h:
11579         * ispell.C:
11580         * pspell.h:
11581         * pspell.C: split up i/pspell implementations into separate
11582           files, many cleanups
11583
11584         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11585
11586         * text2.C: some cleanup
11587
11588         * lyxfunc.C: don't check for isp_command == "none" any more, it
11589           didn't make any sense
11590
11591 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11592
11593         * counters.[Ch]
11594         * text2.C
11595         * paragraph.[Ch]
11596         * makefile.am: move counters functionality over
11597         from text2.C/paragraph.[Ch] to counters.[Ch], and
11598         make proper C++.
11599 2002-08-02  John Levon  <levon@movementarian.org>
11600
11601         * buffer.C: s/lyxconvert/lyx2lyx/
11602
11603 2002-08-02  Angus Leeming  <leeming@lyx.org>
11604
11605         * lyxlex.C: revert John's change as it breaks reading of the user
11606         preamble.
11607
11608 2002-08-02  Angus Leeming  <leeming@lyx.org>
11609
11610         * importer.C (Import):
11611         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11612         changes due to LyXView::view() now returning a boost::shared_ptr.
11613
11614 2002-08-02  John Levon  <levon@movementarian.org>
11615
11616         * lyxlex.C: small cleanup
11617
11618 2002-08-02  John Levon  <levon@movementarian.org>
11619
11620         * text2.C (status): small cleanup, no logic change
11621
11622 2002-08-01  John Levon  <levon@movementarian.org>
11623
11624         * buffer.h:
11625         * buffer.C (writeFile): don't output alerts, caller
11626           handles this
11627
11628         * bufferlist.C:
11629         * lyx_cb.C: from above
11630
11631         * lyxfunc.C: allow to open non-existent files
11632
11633 2002-07-31  John Levon  <levon@movementarian.org>
11634
11635         * lyxserver.C: don't let incidental errors get
11636           in the way (errno)
11637
11638 2002-07-30  John Levon  <levon@movementarian.org>
11639
11640         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11641
11642 2002-07-30  John Levon  <levon@movementarian.org>
11643
11644         * lyxserver.h:
11645         * lyxserver.C: remove I/O callback too
11646
11647 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11648
11649         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11650         log.
11651
11652 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11653
11654         * many files: strip,frontStrip -> trim,ltrim,rtrim
11655
11656 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11657
11658         * PrinterParams.h: remove extern containsOnly, and include
11659         support/lstrings.h instead.
11660
11661         * LaTeX.C (scanAuxFile): modify because of strip changes
11662         (deplog): ditto
11663         * buffer.C (makeLaTeXFile): ditto
11664         * bufferparams.C (writeFile): ditt
11665         * lyxfont.C (stateText): ditto
11666         * lyxserver.C (read_ready): ditto
11667         * vc-backend.C (scanMaster): ditto
11668
11669         * BufferView_pimpl.h: ws changes
11670
11671         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11672
11673 2002-07-26  André Pönitz <poenitz@gmx.net>
11674
11675         * kb_sequence.C: remove unnedred usings
11676
11677 2002-07-26  Juergen Vigna  <jug@sad.it>
11678
11679         * lyxfind.C (LyXReplace): we have to check better if the returned
11680         text is not of theLockingInset()->getLockingInset().
11681
11682 2002-07-25  Juergen Vigna  <jug@sad.it>
11683
11684         * lyxfind.C (LyXReplace): don't replace if we don't get the
11685         right LyXText.
11686
11687         * undo_funcs.C (createUndo): remove debugging code.
11688
11689 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11690
11691         * buffer.C (parseSingleLyXformat2Token): Use default placement
11692         when reading old floats.
11693
11694         * FloatList.C (FloatList): Change the default placement of figure
11695         and tables to "tbp".
11696
11697 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * MenuBackend.C: using std::max
11700
11701 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11702
11703         * MenuBackend.C (expandToc):
11704         (expandToc2): code moved from xforms menu frontend. It is now
11705         generic and TOCs are transparent to menu frontends.
11706
11707 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11708
11709         * toc.C (getTocList): protect against buf=0
11710
11711         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11712         Menu as first parameter. Now, this calls itself recursively to
11713         expand a whole tree (this will be useful for TOC handling)
11714         (expandFloatInsert): remove 'wide' version of floats
11715
11716         * MenuBackend.h (submenuname): returns the name of the submenu.
11717         (submenu): returns the submenu itself, provided it has been
11718         created by MenuBackend::expand
11719
11720 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11721
11722         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11723         insets which have noFontChange == true. (bug #172)
11724
11725 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11726
11727         * BufferView_pimpl.C: add connection objects and use them...
11728         (Pimpl): here.
11729
11730 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11731
11732         * MenuBackend.C (expandLastfiles):
11733         (expandDocuments):
11734         (expandFormats):
11735         (expandFloatListInsert):
11736         (expandFloatInsert):
11737         (expand): split expand in parts
11738
11739 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * lyx_gui.C: use lyx_gui::exit()
11742
11743 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11744
11745         * LyXAction.C: show the failing pseudo action
11746
11747 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11748
11749         * buffer.C (readFile): Run the lyxconvert script in order to read
11750         old files.
11751
11752 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * LyXAction.C:
11755         * commandtags.h:
11756         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11757
11758 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * LyXAction.C:
11761         * commandtags.h:
11762         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11763
11764 2002-07-22  Herbert Voss  <voss@lyx.org>
11765
11766         * lengthcommon.C:
11767         * lyxlength.[Ch]: add support for the vertical lengths
11768
11769 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11770
11771         * toc.[Ch]: std:: fixes
11772
11773 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11774
11775         * lyxrc.C: do not include lyx_main.h
11776
11777         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11778         for layouts
11779
11780         * lyxrc.C:
11781         * encoding.C:
11782         * bufferlist.C:
11783         * BufferView2.C: include "lyxlex.h"
11784
11785         * tabular.h:
11786         * bufferparams.h: do not #include "lyxlex.h"
11787
11788         * lyxtextclasslist.C (Add): remove method
11789         (classlist): renamed to classlist_
11790
11791         * paragraph_pimpl.C:
11792         * paragraph.C:
11793         * text2.C:
11794         * CutAndPaste.C:
11795         * bufferview_funcs.C:
11796         * bufferlist.C:
11797         * text.C:
11798         * LaTeXFeatures.C:
11799         * buffer.C:
11800         * toc.C (getTocList): use BufferParams::getLyXTextClass
11801
11802         * toc.C (getTocList): use InsetFloat::addToToc
11803
11804         * toc.[Ch]: new files, containing helper functions to handle table
11805         of contents
11806
11807         * lyxfunc.C (dispatch): no need to remove spaces around command
11808         given as a string
11809         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11810         first command of the sequence; it is not very clever, but I do not
11811         have a better idea, actually
11812
11813         * LyXAction.C (LookupFunc): make sure to remove space at the
11814         beginning and end of the command
11815
11816 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11817
11818         * MenuBackend.C (getMenubar): new method: return the menubar of
11819         this menu set
11820         (read): treat differently reading of menu and menubar (in
11821         particular, the menubar has no name now)
11822         (Menu::menubar): remove
11823
11824         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11825         saving is finished
11826
11827 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11828
11829         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11830         a bibitem inset in a RTL paragraph.
11831
11832 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11833
11834         * paragraph_pimpl.C: constify
11835
11836         * BufferView_pimpl.C:
11837         * LaTeX.C:
11838         * lyxfunc.C: fix dispatch in a nicer way
11839
11840 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11841
11842         * lyxfunc.C (dispatch):
11843         * BufferView_pimpl.C:
11844         * BufferView_pimpl.h:
11845         * BufferView.C:
11846         * BufferView.h: rename Dispatch() to dispatch()
11847
11848         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11849
11850         * lyxlayout.C (Read): honor DependsOn tag
11851
11852         * lyxlayout.[Ch] (depends_on): new method
11853
11854         * version.C.in: update lyx_docversion
11855
11856         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11857
11858         * paragraph.C (validate): remove from here...
11859         * paragraph_pimpl.C (validate): ... and move here
11860         (isTextAt): make it const
11861
11862         * buffer.C (getLists): ws cleanup
11863
11864 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11865
11866         * language.C (read): Use iso8859-1 encoding in latex_lang
11867         (this prevents LyX from crashing when using iso10646-1 encoding).
11868
11869 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * text2.C (toggleInset): if cursor is inside an inset, close the
11872         inset and leave cursor _after_ it
11873
11874 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * lyxfunc.C: move minibuffer completion handling out of here
11877
11878 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * BufferView_pimpl.C:
11881         * LaTeX.C: fix dispatch calls
11882
11883 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11884
11885         * text.C (drawChars): Fix Arabic text rendering.
11886
11887 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * LyXAction.C:
11890         * commandtags.h:
11891         * lyxfunc.C: remove message-push/pop
11892
11893         * lyxserver.C:
11894         * lyxfunc.h:
11895         * lyxfunc.C: rationalise some code by removing verboseDispatch
11896           in favour of a bool argument to dispatch()
11897
11898 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11899
11900         * lyx_main.C (init): make sure to read symlinks as absolute paths
11901
11902 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11903
11904         * lyxfunc.h:
11905         * lyxfunc.C: no need for commandshortcut to be a member
11906
11907 2002-07-15  André Pönitz <poenitz@gmx.net>
11908
11909         * converter.C: add support for $$s (scripts from lib/scripts dir)
11910         * lyx_main.C: white space
11911
11912 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11913
11914         * bufferlist.C:
11915         * lyxrc.h:
11916         * lyxrc.C: remove second exit confirmation
11917
11918 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11919
11920         * BufferView.h:
11921         * BufferView.C:
11922         * BufferView2.C:
11923         * BufferView_pimpl.h:
11924         * BufferView_pimpl.C:
11925         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11926
11927 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11928
11929         * MenuBackend.C (expand): add numeric shortcuts to document menu
11930
11931         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11932
11933 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11934
11935         * lyxfont.C (setLyXFamily):
11936         (setLyXSeries):
11937         (setLyXShape):
11938         (setLyXSize):
11939         (setLyXMisc):
11940         (lyxRead):
11941         * debug.C (value):
11942         * buffer.C (asciiParagraph): use ascii_lowercase
11943
11944 2002-07-15  Mike Fabian  <mfabian@suse.de>
11945
11946         * lyxlex_pimpl.C (search_kw):
11947         * lyxlex.C (getLongString):
11948         * converter.h (operator<):
11949         * converter.C (operator<):
11950         * buffer.C (parseSingleLyXformat2Token):
11951         (asciiParagraph):
11952         * ToolbarDefaults.C (read):
11953         * MenuBackend.C (checkShortcuts):
11954         (read):
11955         * LColor.C (getFromGUIName):
11956         (getFromLyXName): use the compare_ascii_no_case instead of
11957         compare_no_case, because in turkish, 'i' is not the lowercase
11958         version of 'I', and thus turkish locale breaks parsing of tags.
11959
11960 2002-07-16  Angus Leeming  <leeming@lyx.org>
11961
11962         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11963         now takes a Buffer const & argument.
11964
11965 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * BufferView.C (resize): check there's a buffer to resize
11968
11969 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * lyxfunc.C: remove dead code
11972
11973         * lyxserver.h:
11974         * lyxserver.C: use lyx_guii::set_read_callback
11975
11976 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11977
11978         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11979         an inset in a RTL paragraph.
11980
11981 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * lyxfunc.C: repaint after a font size update
11984
11985 2002-07-15  André Pönitz <poenitz@gmx.net>
11986
11987         * lyxlength.C: inBP should be able to return negative values
11988
11989 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * lyxfunc.C: use lyx_gui::update_fonts()
11992
11993 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * lyxfunc.C: use lyx_gui::update_color()
11996
11997 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * bufferlist.C:
12000         * lyxfunc.h:
12001         * lyxfunc.C:
12002         * lyxrc.h:
12003         * lyxrc.C: remove file->new asks for name option, and let
12004           buffer-new take an argument
12005
12006 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * BufferView_pimpl.C: remove unneeded extra repaint()
12009
12010 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12011
12012         * LyXAction.C: allow command-sequence with NoBuffer
12013
12014         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12015
12016 2002-07-10  Angus Leeming  <leeming@lyx.org>
12017
12018         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12019
12020 2002-07-09  Angus Leeming  <leeming@lyx.org>
12021
12022         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12023
12024 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * lengthcommon.h: whitespace
12027
12028         * lyxfunc.C: update scrollbar after goto paragraph
12029
12030         * lyxtext.h: factor out page break drawing, and fix it so
12031           page break/added space paints as selected nicely
12032
12033 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * BufferView_pimpl.C: add FIXMEs, clean up a little
12036
12037 2002-07-09  André Pönitz <poenitz@gmx.net>
12038
12039         * lyxfont.[Ch]: support for wasy symbols
12040
12041 2002-07-08  André Pönitz <poenitz@gmx.net>
12042
12043         * BufferView_pimpl.C: apply John's patch for #93.
12044
12045 2002-07-05  Angus Leeming  <leeming@lyx.org>
12046
12047         * BufferView_pimpl.C (buffer): generate previews if desired.
12048
12049         * LColor.h: add "preview" to the color enum.
12050
12051         * LColor.C (LColor): add a corresponding entry to the items array.
12052
12053         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12054         with this buffer.
12055
12056 2002-07-05  Angus Leeming  <leeming@lyx.org>
12057
12058         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12059         The body of the code is now in the method that is passed an ostream &
12060         rather than a file name.
12061         Pass an additional only_preamble parameter, useful for the forthcoming
12062         preview stuff.
12063
12064 2002-07-03  André Pönitz <poenitz@gmx.net>
12065
12066         * lyxfunc.C: simplify getStatus() a bit for math stuff
12067
12068 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12071
12072 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12073
12074         * text.C (changeRegionCase): do not change case of all the
12075         document when region ends at paragraph end (bug #461)
12076
12077 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * paragraph.C (startTeXParParams):
12080         (endTeXParParams): add \protect when necessary
12081
12082 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12083
12084         * BufferView_pimpl.C (workAreaExpose): remove warning
12085
12086 2002-06-27  Angus Leeming  <leeming@lyx.org>
12087
12088         * Makefile.am: add lyxlayout_ptr_fwd.h.
12089
12090 2002-06-26  André Pönitz <poenitz@gmx.net>
12091
12092         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12093
12094 2002-06-25  Angus Leeming  <leeming@lyx.org>
12095
12096         * lyxfunc.C (dispatch): Comment out the call to
12097         grfx::GCache::changeDisplay. The method no longer exists now that the
12098         pixmap generation part of the graphics loader has been moved into
12099         InsetGraphics.
12100
12101 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * text2.C: layout as layout
12104
12105         * text.C: layout as layout
12106
12107         * tabular.C (OldFormatRead): layout as layout
12108
12109         * paragraph_pimpl.C (TeXDeeper): layout as layout
12110         (realizeFont): layout as layout
12111
12112         * paragraph.C (writeFile): layout as layout
12113         (validate): layout as layout
12114         (getFont): layout as layout
12115         (getLabelFont): layout as layout
12116         (getLayoutFont): layout as layout
12117         (breakParagraph): layout as layout
12118         (stripLeadingSpaces): layout as layout
12119         (getEndLabel): layout as layout
12120         (getMaxDepthAfter): layout as layout
12121         (applyLayout): layout as layout
12122         (TeXOnePar): layout as layout
12123         (simpleTeXOnePar): layout as layout
12124         (TeXEnvironment): layout as layout
12125         (layout): layout as layout
12126         (layout): layout as layout
12127
12128         * lyxtextclass.C (compare_name): new functor to work with
12129         shared_ptr, layout as layout
12130         (Read): layout as layout
12131         (hasLayout): layout as layout
12132         (operator): layout as layout
12133         (delete_layout): layout as layout
12134         (defaultLayout): layout as layout
12135
12136         * lyxlayout_ptr_fwd.h: new file
12137
12138         * lyxlayout.C (Read): layout as layout
12139
12140         * lyx_cb.C (MenuInsertLabel): layout as layout
12141
12142         * bufferlist.C (newFile): layout as layout
12143
12144         * buffer.C (readLyXformat2): layout as layout
12145         (parseSingleLyXformat2Token): layout as layout
12146         (insertStringAsLines): layout as layout
12147         (asciiParagraph): layout as layout
12148         (latexParagraphs): layout as layout
12149         (makeLinuxDocFile): layout as layout
12150         (simpleLinuxDocOnePar): layout as layout
12151         (makeDocBookFile): layout as layout
12152         (simpleDocBookOnePar): layout as layout
12153         (getLists): layout as layout
12154
12155         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12156
12157         * CutAndPaste.C (cutSelection): layout as layout
12158         (pasteSelection): layout as layout
12159         (SwitchLayoutsBetweenClasses): layout as layout
12160
12161         * BufferView_pimpl.C (Dispatch): layout as layout
12162         (smartQuote): layout as layout
12163
12164         * BufferView2.C (unlockInset): layout as layout
12165
12166 2002-06-24  André Pönitz <poenitz@gmx.net>
12167
12168         * lyxfunc.C: fix #487
12169
12170 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * lyxrc.h:
12173         * lyxrc.C:
12174         * lyxfunc.C: remove display_shortcuts, show_banner
12175
12176 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12177
12178         * Buffer_pimpl.C: oops, update on resize
12179
12180 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12181
12182         * buffer.C:
12183         * converter.C:
12184         * exporter.C:
12185         * lyxfunc.C:
12186         * BufferView.h:
12187         * BufferView.C: use repaint()
12188
12189         * BufferView_pimpl.h:
12190         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12191           as it's a clearer description. Remove superfluous
12192           redraws.
12193
12194 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * text.C: fix bug 488. Not ideal, but getting
12197           getWord() to work properly for the insets that
12198           matter is more difficult ...
12199
12200 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12201
12202         * BufferView_pimpl.C:
12203         * LyXAction.C:
12204         * commandtags.h:
12205         * lyxfunc.C: remove the six million index lyxfuncs to just
12206           one, and DTRT (bug 458)
12207
12208 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12209
12210         * BufferView.h:
12211         * BufferView.C:
12212         * BufferView_pimpl.h:
12213         * BufferView_pimpl.C: clean up resize() stuff,
12214           and unnecessary updateScreen()s
12215
12216 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * BufferView.h:
12219         * BufferView.C:
12220         * BufferView_pimpl.h:
12221         * BufferView_pimpl.C:
12222         * lyxfind.h:
12223         * lyxfind.C:
12224         * minibuffer.C: remove focus management of workarea,
12225           not needed. Use screen's greyOut()
12226
12227 2002-06-17  Herbert Voss  <voss@lyx.org>
12228
12229         * converter.C: (convert) do not post a message, when converting
12230         fails, let the calling function decide what to do in this case
12231
12232 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12233
12234         * lyxfunc.C: tidy up a little
12235
12236 2002-06-16    <alstrup@diku.dk>
12237
12238         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12239         Got rid of FORMS_H_LOCATION include. Now we are
12240         GUII.
12241
12242 2002-06-15  LyX Development team  <lyx@rilke>
12243
12244         * buffer.[Ch] (sgmlOpenTag):
12245         (sgmlCloseTag): Added support for avoiding pernicious mixed
12246         content. Return number of lines written.
12247
12248         (makeLinuxDocFile):
12249         (makeDocBookFile): Fixed calls to sgml*Tag.
12250         Simple white space clean.
12251
12252         (simpleDocBookOnePar): Simple white space clean.
12253
12254         * tabular.[Ch] (docBook): Renamed to docbook and got another
12255         argument to related with the pernicious mixed content.
12256
12257         (docbookRow): Fixed calls for docbook inset method.
12258
12259 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12260
12261         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12262         so it's X11 independent.
12263
12264         * kb*.[Ch]: ditto.
12265
12266         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12267
12268 2002-06-15  Lyx Development team  <lyx@electronia>
12269
12270         * intl.h: Renamed getTrans to getTransManager.
12271
12272 2002-06-14  Angus Leeming  <leeming@lyx.org>
12273
12274         * Makefile.am: nuke forgotten stl_string_fwd.h.
12275
12276 2002-06-12  Angus Leeming  <leeming@lyx.org>
12277
12278         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12279
12280 2002-06-13  Angus Leeming  <leeming@lyx.org>
12281
12282         * LaTeX.C:
12283         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12284
12285 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12286
12287         * kbmap.C (getiso): add support for cyrillic and greek
12288
12289 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * BufferView.h:
12292         * BufferView.C:
12293         * BufferView_pimpl.h:
12294         * BufferView_pimpl.C: move bogus scrolling logic
12295           to xforms
12296
12297 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * lyxfunc.C:
12300         * BufferView_pimpl.C: view->resize() change
12301
12302 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12303
12304         * BufferView_pimpl.C: topCursorVisible
12305           prototype change
12306
12307 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12308
12309         * Makefile.am:
12310         * lyx_gui.h:
12311         * lyx_gui.C: move to frontends/
12312
12313         * main.C:
12314         * lyx_main.h:
12315         * lyx_main.C: changes from above
12316
12317 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12318
12319         * intl.C:
12320         * intl.h:
12321         * kbmap.C:
12322         * kbsequence.C:
12323         * lyx_cb.C:
12324         * lyx_main.C: minor tidy
12325
12326 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * BufferView_pimpl.h:
12329         * BufferView_pimpl.C:
12330         * BufferView.h:
12331         * BufferView.C: make painter() const,
12332           remove dead code
12333
12334         * BufferView2.C: use screen() accessor
12335
12336         * lyx_main.h:
12337         * lyx_main.C: some minor cleanup
12338
12339 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12340
12341         * BufferView_pimpl.h:
12342         * BufferView_pimpl.C: remove enter/leaveView,
12343           use workHeight()
12344
12345 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * BufferView.h:
12348         * BufferView.C:
12349         * BufferView2.C:
12350         * BufferView_pimpl.h:
12351         * BufferView_pimpl.C: only construct screen once,
12352           rename
12353
12354         * lyxrc.C: remove pointless comment
12355
12356 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12357
12358         * BufferView.h:
12359         * BufferView.C: remove active() and belowMouse()
12360
12361         * BufferView_pimpl.h:
12362         * BufferView_pimpl.C: use workarea() not workarea_,
12363           and make it use a scoped_ptr instead
12364
12365 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * lyx_gui.C: add debug message on BadWindow
12368
12369 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * sp_spell.C: fdopen is not part of the C++ standard.
12372
12373         * paragraph.C (InsetIterator): use >= instead of ==
12374
12375 2002-06-07  Angus Leeming  <leeming@lyx.org>
12376
12377         Fixes needed to compile with Compaq cxx 6.5.
12378         * BufferView_pimpl.C:
12379         * DepTable.C:
12380         * buffer.C:
12381         * converter.C:
12382         * encoding.C:
12383         * lyx_gui.C:
12384         * lyx_main.C:
12385         * lyxtextclasslist.C:
12386         * minibuffer.C:
12387         * sp_spell.C:
12388         * tabular_funcs.C:
12389         * vc-backend.C:
12390         all c-library variables have been moved into namespace std. Wrap
12391         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12392
12393         * lyxlength.C:
12394         * tabular-old.C:
12395         * tabular.C:
12396         Add a using std::abs declaration.
12397
12398         * kbmap.h (modifier_pair):
12399         * paragraph.h (InsetTable, InsetList):
12400         * lyxfont.h (FontBits):
12401         type definition made public.
12402
12403         * bufferlist.C (emergencyWriteAll): the compiler complains that
12404         there is more than one possible lyx::class_fun template to choose from.
12405         I re-named the void specialisation as lyx::void_class_fun.
12406
12407         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12408
12409         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12410         the compiler is is unable to find tostr in write_attribute.
12411
12412 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12413
12414         * buffer.C (sgmlError): hide #warning
12415
12416 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12417
12418         * xtl/*: get rid of xtl, which is not in use anyway
12419
12420         * LyXAction.C (init):
12421         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12422         were unimplemented xtl experimentation
12423
12424 2002-06-04  André Pönitz <poenitz@gmx.net>
12425
12426         * lyxfunc.C: disable array operation on simple formulae
12427
12428 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12429
12430         * converter.C: constify a bit
12431
12432 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * lyx_gui.C: check xforms version correctly
12435
12436 2002-04-30  Herbert Voss  <voss@lyx.org>
12437
12438         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12439         "keep" option
12440
12441 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12444           attempt to register it with a VCS)
12445
12446 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12447
12448         * lyx_main.C (init): honor variables LYX_DIR_13x and
12449         LYX_USERDIR_13x
12450
12451 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12452
12453         * buffer.h:
12454         * buffer.C:
12455         * lyx_main.C: fix a crash on bad command line,
12456           and give a useful exit status on error
12457
12458         * lyxfunc.C (doImport): allow -i lyx to work
12459
12460 2002-03-30  André Pönitz <poenitz@gmx.net>
12461
12462         * lyxfunc.C: mathed font changes
12463
12464 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * LaTeX.C:
12467         * importer.h:
12468         * importer.C:
12469         * lyx_sty.h:
12470         * lyx_sty.C:
12471         * lyxlex.C:
12472         * lyxrow.h:
12473         * lyxtext.h:
12474         * paragraph.h:
12475         * paragraph.C:
12476         * texrow.h:
12477         * texrow.C:
12478         * text.C:
12479         * trans_mgr.h: srcdocs, and some minor cleanups
12480
12481 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12482
12483         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12484         call getFont all the time)
12485
12486 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12487
12488         * switch from SigC signals to boost::signals
12489
12490 2002-05-29  André Pönitz <poenitz@gmx.net>
12491
12492         * paragraph_pimpl.C (getChar): don't call size() too often...
12493
12494 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12495
12496         * paragraph_pimpl.C (insertChar): do not try to update tables when
12497         appending (pos == size())
12498
12499         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12500         in order to reduce drastically the number of comparisons needed to
12501         parse a large document
12502
12503 2002-05-29  André Pönitz <poenitz@gmx.net>
12504
12505         * text.C:
12506         * text2.C:
12507         * lyxtextclass.C:
12508         * sp_pspell.h:
12509         * textclasslist.[Ch]:
12510         * sp_ispell.h: whitespace change
12511
12512 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12513
12514         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12515         lyxaction directly now.
12516
12517 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12518
12519         * trans.C:
12520         * lyxfont.C:
12521         * lyxvc.C: remove unused headers
12522
12523 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12524
12525         * Makefile.am:
12526         * buffer.h:
12527         * undostack.h:
12528         * undostack.C:
12529         * undo_funcs.h:
12530         * undo_funcs.C: some cleanups. Use shared_ptr
12531           and a template for the undo stacks.
12532
12533 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12534
12535         * BufferView_pimpl.h:
12536         * BufferView_pimpl.C:
12537         * kbmap.h:
12538         * kbmap.C:
12539         * kbsequence.h:
12540         * kbsequence.C:
12541         * lyxfunc.h:
12542         * lyxfunc.C:
12543         * text2.C: use key_state/mouse_state
12544
12545 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12548         and LSubstring
12549
12550         * chset.C: change include order
12551         (loadFile): use boost regex and get rid of LRegex and LSubstring
12552
12553         * Makefile.am (BOOST_LIBS): new variable
12554         (lyx_LDADD): use it
12555
12556         * LaTeX.C: change include order.
12557         (scanAuxFile): use boost regex and get rid of LRegex and
12558         LSubstring
12559         (deplog): ditto
12560
12561 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * ColorHandler.h:
12564         * ColorHandler.C:
12565         * FontInfo.h:
12566         * FontInfo.C: moved to frontends/xforms/
12567
12568         * FontLoader.h:
12569         * FontLoader.C: moved into frontends for GUIIzation
12570
12571         * Makefile.am:
12572         * lyx_gui.C:
12573         * lyxfont.C:
12574         * lyxfunc.C: changes from above
12575
12576 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * LColor.C: remove spurious X include
12579
12580         * BufferView_pimpl.C:
12581         * Makefile.am:
12582         * font.h:
12583         * font.C:
12584         * text.C:
12585         * text2.C: move font metrics to frontends/
12586
12587 2002-05-24  Juergen Vigna  <jug@sad.it>
12588
12589         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12590         setting the undo_cursor.
12591
12592         * ParagraphParameters.h: include local includes first.
12593
12594 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12595
12596         * BufferView_pimpl.C:
12597         * BufferView_pimpl.h:
12598         * Makefile.am:
12599         * WorkArea.h:
12600         * WorkArea.C:
12601         * screen.C: move WorkArea into frontends/
12602
12603         * lyxscreen.h:
12604         * screen.C:
12605         * text.C:
12606         * BufferView.C:
12607         * BufferView2.C: move LyXScreen into frontends/
12608
12609         * lyxlookup.h:
12610         * lyxlookup.C:
12611         * lyx_gui.C: move lyxlookup into frontends/xforms/
12612
12613 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * BufferView2.C:
12616         * BufferView_pimpl.C:
12617         * FontLoader.C:
12618         * LyXView.h:
12619         * LyXView.C:
12620         * Makefile.am:
12621         * WorkArea.C:
12622         * XFormsView.h:
12623         * XFormsView.C:
12624         * buffer.C:
12625         * bufferlist.C:
12626         * bufferview_funcs.C:
12627         * converter.C:
12628         * importer.C:
12629         * lyx_cb.C:
12630         * lyx_gui.C:
12631         * lyx_main.C:
12632         * lyx_find.C:
12633         * lyxfunc.C:
12634         * lyxvc.C:
12635         * minibuffer.C:
12636         * text.C:
12637         * text2.C:
12638         * trans.C:
12639         * vc-backend.C: move LyX/XFormsView into frontends/
12640
12641 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * Makefile.am:
12644         * PainterBase.C:
12645         * PainterBase.h:
12646         * Painter.C:
12647         * Painter.h:
12648         * WorkArea.C:
12649         * WorkArea.h:
12650         * screen.C:
12651         * tabular.C:
12652         * text.C:
12653         * text2.C: move Painter to frontends/
12654
12655 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * buffer.C: comment out some some code that depend upon lyx_format
12658         < 220
12659
12660         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12661         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12662
12663         * buffer.h (NO_COMPABILITY): turn off compability
12664
12665         * ColorHandler.C: include scoped_array.hpp
12666
12667         * font.C: Use more specific smart_ptr header.
12668         * Painter.C: ditto
12669         * gettext.C: ditto
12670         * ShareContainer.h: ditto
12671         * lyx_main.h: ditto
12672         * kbmap.h: ditto
12673         * FontInfo.h: ditto
12674         * BufferView_pimpl.h: ditto
12675         * ColorHandler.h: ditto
12676
12677         * kbmap.C (defkey): change call to shared_ptr::reset
12678
12679 2002-05-21  Juergen Vigna  <jug@sad.it>
12680
12681         * buffer.C (insertErtContents): fix to insert ert asis if it is
12682         non empty. Skip it completely if it contains only whitespaces.
12683
12684 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * BufferView_pimpl.C:
12687         * BufferView2.C: clear selection on paste (bug 393)
12688
12689 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12690
12691         * DepTable.C: include ctime
12692
12693 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12694
12695         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12696
12697 2002-05-14  Juergen Vigna  <jug@sad.it>
12698
12699         * text.C (breakParagraph): fixed function to honor the keepempty
12700         layout in the right maner and also to permit the right breaking
12701         algorithm on empty or non empyt keepempty paragraphs.
12702
12703         * paragraph.C (breakParagraph): we have to check also if the par
12704         is really empty (!size()) for isempty otherwise we do the wrong
12705         paragraph break.
12706
12707 2002-05-10  Juergen Vigna  <jug@sad.it>
12708
12709         * buffer.[Ch] : The following are only changes to the ert
12710         compatibility read reading old LaTeX layout and font stuff and
12711         convert it to ERTInsets.
12712
12713         * buffer.h: added isErtInset().
12714
12715         * buffer.C (struct ErtComp): add a fromlayout bool to check
12716         if we're inside a LaTeX layout.
12717         (isErtInset): new helper function.
12718         (insertErtContents): look for other ert insets before this one
12719         and insert the contents there, so that we don't have subsequent
12720         ERT insets with nothing between them. This way we create only one
12721         inset with multiple paragraphs. Also check if we don't insert only
12722         spaces ' ' as they are ignored anyway afterwards in the .tex file
12723         so if we have only spaces we will ignore this latex part in the
12724         new file.
12725         (parseSingleLyXformat2Token \\layout): better compatibility when
12726         reading layout-latex stuff.
12727         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12728         language tag.
12729         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12730         stuff after reading the inset only get the information back from
12731         the stack.
12732
12733 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12734
12735         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12736
12737         * LaTeXFeatures.C (getBabelOptions): New method.
12738
12739 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12740
12741         * BufferView_pimpl.C (Dispatch): work around missing argument for
12742         'layout'
12743
12744 2002-05-08  Juergen Vigna  <jug@sad.it>
12745
12746         * text.C (leftMargin): handle paragraph leftindent.
12747
12748         * paragraph.C (writeFile): write the new \\leftindent tag.
12749         (validate): handle leftindent code.
12750         (TeXEnvironment): handle paragraphleftindent code again.
12751
12752         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12753
12754         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12755         for paragrap_extra indent code and new token \\leftindent.
12756         (latexParagraphs): handle the leftindent as environment.
12757
12758         * ParameterStruct.h: added leftindent support.
12759
12760         * ParagraphParameters.C (leftIndent): added support functions for
12761         the paragraph left indent.
12762
12763         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12764         more appropriate.
12765
12766 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12767
12768         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12769         inside insetERT.
12770
12771         * text.C (computeBidiTables): No bidi in insetERT.
12772
12773         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12774         in RTL documents.
12775
12776 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * version.C.in: pre 5
12779
12780 2002-05-02  José Matos  <jamatos@fep.up.pt>
12781         * buffer.C (makeDocBookFile): white space changes, add newline to
12782         command styles.
12783         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12784
12785         * tabular.C (docBook): fix typo.
12786
12787 2002-05-03  Juergen Vigna  <jug@sad.it>
12788
12789         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12790         change in LyXText as we can not be sure it was not freed.
12791         (drawOneRow): remove unused code.
12792
12793         * text.C (drawInset): redo the calculation of the need_break_row as
12794         it could have a row which was already freed.
12795         (draw): look at the return value of drawInset and return false if
12796         it also returned false.
12797         (paintRowText): look at the return value of draw and return false if
12798         it also returned false.
12799
12800         * lyxtext.h: added bool return type to drawInset() and draw() so that
12801         if we have a change in the row so that the rowbreak has to be redone
12802         we abort drawing as it will be called again.
12803
12804 2002-05-02  Juergen Vigna  <jug@sad.it>
12805
12806         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12807         a change in the maintext also if we're inside an inset.
12808         (Dispatch): set the cursor again after a break line and after the
12809         screen has been updated as it could be we're in a different row.
12810
12811         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12812         to set the cursor behind the pargraph with > size().
12813         (setCursor): check also for the same paragraph when checking where
12814         to put the cursor if we have a NFR inset.
12815
12816         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12817         parts of layout read further up as it still was in the wrong
12818         position.
12819
12820 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12821
12822         * screen.C (drawFromTo): change sine fullRebreak always return
12823         true.
12824
12825         * buffer.C (parseSingleLyXformat2Token): reindent some
12826
12827         * BufferView_pimpl.C (update): change since fullRebreak always
12828         return true.
12829         (Dispatch): git rid of the last hardcoded "Standard"s.
12830
12831 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12832
12833         * text2.[Ch] (fullRebreak): make it return void now that we always
12834         returned true.
12835
12836 2002-04-30  Juergen Vigna  <jug@sad.it>
12837
12838         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12839         ert compatibility check for "latex" layout.
12840
12841 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12842
12843         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12844         minipages: use col% instead of p%, and also use the current font.
12845         (makeLaTeXFile): Fix use babel condition.
12846         (parseSingleLyXformat2Token): Correct font when reading old floats.
12847
12848 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12849
12850         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12851         inserting list of floats.
12852
12853 2002-04-25  Herbert Voss  <voss@lyx.org>
12854
12855         * MenuBackend.C (expand): don't add the graphics extensions to the
12856         export menu
12857
12858 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12859
12860         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12861         non-existing layout, do not complain if it was the default layout
12862         of the original class (bug #342)
12863
12864 2002-04-24  Juergen Vigna  <jug@sad.it>
12865
12866         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12867         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12868
12869 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12870
12871         * buffer.C (getBibkeyList): If using \bibliography, return the
12872         option field with the reference itself. Enables us to provide natbib
12873         support when using \bibliography.
12874
12875 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12876
12877         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12878
12879         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12880         natbib is provided by the LaTeX class.
12881
12882 2002-04-23  Juergen Vigna  <jug@sad.it>
12883
12884         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12885         Wakeup functions.
12886
12887         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12888
12889 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12890
12891         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12892
12893         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12894         ensuremath around textordmasculine, textordfeminine and
12895         textdegree.
12896
12897 2002-04-19  Juergen Vigna  <jug@sad.it>
12898
12899         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12900         reinitializing the buffer otherwise row-dimensions may be wrong.
12901         (update): reset also the selection cursors if they do exits otherwise
12902         their x/y positions may be wrong.
12903
12904         * text2.C (cursorDown): don't enter the inset if we came from a row
12905         above and are one row over the inset.
12906
12907         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12908         really leaving an inset.
12909
12910 2002-04-18  Juergen Vigna  <jug@sad.it>
12911
12912         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12913         of the selected paragraph does not have the selected layout also if
12914         the last one had!
12915
12916         * text2.C (setLayout): fixed bug which did not change last selected
12917         paragraph.
12918
12919         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12920         changed the read and substituted \\end_float with \\end_inset!
12921
12922         * BufferView_pimpl.C (cursorPrevious):
12923         (cursorNext): fixed to make it work with rows heigher than the work
12924         area without moving the cursor only the draw of the row.
12925         (workAreaMotionNotify): fix jumping over high rows.
12926
12927 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12930         Ressler.
12931
12932 2002-04-16  Juergen Vigna  <jug@sad.it>
12933
12934         * text2.C (setCursor): set also the irow().
12935         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12936         (cursorUp):
12937         (cursorDown): support for locking an inset if the x_fix value goes
12938         inside it. That way I can transverse insets too with cursor up/down.
12939
12940         * lyxrow.h: added irow helper function same as other (i) functions.
12941
12942         * BufferView_pimpl.C (cursorPrevious):
12943         (cursorNext): fixed for insets!
12944
12945 2002-04-15  Juergen Vigna  <jug@sad.it>
12946
12947         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12948         position otherwise it is wrong in some cases.
12949
12950         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12951         inside the inset before the call.
12952
12953 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12954
12955         * buffer.[Ch] (getBibkeyList): make it const.
12956
12957 2002-04-12  Juergen Vigna  <jug@sad.it>
12958
12959         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12960
12961         * text2.C (getCursorX): new helper function
12962         (setCursor): compute also ix_
12963         (setCursorFromCoordinates): set also ix.
12964
12965         * lyxcursor.h: added ix_ and helper functions.
12966
12967         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12968
12969         * buffer.C (insertStringAsLines): dont break paragraph if the this
12970         paragraph is inside an inset which does not permit it!
12971
12972         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12973         also with no chars on this paragraph.
12974         (paintRowText): only paint stuff if it's inside the workarea!
12975
12976         * paragraph.C (breakParagraph): honor keepempty flag and break the
12977         paragraph always below not above.
12978
12979         * BufferView2.C (unlockInset): update the paragraph layout on inset
12980         unlock as we changed paragraph in such a case.
12981
12982         * lyxfind.C (LyXFind): clear the former selection if not found!
12983
12984         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12985         again called in insertChar().
12986
12987         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12988         an inset which uses the whole row!
12989         (rightMargin): ditto.
12990         (insertChar): force a rebreak if we inserted an inset!
12991
12992 2002-03-28  Herbert Voss  <voss@lyx.org>
12993
12994         * lyxlength.[Ch]: add inBP() to get the right PS-point
12995         units (BigPoint). With inPixels we have rounding errors
12996
12997 2002-04-11  Juergen Vigna  <jug@sad.it>
12998
12999         * text2.C (setCursorFromCoordinates): set iy to the right value.
13000         (setCursor): add check if row->previous exists!
13001
13002         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13003         an old float_type as this was the case in the old code!
13004
13005         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13006
13007         * BufferView2.C (showLockedInsetCursor): use iy
13008         (fitLockedInsetCursor): ditto
13009
13010         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13011         locked insets as there we have the right value now.
13012
13013         * lyxcursor.C: added iy_ variable and iy functions to set to the
13014         baseline of cursor-y of the locked inset.
13015
13016         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13017         (setCursor): fixed for insets which need a full row.
13018
13019         * text.C (rowLastPrintable): don't ignore the last space when before
13020         an inset which needs a full row.
13021         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13022         as last character of a row when before a inset which needs a full row.
13023
13024 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13025
13026         * version.C.in: update date
13027
13028         * text2.C (fullRebreak): try to always return true and see what
13029         happens...
13030
13031 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13032
13033         * MenuBackend.C (expand): use Floating::listName
13034
13035         * FloatList.C (FloatList): add listName argument to the built-in
13036         floats
13037
13038         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13039         text associated with the float.
13040
13041 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13042
13043         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13044
13045 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13046
13047         * ShareContainer.h: add a couple of missing typenames.
13048
13049 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13050
13051         * lyxrc.C (getDescription): use _() correctly rather than N_().
13052
13053 2002-03-28  Herbert Voss  <voss@lyx.org>
13054
13055         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13056         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13057
13058 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13059
13060         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13061         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13062
13063 2002-03-29  Juergen Vigna  <jug@sad.it>
13064
13065         * lyxfunc.C (dispatch): add a missing fitCursor call.
13066
13067         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13068         it was scrolled by a cursor move, so return the bool status.
13069
13070         * BufferView.C (fitCursor): return the bool flag also to the outside
13071         world as this is needed.
13072
13073         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13074
13075         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13076         call the edit() as it is not needed (and wrong) IMO.
13077         (workAreaButtonPress): set the screen_first variable before evt.
13078         unlock the inset as this may change screen_first and then we have
13079         a wrong y position for the click!
13080
13081 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13082
13083         * MenuBackend.C (expand): another translation that I missed
13084
13085 2002-03-28  Juergen Vigna  <jug@sad.it>
13086
13087         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13088
13089         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13090
13091 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13092
13093         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13094
13095         * MenuBackend.C (expand): fix export/view/update when there is no
13096         document open.
13097
13098 2002-03-27  Herbert Voss  <voss@lyx.org>
13099
13100         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13101         and text%
13102
13103 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13104
13105         * bufferview_funcs.C (currentState): only show paragraph number
13106         for is DEVEL_VERSION is set.
13107
13108         * lyxfunc.C (dispatch): put warning in INFO channel
13109
13110         * MenuBackend.C (expand): translate the name of floats
13111
13112         * FloatList.C (FloatList): mark the float names for translation
13113
13114         * converter.C (convert): use LibScriptSearch
13115
13116 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13117
13118         * MenuBackend.C (defaults): fix default menu (we might as well get
13119         rid of it...)
13120
13121 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13124         directory.
13125
13126 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * lyxvc.C: reorder includes.
13129
13130 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13131
13132         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13133           properly
13134
13135 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13136
13137         * CutAndPaste.C: change layouts earlier on paste
13138           to avoid crashing when calling getFont()
13139
13140 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13141
13142         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13143         irritating #error.
13144
13145 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13146
13147         * WorkArea.C: remove 'Pending' debug message.
13148
13149         * most files: ws cleanup
13150
13151         * buffer.[Ch]: ws changes
13152
13153         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13154
13155 2002-03-21  Juergen Vigna  <jug@sad.it>
13156
13157         * tabular.C (SetMultiColumn): collapse also the contents of the
13158         cells and set the last border right. Added a Buffer const * param.
13159
13160 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13161
13162         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13163         linking or not.
13164
13165 2002-03-19  Juergen Vigna  <jug@sad.it>
13166
13167         * text2.C (clearSelection): reset also xsel_cache.
13168
13169         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13170         where it needs to be called (John tells us to do so too :)
13171         (selectionLost): reset sel_cache.
13172
13173         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13174
13175 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13176
13177         * text2.C (setCursorIntern): put debuging code in INSETS channel
13178
13179 2002-03-19  André Pönitz <poenitz@gmx.net>
13180
13181         * lyxfunc.C: tiny whitespace change
13182
13183 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13184
13185         * ToolbarDefaults.C (init):
13186         * LyXAction.C (init):
13187         * commandtags.h:
13188         * BufferView_pimpl.C (Dispatch):
13189         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13190
13191 2002-03-19  Allan Rae  <rae@lyx.org>
13192
13193         * exporter.C (Export): removeAutoInsets before doing anything else.
13194         While I've just introduced a dependency on BufferView this really is
13195         the best place to clean the buffer otherwise you need to cleanup in
13196         a dozen places before calling export or cleanup in a dozen functions
13197         that export calls.
13198
13199         * converter.C (runLaTeX):
13200         (scanLog): Better handling of removeAutoInsets and screen updates.
13201
13202         * lyxfunc.C (dispatch): small whitespace changes
13203
13204 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * WorkArea.C (C_WorkAreaEvent): return a value.
13207         (event_cb): return 1 if we handled the event, 0 otherwise.
13208
13209         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13210
13211 2002-03-18  Juergen Vigna  <jug@sad.it>
13212
13213         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13214         (GetAdditionalWidth): ditto.
13215         (RightLine): ditto.
13216         (LeftLine): ditto.
13217
13218         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13219         inset if we're there actually (probably not used right now but this
13220         is the direction to go for unifying code).
13221         (paste): disable code to clear the selection.
13222
13223         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13224         inside an InsetText and move the check further up as it is in the
13225         wrong place.
13226
13227         * text2.C (pasteSelection): set a selection over the pasted text.
13228
13229 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13230
13231         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13232         and libgraphics to build on Cygwin.
13233
13234 2002-03-15  Juergen Vigna  <jug@sad.it>
13235
13236         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13237         inserting an Inset into the paragraph. I know this is not the best
13238         fix but we already use current_view in CutAndPaste so we will remove
13239         all of it's using at the same time.
13240
13241         * buffer.C (sgmlError): deactivated function till it is rewritten in
13242         the right mode, now it can create problems.
13243
13244         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13245         before accessing it.
13246
13247 2002-03-14  Juergen Vigna  <jug@sad.it>
13248
13249         * undo_funcs.C (textHandleUndo): do the right thing when updating
13250         the inset after the undo/redo.
13251
13252         * text2.C (setCursor): just some testcode for #44 not ready yet.
13253
13254         * undo_funcs.C (textHandleUndo): set the next() and previous()
13255         pointers of the paragraph to 0 before deleting otherwise we have
13256         problems with the Paragraph::[destructor].
13257
13258         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13259         on a paragraph insertion.
13260
13261 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13262
13263         * buffer.C (asciiParagraph): use += operator for char append to
13264         string.
13265
13266         * paragraph.C (getFontSettings): compare >= not just >
13267         (highestFontInRange): ditto
13268         (setFont): ditto
13269
13270 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13271
13272         * paragraph.C: change several algorithm to be more appripriate for
13273         the problem domain. This is lookip in FontList and in the InsetList.
13274
13275 2002-03-13  André Pönitz <poenitz@gmx.net>
13276
13277         * commandtags.h:
13278         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13279
13280 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * commandtags.h:
13283         * LyXAction.C:
13284         * lyxfunc.C:
13285         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13286
13287 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13288
13289         * Painter.C (display): anon helper function, adjust code for this
13290         change.
13291         (pixmap): remove function.
13292
13293         * Painter.h: remove private display variable.
13294
13295         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13296
13297 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * WorkArea.[Ch]: remove figinset_canvas cruft.
13300
13301 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * lyxtextclass.C (operator): add one item cache optimization.
13304
13305         * bufferlist.h: doxy changes
13306
13307         * bufferlist.C: ws changes
13308
13309         * DepTable.[Ch] (ext_exist): place const in the right spot.
13310
13311         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13312         call resizeInsets.
13313         (workAreaExpose): call resizeInsets when the with BufferView changes.
13314         (Dispatch): adjust for protectedBlank removal
13315         (specialChar): call updateInset if the insert went ok.
13316
13317         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13318         specialChar instead.
13319
13320         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13321
13322         * BufferView.h: doxy change
13323
13324         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13325
13326         * lyxtextclass.C (operator[]): remove non-const version
13327         (defaultLayout): remove non-const version
13328
13329 2002-03-12  Juergen Vigna  <jug@sad.it>
13330
13331         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13332         did resize the LyXText too.
13333
13334         * buffer.C (readLyXformat2): set layout information on newly allocated
13335         paragraphs.
13336
13337         * tabular.C (OldFormatRead): set layout information on the paragraph.
13338
13339 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13340
13341         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13342
13343 2002-03-11  Juergen Vigna  <jug@sad.it>
13344
13345         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13346         plainly wrong.
13347         (resizeCurrentBuffer): force also the insets to resize themselfes.
13348         (moveCursorUpdate): fixed up for InsetText.
13349
13350 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * commandtags.h:
13353         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13354         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13355         value of Dialogs::tooltipsEnabled().
13356         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13357
13358 2002-03-08  Juergen Vigna  <jug@sad.it>
13359
13360         * BufferView_pimpl.C (updateInset): update inset inside inset also
13361         if it isn't inside theLockingInset().
13362
13363 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13364
13365         * buffer.C (asciiParagraph): redo some of the word and line length
13366         handling.
13367         (getLists): look for Caption instead of caption.
13368
13369 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13370
13371         * buffer.C (Buffer): initialize niceFile to true
13372         (makeLaTeXFile):
13373         (makeLinuxDocFile):
13374         (makeDocBookFile): make sure niceFile is true on exit
13375
13376 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13377
13378         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13379
13380 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13381
13382         * LyXSendto.C: remove.
13383         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13384         * lyx_gui.C: remove now-redundant comment.
13385         * ColorHandler.h: remove forward declaration of class WorkArea.
13386         * lyxfunc.C: remove #include "WorkArea.h".
13387
13388 2002-03-07  Juergen Vigna  <jug@sad.it>
13389
13390         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13391         got moved away with the DEPM and also set the inset_owner always
13392         right which before could have been omitted.
13393
13394 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13395
13396         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13397         wanted layout is not found.
13398
13399 2002-03-07  Juergen Vigna  <jug@sad.it>
13400
13401         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13402
13403 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13404
13405         * paragraph.C (breakParagraph): use default layout not layout of
13406         prev paragraph.
13407         (Paragraph): clear ParagraphParameters.
13408
13409 2002-03-06  Juergen Vigna  <jug@sad.it>
13410
13411         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13412         otherwise it would not be a valid lenght. Fixed a special case in
13413         the minipage compatibility read where we end the document with a
13414         minipage.
13415
13416         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13417         was set as it could be 0 for InsetTexts first entry.
13418
13419 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * paragraph.C (writeFile): if layout is empty write out
13422         defaultLayoutName().
13423
13424         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13425         file without named layout we set layout to defaultLayoutName().
13426
13427 2002-03-06  Juergen Vigna  <jug@sad.it>
13428
13429         * CutAndPaste.C (copySelection): set layout for new paragraph.
13430
13431         * text.C (prepareToPrint): leave ERT inset left aligned
13432         (leftMargin): don't indent paragraphs inside ERT insets
13433
13434 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * paragraph.C (breakParagraph): dont call clear do the work manually
13437
13438         * paragraph.[Ch] (clear): remove function
13439
13440 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13441
13442         * paragraph.C (Paragraph): dont call clear, the work has already
13443         been done.
13444
13445         * lyxtextclass.C (operator): assert if n is empty
13446
13447         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13448         work manually instead.
13449
13450 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13451
13452         * BufferView_pimpl.C: protect selectionLost against text == 0
13453
13454 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13455
13456         * text.C (breakParagraph): fix a setting layout to '0' problem.
13457
13458 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13459
13460         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13461         final location of file, for the included files, and graphics.
13462
13463 2002-03-05  Juergen Vigna  <jug@sad.it>
13464
13465         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13466
13467 2002-03-04  Juergen Vigna  <jug@sad.it>
13468
13469         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13470
13471         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13472         last column of multicolumn cells.
13473         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13474
13475 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13476
13477         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13478         file if it doesn't go to a temporary file.
13479
13480         * buffer.C (sgmlOpenTag):
13481         (sgmlCloseTag):  remove extra newline insertion.
13482
13483 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13484
13485         * text.C (getRowNearY): comment out debug msg
13486
13487 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * text2.C: first -> first_y
13490
13491         * text.C (getRowNearY): add some attemts at a possible
13492         optimization, not working.
13493
13494         * tabular.[Ch]: add BufferParams to several function so that newly
13495         created paragraph can be initialized to he default layotu for the
13496         buffers textclass.
13497
13498         * tabular-old.C (ReadOld): add buf->params to call of Init
13499
13500         * screen.C: rename text->first to text->first_y
13501
13502         * paragraph.C (breakParagraph): always set layout in the broken
13503         paragraph
13504
13505         * lyxtextclass.C (Read): remove lowercase
13506         (hasLayout): ditto
13507         (operator): ditto
13508         (delete_layout): ditto
13509
13510         * lyxtext.h: rename first -> first_y
13511
13512         * lyxlayout.C (Read): remove lowercase
13513         (name): ditto
13514         (setName): ditto
13515         (obsoleted_by): ditto
13516
13517         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13518
13519         * buffer.C (insertErtContents): add params are to InsetERT
13520         (parseSingleLyXformat2Token): add code to check if a paragraphs
13521         layout really exist.
13522         (parseSingleLyXformat2Token): add params to several inset
13523         constructors
13524         (asciiParagraph): remove lowercase, do the layout comparisons with
13525         no_case
13526
13527         * BufferView_pimpl.C (cursorNext): first -> first_y
13528         (resizeCurrentBuffer): first -> first_y
13529         (updateScrollbar): first -> first_y
13530         (scrollCB): first -> first_y
13531         (workAreaMotionNotify): first -> first_y
13532         (workAreaButtonPress): first -> first_y
13533         (checkInsetHit): first -> first_y
13534         (cursorPrevious): first -> first_y
13535         (cursorNext): first -> first_y
13536         (Dispatch): add buffer_->params to severl inset contructors
13537
13538 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13539
13540         * lyxlayout.C (Read): remove some debug info that I forgot.
13541
13542         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13543         clean up the code slightly.
13544         (makeLinuxDocFile): ditto
13545         (makeDocBookFile): ditto
13546
13547         * text2.C: layout as string
13548
13549         * text.C: layout as string
13550
13551         * paragraph_pimpl.C: layout as string
13552
13553         * paragraph.[Ch]: layout as string
13554
13555         * lyxtextclasslist.[Ch]: layout as string
13556
13557         * lyxtextclass.[Ch]: layout as string
13558
13559         * lyxtext.h: layout as string
13560
13561         * lyxlayout.[Ch]: layout as string
13562
13563         * lyx_cb.C: layout as string
13564
13565         * bufferview_funcs.C: layout as string
13566
13567         * bufferparams.C: layout as string
13568
13569         * buffer.C: layout as string
13570
13571         * LyXView.[Ch]: layout as string
13572
13573         * LaTeXFeatures.[Ch]: layout as string
13574
13575         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13576
13577         * BufferView_pimpl.C: change current_layout to string, remove
13578         lyx::layout_type.
13579         (Dispatch):
13580         (smartQuote):
13581         (insertInset):
13582         (workAreaButtonRelease): layout as string
13583
13584         * BufferView2.C (unlockInset): adjust
13585
13586         * vspace.C (asLatexCommand): use an explict temp variable.
13587
13588 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * Makefile.am: use FRONTEND_*
13591
13592 2002-03-01  Juergen Vigna  <jug@sad.it>
13593
13594         * tabular.C (SetWidthOfMulticolCell): changed to something better
13595         I hope but still work in progress.
13596         (recalculateMulticolumnsOfColumn): renamed function from
13597         recalculateMulticolCells as it is more appropriate now.
13598         (SetWidthOfCell): calculate multicols better.
13599
13600 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13601
13602         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13603
13604         * lyxfunc.C (processKeySym): print sequence also if it is
13605         `deleted' (complete)
13606
13607         * kbsequence.C (print): print sequence even if it is deleted
13608         (complete would be a better word, actually).
13609
13610         * lyxfunc.C (dispatch): print complete options after a prefix key
13611
13612         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13613
13614 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13615
13616         * text2.C (setCharFont): eliminate setCharFont code duplication.
13617
13618 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13619
13620         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13621         LFUN_TABULAR_FEATURE (bug #177)
13622
13623 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13624
13625         * Makefile.am: remove figure.h
13626
13627 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13628
13629         * Bufferview_pimpl.C:
13630         * CutAndPasteC:
13631         * LaTeX.C:
13632         * LyXSendto.C:
13633         * buffer.C:
13634         * bufferlist.C:
13635         * converter.C:
13636         * language.C:
13637         * lyxfunc.C:
13638         * lyxvc.C:
13639         * paragraph.C:
13640         * text.C:
13641         * text2.C: remove #include "lyx_gui_misc.h".
13642
13643         * LaTeX.C: added #include <cstdio>
13644
13645 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13646
13647         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13648         that the paragraph following this one can have.
13649
13650         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13651
13652         * vspace.C (asLatexCommand): fix bogus gcc warning
13653
13654         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13655
13656 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13657
13658         * text2.C (setLayout): get rid of redundant code
13659
13660 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13661
13662         * text2.C (incDepth): make sure depth cannot be increased beyond
13663         reasonable values.
13664
13665 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13666
13667         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13668         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13669
13670         * PainterBase.h (image):
13671         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13672         a LyXImage const *.
13673
13674 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13675
13676         * BufferView.C:
13677         * BufferView.h:
13678         * BufferView_pimpl.C:
13679         * BufferView_pimpl.h:
13680         * LaTeXFeatures.C:
13681         * LyXAction.C:
13682         * LyXView.C:
13683         * Makefile.am:
13684         * UpdateList.h:
13685         * UpdateList.C:
13686         * buffer.C:
13687         * figure.h:
13688         * figureForm.C:
13689         * figureForm.h:
13690         * figure_form.C:
13691         * figure_form.h:
13692         * lyx_cb.C:
13693         * lyx_gui.C:
13694         * lyx_gui_misc.C:
13695         * lyxfunc.C:
13696         * sp_base.h:
13697         * sp_ispell.h:
13698         * sp_pspell.h:
13699         * sp_spell.C: remove fig inset, and the crap house of
13700           cards that follows it
13701
13702 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13703
13704         * Makefile.am:
13705         * lyxserver.C:
13706         * os2_defines.h:
13707         * os2_errortable.h:
13708         * nt_defines.h: move .h into support/
13709
13710         * vms_defines.h: remove
13711
13712         * WorkArea.C: add space in debug output
13713
13714         * text2.C:
13715         * paragraph.C:
13716         * buffer.C: add WITH_WARNINGS
13717
13718         * vc-backend.h:
13719         * vc-backend.C:
13720         * bufferlist.C: s/retrive/retrieve/, add docs
13721
13722         * vspace.h:
13723         * vspace.C:
13724         * kbmap.h:
13725         * lyxlength.h:
13726         * lyxgluelength.h:
13727         * length_common.h:
13728         * chset.h:
13729         * chset.C: add docs
13730
13731         * lyxgui.C: add ID to X error handler
13732
13733         * lyxtestclass.c: fix typo
13734
13735 2002-02-26  Juergen Vigna  <jug@sad.it>
13736
13737         * tabular_funcs.C (write_attribute): changed so that some default
13738         attributes are not written at all.
13739         (getTokenValue): set default values before trying to read the
13740         value so we have the return value always set as default if we don't
13741         find the token we search for.
13742
13743         * tabular.C (Write): write bools as bools not as strings!
13744
13745 2002-02-22  Juergen Vigna  <jug@sad.it>
13746
13747         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13748         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13749
13750         * text.C (leftMargin): don't add an indent for paragraphs inside
13751         tabular cells (fix #208).
13752
13753 2002-02-21  José Matos  <jamatos@fep.up.pt>
13754
13755         * tabular.C (docBook): fixed support for long tables.
13756
13757 2002-02-20  Juergen Vigna  <jug@sad.it>
13758
13759         * text2.C (getFont): get the drawing font of the Inset if this
13760         paragraph is inside an inset (only important for InsetERT for now).
13761
13762         * buffer.C (insertErtContents): use new lanugage params in ERT
13763         constructor.
13764
13765         * CutAndPaste.C: commenting out seemingly uneeded code.
13766
13767 2002-02-19  Allan Rae  <rae@lyx.org>
13768
13769         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13770         Iterators might be simple to use but they also get invalidated.
13771         (removeAutoInsets): renamed saved cursor tracking variables and added
13772         some comments to clarify what everything does.
13773
13774 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13775
13776         * Chktex.C:
13777         * LaTeX.C:
13778         * LyXSendto.C:
13779         * converter.C:
13780         * lyx_cb.C:
13781         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13782         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13783
13784         * lyxfunc.C:
13785         * vc-backend.h: remove #include "support/syscall.h"
13786
13787         * LaTeX.C:
13788         * LyXSendto.C:
13789         * converter.C: rearrange #includes in Lars' approved fashion.
13790
13791         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13792         forward declare class Timeout in the header file.
13793
13794         * XFormsView.C: changes due to the above.
13795
13796         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13797         similar to LyXView.
13798
13799         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13800         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13801
13802 2002-02-18  José Matos  <jamatos@fep.up.pt>
13803
13804         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13805         insets contents.
13806
13807 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13808
13809         * a lot of small ws changes
13810         * add a lot of using std::XXX
13811         * use std construcs some places where approp.
13812         * use some exisint stuff from lyxfunctional where approp.
13813         * Make file changes to use partial linking (lets test this now...)
13814
13815 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13816
13817         * Chktex.C:
13818         * buffer.C:
13819         remove #include "support/syscontr.h" as it's redundant. Always has been.
13820
13821         * Chktex.C:
13822         * LaTeX.C:
13823         * LyXSendto.C:
13824         * converter.C:
13825         * lyx_cb.C:
13826         * vc-backend.C:
13827         change Systemcalls::System to Systemcalls::Wait and
13828         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13829         No change of functionality, just reflects the stripped down Systemcalls
13830         class.
13831
13832 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13833
13834         * debug.[Ch]: add a GRAPHICS type to the enum.
13835
13836 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13837
13838         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13839
13840         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13841         there is an inset.
13842
13843 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13844
13845         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13846         match the changes below.
13847
13848         * text2.C (toggleInset): if there is not editable inset at cursor
13849         position, try to see if cursor is _inside_ a collapsable inset
13850         and close it.
13851
13852 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13853
13854         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13855         document menu has a nice checkbox
13856
13857 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13858
13859         * lyxlength.C (asLatexString): change PW to output as percent of
13860         \textwidth.
13861
13862         * lengthcommon.C: change '%' to 't%'
13863
13864         * lyxfunc.C (dispatch): a few comments from Martin
13865
13866 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * WorkArea.h:
13869         * WorkArea.C:
13870         * BufferView_pimpl.h:
13871         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13872           the X selection.
13873
13874 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13875
13876         * vspace.C (inPixels): fix compiler warning
13877
13878 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13879
13880         * lyxfunc.C (getStatus): fix status message for disabled commands.
13881
13882 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13883
13884         * BufferView_pimpl.C: fix crash on close buffer
13885         during selection (#227)
13886
13887 2002-01-27  Herbert Voss  <voss@lyx.org>
13888
13889         * buffer.C: link old Figure to new graphic inset
13890
13891 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13892
13893         * FontLoader.C (getFontinfo): Change the latex font names in order
13894         to match the names of type1inst.
13895
13896 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13897
13898         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13899
13900         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13901         (extchanged): ditto
13902         (ext_exist): ditto
13903         (remove_files_with_extension): ditto
13904         (remove_file): ditto
13905         (write): ditto
13906
13907         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13908         document is smaller than the work area height. Do not initialize
13909         static variables to 0.
13910
13911 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13912
13913         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13914
13915         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13916         LFUN_LAYOUT_PARAGRAPHS.
13917
13918         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13919         tabular. It is possible to provide a possible cell, which will
13920         typically be the actcell from the corresponding insettabular
13921
13922         * lyxfunc.C (getStatus): small cleanup; disable
13923         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13924         true
13925
13926 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13927
13928         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13929
13930         * paragraph.C (startTeXParParams):
13931         (endTeXParParams): new methods. The LaTeX code to
13932         start/end paragraph formatting
13933         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13934         empty (fixes bug #200)
13935
13936         * vspace.C (inPixels): adapt to the change below
13937         (inPixels): [later] more cleanups (remove unused variables)
13938
13939         * lyxlength.C (inPixels): change to use a width and a height as
13940         parameter.
13941
13942 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13943
13944         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13945         Replaced with \paperwidth
13946
13947         * DepTable.C (insert): add std:: qualifier
13948
13949 2002-01-18  Allan Rae  <rae@lyx.org>
13950
13951         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13952         updated also?
13953
13954         * text.C (drawInset): Turned out I didn't know enough about how
13955         rebreaking worked.  This fixes most of the redraw problems.  I see
13956         an occasional cursor trail when a line is broken now and the cursor
13957         placement can seem out by a few pixels also after a rebreak.
13958
13959 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13960
13961         * buffer.C (parseSingleLyXformat2Token): update because minipage
13962         width is now a LyXLength
13963
13964         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13965
13966         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13967         math insets
13968
13969 2002-01-17  Juergen Vigna  <jug@sad.it>
13970
13971         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13972
13973         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13974         is set correctly and the inset is updated correctly.
13975
13976 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13977
13978         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13979         the beginning of the loop.
13980
13981 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13982
13983         * lyxrc.C: improve help for use_scalable_fonts
13984
13985 2002-01-17  Allan Rae  <rae@lyx.org>
13986
13987         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13988
13989 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13990
13991         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13992         make sure to set their inset_owner to the right value (bug #171)
13993
13994 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13995
13996         * DepTable.h
13997         * DepTable.C: Implement mtime checking to reduce time spent doing
13998         CRCs.
13999
14000 2002-01-16  Juergen Vigna  <jug@sad.it>
14001
14002         * tabular.C (GetAdditionalHeight): one of error fixed.
14003
14004         * lyxrc.C (output): small fix in writing use_pspell.
14005
14006 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14007
14008         * sp_base.h: #include LString.h
14009
14010 2002-01-16  Allan Rae  <rae@lyx.org>
14011
14012         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14013         Can someone check this please?
14014
14015         * text.C (drawInset): It was possible that p.row would be removed by
14016         breakAgainOneRow upsetting a few other settings.  There may be another
14017         small tweak possible by setting need_break_row = 0 when p.row has been
14018         removed but I don't know enough about the logic here.
14019
14020 2002-01-15  Allan Rae  <rae@lyx.org>
14021
14022         * text.C (insertChar): removed conditional truism.
14023
14024         * BufferView2.C (removeAutoInsets): More tweaks.
14025         cur_par_prev could be a stray pointer.  Check for trailing empty line
14026         in case last line was cur_par and only had an error inset on it.
14027
14028 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14029
14030         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14031         absolute
14032
14033         * vc-backend.C (most methods):
14034         * exporter.C (Export):
14035         * converter.C (convert):
14036         (runLaTeX):
14037         * LyXSendto.C (SendtoApplyCB):
14038         * lyxfunc.C (dispatch):
14039         (menuNew):
14040         (open):
14041         (doImport):
14042         * lyx_cb.C (AutoSave):
14043         (InsertAsciiFile):
14044         * BufferView_pimpl.C (MenuInsertLyXFile):
14045         * buffer.C (runChktex): use Buffer::filePath().
14046
14047         * buffer.h: rename filename to filename_; rename filepath to
14048         filepath_ and make it private
14049         (filePath): new method
14050
14051         * buffer.C (writeFile): use fileName()
14052         (getLatexName):
14053
14054         * lyx_main.C (init): fix starting  of LyX when the binary is a
14055         link from so,ewhere else.
14056
14057         * minibuffer.C: include <cctype> for isprint
14058
14059 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14060
14061         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14062         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14063         name clash with InsetCollapsable's width function.
14064
14065 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14066
14067         * lastfiles.C: include <iterator>
14068
14069 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14070
14071         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14072         std::count.
14073
14074         * buffer.C (makeLaTeXFile): ditto.
14075         Also make loop operation more transparent.
14076
14077 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14078
14079         * ToolbarDefaults.C: remove trailing comma closing namespace.
14080
14081         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14082
14083         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14084         as in WorkArea.
14085
14086         * trans.C (Load): comment out unused variable, allowed.
14087
14088 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14089
14090         * minibuffer.[Ch] (append_char): new method to recieve input from the
14091         drop-down completion browser. If a key was pressed, then recieve this
14092         char and append it to the existing string.
14093         (peek_event): modify the positioning data passed to the completion
14094         browser so that it can be placed above the minibuffer rather than below.
14095 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14096
14097         * LyXAction.C (init): alloe error-next for readonly documents.
14098
14099         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14100         count.
14101
14102 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * bufferlist.C (readFile): create the buffer _after_ checking that
14105         the file exists.
14106
14107         * lyxfunc.C (verboseDispatch): fix handling of arguments
14108
14109         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14110
14111         * lyxrc.C: use string::erase() instead of initializing to "".
14112
14113
14114 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14115
14116         * BufferView_pimpl.h:
14117         * BufferView_pimpl.C:
14118         * WorkArea.h:
14119         * WorkArea.C:
14120         * text2.C: tell X when we have made a selection for copying
14121
14122 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14123
14124         * BufferView_pimpl.C (MenuInsertLyXFile):
14125         * lyxfunc.C (menuNew):
14126         (open):
14127         (doImport): add shortcuts to directory buttons
14128
14129         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14130         open a float)
14131
14132         * lyxfunc.C (setStatusMessage):
14133         (getStatusMessage): new methods
14134         (getStatus):use setStatusMessage instead of setErrorMessage
14135         (dispatch): when function is disabled, set error message here
14136         [instead of in getStatus previously]
14137
14138         * BufferView_pimpl.C (workAreaButtonRelease): update
14139         toolbar/menubar here too.
14140
14141 2002-01-13  Allan Rae  <rae@lyx.org>
14142
14143         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14144         Now seems indestructible.  Remaining task is to audit all other
14145         code affected by deleteEmptyParagraphMechanism.  One small quirk
14146         left is that an empty document with an error in the preamble can
14147         be made to report an error but no error box appears.  I don't know
14148         where it goes.
14149         (removeAutoInsets): Improved comments.
14150
14151 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * Thesaurus.h:
14154         * Thesaurus.C: update for Aiksaurus 0.14
14155
14156 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14157
14158         * text2.C (firstParagraph): removed member function, all uses
14159         replaces with ownerParagraph
14160         (redoParagraphs): here
14161         (updateInset): here
14162         (toggleAppendix): here
14163         * BufferView2.C (insertErrors): here
14164         (setCursorFromRow): here
14165
14166 2002-01-13  Allan Rae  <rae@lyx.org>
14167
14168         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14169         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14170         There is still a way to segfault this although you may have to do this
14171         multiple times: Have an InsetERT with an unknown command in it.
14172         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14173         <down-arrow>, <Enter> again, View->DVI, BANG!
14174
14175         * text2.C (setCursor):
14176         (deleteEmptyParagraphMechanism):
14177         * lyxtext.h (setCursor):
14178         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14179         Making use of the return value may help fix other bugs.
14180
14181 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14182
14183         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14184
14185         * LyXView.C (updateMenubar): call MenuBar::update here
14186         (updateToolbar): but not here
14187         (showState): do not update toolbar/menubar
14188
14189         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14190         should need to care about that.
14191
14192         * lyxfunc.C (verboseDispatch): simplify a bit
14193         (getStatus): have a version which takes a pseudoaction, and
14194         another which requires a (kb_action,string).
14195
14196         * LyXAction.C (retrieveActionArg): make it work also when action
14197         is not a pseudo-action.
14198         (getActionName): simplify a bit
14199         (helpText):
14200
14201 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14202
14203         * lyxfunc.C (verboseDispatch): new families of methods with
14204         several ways to specify a command and a bool to indicate whether
14205         the command name and shortcut should be displayed in minibuffer
14206         (eventually, we could extend that to a finer bitmask like
14207         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14208         (dispatch): the pristine dispatch command which just, well,
14209         dispatchs! Note it still sets its result to minibuffer; I'm not
14210         sure we want that.
14211
14212         * lyxfunc.h: remove setHintMessage
14213
14214         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14215
14216 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14217
14218         * BufferView_pimpl.C (specialChar): delete new inset if we have
14219         not been able to insert it.
14220
14221         * kbmap.C: revert to using int instead of kb_action, since all we
14222         are dealing with is pseudo-actions.
14223
14224         * LyXAction.C (searchActionArg): change to return int instead of
14225         kb_action, since the result is a pseudoaction.
14226
14227 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14228
14229         * buffer.C (insertErtContents): Fix (partially) the font bug.
14230
14231 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14232
14233         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14234         as the other one is broken on my machine!
14235
14236 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14237
14238         * commandtags.h:
14239         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14240
14241 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14242
14243         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14244         reflect their actual use. Provide compatibility code for older lyxrc
14245         files.
14246
14247         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14248         FL_NORMAL_STYLE.
14249         change names of popup font variables in line with the changes to lyxrc.C
14250
14251 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14252
14253         * buffer.C (asciiParagraph): avoid outputing a word twice after
14254         an inset.
14255
14256         * lyxrc.C (getDescription): document that document_path and
14257         template_path can be empty.
14258
14259 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14260
14261         * LaTeXFeatures.C (getMacros):
14262         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14263
14264         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14265
14266         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14267         getPackages.
14268         (getPackages): rename feature "floats" to "float". Use an array to
14269         iterate over 'simple' features (i.e. just a \usepackage). Add
14270         handling of "amsmath" (renamed from "amsstyle").
14271
14272 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14273
14274         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14275         features list.
14276
14277 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14278
14279         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14280         FuncStaus::FuncStatus & FuncStaus::some_method().
14281
14282 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14283
14284         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14285         of the func_satus stuff. Edited and massaged in various ways by
14286         JMarc.
14287
14288         * lyxfunc.C (getStatus): use FuncStatus
14289
14290 2002-01-08  Juergen Vigna  <jug@sad.it>
14291
14292         * text.C (nextBreakPoint): use function Inset::isChar().
14293
14294         * paragraph.C (TeXOnePar): use function
14295         Inset::forceDefaultParagraphs.
14296
14297         * buffer.C (latexParagraphs): use function
14298         Inset::forceDefaultParagraphs.
14299
14300 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14301
14302         * lyx_gui.C (init): set the style of the menu popups to
14303         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14304
14305 2002-01-07  Juergen Vigna  <jug@sad.it>
14306
14307         * text.C (setHeightOfRow): small fix
14308         (prepareToPrint): don't look at alignment if we don't have the place
14309         for doing it.
14310
14311 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14312
14313         * box.C: New file. Move the Box methods and functions out of box.h,
14314         following Lars' suggestion.
14315
14316 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14317
14318         * box.h: #include "support/LOstream.h", needed for inlined function.
14319
14320         * lyxtextclass.C:
14321         * lyxtextclasslist.C: added some using std declarations.
14322
14323 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14324
14325         * box.h: make signed dimensions to allow insets wider than
14326           the screen (bug #162)
14327
14328         * BufferView_pimpl.C: add some insetHit debug
14329
14330 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14331
14332         * vc-backend.C: add FIXME
14333
14334 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14335
14336         * lyxfunc.C (getStatus): enable code for showing math font status
14337         in toolbar/menu.
14338
14339 2002-01-07  Juergen Vigna  <jug@sad.it>
14340
14341         * text.C (nextBreakPoint): removed debug output not needed anymore.
14342
14343 2002-01-06  Juergen Vigna  <jug@sad.it>
14344
14345         * text.C (nextBreakPoint): fixed up this function we had this bug
14346         since ever but now hopefully we break row better.
14347         (insertChar): we have to check if an inset is the next char as it
14348         could now happen that a large inset is causing a break.
14349
14350 2002-01-05  Juergen Vigna  <jug@sad.it>
14351
14352         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14353         if it doesn't like to be drawed.
14354
14355 2002-01-04  Juergen Vigna  <jug@sad.it>
14356
14357         * BufferView2.C (lockInset): forgot to set a cursor.
14358
14359         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14360
14361 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14362
14363         * FormMathsPanel.C:
14364         * FormMathsPanel.h
14365         * MathsSymbols.C:
14366         * form_maths_panel.C:
14367         * form_maths_panel.h:
14368         * form_maths_panel.fd: implemented sub- and super- buttons in math
14369         panel.
14370
14371         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14372         (or ^ space) to be used as in TeX (req'd by Andr�.
14373
14374         * lyxfunc.C: Allow ^ and _ again to be used both as
14375         super/subscript (mathed) and as themselves (in text).
14376
14377 2002-01-03  Allan Rae  <rae@lyx.org>
14378
14379         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14380         "LyX" or the filename of the current buffer if it has one.  This is a
14381         modified form of John Levon's patch.
14382
14383         * XFormsView.C (setWindowTitle): also set icon title.
14384
14385         * LyXView.h (setWindowTitle): signature changed.
14386         * XFormsView.h (setWindowTitle): ditto.
14387
14388 2002-01-02  Juergen Vigna  <jug@sad.it>
14389
14390         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14391
14392 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14393
14394         * screen.C (topCursorVisible): introduce a temp var for
14395         text->cursor.row(), handle the case where this row is null. (kindo
14396         hachish)
14397
14398         * text2.C (setCursor): add a couple of asserts.
14399
14400         * paragraph.h (inset_iterator): add -> operator
14401
14402         * paragraph.[Ch] (autoDeleteInsets): remove member function
14403
14404         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14405         cursor pos correctly and handle inset deletion by itself.
14406         (insertErrors): move iterator declaration out of for expression
14407
14408         * lyxtextclass.C: add <algorithm>
14409
14410         * Makefile.am: added the new files to sources, removed layout.C
14411
14412         * layout.C: removed file
14413
14414         * layout.h: remove LYX_DUMMY_LAYOUT
14415
14416         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14417         layout.
14418
14419         * lyxlayout.[Ch]:
14420         * lyxtextclass.[Ch]:
14421         * lyxtextclasslist.[Ch]: new files
14422
14423         * include order changes to a lot of files, also changes because of
14424         the six new files.
14425
14426 2001-12-27  Juergen Vigna  <jug@sad.it>
14427
14428         * buffer.C (asciiParagraph): more fixes.
14429
14430         * tabular.C (ascii): make ascii export support export of only the
14431         data separated by a column-delimiter.
14432         (ascii): better support for ascii export.
14433
14434         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14435
14436 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14437
14438         * tabular_funcs.C: use a "using std::getline" instead of the
14439         previous fix from Angus (necessary for cxx + lyxstring)
14440
14441 2001-12-24  Juergen Vigna  <jug@sad.it>
14442
14443         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14444
14445         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14446         problems. First check a minipage also if we have some ert-contents
14447         (not only on par->size(), second set the right depth of the paragraph
14448         on the relink to the root-paragraph-list!
14449
14450         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14451         which then did not anymore update the main paragraphs on undo/redo!
14452
14453 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14454
14455         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14456         code. Support all font-changing funcs (even those which are not in
14457         menu currently). Support for reporting font settings in
14458         mathed (disabled until Andre provides a function on mathed's side).
14459
14460         * func_status.h (toggle): small helper function to set toggle
14461         state on a flag.
14462
14463 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14464
14465         * tabular_funcs.C: getline -> std::getline
14466
14467 2001-12-21  Juergen Vigna  <jug@sad.it>
14468
14469         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14470         accessed and could be 0 (I couldn't generate this but it seems
14471         Michael could!).
14472
14473 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14476         * tabular_funcs.h: here and include iosfwd
14477
14478 2001-12-20  Juergen Vigna  <jug@sad.it>
14479
14480         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14481         inside inset but undo_par was.
14482
14483 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14484
14485         * Thesaurus.C: always include <config.h> in sources.
14486
14487         * Painter.h:
14488         * lyxlookup.h:
14489         * box.h: do not include <config.h> in header files
14490
14491         * text.C (paintLastRow): remove unused variable
14492
14493         * text.C (transformChar):
14494         (insertChar):
14495         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14496
14497         * Painter.C (text):
14498         * font.C (width): rewrite to use uppercase() instead of
14499         islower/toupper.
14500
14501         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14502
14503 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * lyxfind.C: clean up of find failure position change
14506
14507 2001-12-20  Juergen Vigna  <jug@sad.it>
14508
14509         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14510
14511         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14512         (TeXRow): added to LaTeX a single tabular row.
14513         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14514         (Latex): simplified and finally good LT-h/f support.
14515         (various_functions): just small adaptions for LT-h/f support.
14516
14517         * tabular_funcs.[hC]: added and moved here all not classfunctions
14518         of LyXTabular.
14519
14520 2001-12-19  Juergen Vigna  <jug@sad.it>
14521
14522         * tabular.[Ch]: better support for longtabular options (not finished
14523         yet!)
14524
14525 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14526
14527         * text.C (paintLastRow): use the label font instead of the font of
14528         the last character to compute the size of *_BOX. This makes more
14529         sense and avoids a crash with empty paragraphs.
14530         Use Painter::rectangle to draw EMPTY_BOX.
14531
14532 2001-12-19  Juergen Vigna  <jug@sad.it>
14533
14534         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14535         the paragraphs if the replaced paragraph is not the first one!
14536         Tried to delete not used paragraphs but does not work yet so for
14537         now it's inside #ifdef's and by default off!
14538
14539 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14540
14541         * MenuBackend.C: include "lyx_main.h" instead of declaring
14542         lastfiles (actually was declared as LastFiles* instead of a
14543         scoped_ptr).
14544
14545 2001-12-17  Juergen Vigna  <jug@sad.it>
14546
14547         * tabular.C (AppendColumn): applied John's fix
14548
14549 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14550
14551         * BufferView.h:
14552         * BufferView.C:
14553         * BufferView_pimpl.h:
14554         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14555
14556         * Makefile.am:
14557         * box.h: new start of class for above
14558
14559         * lyxfunc.C: ignore space-only minibuffer dispatches.
14560           Show the command name when it doesn't exist
14561
14562         * minibuffer.C: don't add empty lines to the history
14563
14564         * minibuffer.C: add a space on dropdown completion
14565
14566 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * text.C: fix line above/below drawing in insets
14569
14570 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * lyxlength.C (LyXLength): Initialize private variables.
14573
14574 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14575
14576         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14577         when inserting error insets.
14578
14579 2001-12-13  Juergen Vigna  <jug@sad.it>
14580
14581         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14582         actually sometimes the before-paragraph.
14583         (setUndo): don't clear the redostack if we're not actually undoing!
14584
14585 2001-12-06  Juergen Vigna  <jug@sad.it>
14586
14587         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14588         and fixed redoing of main paragraph, so we can use it now ;)
14589
14590         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14591
14592 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14593
14594         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14595         Juergen's request
14596
14597 2001-12-13  André Pönitz <poenitz@gmx.net>
14598
14599         * undostack.[Ch]:
14600         * undo_func.C: minor cleanup
14601
14602 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14603
14604         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14605         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14606         font in urw-fonts package which is marked as -urw-fontspecific and
14607         does not work (incidentally, changing the encoding in the
14608         fonts.dir of this package to -adobe-fontspecific fixes the
14609         problem).
14610
14611         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14612         is a crash when undoing first paragraph (Juergen, please take a
14613         look). THis does not mean the undo fix is wrong, just that it
14614         uncovers problems.
14615
14616         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14617         the (Paragraph*) version when needed instead of duplicating the
14618         code.
14619
14620         * text.C (workWidth): use Inset::parOwner to find out where the
14621         inset has been inserted. This is a huge performance gain for large
14622         documents with lots of insets. If Inset::parOwner is not set, fall
14623         back on the brute force method
14624
14625         * paragraph_pimpl.C (insertInset):
14626         * paragraph.C (Paragraph):
14627         (cutIntoMinibuffer): set parOwner of insets when
14628         inserting/removing them
14629
14630         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14631
14632 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14633
14634         * commandtags.h:
14635         * LyXAction.C:
14636         * lyx_main.C:
14637         * lyxfunc.C:
14638         * mathed/formulabase.C:
14639         * mathed/math_cursor.[Ch]:
14640         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14641
14642
14643 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14644
14645         * lyxlength.[Ch] (operator!=): new function
14646
14647 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14648
14649         * text.C (workWidth): use Inset::parOwner to find out where the
14650         inset has been inserted. This is a huge performance gain for large
14651         documents with lots of insets. If Inset::parOwner is not set, fall
14652         back on the brute force method
14653
14654         * paragraph_pimpl.C (insertInset):
14655         * paragraph.C (Paragraph):
14656         (cutIntoMinibuffer): set parOwner of insets when
14657         inserting/removing them
14658
14659         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14660
14661 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14662
14663         * tabular-old.C (getTokenValue):
14664         * tabular.C (getTokenValue):
14665         (write_attribute): new versions for LyXLength
14666         (everywhere): adjust the use of widths
14667
14668         * tabular.h: change the type of widths from string to LyXLength
14669
14670 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14671
14672         * paragraph.C: fixed missing line number count when exporting
14673         Environments to LaTeX file
14674
14675         * buffer.C: added informational message for checking line numbers.
14676
14677 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14678
14679         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14680         paragraph, do the 'double space' part, but not the 'empty
14681         paragraph' one.
14682
14683         * text.C (workWidth): small optimization
14684         (getLengthMarkerHeight): use minimal size for negative lengths.
14685
14686 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14687
14688         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14689
14690         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14691
14692 2001-12-11  André Pönitz <poenitz@gmx.net>
14693
14694         * FontLoader.C:
14695         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14696
14697 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14698
14699         * text2.C: keep selection on a setFont()
14700
14701 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14702
14703         * lyx_cb.C: another bv->text misuse, from insert label
14704
14705 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * kbsequence.h:
14708         * kbsequence.C: re-instate nmodifier mask
14709
14710 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14711
14712         * lyx_main.h: make lyxGUI private.
14713
14714 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * lyxfind.C: place the cursor correctly on failed search
14717
14718 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14719
14720         * text.C (getLengthMarkerHeight): for small heights, the arrows
14721         are not always on top/bottom of the text
14722         (drawLengthMarker): smaller arrows; take the left margin in
14723         account; draw also vfills.
14724         (paintFirstRow):
14725         (paintLastRow): remove special code for vfill and standard spaces,
14726         since everything is handled in drawLengthMarker now.
14727
14728 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14729
14730         * buffer.C (insertErtContents): try to handle font and language
14731         interaction a bit better.g
14732
14733         * ColorHandler.C (updateColor): change the hash to cover the whole
14734         LColor enum, ws cleanup
14735         (getGCLinepars): ditto
14736         (getGCLinepars): only lookup in the linecache once.
14737
14738 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14739
14740         * iterators.C (operator++): Make the iterator more robust
14741
14742         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14743         (John's patch)
14744         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14745
14746 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14747
14748         * lyxtext.h:
14749         * text.C: better added space drawing
14750
14751 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14752
14753         * LyXView.C:
14754         * BufferView2.C: fix layout combo update on inset unlock
14755
14756 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14757
14758         * Makefile.am: don't compile unused files
14759
14760 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14761
14762         * lyxfunc.C:
14763         * commandtags.h:
14764         * LyXAction.C: remove old LFUN_LAYOUTNO
14765
14766 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * paragraph_pimpl.h:
14769         * paragraph_pimpl.C: isTextAt() doesn't need font param
14770
14771 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14772
14773         * lyxlex.h:
14774         * lyxlex.C: little cleanup
14775
14776 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14777
14778         * BufferView_pimpl.C: fix insertAscii for insets
14779
14780 2001-12-05  Juergen Vigna  <jug@sad.it>
14781
14782         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14783         set the right font on the "multi" paragraph paste!
14784
14785 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14786
14787         * trans_decl.h:
14788         * trans_mgr.[Ch]:
14789         * trans.[Ch]:
14790         * lyxgluelength.C:
14791         * lyxlength.C: remove out-commented code.
14792
14793         * BufferView_pimpl:
14794         * CutAndPaste.C:
14795         * DepTable.C:
14796         * buffer.C:
14797         * chset.C:
14798         * lastfiles.C:
14799         * lyxlex.C:
14800         * lyxlex_pimpl.C:
14801         * lyxserver.C:
14802         * screen.C:
14803         * tabular-old.C:
14804         * tabular.C:
14805         * text.C:
14806         * trans_mgr.C:
14807         * vc-backend.C: change "while(" to "while ("
14808
14809         * lyxlength.[Ch]: add zero function to check if length is zero or
14810         not
14811         * lyxgluelength.C: use it
14812
14813 2001-12-05  Allan Rae  <rae@lyx.org>
14814
14815         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14816         Works for 2.95.3, from what I understand of Garst's reports this should
14817         work for other g++ versions.  We're screwed if the abs(int) definition
14818         changed between bugfix releases of gcc.
14819
14820 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14821
14822         * text.C: fix chapter label offset !
14823
14824 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * lyxtext.h:
14827         * text.C: fix hfill at end of line, clean up
14828
14829 2001-12-04  Juergen Vigna  <jug@sad.it>
14830
14831         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14832         that we force an update of the inset and it's owners if neccessary.
14833
14834 2001-12-03  Juergen Vigna  <jug@sad.it>
14835
14836         * text.C (rowLast): simplified code
14837
14838 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14839
14840         * lyxfunc.C: fix show options on timeout
14841
14842 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14843
14844         * screen.C (topCursorVisible): scroll half a page when the cursor
14845         reached top of bottom of screen
14846
14847 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14848
14849         * minibuffer.C: deactivate on loss of focus
14850
14851 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * vspace.[Ch] (operator!=): add operator.
14854
14855 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14856
14857         * BufferView_pimpl.C: refuse to open an inset when
14858         there's a selection.
14859
14860 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14861
14862         * BufferView_pimpl.C: allow to click on RHS of full row insets
14863
14864 2001-11-30  Juergen Vigna  <jug@sad.it>
14865
14866         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14867         insets for undo reasons.
14868
14869 2001-11-28  André Pönitz <poenitz@gmx.net>
14870
14871         * vspace.[Ch]: cosmetical changes
14872
14873 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * LyXAction.h:
14876         * LyXAction.C:
14877         * lyxfunc.h:
14878         * lyxfunc.C:
14879         * kbmap.h:
14880         * kbmap.C:
14881         * lyxrc.C:
14882         * kbsequence.h:
14883         * kbsequence.C: part re-write of old kb code
14884
14885         * Painter.C:
14886         * WorkArea.C: remove Lgb_bug_find_hack
14887
14888 2001-11-30  José Matos <jamatos@fep.up.pt>
14889
14890         * buffer.C (makeDocBookFile): add a comment to point a hack.
14891         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14892         Fixed a double write of labels.
14893
14894 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14895
14896         * LaTeX.C:
14897         * LaTeX.h Fixed bug in LaTeX class where it would not
14898         re-run latex if no depfiles were changed, but the .dvi was removed.
14899
14900 2001-11-28  André Pönitz <poenitz@gmx.net>
14901
14902         * all the files from the change on 2001/11/26:
14903         use lyx::layout_type instead of LyXTextClass::size_type
14904         use lyx::textclass_type instead of LyXTextClassList::size_type
14905
14906 2001-11-29  Juergen Vigna  <jug@sad.it>
14907
14908         * text.C: added support for paragraph::isFreeSpacing()
14909
14910         * buffer.C: same as above
14911
14912         * paragraph.h: inserted isFreeSpacing() function to enable
14913         FreeSpacing inside InsetERT.
14914
14915         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14916         of the paragraph's in the cut/copy buffer to 0!
14917
14918         * text2.C (removeRow): remove the assert as it can!
14919
14920         * lyxtext.h: added helper function firstRow returning firstrow and
14921         made firstrow private again.
14922
14923         * BufferView2.C (lockInset): don't relock if we're already locked!
14924
14925         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14926         the only paragraph.
14927         (removeRow): added Assert::(firstrow)
14928
14929         * debug.C: forgot to add INSETTEXT here.
14930
14931 2001-11-28  Juergen Vigna  <jug@sad.it>
14932
14933         * sp_spell.C (initialize): changed error text to more general
14934         spellchecker command use (not only ispell!)
14935
14936         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14937
14938         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14939
14940 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * vspace.C: initialise lyxgluelength on failure
14943
14944 2001-11-28  Allan Rae  <rae@lyx.org>
14945
14946         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14947         declaration & definition that looks like a function declaration.
14948
14949 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14950
14951         * BufferView2.C (copy):
14952         (copyEnvironment): do not clear the selection when doing a copy.
14953
14954         * text.C (paintFirstRow): compilation fix
14955
14956 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14957
14958         * tabular.C (Latex): correct line count when writing latex.
14959
14960 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * paragraph_pimpl.h:
14963         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14964           bug a bit
14965
14966 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14967
14968         * text.C:
14969         * LColor.h:
14970         * LColor.C: change vfillline->added_space
14971
14972         * text.C: add markers and text for added space
14973
14974         * vspace.C: fix comment
14975
14976 2001-11-28  André Pönitz <poenitz@gmx.net>
14977
14978         * paragraph.C: whitespace changes
14979         * all the other files from the change on 2001/11/26:
14980         change *::pos_type into lyx::pos_type
14981
14982 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14983
14984         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14985         language of the document when inserting error insets.
14986
14987 2001-11-26  André Pönitz <poenitz@gmx.net>
14988
14989         * BufferView_pimpl.[Ch]:
14990         *       CutAndPaste.C:
14991         * buffer.[Ch]:
14992         * lyxcursor.[Ch]:
14993         * lyxfind.C:
14994         * lyxfunc.C:
14995         * lyxrow.[Ch]:
14996         * paragraph.[Ch]:
14997         * paragraph_pimpl.[Ch]:
14998         * sp_spell.C:
14999         * text.C:
15000         * text2.C: reduce header dependencies, introduce type for positions
15001
15002 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15003
15004         * <various>: change to use Alert.h
15005
15006 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15007
15008         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15009         when encountering an unknown token.
15010         (readLyXformat2): Show an error message if there were unknown tokens.
15011
15012 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15013
15014         * BufferView2.C:
15015         * BufferView_pimpl.C:
15016         * buffer.C:
15017         * paragraph.h:
15018         * text.C:
15019         * text2.C: use par->isInset()
15020
15021 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * paragraph_pimpl.h:
15024         * paragraph_pimpl.C: cleanup
15025
15026 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15027
15028         * text2.C (removeRow):
15029         * text.C (setHeightOfRow): remove useless (and costly) call to
15030         getRow.
15031
15032 2001-11-20  Allan Rae  <rae@lyx.org>
15033
15034         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15035         Now need Inset*::checkInsertChar() to return true for appropriate
15036         cases so that the characters in the minibuffer will actually be
15037         inserted.
15038
15039 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * text.C: change the order of the includes.
15042         (workWidth): initialize it at once.
15043         (workWidth): make maxw unsigned
15044         (setHeightOfRow): remove unused variable (inset)
15045         (selectSelectedWord): remove unused variable (inset)
15046         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15047
15048 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15049
15050         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15051         server is not running.
15052         (openConnection):
15053         (closeConnection): add debug info when server is disabled.
15054
15055         * ColorHandler.C (getGCForeground): send debug message to GUI
15056         channel.
15057
15058         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15059
15060         * kbmap.C (bind): modify because return conventions of
15061         kb_sequence::parse have changed.
15062
15063         * kbsequence.C (parse): only ignore spaces and not any stupid
15064         control character. This avoids tests like s[i] <= ' ', which are
15065         guaranteed to fail with 8bit characters and signed chars.
15066         Change return code to string::npos when there have been no error
15067         (0 was a bad idea when error is at first character)
15068
15069 2001-11-14  José Matos  <jamatos@fep.up.pt>
15070
15071         * buffer.h:
15072         * buffer.C (simpleDocBookOnePar): removed unused argument.
15073
15074 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15075
15076         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15077         insets which are part of a word. Paragraph::isLetter takes care of
15078         that now. Use Paragraph::isInset to identify insets.
15079         (selectSelectedWord): do not test for hyphenation break.
15080
15081         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15082         that protected spaces are considered as spaces.
15083
15084         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15085         Inset::isLetter.
15086
15087 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15088
15089         * lyxserver.h:
15090         * lyxserver.C: fix it. and small cleanup.
15091
15092 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * BufferView_pimpl.C: use inline helpers
15095
15096         * LaTeXFeatures.h:
15097         * LaTeXFeatures.C: fix typos
15098
15099         * Spacing.h:
15100         * Spacing.C: move spacing_string into class
15101
15102         * ToolbarDefaults.C: move stuff into namespace anon
15103
15104         * layout.h: update enum
15105
15106         * lyxfunc.C: use better debug
15107
15108         * minibuffer.h: fix typo
15109
15110         * debug.h:
15111         * debug.C:
15112         * WorkArea.C: add and use Debug::WORKAREA
15113
15114         * lyxtext.h:
15115         * text.C:
15116         * text2.C: code re-organisation, inline helpers
15117
15118 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15119
15120         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15121         std::vector.empty().
15122
15123 2001-11-09  Allan Rae  <rae@lyx.org>
15124
15125         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15126         '\n's after tables.  Tabular and ERT inset work now makes this no
15127         longer necessary.
15128
15129 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15130
15131         * minibuffer.h:
15132         * minibuffer.C: fix crash, improve drop-down completion
15133
15134 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * lyxserver.h:
15137         * lyxserver.C: invalidate fd's when doing endPipe()
15138
15139 2001-11-08  José Matos  <jamatos@fep.up.pt>
15140
15141         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15142         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15143
15144         * paragraph.h:
15145         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15146
15147 2001-11-07  José Matos  <jamatos@fep.up.pt>
15148
15149         * buffer.h:
15150         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15151         const qualifier.
15152
15153         * buffer.C (sgmlOpenTag):
15154         * buffer.C (sgmlCloseTag): removed debug info.
15155
15156         * buffer.h (sgmlOpenTag):
15157         * buffer.h (sgmlCloseTag): made public.
15158
15159 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * buffer.C (saveParamsAsDefaults):
15162         * lyx_cb.C (MenuLayoutSave): remove
15163
15164         * LyXAction.C (init):
15165         * commandtags.h:
15166         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15167
15168 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15169
15170         * buffer.C (setPaperStuff): removed from here...
15171
15172         * bufferparams.C (setPaperStuff): ... and moved there.
15173
15174 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15175
15176         * minibuffer.h:
15177         * minibuffer.C:
15178         * XFormsView.C: add support for drop-down completion
15179
15180 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15181
15182         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15183         commands.
15184
15185 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15186
15187         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15188         disabled.
15189
15190 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15191
15192         * lyx_main.C: change ref to known bugs
15193
15194 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15195
15196         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15197         to work around older babel problems.
15198
15199 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15200
15201         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15202
15203 2001-10-24  Juergen Vigna  <jug@sad.it>
15204
15205         * tabular-old.C (ReadOld): below variable changes reflected.
15206
15207         * tabular.[Ch]: added ltType struct for longtable header/footer
15208         defines and changed all instances where they are used. Added
15209         future support for double top/bottom rows.
15210
15211 2001-10-24  José Matos  <jamatos@fep.up.pt>
15212
15213         * buffer.h (docbookHandleCaption):
15214         * buffer.C (docbookHandleCaption): removed unused function.
15215         (makeDocBookFile): moved docbook supported version to v4.1.
15216
15217 2001-10-24  José Matos  <jamatos@fep.up.pt>
15218
15219         * tabular.h:
15220         * tabular.C (docbookRow): new function to export docbook code of a row.
15221         (DocBook): now honors the longtable flags.
15222
15223 2001-10-23  José Matos  <jamatos@fep.up.pt>
15224
15225         * LaTeXFeatures.h:
15226         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15227         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15228
15229         * buffer.C (makeLinuxDocFile):
15230         (makeDocBookFile): reworked the preamble, more clean, and with
15231         support for lyx defined entities. Changed the document declaration
15232         to be more XML friendly.
15233
15234         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15235         if we need to output XML that should be done with a filter.
15236
15237 2001-10-22  Juergen Vigna  <jug@sad.it>
15238
15239         * sp_pspell.h (class PSpell): add alive function needed in the
15240         controller to see if the spellchecker could be started.
15241
15242 2001-10-22  Juergen Vigna  <jug@sad.it>
15243
15244         * buffer.C (insertStringAsLines): modify the font for inserting
15245         chars in certain conditions by calling checkInsertChar(font).
15246
15247 2001-10-19  Juergen Vigna  <jug@sad.it>
15248
15249         * text.C (workWidth): use getRow instead of wrong algorithm.
15250         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15251
15252 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * lyxserver.h:
15255         * lyxserver.C:
15256         * lyx_main.h:
15257         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15258
15259 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15260
15261         * text.C (workWidth): do not search for the exact row when
15262         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15263         optimization for big documents.
15264
15265 2001-10-18  Juergen Vigna  <jug@sad.it>
15266
15267         * text.C (workWidth): new function with added Inset * parameter.
15268
15269 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15270
15271         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15272
15273         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15274         change return type of getColumnNearX.
15275
15276
15277         * text.C (changeRegionCase): use uppercase/lowercase instead of
15278         toupper/tolower.
15279         (leftMargin):
15280         (rightMargin): simplify code by factoring out the uses of
15281         textclasslist.
15282         (labelFill):
15283         (numberOfHfills):
15284         (setHeightOfRow):
15285         (appendParagraph): use Paragraph::size_type
15286
15287 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15288
15289         * vspace.C (asLatexString): add a missing break
15290
15291 2001-10-15  Herbert Voss  <voss@perce.de>
15292
15293         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15294
15295 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15298         is not available.
15299
15300 2001-10-10  André Pönitz <poenitz@gmx.net>
15301
15302         * lyxfunc.C: removed greek_kb_flag.
15303
15304 2001-10-10  Herbert Voss  <voss@perce.de>
15305
15306         * lyx_main.C: delete global string help_lyxdir.
15307
15308 2001-10-09  Herbert Voss  <voss@perce.de>
15309
15310         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15311
15312         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15313
15314         * lyx_main.C: added global string help_lyxdir.
15315
15316         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15317
15318 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15319
15320         * lyxrc.C (set_font_norm_type): support iso8859-4
15321
15322 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15323
15324         * LaTeX.C (deplog): add another regex for MikTeX
15325
15326 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15327
15328         * lyxrc.C (set_font_norm_type): support iso8859-3
15329
15330 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15331
15332         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15333
15334         * LaTeXFeatures.C: remove special case of french and index
15335
15336         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15337         before \begin{document}). This solves several incompatibilities.
15338
15339 2001-10-03  Garst Reese  <reese@isn.net>
15340
15341         * lyx_cb.C: change CheckTex error msg.
15342
15343 2001-10-03  José Matos  <jamatos@fep.up.pt>
15344
15345         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15346
15347 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15348
15349         * .cvsignore: update
15350
15351         * lyx_main.C (commandLineVersionInfo): use new style version info.
15352
15353         * buffer.C (writeFile):
15354         (makeLaTeXFile):
15355         (makeLinuxDocFile):
15356         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15357
15358         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15359
15360         * version.h: update to use stuff in version.C
15361
15362         * version.C.in: new file. Contains version information determined
15363         at compile time. This is a merging of version.h and
15364         version_info.h.in.
15365
15366 2001-10-03  Juergen Vigna  <jug@sad.it>
15367
15368         * BufferView_pimpl.C (update): don't change "dirty" status in
15369         updateInset call.
15370
15371 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15372
15373         * WorkArea.C (c-tor): re-position version string slightly.
15374
15375 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15376
15377         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15378         revert to previous code.
15379
15380         WorkArea.[Ch]: (show, destroySplash): methods removed.
15381
15382         WorkArea.C: rework code so that it's an amalgam of the codes before and
15383         after the splash screen was moved to WorkArea.
15384
15385 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15386
15387         * lyxrc.C (read):
15388         * vspace.C (inPixels):
15389         (lyx_advance):
15390         * kbmap.C (bind):
15391         * buffer.C (insertStringAsLines):
15392         (asciiParagraph): fix types to be large enough
15393
15394         * lyxlex_pimpl.h: change member status from short to int
15395
15396         * layout.h: fix type of endlabeltype
15397
15398         * kbmap.C (bind):
15399         * kbsequence.C (parse): change return type to string::size_type
15400
15401         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15402         variable
15403
15404         * Bullet.C (bulletSize):
15405         (bulletEntry): do not use short ints as parameters
15406
15407         * BufferView2.C (insertLyXFile): change a char to an int.
15408
15409         * WorkArea.C (WorkArea): remove unneeded floats in computation
15410
15411 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15412
15413         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15414
15415         * paragraph.C (asString): Do not ignore newline/hfill chars when
15416         copying to the clipboard.
15417
15418 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15419
15420         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15421         after a multi-line inset.
15422
15423 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15424
15425         * paragraph.C (validate): Set NeedLyXFootnoteCode
15426
15427 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15428
15429         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15430         and decrease-error to decrease.
15431
15432 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15433
15434         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15435         it more readable (should be equivalent)
15436
15437 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15438
15439         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15440
15441 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15442
15443         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15444         of a cursor (row, etc.) after a character has been deleted
15445         (deleteEmptyParagraphMechanism): call the method above on _all_
15446         cursors held by the LyXText when a double space has been
15447         detected/deleted.
15448
15449 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15450
15451         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15452         pixmap.
15453         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15454
15455         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15456         background. Use greyOut() and the new show() methods to toggle between
15457         the foreground and background. Add code to remove the splash after
15458         its initial showing.
15459
15460         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15461         (create_forms): no longer call Dialogs::showSplash.
15462
15463 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15464
15465         * .cvsignore: add version_info.h
15466
15467 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15468
15469         * version_info.h.in: new file
15470
15471         * Makefile.am: add version_info.h.in
15472
15473         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15474         version_info.h instead of VERSION_INFO
15475
15476 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15477
15478         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15479         The ERT inset now returns string().
15480
15481 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15482
15483         * lyxtext.h, text.C (selectNextWord): renamed as
15484         selectNextWordToSpellcheck.
15485
15486         * text.C (selectNextWordToSpellcheck): Modified to not select
15487         words inside an ERT inset.
15488
15489 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15490
15491         * lyx_cb.C (MenuLayoutSave): change a bit the question
15492
15493         * sp_base.h: include <sys/types.h>
15494
15495 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15496
15497         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15498
15499 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15500
15501         * several files: fix typos in user-visible strings
15502
15503 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * text2.C (pasteSelection): do not set the selection, since it
15506         will be cleared later. Actually, the intent was to fix the way the
15507         selection was set, but I figured rmoving the code was just as good.
15508
15509 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15510
15511         * FontLoader.C (available): Check if font is available without
15512         loading the font.
15513
15514 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15515
15516         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15517
15518 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15519
15520         * lyxrc.[Ch]: added display_graphics variable and associated code.
15521
15522 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15523
15524         * bufferparams.C (hasClassDefaults): new method. Returns true if
15525         the buffer parameters correspond to known class defaults
15526
15527 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15528
15529         * XFormsView.C (show): set minimum size to the main window.
15530
15531 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15532
15533         * text2.C (copySelection):
15534         (cutSelection):
15535         * lyxfind.C (LyXReplace):
15536         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15537         LyXText::selectionAsString.
15538
15539         * paragraph.C (asString): add "label" argument to the second form
15540
15541         * text2.C (selectionAsString): add "label" argument and pass it to
15542         Paragraph::asString.
15543
15544 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15545
15546         * lyx_main.C (commandLineHelp): remove version information
15547
15548 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15549
15550         * lyx_main.C: add -version commandline option
15551
15552 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15553
15554         * paragraph.h: make the optional constructor arg required instead.
15555         some modifications to other files because of this.
15556
15557         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15558
15559         * lyxserver.C (C_LyXComm_callback): make it static
15560
15561         * lyx_main.C (error_handler): make it static
15562
15563         * lyx_gui.C (LyX_XErrHandler): make it static
15564
15565         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15566
15567         * WorkArea.C: make the extern "C" methods static.
15568
15569         * Makefile.am (lyx_LDADD): simplify
15570
15571 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15574         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15575
15576         * LyXAction.C (init):
15577         * lyxfunc.C (dispatch): associated code removal.
15578
15579 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15580
15581         * lyxfont.h (isSymbolFont): shut off warning
15582
15583         * text.C (setHeightOfRow):
15584         (getVisibleRow): fix crash with empty paragraphs which have a
15585         bottom line
15586
15587 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15588
15589         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15590         code.
15591
15592 2001-09-04  José Matos  <jamatos@fep.up.pt>
15593         * buffer.C
15594         * buffer.h
15595         * tabular.C (docbook): rename docBook method to docbook.
15596
15597 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15598
15599         * Makefile.am: add dependencies to main.o.
15600
15601 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15602
15603         * FontLoader.C (available): Return false if !lyxrc.use_gui
15604
15605 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15606
15607         * FontInfo.C (query):
15608         * converter.C (view):
15609         * importer.C (Import):
15610         * exporter.C (Export): Can not -> cannot.
15611
15612 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15613
15614         * BufferView_pimpl.C: allow to create index inset even if
15615           string is empty
15616
15617 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15618
15619         * buffer.C (getLists): replace boost::tie code with an explicit pair
15620         as boost::tie can break some compilers.
15621
15622         * iterators.h: Added a std:: declaration to the return type of
15623         ParIterator::size.
15624
15625 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15626
15627         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15628           case.
15629
15630 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15631
15632         * iterators.[Ch]: New files. Provide paragraph iterators.
15633
15634         * buffer.C (changeLanguage): Use paragraph iterators.
15635         (isMultiLingual): ditto
15636
15637         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15638
15639 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15640
15641         * FontLoader.C: Support for cmr font.
15642
15643 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15644
15645         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15646         (available): New method.
15647
15648         * FontInfo.C (getFontname): Use scalable fonts even when
15649         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15650         found.
15651
15652 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15653
15654         * converter.C (Formats::view): reverted! Incorrect fix.
15655
15656 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15657
15658         * converter.C (Formats::view): only output the -paper option
15659         if the dvi viewer is xdvi, thereby fixing bug #233429.
15660
15661 2001-08-23  Herbert Voss  <voss@perce>
15662
15663         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15664
15665 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15666
15667         * Spacing.h (Spacing): Set space to Default on in the default
15668         constructor.
15669
15670 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * vc-backend.h (RCS::versionString): add RCS to version
15673         (CVS::versionString): add CVS to version
15674
15675         * vc-backend.C (scanMaster): do not add CVS to version.
15676         (scanMaster): do not add RCS to version
15677
15678         * lyxvc.C (versionString): new method
15679
15680         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15681
15682 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15683
15684         * Spacing.C (set): initialize fval
15685
15686 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15687
15688         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15689         " or \.
15690
15691 2001-08-16  Juergen Vigna  <jug@sad.it>
15692
15693         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15694
15695 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15696
15697         * BufferView_pimpl.C:
15698         * figureForm.C:
15699         * lyxtext.h:
15700         * text2.C: setParagraph takes linespacing now
15701
15702 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15703
15704         * LyxAction.C: add internal LFUN_CITATION_INSERT
15705
15706         * LyXView.C: actually apply fix
15707
15708         * bufferlist.C: fix open non-existent file
15709
15710         * lyxfind.C: fix indentation
15711
15712         * lyxfunc.C: remove unneeded assert, fix typo
15713
15714 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15715
15716         * MenuBackend.C: use "Floatname List"
15717
15718 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15719
15720         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15721         when converting LaTeX layout to insetERT.
15722         Generate a non-collapsed float when reading old float
15723
15724 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15725
15726         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15727         ERT insets.
15728
15729 2001-08-13  Juergen Vigna  <jug@sad.it>
15730
15731         * text.C (fill): return 0 instead of 20 as this seems to be the more
15732         correct value.
15733
15734 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15735
15736         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15737         lyxrc.font_norm.
15738
15739 2001-08-13  Juergen Vigna  <jug@sad.it>
15740
15741         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15742         casesensitive off.
15743         (SearchBackward): comment out the unlocking of the inset_owner this
15744         should not be needed!
15745
15746 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15747
15748         * Many files: Remove inherit_language, and add latex_language
15749
15750         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15751         collapsible insets.
15752
15753 2001-08-10  Juergen Vigna  <jug@sad.it>
15754
15755         * text.C (prepareToPrint): fixed hfill-width in draw!
15756
15757         * BufferView2.C (selectLastWord): save the selection cursor as this
15758         now is cleared in the function LyXText::clearSelection!
15759
15760 2001-08-08  Juergen Vigna  <jug@sad.it>
15761
15762         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15763         BACKSPACE type functions.
15764
15765         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15766         is only cutted from the document but not put in the cut-buffer, where
15767         still the old stuff should be.
15768
15769         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15770
15771         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15772
15773         * tabular.C (SetWidthOfCell): fixed special case where the width
15774         was not updated!
15775         (LeftLine): handle '|' in align_special.
15776         (RightLine): ditto
15777         (LeftAlreadyDrawed): ditto
15778         (SetWidthOfCell): ditto
15779
15780 2001-08-07  Juergen Vigna  <jug@sad.it>
15781
15782         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15783
15784 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15785
15786         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15787         * lyxlex.[hC]: ditto
15788
15789 2001-08-06  Juergen Vigna  <jug@sad.it>
15790
15791         * text.C (getVisibleRow): fix up row clearing a bit.
15792
15793 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15794
15795         * minibuffer.C: make sure the X server sees the changes in the input.
15796
15797 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * paragraph.C (getFont): split into...
15800         (getLabelFont): this
15801         (getLayoutFont): and this
15802         * paragraph_pimpl.C (realizeFont): calling this
15803
15804         * text2.C (getFont): split into...
15805         (getLayoutFont): this
15806         (getLabelFont): and this
15807         (realizeFont): all three calling this
15808
15809         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15810         files where used.
15811
15812 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15813
15814         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15815
15816 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15817
15818         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15819         layouts from the Quote inset insertion.
15820
15821 2001-08-03  Juergen Vigna  <jug@sad.it>
15822
15823         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15824
15825         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15826         only if status not is already CHANGED_IN_DRAW (second level).
15827
15828         * text.C (draw): don't set the need_break_row when inside an
15829         InsetText LyXText.
15830
15831 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15832
15833         * buffer.C (parseSingleLyXformat2Token): handle more latex
15834         conversion cases.
15835
15836         * bufferview_funcs.[hC]: change function names to
15837         begin with small char, adjust other files.
15838
15839 2001-08-02  André Pönitz <poenitz@gmx.net>
15840
15841         * lyxfunc.C:
15842         BufferView_pimpl.C: remove broken special code for math-greek
15843
15844 2001-08-02  Juergen Vigna  <jug@sad.it>
15845
15846         * BufferView_pimpl.C (update): redone this function so that we
15847         update the text again if there was a CHANGE_IN_DRAW.
15848
15849         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15850         (drawFromTo): added a new internal bool which is used by draw() and
15851         redraw() function.
15852         (general): some cursor drawing problems fixed.
15853
15854 2001-08-01  Juergen Vigna  <jug@sad.it>
15855
15856         * lyxfind.C (LyXFind): fixed
15857         (SearchForward): ditto
15858         (SearchBackward): ditto
15859
15860         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15861         spurius drawing of the cursor in the main area.
15862
15863         * text2.C (status): small fix which could lead to a segfault!
15864         (clearSelection): remove unneeded BufferView param.
15865
15866 2001-08-01  André Pönitz <poenitz@gmx.net>
15867
15868         * lyxfunc.C: small change due to changed mathed interface
15869
15870 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15871
15872         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15873
15874 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15875
15876         * lyxfunc.c: fail gracefully if file doesn't exist
15877
15878         * LyXSendto.C:
15879         * buffer.C:
15880         * lyxfunc.C:
15881         * BufferView_pimpl.C: IsDirWriteable() proto changed
15882
15883         * LyXView.C: fix updateWindowTitle() to store the last title
15884
15885 2001-07-31  Juergen Vigna  <jug@sad.it>
15886
15887         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15888         the font (wrong since using of Paragraph::highestFontInRange).
15889
15890         * paragraph.C (highestFontInRange): added a default_size parameter.
15891
15892         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15893         (setHeightOfRow): reformat
15894
15895 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15896
15897         * converter.[hC] + affected files: move to (inital-char)lowercase
15898         function names.
15899
15900         * ParagraphParameters.C (ParagraphParameters): remove commented code
15901
15902         * PainterBase.[Ch]: remove commented code
15903
15904         * LaTeXFeatures.h: add "bool floats" for float.sty
15905
15906         * LaTeXFeatures.C (LaTeXFeatures): init floats
15907         (require): handle float
15908         (getPackages): do it with floats
15909
15910 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911
15912         * BufferView_pimpl.C (Dispatch): improve handling of
15913         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15914
15915         * commandtags.h: #include lyxfont.h here temporarily to avoid
15916         keybinding bug.
15917
15918         * bufferlist.h: include LString.h here.
15919
15920 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15921
15922         * text2.C (getStringToIndex): new method.
15923
15924 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15925
15926         * *: Reduced header file dependencies all over.
15927
15928 2001-07-30  Baruch Even  <baruch@lyx.org>
15929
15930         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15931
15932 2001-07-29  Baruch Even  <baruch@lyx.org>
15933
15934         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15935
15936 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * ParameterStruct.h (endif): add a default constructor to make
15939         sure that all variables is initialized.
15940
15941         * ParagraphParameters.C (ParagraphParameters): adjust
15942
15943 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15944
15945         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15946         index; also, check that there is something to index, and that it
15947         does not span over several paragraphs.
15948         (doubleClick): use WHOLE_WORD_STRICT for double click.
15949
15950         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15951
15952         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15953         scheme.
15954
15955 2001-07-26  Baruch Even  <baruch@lyx.org>
15956
15957         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15958         an InsetFig figure, backwards compatible reading of old figure code.
15959
15960 2001-07-27  Juergen Vigna  <jug@sad.it>
15961
15962         * text2.C: font.realize function adaption.
15963
15964         * text.C (draw): add a warnings lyxerr text if needed.
15965
15966         * layout.C: font.realize function adaption.
15967
15968         * language.C: add inherit_language and implement it's handlings
15969
15970         * bufferview_funcs.C (StyleReset): remove language parameter from
15971         font creation (should be language_inherit now).
15972
15973         * bufferparams.C (writeFile): handle ignore_language.
15974
15975         * paragraph.C (getFontSettings): the language has to be resolved
15976         otherwise we have problems in LyXFont!
15977
15978         * lyxfont.C (lyxWriteChanges): added document_language parameter
15979         (update): removed unneeded language parameter
15980
15981         * paragraph.C (validate): fixed wrong output of color-package when
15982         using interface colors for certain fonts in certain environments,
15983         which should not seen as that on the final output.
15984
15985 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15986
15987         * BufferView_pimpl.C:
15988         * Thesaurus.h:
15989         * Thesaurus.C:
15990         * Makefile.am:
15991         * commandtags.h:
15992         * LyXAction.C: add thesaurus support
15993
15994         * lyxfind.h:
15995         * lyxfind.C: add "once" parameter, for thesaurus, to not
15996           move to the next match
15997
15998 2001-07-26  Juergen Vigna  <jug@sad.it>
15999
16000         * lyxfont.C (realize): honor ignore_language too!
16001         (resolved): ditto.
16002
16003         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16004
16005         * text.C (draw): one place more for ignore_language to not draw
16006         itself!
16007
16008 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16009
16010         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16011
16012 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16013
16014         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16015         the minipage conversion problem.
16016
16017 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16018
16019         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16020         insert an inset.
16021
16022 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16023
16024         * BufferView.h: don't forward declare WorkArea
16025
16026         * BufferView.C: don't include WorkArea.h
16027
16028 2001-07-25  André Pönitz <poenitz@gmx.net>
16029
16030         * commandtags.h:
16031         * LyXAction.C:
16032         * lyxfunc.C:  new LFUN 'math-space'
16033
16034         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16035
16036 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16037
16038         * text2.C (toggleInset): call open/close
16039
16040 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16041
16042         * lyxfunc.C (dispatch): add debug for the disabled case
16043
16044         * font.C (buttonText): make similar to rectText
16045
16046         * buffer.C (readInset): comment out parsing of insetlist and
16047         insttheorem
16048
16049         * PainterBase.C (rectText): small correction
16050
16051         * BufferView_pimpl.C: comment out insettheorem and insetlist
16052         * LyXAction.C: ditto
16053         * commandtags.h: ditto
16054
16055 2001-07-24  Juergen Vigna  <jug@sad.it>
16056
16057         * text.C (draw): honor the ignore_language.
16058
16059         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16060
16061 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16062
16063         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16064         char inset.
16065
16066 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16067
16068         * lyxtext.h: remove unused (and unimplemented) methods
16069
16070 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16071
16072         * text.C (getVisibleRow): honor background color
16073
16074         * PainterBase.h:
16075         * Painter.h: remove default color argument for fillRectangle
16076
16077         * text.C (backgroundColor): new method
16078
16079 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16080
16081         * text.C (getVisibleRow): adjust
16082
16083         * font.[Ch] (rectText): new method, metrics
16084         (buttonText): new method, metrics
16085
16086         * PainterBase.[hC]: make rectText and buttonText always draw and take
16087         fewer paramteres.
16088
16089 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16090
16091         * ToolbarDefaults.C (read):
16092         * MenuBackend.C (read): allow escaping in all strings
16093
16094         * BufferView_pimpl.C (insertAndEditInset): new method.
16095         (Dispatch): use insertAndEditInset whenever appropriate.
16096
16097         * BufferView_pimpl.C (insertNote): removed
16098
16099         * BufferView_pimpl.C (smartQuote): new method, moved from
16100         BufferView; if an insetquote cannot be inserted, insert a '"'
16101         character instead.
16102
16103         * BufferView2.C: remove insertCorrectQuote();
16104
16105         * lyxfunc.C (getStatus): Add support for all remaingin
16106         inset-insert lfuns.
16107
16108         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16109
16110         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16111         command (necessary to pass " as parameter of self-insert.
16112
16113         * text.C (selectWordWhenUnderCursor):
16114         (selectWord): add word_location parameter
16115         (selectWordWhenUnderCursor): same + remove special code for word
16116         boundary.
16117         (selectNextWord): use kind() to guess type of insetspecialchar,
16118         not latex().
16119
16120         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16121         (insertErtContents): create ert insets as collapsed.
16122         (readInset): better compatibility code for Info inset.
16123
16124 2001-07-20  Juergen Vigna  <jug@sad.it>
16125
16126         * lyxfunc.C (dispatch): use always LyXFind now!
16127
16128         * text2.C (init): add a reinit flag so that the LyXText can be
16129         reinited instead of deleted and reallocated (used in InsetText).
16130
16131         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16132
16133         * text.C: ditto
16134
16135         * text2.C: ditto
16136
16137 2001-07-18  Juergen Vigna  <jug@sad.it>
16138
16139         * text.C (selectNextWord): handle insets inside inset by calling
16140         always the bv->text functions so that we can go up the_locking_inset!
16141
16142         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16143         in strange locations when inside an inset!
16144
16145         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16146         handling to include insets.
16147
16148         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16149
16150 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16151
16152         * LyXAction.C (init):
16153         * commandtags.h:
16154         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16155         LIGATURE_BREAK, since the name is so stupid.
16156
16157 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16158
16159         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16160         InsetInfos.
16161
16162         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16163
16164         * sp_form.[Ch]: remove.
16165
16166         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16167
16168         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16169         InsetInfo.
16170
16171         * src/buffer.C (readInset): ditto.
16172
16173 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16174
16175         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16176         menuSeparator(), endOfSentenceDot(), ldots() and
16177         hyphenationPoint(), which are therefore removed.
16178         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16179
16180         * LyXAction.C (init):
16181         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16182
16183         * paragraph.C (getWord): removed.
16184
16185         * BufferView_pimpl.C (Dispatch): use last word or selection for
16186         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16187
16188         * lyx_main.C (queryUserLyXDir): do not ask before creating
16189         user_dir, except if it has been named explicitely.
16190
16191 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16192
16193         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16194         a document of zero size.
16195
16196 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16197
16198         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16199         approriately in the c-tor and in require().
16200         (getPackages): output the appropriate LaTeX for natbib support.
16201
16202         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16203         variables "use_natbib" and "use_numerical_citations" when reading the
16204         LyX file.
16205         (readInset): read the various natbib cite commands.
16206         (validate): white-space change.
16207
16208         * bufferparams.[Ch]: new variables "bool use_natbib" and
16209         "bool use_numerical_citations".
16210         (writeFile): output them in the LyX file.
16211
16212 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16213
16214         * lyxfunc.C (getStatus): add support for all the inset insertion
16215         commands.
16216
16217         * text2.C (insertInset):
16218         * paragraph.C (insetAllowed):
16219         * BufferView_pimpl.C (insertInset): update to take in account the
16220         renaming of insertInsetAllowed
16221
16222         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16223
16224         * text2.C (getInset): new method. returns inset at cursor position.
16225
16226         * BufferView_pimpl.C (Dispatch): changes because of this.
16227
16228         * LyXAction.C (init): rename open-stuff to inset-toggle.
16229
16230         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16231
16232         * text2.C (toggleInset): renamed from openStuff; use
16233         Inset::open().
16234
16235 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16236
16237         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16238
16239         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16240
16241 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16242
16243         * buffer.C (readLyXformat2): Add filename to the error dialog
16244
16245 2001-07-18  Juergen Vigna  <jug@sad.it>
16246
16247         * tabular.C (GetCellNumber): put an assert here instead of the check!
16248
16249 2001-07-17  Juergen Vigna  <jug@sad.it>
16250
16251         * BufferView_pimpl.C (toggleSelection): adapted too.
16252
16253         * text.C (selectNextWord): adapted for use with insets.
16254         (selectSelectedWord): ditto
16255
16256 2001-07-17  Juergen Vigna  <jug@sad.it>
16257
16258         * sp_spell.C (PSpell): fix initialitation order.
16259
16260 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16261
16262         * paragraph.C: spacing
16263
16264 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16265
16266         * sp_spell.C: repair language selection for pspell
16267
16268 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16269
16270         * lyxfunc.h: change more methods to begin with lower char.
16271
16272 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16273
16274         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16275         for unknown layouts.
16276
16277 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16278
16279         * buffer.C (readLyXformat2): Generate an error dialog if there are
16280         unknown layouts.
16281
16282 2001-07-16  Juergen Vigna  <jug@sad.it>
16283
16284         * sp_spell.C: always compile ISpell part.
16285
16286         * lyxrc.C: added use_pspell entry and it's handling.
16287
16288 2001-07-13  Juergen Vigna  <jug@sad.it>
16289
16290         * sp_spell.C: removed double includes.
16291
16292 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16293
16294         Consistent use of Lsstream.h:
16295         * Lsstream.h: added using std::stringstream for consistencies sake.
16296
16297         * buffer.C: removed using std::stringstream
16298
16299         * lyxfont.C (stateText):
16300         * paragraph.C (asString):
16301         * text.C (selectNextWord, selectSelectedWord):
16302         * text2.C (setCounter):
16303         * vspace.C (asString, asLatexString):
16304         std::ostringstream -> ostringstream.
16305
16306 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16307
16308         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16309         * commandtags.h: add LFUN_HELP_ABOUTLYX
16310         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16311
16312 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16313
16314         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16315         cursorToggle()
16316         * lyx_gui_misc.C: remove spellchecker
16317         * lyxfunc.C: showSpellchecker
16318         * sp_base.h: added
16319         * sp_ispell.h: added
16320         * sp_pspell.h: added
16321         * sp_spell.C: added
16322         * sp_form.[Ch]: removed
16323         * spellchecker.[Ch]: removed
16324
16325 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16326
16327         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16328         is set.
16329         (simpleTeXSpecialChars): Simply print the input character without
16330         any special translation if pass_thru is set.
16331
16332         * layout.h: Added bool pass_thru to layout class for being able to
16333         implement pass through of a paragraph for Literate Programming.
16334
16335         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16336         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16337         * layout.C (Read): add "passthru" to list of layout tags and add
16338         code to set the pass_thru boolean when it is read.
16339
16340 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16341
16342         * trans_decl.h: remove allowed from KmodInfo
16343
16344         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16345         remove allowed code
16346         (Load): adjust
16347
16348         * paragraph_pimpl.C (erase): use boost::prior
16349
16350         * Painter.C (text): use data() instead of c_str() when length is
16351         also provided.
16352         * WorkArea.C (putClipboard): ditto
16353         * font.h (width): ditto
16354
16355         * BufferView2.C: use it-> instead of (*it). for iterators
16356         * texrow.C: ditto
16357         * paragraph_pimpl.C: ditto
16358         * paragraph.C: ditto
16359         * minibuffer.C: ditto
16360         * language.C: ditto
16361         * kbmap.C: ditto
16362         * encoding.C: ditto
16363         * counters.C: ditto
16364         * converter.C: ditto
16365         * chset.C: ditto
16366         * Variables.C: ditto
16367         * TextCache.C: ditto
16368         * MenuBackend.C: ditto
16369         * LyXAction.C: ditto
16370         * LColor.C: ditto
16371         * FloatList.C: ditto
16372         * DepTable.C: ditto
16373         * ColorHandler.C (LyXColorHandler): ditto
16374
16375 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16378
16379         * text2.C (openStuff): reintroduce this method (which had been
16380         nuked in NEW_INSETS frenzy).
16381
16382         * lyxfunc.C (Dispatch): when an action has not been handled, use
16383         its name in the error message, not its number.
16384
16385         * paragraph.C (inInset): change method name to begin with lowercase.
16386
16387         * undo_funcs.C:
16388         * text2.C: updates because of this.
16389
16390 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * ToolbarDefaults.C (add): add spaces in error message
16393
16394 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16395
16396         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16397         (readLyXformat2): rename return_par to first_par, use lyxlex's
16398         pushToken and remove the manual push handling.
16399         (parseSingleLyXformat2Token): add another ert comp. variable:
16400         in_tabular, rename return_par to first_par. handle newlines better
16401
16402 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16403
16404         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16405
16406 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16407
16408         * text2.C (getParFromID): removed
16409
16410         * buffer.C (getParFromID): new method moved form lyxtext.
16411         * BufferView2.C (insertErrors): adjust
16412         (setCursorFromRow): adjust
16413         * BufferView_pimpl.C (restorePosition): adjust
16414         * lyxfunc.C (Dispatch): adjust
16415         * undo_funcs.C (textUndo): adjust
16416         (textRedo): adjust
16417         (textHandleUndo): adjust
16418         (textHandleUndo): adjust
16419
16420 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16421
16422         * buffer.C: up' the LYX_FORMAT
16423
16424         * lyxfont.h: turn NO_LATEX on as default
16425
16426         * buffer.C (insertErtContents): new methods of tex style compability.
16427         (parseSingleLyXformat2Token): use it several places.
16428         * tabular.C (OldFormatRead): and here
16429
16430 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16431
16432         * text2.C: remove some commented code.
16433         reindent file.
16434
16435         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16436         * trans.C: changes because of the above.
16437
16438 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16439
16440         * text2.C (setCounter): Fix counters bug with bibliography layout.
16441
16442 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16443
16444         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16445         own member functions
16446         (simpleTeXSpecialChars): ditto
16447
16448 2001-07-06  Juergen Vigna  <jug@sad.it>
16449
16450         * a lot of files: changed the access to LyXText::status and the
16451         call of undo-functions.
16452
16453         * undo.[Ch]: added a inset_id to the undo informations.
16454
16455         * undo_funcs.[Ch]: added and moved here all undo functions.
16456
16457         * lyxtext.h: give the status enum a weight, made status_ a private
16458         variable and made accessor functions for it, removed the whole bunch
16459         of undo-functions as they are now in their own file, make some
16460         functions publically available. Added function ownerParagraph with
16461         int parameter.
16462
16463         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16464         made InInset() a const function, added getParFromID() function.
16465
16466         * buffer.[Ch]: added const version for inset_iterator functions,
16467         added getInsetFromID() function.
16468
16469         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16470         changed undo functions for new version.
16471
16472 2001-07-05  Juergen Vigna  <jug@sad.it>
16473
16474         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16475         unknow mechanism does not call the proper constructor but only this
16476         one also if I request the other!?
16477
16478 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16479
16480         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16481
16482         * text2.C (LyXText): use initialization lists.
16483
16484         * lyxtext.h (Selection): initialize set_ and mark_
16485         (init): remove method
16486
16487 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16488
16489         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16490
16491 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16492
16493         * screen.[Ch]: change method names to begin with lowercase
16494
16495         * BufferView_pimpl.C (updateScrollbar): simplify further and
16496         hopefully make it a bit faster.
16497
16498 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16499
16500         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16501         calling directly xforms functions.
16502
16503         * Painter.C (Painter):
16504         * lyx_cb.C (MenuWrite):
16505         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16506         fl_display.
16507
16508         * lyx_gui.C: remove bogus guiruntime extern declaration.
16509
16510 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16511
16512         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16513         in NEW_INSETS
16514         (redoDrawingOfParagraph): ditto
16515         (redoParagraphs): ditto
16516         (cutSelection): don't create a object for CutAndPaste use the
16517         static method directly
16518         (pasteSelection): ditto
16519
16520         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16521         LyXview (+ rename)
16522
16523 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16524
16525         * modifications to some other files because of this.
16526
16527         * Makefile.am (lyx_SOURCES): add XFormsView
16528
16529         * XFormsView.[Ch]: new files
16530
16531         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16532         the main window. Move the gui dependent stuff to XFormsView
16533
16534 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * tabular.C (GetCellInset): update cur_cell also in the row/col
16537         version of this function.
16538
16539         * lyxfunc.C: no need to include figure_form.h here.
16540
16541         * FontLoader.h:
16542         * lyxfunc.h:
16543         * lyxscreen.h:
16544         * text2.C:
16545         * lyxvc.C: no need to include forms.h here.
16546
16547 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16548
16549         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16550
16551         * lyxfunc.C (Dispatch):
16552         * Spacing.C (set):
16553         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16554         constructor argument.
16555
16556 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16557
16558         * paragraph.C (Paragraph): dont't clear, and just set layout.
16559         (makeSameLayout): use params's copy contructor.
16560
16561         * ParagraphParameters.[Ch] (makeSame): delete method
16562
16563 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16564
16565         * Variables.[Ch]: fix indentation, rename set to isSet
16566
16567 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16568
16569         * lyxfunc.C (Dispatch): fix typo
16570
16571 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16572
16573         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16574         upper_bound.
16575
16576         * bufferlist.C: include assert.h for emergencyWrite().
16577
16578 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16579
16580         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16581           give up at last (bug #425202) !
16582
16583 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16584
16585         * lyx_gui_misc.C:
16586         * sp_form.h:
16587         * sp_form.C:
16588         * spellchecker.h:
16589         * spellchecker.C: strip spellchecker options and bring up
16590           preferences tab instead
16591
16592 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16593
16594         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16595         the istringstream constructor
16596
16597 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16598
16599         * paragraph.C (getLayout): fix return value
16600
16601         * paragraph.h: do not declare getLayout as inline.
16602
16603         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16604
16605 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16606
16607         * lyxcursor.h (operator<): new func
16608         (operator>): new func
16609         (operator>=): new func
16610         (operator<=): new func
16611
16612         * text.C (changeCase): use selection.start and selection.end
16613         (changeRegionCase): require from to be <= to. Require par to be a
16614         valid paragraph.
16615
16616         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16617
16618 2001-06-27  Juergen Vigna  <jug@sad.it>
16619
16620         * text.C (cursorLeftOneWord): changed to return the cursor and added
16621         overlay with BufferView * parameter which calls this one.
16622         (getWord): added
16623         (selectWord): use new getWord function.
16624         (changeCase): renamed from changeWordCase as and extended to work
16625         also on selections.
16626
16627         * lyxtext.h: added enum word_location
16628
16629         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16630         changeCase as this operates now also on selections.
16631
16632 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16633
16634         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16635
16636         * many files: send debug output to Debug::INFO instead of
16637         Debug::ANY.
16638
16639         * converter.C (View):
16640         (Convert):
16641         (Move): send debug output to Debug::FILES instead of console.
16642
16643 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16644
16645         * lyxfunc.C (getStatus): use func_status
16646
16647         * func_status.h: new header, describing the results of
16648         LyXFunc::getStatus;
16649
16650         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16651         LFUN_MATH_HALIGN.
16652
16653 2001-06-25  The LyX Project  <jug@sad.it>
16654
16655         * buffer.C (sgmlOpenTag):
16656         (sgmlCloseTag):
16657         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16658
16659 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16660
16661         * text2.C: remove some dead code
16662
16663         * tabular.C (GetCellInset): store the last cell checked (gotten)
16664
16665         * tabular.h: add the helper for the speedup
16666
16667         * lyxtext.h: remove some dead code
16668
16669 2001-06-26  The LyX Project  <Asger>
16670
16671         * paragraph.C: Change export to LaTeX of alignment to
16672         \begin{center} and family for better roundtrip work with reLyX.
16673
16674         * Tune the math drawing a bit.
16675
16676 2001-06-25  The LyX Project  <Asger>
16677
16678         * LColor.C (LColor): New color for math background. New color
16679         for buttons.
16680
16681 2001-06-25  The LyX Project  <jug@sad.it>
16682
16683         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16684
16685         * lyxfunc.C (Open):
16686         * bufferlist.C (newFile): do not restrict to files ending with
16687         .lyx
16688
16689         * BufferView_pimpl.C (MenuInsertLyXFile):
16690
16691 2001-06-24  The LyX Project  <jug@sad.it>
16692
16693         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16694         of compare_no_case
16695
16696 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16697
16698         * lyxtext.h: rename most methods to begin with a small char.
16699         Lots of changes because of this.
16700
16701         * paragraph.C (Paragraph): do not call fitToSize
16702         (erase): call Pimpl::erase
16703         (insertChar): call Pimpl::insertChar
16704         (insertInset): call Pipl::insertInset
16705         (breakParagraph): do not call fitToSize
16706         (breakParagraphConservative): do not call fitToSize
16707         (fitToSize): remove method
16708
16709         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16710
16711 2001-06-24  The LyX Project  <Asger>
16712
16713         * Fix Qt compilation^2
16714
16715 2001-06-24  The LyX Project  <jug@sad.it>
16716
16717         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16718         depthHook(getDepth()-1).
16719
16720         * paragraph.h:
16721         * ParagraphParameters.h:
16722         * ParameterStruct.h: change type of depth to unsigned int ==
16723         depth_type. Many adaptations to other files before of that.
16724
16725 2001-06-24  The LyX Project  <Asger>
16726
16727         * Fix Qt compilation.
16728
16729 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16730
16731         * paragraph.h: renamed several methods to begin with small letter.
16732         several changes to many parts of the code because of this.
16733
16734 2001-06-23  The LyX Project  <jug@sad.it>
16735
16736         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16737         rewritten to discard all double spaces when KeepEmpty is off
16738         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16739         to only handle newlines but not fiddle with spaces and friends.
16740
16741         * lyxfunc.C (MenuNew): when doing 'new from template', use
16742         template_path as default directory
16743
16744 2001-06-23  The LyX Project  <Asger>
16745
16746         * Clean-up of header file includes all over
16747         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16748
16749 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * paragraph.h: renamed from lyxparagraph.h
16752
16753 2001-06-23  Asger  <lyx@violet.home.sad.it>
16754
16755         * Buffer.h: Removed Buffer::resize
16756         * BufferList.h: Removed BufferList::resize
16757         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16758         the document lazily when we change the width, or the font settings.
16759
16760 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16761
16762         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16763
16764 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16765
16766         * buffer.h: remove out of date comment
16767
16768 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16769
16770         * lyxscreen.h:
16771         * screen.C: fix "theoretical" GC leak
16772
16773 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16774
16775         * LaTeX.C (scanAuxFile):
16776         (deplog): remove trailing \r when reading stream (useful under
16777         win32)
16778
16779 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16780
16781         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16782         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16783         and BufferView::theLockingInset(Inset*), so should use them and not
16784         access bv_->text->the_locking_inset directly.
16785
16786         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16787
16788 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16789
16790         * Makefile.am:
16791         * tex-defs.h: remove old unused file
16792
16793 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16794
16795         * BufferView_pimpl.C: fix typo, remove minibuffer message
16796           when buffer has loaded
16797
16798 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16799
16800         * lyxfunc.C (Dispatch): use stringstream
16801         (MenuNew): use stringstream
16802         (Open): use stringstream
16803
16804         * importer.C (Import): use stringstream
16805
16806         * bufferview_funcs.C (CurrentState): use stringstream
16807
16808         * LaTeX.C (run): use stringstream
16809
16810         * BufferView_pimpl.C (savePosition): use stringstream
16811         (restorePosition): use stringstream
16812         (MenuInsertLyXFile): use stringstream
16813
16814 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16815
16816         * BufferView.C:
16817         * Bullet.C:
16818         * ColorHandler.C:
16819         * FontInfo.C:
16820         * FontLoader.C:
16821         * LColor.C:
16822         * LaTeXFeatures.C:
16823         * Painter.C:
16824         * gettext.C:
16825         * lyx_gui_misc.C:
16826         * lyxserver.C:
16827         * vspace.C: removed // -*- C++ -*- as first line.
16828
16829         * lyxfind.h:
16830         * version.h: added // -*- C++ -*- as first line.
16831
16832 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16833
16834         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16835
16836         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16837         of string
16838
16839 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16840
16841         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16842         of floats.
16843
16844 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16845
16846         * gettext.C: include LString.h even when --disable-nls is on.
16847
16848 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16849
16850         * converter.h (Get): changed argument type from int to
16851         FormatList::size_type to avoid unnecessary conversion.
16852
16853         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16854         before using it.
16855
16856 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16857
16858         * gettext.h: include LString.h even when --disable-nls is on.
16859
16860 2001-06-07  Juergen Vigna  <jug@sad.it>
16861
16862         * text.C (BreakAgain): subst spaces with tabs.
16863
16864         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16865         (resizeInsetsLyXText): set force on resizeLyXText.
16866
16867 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16868
16869         * gettext.h (gettext_init):
16870         (locale_init): use a real definition instead of a macro
16871
16872 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16873
16874         * Bufferview_pimpl.C:
16875         * LColor.h:
16876         * LColor.C: further lcolor tidies
16877
16878 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16879
16880         * BufferView_pimpl.C (updateScrollbar): simplify.
16881
16882         * BufferView2.C: don't include insets/insetinfo.h, change
16883         prototype for insertInset and call the Pimpl version. let
16884         updateInset call Pimpl version.
16885
16886         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16887         gotoInset to BufferView::Pimpl
16888
16889 2001-06-01  Juergen Vigna  <jug@sad.it>
16890
16891         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16892         inside a LockingInset (is the update needed at all?).
16893
16894 2001-05-31  Juergen Vigna  <jug@sad.it>
16895
16896         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16897         here not the old one otherwise how should we compare it afterwards
16898         if it's the same!
16899
16900 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16901
16902         * lyxfont.C:
16903         * tabular.C:
16904         * tabular-old.C:
16905         * FontInfo.C: bring C functions into global namespace when
16906         necessary
16907
16908 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16909
16910         * LString.h: make sure config.h has been loaded before LString.h.
16911
16912         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16913         (one for each char read by EatLine!).
16914
16915         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16916         variables.
16917
16918 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16919
16920         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16921         to the same as the par we break from
16922
16923 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16924
16925         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16926
16927         * MenuBackend.C (expand): also create menu entries for wide
16928         versions of the floats.
16929
16930         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16931
16932         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16933
16934         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16935         frontends/Makefile.am
16936
16937         * text2.C: adjust
16938         * text.C: adjust
16939
16940
16941         * tabular.C (getTokenValue): add std::
16942
16943         * tabular-old.C (getTokenValue): add std::
16944         (getTokenValue): ditto
16945         (getTokenValue): ditto
16946
16947         * screen.C (ToggleSelection): adjust
16948
16949         * lyxtext.h: put selection cursors inside a Selection struct.
16950
16951         * lyxfunc.C (moveCursorUpdate): adjust
16952
16953         * lyxfont.C (latexWriteStartChanges): add std::
16954
16955         * lyxfind.C: adjust
16956
16957         * font.h: delete with(char const *, LyXFont const &)
16958
16959         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16960
16961         * FontInfo.C (getFontname): add std::
16962
16963         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16964         (workAreaButtonPress): adjust
16965         (tripleClick): adjust
16966         (update): adjust
16967         (moveCursorUpdate): adjust
16968         (Dispatch): adjust
16969
16970         * BufferView2.C (gotoInset): adjust
16971
16972 2001-05-30  Juergen Vigna  <jug@sad.it>
16973
16974         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16975         to check pspell I add this as default as I now have new pspell
16976         libraries and they seem to use this.
16977
16978 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16979
16980         * text2.C (CutSelection): make the cursor valid before the call to
16981         ClearSelection.
16982
16983 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16984
16985         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16986         relied on 0 terminated strings and other horrors. Bug found due to
16987         the new assert in lyxstring!
16988
16989         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16990         KP_ keys.
16991
16992 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16993
16994         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16995         to latinkeys.bind.
16996
16997         * lyxfunc.C (processKeySym): change method of getting to the
16998         self-insert char.
16999
17000         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17001         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17002         * BufferView_pimpl.[Ch]: here as private methods.
17003
17004 2001-05-28  Juergen Vigna  <jug@sad.it>
17005
17006         * text.C (SetHeightOfRow): added the update() call again as it is
17007         needed to initialize inset dimensions!
17008
17009 2001-05-16  Juergen Vigna  <jug@sad.it>
17010
17011         * text2.C (SetCharFont): Add new function with BufferView * and
17012         bool toggleall parameters for setting insets internal fonts.
17013         (SetFont): Freeze the undo as we may change fonts in Insets and
17014         all this change should be inside only one Undo!
17015
17016         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17017         setting font's in insets as for them we have the SetFont function!
17018
17019 2001-05-15  Juergen Vigna  <jug@sad.it>
17020
17021         * text2.C (ClearSelection): to be sure we REALLY don't have any
17022         selection anymore!
17023
17024         * tabular.C (TeXCellPreamble): fixed the left border problem for
17025         multicolumn cells.
17026
17027 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17028
17029         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17030         dependancy file
17031
17032 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17033
17034         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17035         LFUN_BREAKPARAGRAPH.
17036
17037         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17038         help test to "internal only", similar for LFUN_INSERT_URL
17039
17040         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17041         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17042         auto_region_delete and deadkeys.
17043
17044 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17045
17046         * LColor.h:
17047         * LColor.C: remove some dead entries, tidy a little
17048
17049 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17050
17051         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17052         commented code.
17053         (Dispatch): implement LFUN_ESCAPE
17054
17055         * commandtags.h: add LFUN_ESCAPE
17056
17057         * LyXAction.C (init): add entry for LFUN_ESCAPE
17058
17059         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17060         Remove commented code.
17061         (insertNote): moved here
17062         (open_new_inset): moved here
17063
17064         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17065         BufferView_pimpl
17066
17067 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17068
17069         * kbmap.C (findbinding): clean it up and make it work correctly.
17070
17071         * lyx_main.C (init): do not pass argc and argv as parameters
17072
17073 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17074
17075         * buffer.C: fix path for OS/2 & Win32
17076
17077         * lyx_gui.C:
17078         * lyx_main:
17079         * lyx_main.C: Added os:: class.
17080
17081         * os2_defines.h: update
17082
17083 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17084
17085         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17086         better by trying again with reduced state.
17087
17088 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17089
17090         * lyxrc.C (read): print error about invalid key sequence only when
17091         debugging (because not all latinX keysyms are known to some X
17092         servers)
17093
17094         * kbsequence.C (getiso): add a few std:: qualifiers
17095         (getiso): comment out extra return statement.
17096
17097 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17098
17099         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17100         handling.
17101         (Dispatch): enhance the accent inset a bit. (not perfect)
17102
17103 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17104
17105         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17106
17107 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17108
17109         * bufferlist.C (emergencyWrite): fix assert() call
17110
17111 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17112
17113         * text.C (InsertChar): Added trivial patch to only send the "you
17114         can not do multiple spaces this way" message once during a
17115         session.
17116
17117 2001-05-08  Baruch Even  <baruch@lyx.org>
17118
17119         * Makefile.am: Changed order of libraries to get LyX to link properly
17120         with the gnome frontend.
17121
17122 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17123
17124         * LaTeXFeatures.h: add a std:: qualifier
17125
17126 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17127
17128         * paragraph.C (String): use stringstream
17129
17130 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17131
17132         * paragraph.C (writeFile): remove footflag arg
17133
17134         * buffer.C (makeLaTeXFile): use stringstream
17135         (latexParagraphs): remove footnot gurba
17136
17137         * LaTeXFeatures.C (getPackages): use stringstream
17138         (getMacros): likewise
17139         (getTClassPreamble): likewise
17140         (getFloatDefinitions): new method
17141
17142         * paragraph.C (writeFile): reindent
17143         (Erase): reindent
17144
17145         * WorkArea.h: revert the xpos + etc changes.
17146
17147         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17148
17149         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17150
17151         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17152         (pasteSelection): likewise
17153         * text2.C (CreateUndo): likewise
17154
17155 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17156
17157         * minibuffer.C (peek_event): temporarily reduce the functionality
17158         of the minibuffer (to allow args on lfuns)
17159
17160         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17161         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17162
17163         * buffer.C (readInset): add compability reading of old float
17164         lists, add reading of new style float list.
17165         (readInset): avoid reevaluation of inscmd.getCmdName()
17166         (getLists): reindent
17167
17168         * MenuBackend.C (MenuItem): implement parsing of
17169         md_floatlistinsert and md_floatinsert.
17170         (expand::LastFiles): move initalizaton of iterators out of loop,
17171         avoid reevaluation.
17172         (expand::Documents): introduce typdedef vector<string> Strings,
17173         and use it.
17174         (expand::ExportFormats): introduce typedef vector<Format const *>
17175         Formats, and use it.
17176         (expand): implement FloatListInsert and FloatInsert.
17177
17178         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17179         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17180         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17181
17182         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17183         handling.
17184         (Dispatch::LFUN_FLOAT_LIST): implement
17185
17186 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17187
17188         * LaTeX.C (run): Fix problem with --export code.
17189
17190 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17191
17192         * BufferView.[Ch] (workarea): removed.
17193         (getClipboard) new method; wrapper for workarea()->getClipboard()
17194
17195         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17196         bug.
17197
17198         * WorkArea.h (width, height, xpos, ypos): These methods all
17199         returned the dimensions of the work_area sub-area of WorkArea,
17200         resulting in a position error if the WorkArea were resized. Now
17201         return the dimensions of the entire WorkArea.
17202
17203         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17204
17205 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17206
17207         * LaTeX.C (deplog): correct the syntax of regex reg1
17208
17209 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17210
17211         * undo.C: remove !NEW_INSETS cruft
17212
17213 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17214
17215         * text2.C: remove !NEW_INSETS cruft
17216
17217         * text.C: remove !NEW_INSETS cruft
17218
17219         * tabular.C: remove !NEW_INSETS cruft
17220
17221         * spellchecker.C: remove !NEW_INSETS cruft
17222
17223         * lyxtext.h: remove !NEW_INSETS cruft
17224
17225         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17226
17227         * lyxfunc.C: remove !NEW_INSETS cruft
17228
17229         * lyxfind.C: remove !NEW_INSETS cruft
17230
17231         * lyx_cb.C: remove !NEW_INSETS cruft
17232
17233         * figureForm.C: remove  !NEW_INSETS cruft
17234
17235         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17236
17237         * buffer.[Ch]: remove !NEW_INSETS cruft
17238
17239         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17240
17241         * CutAndPaste.C: remove !NEW_INSETS cruft
17242
17243         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17244
17245         * BufferView2.C: remove !NEW_INSETS cruft
17246
17247         * BufferView.h: remove !NEW_INSETS cruft
17248
17249 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17250
17251         * Lsstream.h: include LString.h before the sstream headers to
17252         fix problem with gcc 2.95.3 and lyxstring
17253
17254 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17255
17256         * lyx_main.C: add using directives when needed for C functions
17257         declared in std:: namespace.
17258
17259 2001-04-27  Juergen Vigna  <jug@sad.it>
17260
17261         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17262         (SetHeightOfRow): comment out the update call should not be needed!
17263
17264 2001-04-13  Juergen Vigna  <jug@sad.it>
17265
17266         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17267         (LyXTabular): tried to minimize operator= operations (and realized
17268         hopfully Lars wish).
17269
17270 2001-04-27  Juergen Vigna  <jug@sad.it>
17271
17272         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17273
17274 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17275
17276         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17277
17278         * buffer.C (readInset): hack to make listof algorithm work
17279
17280         * BufferView_pimpl.C: hack to make listof algorithm work
17281
17282 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17283
17284         * LyXAction.C: removed all !NEW_INSETS cruft
17285         (init): moved lfun_item in method
17286
17287         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17288
17289 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17290
17291         * BufferView2.C (theLockingInset): white space.
17292
17293 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17294
17295         * minibuffer.C: include <iostream>
17296
17297         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17298
17299         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17300
17301         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17302
17303         * text.[Ch] (TransposeChars): new method
17304
17305 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17306
17307         * call message directly through LyXView instead of through LyXFunc
17308         * BufferView2.C: adjust
17309         * BufferView_pimpl.C: adjust
17310         * FontLoader.C: adjust
17311         * buffer.C: adjust
17312         * bufferview_funcs.C: adjust
17313         * converter.C: adjust
17314         * figureForm.C: adjust
17315         * importer.C: adjust
17316         * lyx_cb.C: adjust
17317         * lyx_gui_misc.C: adjust
17318         * lyxfunc.C: adjust
17319         * lyxvc.C: adjust
17320         * text2.C: adjust
17321         + more files in subdirs
17322
17323         * lyxparagraph.h (size): move up int file
17324         (GetLayout): ditto
17325
17326         * adjust all uses of Assert to lyx::Assert.
17327
17328         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17329         lyxfunctional in namespace lyx
17330         * layout.C (hasLayout): ditto
17331         (GetLayout): ditto
17332         (GetLayout): ditto
17333         (delete_layout): ditto
17334         (NumberOfClass): ditto
17335         * converter.C (GetFormat): ditto
17336         (GetNumber): ditto
17337         (Add): ditto
17338         (Delete): ditto
17339         (SetViewer): ditto
17340         * bufferlist.C (getFileNames): ditto
17341         (emergencyWriteAll): ditto
17342         (exists): ditto
17343         (getBuffer): ditto
17344         * MenuBackend.C (hasSubmenu): ditto
17345         (hasMenu): ditto
17346         (getMenu): ditto
17347         * BufferView_pimpl.C (getInsetByCode): ditto
17348
17349 2001-04-18  Juergen Vigna  <jug@sad.it>
17350
17351         * vspace.C (asLatexString): fixed the 100% problem.
17352
17353 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17354
17355         * lyxfunc.C (Dispatch):
17356         * minibuffer.C:
17357         * minibuffer.h: add a few std:: qualifiers
17358
17359 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17360
17361         * minibuffer.[Ch]: reimplement so that commands is initiated and
17362         run from lyxfunc, simplified som handling, and made the completion
17363         and history code for complete. wip.
17364
17365         * lyxfunc.C (processKeySym): call message
17366         (miniDispatch): new temporary method
17367         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17368         (LFUN_MESSAGE): implement
17369         (LFUN_MESSAGE_PUSH): implement
17370         (LFUN_MESSAGE_POP): implement
17371         (initMiniBuffer): the initial/defualt minibuffer message.
17372
17373         * lyxfont.[Ch]: inline some more getters
17374
17375         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17376
17377         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17378
17379         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17380         (AutoSave): use LFUN_MESSAGE
17381         (Reconfigure): ditto
17382
17383         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17384
17385         * figureForm.C: use LFUN_MESSAGE
17386
17387         * converter.C (runLaTeX): use LFUN_MESSAGE
17388
17389         * bufferview_funcs.C: use LFUN_MESSAGE
17390         (Melt): ditto
17391         (changeDepth): ditto
17392
17393         * bufferparams.h: use boost::
17394
17395         * bufferlist.h: inherit privately from noncopyable
17396
17397         * bufferlist.C (loadLyXFile): remove some commented code.
17398
17399         * buffer.C (runChktex): use LFUN_MESSAGE
17400
17401         * ShareContainer.h: inherit privately from noncopyable
17402
17403         * ParagraphParameters.[hC] (depth): inline it.
17404
17405         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17406         methods.
17407         (message): new method
17408         (messagePush): ditto
17409         (messagePop): ditto
17410         (show): init minibuffer
17411         (showState): direct call
17412
17413         * LaTeX.[Ch]: inherit privately from noncopyable
17414         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17415         instead of WriteStatus.
17416
17417         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17418
17419         * BufferView_pimpl.C (buffer): don't init minibuffer
17420         (workAreaButtonPress): use LFUN_MESSAGE
17421         (workAreaButtonRelease): ditto
17422         (savePosition): ditto
17423         (restorePosition): ditto
17424         (MenuInsertLyXFile): ditto
17425         (workAreaExpose): don't init minibuffer
17426         (update): remove commented code, simplify
17427
17428         * BufferView2.C (openStuff): use LFUN_MESSAGE
17429         (toggleFloat): ditto
17430         (menuUndo): ditto
17431         (menuRedo): ditto
17432         (copyEnvironment): ditto
17433         (pasteEnvironment): ditto
17434         (copy): ditto
17435         (cut): ditto
17436         (paste): ditto
17437         (gotoInset): ditto
17438         (updateInset): remove some commented code
17439
17440         * lastfiles.h: inherit privately from noncopyable
17441         * layout.h: ditto
17442         * lyx_gui.h: ditto
17443         * lyx_main.h: ditto
17444         * lyxlex.h: ditto
17445         * lyxlex_pimpl.h: ditto
17446
17447         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17448         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17449         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17450
17451         * LyXAction.h: inherit privately from noncopyable, add methods
17452         func_begin, func_end, returning iterators to the func map.
17453
17454         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17455         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17456         (func_begin): new method
17457         (func_end): new method
17458
17459         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17460         and not)
17461         (copySelection): ditto
17462         (pasteSelection): ditto
17463
17464         * BufferView.C: whitespace change
17465         * BufferView.h: inherit privately from noncopyable
17466
17467 2001-04-16  Allan Rae  <rae@lyx.org>
17468
17469         * tabular-old.C (l_getline):
17470         * spellchecker.C (sc_check_word):
17471         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17472         an unrecognised preprocessor directive.  So ensure they're wrapped.
17473
17474 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17475
17476         * src/exporter.C (Export): Give an error message when path to file
17477         contains spaces.
17478
17479 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17480
17481         * LaTeX.C (deplog): Always check that foundfile exists.
17482
17483 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17484
17485         * lyx_main.h:
17486         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17487
17488 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17489
17490         * tabular.[Ch] (getLabelList): implement new method
17491
17492         * minibuffer.h: comment ouf setTiimer
17493
17494         * minibuffer.C (ExecutingCB): constify res
17495         (peek_event): constify s
17496         (Set): constify ntext
17497         (Init): constify nicename
17498
17499         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17500
17501         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17502         (savePosition): use two params to Minibuffer::Set
17503         (restorePosition): ditto
17504
17505 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17506
17507         * lyx_main.C: include language.h
17508
17509         * Makefile.am (lyx_main.o): add language.h
17510
17511 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17512
17513         * exporter.C:
17514         * paragraph.C:
17515         * screen.C:
17516         * tabular.C:
17517         * CutAndPaste.C: include gettext.h
17518
17519         * lyxfont.h: remove old hack with ON and OFF.
17520
17521         * lyxparagraph.h:
17522         * lyxfont.h: do not include language.h...
17523
17524         * BufferView2.C:
17525         * LaTeXFeatures.C:
17526         * Painter.C:
17527         * bufferview_funcs.C:
17528         * font.C:
17529         * lyxfont.C:
17530         * text.C:
17531         * text2.C:
17532         * trans_mgr.C:
17533         * paragraph.C: ... but do it here instead
17534
17535 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17536
17537         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17538
17539         * tabular.C: small reformat
17540
17541         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17542         NEW_INSETS version
17543         (GetChar): ditto
17544         (BreakParagraph): ditto
17545         (SetOnlyLayout): ditto
17546         (SetLayout): ditto
17547
17548         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17549         with one arg less.
17550
17551         * lastfiles.C: removed most using decl, add std:: where needed
17552
17553         * buffer.C: ws changes
17554
17555         * MenuBackend.C (class compare_format): put into anon namespace
17556         (expand): constify label, names, action, action2
17557         (expand):
17558
17559         * text.C (SingleWidth): constify font
17560         (IsBoundary): constify rtl2
17561         (GetVisibleRow): constify ww
17562
17563         * LaTeX.C (deplog): constify logfile
17564
17565         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17566         start_x, end_x
17567         (workAreaExpose): constify widthChange, heightChange
17568
17569         * lyxrow.C (par): moved
17570         (height): moved
17571         (next): moved
17572         * lyxrow.h: as inlines here
17573
17574         * lyxfont.h (shape): moved from lyxfont.C
17575         (emph): moved from lyxfont.C
17576
17577         * lyxfont.C (LyXFont): use initialization list for all
17578         constructors
17579         (shape): move to lyxfont.h as inline
17580         (emph): move to lyxfont.h as inline
17581
17582
17583 2001-04-04  Juergen Vigna  <jug@sad.it>
17584
17585         * vspace.C: had to include stdio.h for use of sscanf
17586
17587 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17588
17589         * BufferView.h:
17590         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17591         independent of xforms.
17592
17593 2001-04-02  Juergen Vigna  <jug@sad.it>
17594
17595         * spellchecker.C: fixed namespace placing!
17596
17597 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17598
17599         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17600         the LyXParagraph * is 0.
17601
17602 2001-03-29  Juergen Vigna  <jug@sad.it>
17603
17604         * vspace.C: added support for %, c%, p%, l%.
17605         (stringFromUnit): added helper function.
17606         (asLatexString): changed to give right results for the %-values.
17607
17608         * buffer.C: convert the widthp in a width%.
17609
17610 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17611
17612         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17613         figureForm.[Ch].
17614
17615         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17616         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17617
17618         * lyx_cb.[Ch]: see above.
17619
17620         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17621         form1.[Ch].
17622
17623         * form1.[Ch]:
17624         * lyx.[Ch]: replaced by figure_form.[Ch].
17625
17626         * lyx_gui.C:
17627         * lyx_gui_misc.C:
17628         * lyxfunc.C: changed headers associated with above changes.
17629
17630 2001-03-27  Juergen Vigna  <jug@sad.it>
17631
17632         * BufferView_pimpl.C: set the temporary cursor right!
17633
17634 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17635
17636         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17637
17638 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17639
17640         * LString.h: removed "using std::getline"!
17641
17642         * BufferView_pimpl.C (Dispatch): changes due to changes in
17643         InsetInclude::Params.
17644
17645         * buffer.C (tag_name): removed redundant break statements as they were
17646         producing lots of warnings with my compiler.
17647
17648 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17649
17650         * LString.h: add "using std::getline" when using the real <string>.
17651
17652 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17653
17654         * buffer.C: removed bitset usage.
17655         PAR_TAG moved to an anonymous name space.
17656         (tag_name): new funtion, also in the anonymous namespace.
17657         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17658         (makeDocBookFile): clean code. Completed transition from string arrays
17659         to string vectors.
17660         (SimpleDocBookOnePar): code clean.
17661
17662 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17663
17664         * tabular.C: add some comments.
17665
17666 2001-03-22  Juergen Vigna  <jug@sad.it>
17667
17668         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17669         compatibility read a bit and fixed bug with minipage in different
17670         depth.
17671
17672 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17673
17674         * buffer.C (pop_tag): removed.
17675         (push_tag): removed.
17676         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17677         array replaced with vector. Added support for CDATA sections.
17678         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17679         at any nest level.
17680         (makeDocBookFile): XML conformant declaration of CDATA section,
17681         fixed bug related to <emphasis> in the first paragraph char.
17682         (sgmlOpenTag): exclude empty tags.
17683         (sgmlCloseTag): ditto.
17684
17685         * buffer.h (pop_tag): removed.
17686         (push_tag): removed.
17687
17688 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17689
17690         * language.h (Languages): added size_type and size().
17691
17692 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17693
17694         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17695         response on compability reading of minipages. One probliem is that
17696         the old usage of minipages was flertydig
17697
17698         * several files here and in subdirs: don't use static at file
17699         scope use anon namespaces instead.
17700
17701 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17702
17703         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17704         LaTeX output. This is necessary for Literate document
17705         processing.
17706
17707 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17708
17709         * buffer.C: insert hfill when needed.
17710
17711         * tabular.C (l_getline): use string::erase, small whitespace change.
17712
17713         * BufferView_pimpl.C: try the anon namespace.
17714         * WorkArea.C: ditto
17715
17716 2001-03-16  Juergen Vigna  <jug@sad.it>
17717
17718         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17719         otherwise it won't open options-dialogs.
17720
17721         * buffer.C: honor pextraWidth(p) on converting minipages.
17722
17723         * tabular.C (l_getline): changed the functions to strip trailing \r.
17724
17725 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17726
17727         * BufferView_pimpl.C:
17728         * minibuffer..C: added "using SigC::slot" declaration.
17729
17730 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17731
17732         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17733
17734         * text2.C: ditto
17735
17736         * text.C: ditto
17737
17738         * paragraph.C: ditto
17739
17740         * lyxtext.h: NO_PEXTRA
17741
17742         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17743
17744         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17745         * ParameterStruct.h: ditto
17746         * ParagraphParameters.h: ditto
17747         * lyxparagraph.h: ditto
17748
17749 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17750
17751         * buffer.C: add compability for minipage alignment.
17752         (latexParagraphs): remove unwanted pextra check.
17753
17754         * several files: remove CXX_WORKING_NAMESPACES
17755
17756         * buffer.C (pop_tag): tie is in namespace boost
17757
17758         * BufferView.h: noncopyable is in namespace boost
17759         * lyxlex.h: ditto
17760         * lyx_main.h: ditto
17761         * lyx_gui.h: ditto
17762         * layout.h: ditto
17763         * lastfiles.h: ditto
17764         * bufferlist.h: ditto
17765         * ShareContainer.h: ditto
17766         * LyXView.h: ditto
17767         * LyXAction.h: ditto
17768         * LaTeX.h: ditto
17769
17770 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17771
17772         * Merging changes from BRANCH_MVC back into HEAD.
17773
17774         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17775
17776 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17777
17778         * BufferView_pimpl.C: change from intl.C
17779
17780         * combox.h:
17781         * combox.C:
17782         * Makefile.am: move combox.*
17783
17784         * form1.h:
17785         * form1.C:
17786         * lyx_gui.C:
17787         * intl.h:
17788         * intl.C: remove dialog (covered by prefs)
17789
17790 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17791
17792         * lyxfunc.C (Dispatch): removed redundant break statement.
17793
17794 2001-03-14  Juergen Vigna  <jug@sad.it>
17795
17796         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17797
17798 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17799
17800         * buffer.C: add hack to fix compability reading of minipages.
17801
17802 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17803
17804         * buffer.C (getLists): Cleanup.
17805
17806 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17807
17808         * lyxfont.C (update): don't honor toggleall on font size.
17809
17810 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17811
17812         * bmtable.c:
17813         * bmtable.h:
17814         * Makefile.am: moved to frontends/xforms/
17815
17816         * lyx_gui_misc.C:
17817         * lyxfunc.C:
17818         * BufferView_pimpl.C: changes for moved mathpanel
17819
17820 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17821
17822         * gettext.h: fix gettext_init() in --disable-nls
17823
17824 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17825
17826         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17827
17828 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17829
17830         * lyx.C:
17831         * lyx.h: strip external form
17832
17833 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17834
17835         * BufferView_pimpl.C: add comment, destroySplash()
17836
17837 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17838
17839         * BufferView_pimpl.C:
17840         * LyXAction.C:
17841         * buffer.C:
17842         * commandtags.h:
17843         * lyxfunc.C: use re-worked insetinclude
17844
17845 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17846
17847         * buffer.C: add using std::stringstream.
17848
17849         * lyx_cb.C: readd using std::ios.
17850
17851         * buffer.C: add using std::map.
17852
17853         * BufferView_pimpl.C: add using std::vector.
17854
17855         * ShareContainer.h: add std:: to swap.
17856
17857         * buffer.h: add some typedefs
17858         * buffer.C (getLists): use them
17859         (getLists): renamed from getTocList.
17860         add a counter for the different float types and use it in the
17861         generated string.
17862         (getLists): use the same counter for the NEW_INSETS and the "non"
17863         NEW_INSETS
17864
17865         * lyx_cb.h: remove unused items, includes, using etc.
17866
17867         * ShareContainer.h: remove some commented code, add more comments
17868         and "documentation".
17869
17870 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17871
17872         * buffer.C (getTocList): make the list also when NEW_INSETS is
17873         defined.
17874
17875         * buffer.h: remove TocType
17876
17877         * buffer.C (getTocList): change to return a map<string,
17878         vector<TocItem> >, implement for dynamic number of list.
17879
17880         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17881         * text2.C (PasteSelection): adjust
17882         * CutAndPaste.C (pasteSelection): adjust
17883
17884         * FloatList.C (FloatList): update from the new_insets branch.
17885         * Floating.[Ch]: ditto
17886         * LaTeXFeatures.C: ditto
17887         * buffer.C: ditto
17888         * lyxlex_pimpl.C: ditto
17889
17890         * paragraph.C (Last): remove when NEW_INSETS is defined.
17891
17892         * other file: changes because of the above.
17893
17894 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17895
17896         * lyxparagraph.h: rename next to next_, previous to previous_,
17897         make them private for NEW_INSETS. Rename Next() to next(),
17898         Previous() to previous().
17899
17900         * other files: changes because of the above.
17901
17902 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17903
17904         * BufferView.h:
17905         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17906         problem.
17907
17908 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17909
17910         * main.C (main): pass lyx_localedir to gettext_init().
17911
17912         * gettext.h: remove locale_init and gettext_init macros
17913
17914         * gettext.C (locale_init): new function
17915         (gettext_init): new function
17916
17917         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17918         setlocale().
17919
17920 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17921
17922         * Moved credits to frontends:
17923         * credits.[Ch]: removed
17924         * credits_form.[Ch]: removed
17925         * lyx_gui_misc.C: remove credits stuff
17926         * Makefile.am:
17927
17928 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17929
17930         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17931
17932         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17933         unneeded destructor.
17934
17935         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17936         a standalone pointer again.
17937
17938         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17939
17940 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17941
17942         * Makefile.am:
17943         * filedlg.h:
17944         * filedlg.C:
17945         * LyXAction.C:
17946         * ToolbarDefaults.C:
17947         * bufferlist.C:
17948         * commandtags.h:
17949         * form1.C:
17950         * form1.h:
17951         * lyx_cb.C:
17952         * lyx_cb.h:
17953         * lyxfunc.h:
17954         * lyxfunc.C:
17955         * BufferView_pimpl.C: use new file dialog in GUII
17956
17957         * lyx_cb.h:
17958         * lyx_cb.C: remove LayoutsCB to Toolbar
17959
17960 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17961
17962         * ShareContainer.h (get): add std:: qualifier
17963
17964 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17965
17966         * ShareContainer.h: define a proper ShareContainer::value_type
17967         type (and use typename to please compaq cxx)
17968
17969 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17970
17971         * lyxparagraph.h: move serveral local vars to
17972         ParameterStruct/ParagraphParameters., use ShareContainer in
17973         FontTable., make vars in FontTable private and add getter and
17974         setter.
17975
17976         * paragraph.C: changes because of the above.
17977
17978         * lyxfont.h: remove copy constructor and copy assignment. (the
17979         default ones is ok), move number inside FontBits. move inlines to
17980         lyxfont.C
17981
17982         * lyxfont.C: add number to initializaton of statics, move several
17983         inlines here. constify several local vars. some whitespace
17984         cleanup. Dont hide outerscope variables.
17985
17986         * Spacing.h: add two new constructors to match the set methods.
17987
17988         * ShareContainer.h: new file, will perhaps be moved to support
17989
17990         * ParameterStruct.h: new file
17991
17992         * ParagraphParameters.h: new file
17993
17994         * ParagraphParameters.C: new file
17995
17996         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17997         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17998
17999         * BufferView_pimpl.C: ParagraphParameter changes.
18000         * buffer.C: Likewise.
18001         * bufferview_funcs.C: Likewise.
18002         * text.C: Likewise.
18003         * text2.C: Likewise.
18004
18005 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18006
18007         * lyxfind.C (LyXReplace): do not redefine default argument in
18008         implementation.
18009         (IsStringInText): ditto
18010         (SearchForward): ditto
18011         (SearchBackward): ditto
18012
18013 2001-03-06  Juergen Vigna  <jug@sad.it>
18014
18015         * lyxfind.C (IsStringInText): put parentes around expressions.
18016
18017 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18018
18019         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18020
18021 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18022
18023         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18024
18025         * stl_string_fwd.h: add comment
18026
18027         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18028
18029         * tabular.h:
18030         * tabular.C: remove unused DocBook methods
18031
18032         * intl.C:
18033         * language.C:
18034         * paragraph.C:
18035         * buffer.C:
18036         killed DO_USE_DEFAULT_LANGUAGE
18037
18038 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18039
18040         * lyx_gui.C: do not include language.h.
18041
18042         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18043         arguments in function implementation.
18044
18045 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18046
18047         * BufferView_pimpl.C: add <ctime>
18048
18049 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18050
18051         * BufferView_pimpl.C: add using std::find_if
18052
18053 2001-02-27  José Matos  <jamatos@fep.up.pt>
18054
18055         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18056         by OnlyPath.
18057
18058 2001-02-11  José Matos  <jamatos@fep.up.pt>
18059
18060         * buffer.C (makeDocBookFile): command styles now have a parameter as
18061         "title" by default.
18062
18063 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18064
18065         * layout_forms.[Ch]: removed
18066         * lyx_cb.[Ch]: out character
18067         * lyx_gui.C: out character
18068         * lyx_gui_misc.C: out character
18069         * bufferview_funcs.C: : out character,
18070         added toggleall as parameter in ToggleAndShow
18071
18072 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18073
18074         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18075
18076         * text2.C (SetCurrentFont): Disable number property at boundary.
18077
18078 2001-02-26  Juergen Vigna  <jug@sad.it>
18079
18080         * lyxfunc.C (getStatus): added a string argument override function so
18081         that this is correctly called from LyXFunc::Dispatch if it contains a
18082         do_not_use_argument which is used!
18083         (Dispatch): added check for "custom" export and call appropriate func.
18084
18085 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18086
18087         * lyxrc.C: Add language_command_local, language_use_babel and
18088         language_global_options.
18089
18090         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18091
18092         * buffer.C (makeLaTeXFile): Use language_use_babel and
18093         language_global_options.
18094
18095 2001-02-23  Juergen Vigna  <jug@sad.it>
18096
18097         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18098         which works with LyXText and putted it inside BufferView. Here now we
18099         only call for that part the BufferView::Dispatch() function.
18100
18101         * BufferView.C (Dispatch): added.
18102
18103         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18104         functions which needs to use a LyXText over from LyXFunc.
18105         (MenuInsertLyXFile): added
18106         (getInsetByCode): added
18107         (moveCursorUpdate): added
18108         (static TEXT): added
18109
18110 2001-02-22  Juergen Vigna  <jug@sad.it>
18111
18112         * BufferView_pimpl.C (update): call a status update to see if LyXText
18113         needs it.
18114
18115 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18116
18117         * vc-backend.C (revert): implement for CVS
18118         (getLog): implement for CVS
18119
18120 2001-02-20  Juergen Vigna  <jug@sad.it>
18121
18122         * text2.C (ClearSelection): added BufferView param for inset_owner call
18123
18124         * lyxfunc.C (TEXT): added this function and use it instead of
18125         directly owner->view()-text of getLyXText().
18126
18127 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18128
18129         * src/layout_forms.C: out preamble
18130         * src/layout_forms.h: out preamble
18131         * src/lyx_cb.C: out preamble
18132         * src/lyx_cb.h: out preamble
18133         * src/lyx_gui.C: out preamble
18134         * src/lyx_gui_misc.C: out preamble
18135         * src/lyxfunc.C: connect with guii preamble
18136
18137 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18138
18139         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18140
18141 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18142
18143         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18144         whether to run bibtex.
18145
18146 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18147
18148         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18149
18150 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18151
18152         * Makefile.am (lyx_SOURCES): removed bibforms.h
18153
18154         * vspace.h: doxygen
18155
18156         * text.C (GetVisibleRow): make several local vars const
18157
18158         * tabular.C: small cleanup.
18159
18160         * lyxserver.C (callback): use compare instead of strncmp
18161
18162         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18163         inlines to after class or to paragraph.C
18164
18165         * lyxfont.h: remove friend operator!=
18166
18167         * converter.h: move friend bool operator< to non friend and after
18168         class def.
18169
18170         * combox.h: small cleanup
18171
18172         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18173         to inlines after class def.
18174
18175         * buffer.C (pop_tag): use string operations instead of strcmp
18176
18177         * bmtable.c: doxygen, small cleanup
18178
18179         * LaTeX.h: remove friend operator==
18180
18181 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18182
18183         * screen.C:
18184         * lyxrc.[Ch]:
18185         * lyxfunc.C:
18186         * lyxfont.[Ch]:
18187         * lyx_cb.C:
18188         * intl.[Ch]:
18189         * commandtags.h:
18190         * buffer.C:
18191         * WorkArea.[Ch]:
18192         * LyXAction.C:
18193         * BufferView_pimpl.C:
18194         * BufferView.[Ch]: remove cruft
18195
18196 2001-02-14  Juergen Vigna  <jug@sad.it>
18197
18198         * lyxfunc.C: removed #if 0 unused code
18199
18200         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18201
18202         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18203
18204         * text2.C (SetSelection): added a BufferView * parameter
18205
18206 2001-02-13  Juergen Vigna  <jug@sad.it>
18207
18208         * lyxfunc.C (Dispatch): fixed protected blank problem.
18209         * BufferView2.C (protectedBlank): added LyxText * parameter.
18210
18211         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18212         (AppendColumn): same as above for column_info.
18213
18214         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18215         (moveCursorUpdate): use a LyXText param for support of InsetText.
18216
18217         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18218         (tripleClick): ditto
18219
18220         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18221
18222         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18223
18224         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18225
18226         * text2.C (SetSelection): set correct update status if inset_owner
18227         (ToggleFree): ditto
18228
18229 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18230
18231         * tabular.C: remove some commented code.
18232
18233 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18234
18235         * BufferView_pimpl.C: call hideSplash()
18236
18237         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18238
18239         * include_form.h:
18240         * bibforms.h: remove
18241
18242         * lyxfunc.C:
18243         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18244           add LFUN_CHILD_CREATE
18245
18246         * counters.h: fix tiny typo
18247
18248         * lyx_cb.C:
18249         * lyx.h:
18250         * lyx_gui.C:
18251         * lyx.C: move splash to frontends/xforms/
18252
18253         * lyx_gui_misc.C: move Include and Bibform to frontends
18254
18255         * lyxvc.h: clarify comment
18256
18257         * vspace.C: tiny housekeeping
18258
18259 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18260
18261         * text.C (PrepareToPrint): RTL Fix.
18262
18263         * paragraph.C (GetUChar): New method.
18264         (String):  Use GetUChar.
18265
18266         * buffer.C (asciiParagraph): Use GetUChar.
18267
18268 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18269
18270         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18271
18272 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18273
18274         * buffer.h:
18275         * buffer.C: rename to getLogName(), handle
18276           build log / latex log nicely
18277
18278 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18279
18280         * MenuBackend.C:
18281         * MenuBackend.h: remove support for reference menuitem type.
18282
18283 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18284
18285         * BufferView_pimpl.C: housekeeping
18286         * BufferView_pimpl.h:
18287         * LyXView.h:
18288         * Makefile.am:
18289         * Timeout.C:
18290         * Timeout.h:
18291         * minibuffer.h: move Timeout GUI-I
18292
18293 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18294
18295         * lyxrc.C (read): Update converters data-structures.
18296
18297 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18298
18299         * LaTeX.h (operator!=): add operator != for Aux_Info
18300
18301 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18302
18303         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18304
18305         * LaTeXLog.C: deleted, useful code moved to Buffer
18306
18307         * buffer.h:
18308         * buffer.C: new function getLatexLogName()
18309
18310         * lyx_gui_misc.C:
18311         * lyx_gui.C:
18312         * lyxvc.C:
18313         * lyxvc.h:
18314         * lyxfunc.C: use frontends for LaTeX and VC logs
18315
18316 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18317
18318         * LaTeX.h: yet another std:: that Allan forgot.
18319
18320         * Variables.C (set): renamed from isset(), because this clashes
18321         with some HP-UX macros (grr).
18322
18323 2001-02-06  Allan Rae  <rae@lyx.org>
18324
18325         * LaTeX.h: Another bug fix.  Missing std:: this time.
18326
18327 2001-02-04  Allan Rae  <rae@lyx.org>
18328
18329         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18330         floats problem. I've left it commented out because it's not quite
18331         correct.  It should also test that the current object is a table or
18332         figure inset.  But I haven't gotten around to figuring out how to do
18333         that.  I *think* it'll be something like: "table" == inset.type()
18334
18335         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18336         bool.
18337
18338 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18339
18340         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18341         all the citation/databases/styles in the auxilary file.
18342         (run): Rerun latex if there was a babel language error.
18343
18344 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18345
18346         * text.C (Backspace): Preserve the font when changing newline char
18347         with a space.
18348         (BreakParagraph): If the cursor is before a space, delete the space.
18349
18350         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18351
18352 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18353
18354         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18355         new argument (code).
18356         (ChangeCitationsIfUnique): New method.
18357
18358         * paragraph.C (GetPositionOfInset): Handle bibkey.
18359
18360 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18361
18362         * BufferView_pimpl.h: change type of Position::par_pos to
18363         LyXParagraph::size_type.
18364
18365 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18366
18367         * BufferView_pimpl.C (savePosition, restorePosition): Write
18368         messages to minibuffer.
18369
18370 2001-01-28  José Matos  <jamatos@fep.up.pt>
18371
18372         * buffer.C (makeDocBookFile): adds support for document language.
18373         A silly restriction on the name of LatexCommand types where removed.
18374         Added support for CDATA sections, allows to chars unescaped, used
18375         among others in code, to avoid escape < and >.
18376
18377 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18378
18379         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18380         saved positions instrad of a stack. Furthermore, a position is
18381         stored using paragraph id/paragraph position.
18382
18383         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18384         Remove LFUN_REF_BACK.
18385
18386 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18387
18388         * converter.C (dvipdfm_options): New method.
18389
18390 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18391
18392         * vspace.C (isValidLength): Fix for empty input string.
18393
18394 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18395
18396         * LyXAction.C (init): change description of LFUN_FIGURE to
18397         "Insert Graphics"
18398
18399 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18400
18401         * LaTeX.C: add using directive
18402
18403 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18404
18405         * MenuBackend.C (expand): Fix the sorting of the formats.
18406
18407 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18408
18409         * lyx_main.C: tiny error message fix
18410
18411 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18412
18413         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18414         calling fl_initialize(). This fixes the problem with ',' as
18415         decimal separator in text files.
18416
18417 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18418
18419         * trans.C (process): Fix the keymap bug.
18420
18421 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18422
18423         * LaTeX.C (scanAuxFiles): New method. Provides support for
18424         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18425         (scanLogFile) Scan for "run BibTeX" messages.
18426
18427         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18428         OT1 font encoding. Also, load the aecompl package if the ae
18429         package is loaded.
18430
18431         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18432
18433 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18434
18435         * texrow.C (increasePos): turn two error messages into debug
18436         messages.
18437
18438 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18439
18440         * LaTeX.C (scanAux): Handle the \@input macro.
18441         (runBibTeX): Use scanAux().
18442
18443         * language.C (latex_options_): New field.
18444
18445         * LaTeXFeatures.C (getMacros): Add language macros.
18446
18447         * buffer.C (makeLaTeXFile): Small fix.
18448
18449 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18450
18451         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18452
18453         * text2.C: add a using directive.
18454
18455 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18456
18457         * BufferView2.C:
18458         * lyx_gui_misc.h:
18459         * lyxfr1.C:
18460         * lyxfunc.C: kill LyXBell.
18461
18462 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18463
18464         * text.C (IsBoundary): Remove the error message
18465
18466         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18467
18468         * lyxrc.C (setDefaults): Correct initialization value for
18469         font_norm_type.
18470
18471 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18472
18473         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18474         gotoError().
18475
18476         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18477         and GotoNextNote().
18478
18479         * src/LyXAction.C: Added reference-next.
18480
18481         * text.C (InsertChar): Use contains instead of strchr.
18482
18483         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18484
18485 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18486
18487         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18488         alignment commands (when needed).
18489
18490         * text.C (InsertChar): Add ':' to number separator chars.