]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
29d72a188f7cbaf890d0ce1b7995fe4a3a3c5ec1
[lyx.git] / src / ChangeLog
1 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
4
5 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
6
7         * messages.C: fix crash and localization on MinGW/Windows platform
8
9 2005-11-02  Angus Leeming  <leeming@lyx.org>
10
11         * Bidi.C:
12         * lyxtextclass.C: trivial fixes to some MSVS warnings.
13
14 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * text3.C (getStatus): re-enable disabled code. (bug 2081)
17
18         * BranchList.h (empty): constify.
19
20 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
21
22         * text3.C (getStatus): 
23         * MenuBackend.C (expandBranches): take the branch list from the
24         master document (bug 2092).
25         
26         * MenuBackend.C (expandBranches): 
27         * bufferparams.C (writeFile): use BranchList type.
28
29 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * text3.C (dispatch, getStatus): 
32         * LyXAction.C (init): 
33         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
34
35 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
38
39 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * text.C (insertChar): do not reset boundary (bug 2061)
42
43 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * dociterator.C (updateInsets): new method. Updates the inset_
46         cache of all the slices of the iterator.
47
48         * text2.C (deleteEmptyParagraphMechanism): compare also containing
49         insets when comparing pit/pos; pass the right cursor to
50         recordUndo; when a paragraph has been deleted, compare `old.top()' to
51         the right cursor slice of `cur'; use updateInsets on cur to make
52         sure that the inset caches are correct; general cleanup.
53
54 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
57         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
58         containg inset. If this does not work, the same command will be
59         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
60
61         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
62         a dispatch.
63
64 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
65
66         * lyxtextclass.C (Read): convert layout file if the format is wrong
67         * lyxtextclass.C (layout2layout): new, needed for the above
68
69 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * messages.C: do not forget to include <cerrno>.
72
73 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
74
75         * dociterator.h (StableDocIterator): add access to pos().
76         * undo.C (samePar): new method to check if two
77         iterators are in the same paragraph
78         * undo.C (recordUndo): check for samePar instead of cell identity
79         (which includes pos() and is too strict) (fixes bug 2097)
80
81 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
82
83         * text.C (setCursorFromCoordinates): return a bool telling whether
84         dEPM triggered.
85
86         * text3.C (cursorPrevious): update if needed after
87         setCursorFromCoordinates (when dEPM triggered).
88
89         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
90         (otherwise the anchor may be completely wrong and make dEPM assert).
91
92 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
93
94         * buffer.C: version upgrade to 245.
95         * bufferparams.C: remove \quotes_times (bug 2090).
96         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
97         quotation marks as default.
98
99 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
100
101         * CutAndPaste.C (nrOfParagraphs): remove (unused)
102         * CutAndPaste.C (cutSelection): Remove debug message
103         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
104         undo information and only copy if this is a real cut
105         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
106         call
107         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
108         (bug 2059)
109         * CutAndPaste.C (eraseSelection): prevent cursor corruption
110         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
111         superflous cur.selection() setting
112         * CutAndPaste.[Ch] (grabSelection): take a const cursor
113         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
114
115 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
116
117         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
118         change anything.
119
120 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * BufferView_pimpl.C: comment layout change
123
124 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
125
126         * LyXAction.C:
127         * lfuns.h:
128         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
129         by bibliography managers (bug 2071).
130
131 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
132
133         * BufferView_pimpl.C (update): choose arguments to update call so
134         that single-par update works most times
135         * text3.C (dispatch): carefully tune updating separately for
136         whole-screen and current-paragraph
137         * rowpainter.C (paintText): 1) replace painting by caching for
138         the two extra paragraphs, because we can;
139         2) suppress greying out of areas below/above drawn area in case of
140         single-par refresh
141         * lyxfunc.C (dispatch): remove superfluous update
142         * LyXAction.[Ch]: introduce SingleParUpdate
143
144 2005-10-05  Angus Leeming  <leeming@lyx.org>
145
146         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
147         always initialised before use.
148
149         * text.C (setHeightOfRow): squash warning about comparison
150         of signed and unsigned types.
151
152 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
153
154         * text.C (cursorX): two fixes involving RtL text drawing
155
156 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
157
158         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
159         items, not only large ones (part of bug 2057)
160
161 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
162
163         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
164         argument, use "newcommand".
165
166 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
167
168         * cursor.C (setSelection): do not open collapsable insets;
169         the insets do by themselves now (autoopen).
170
171 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
172
173         * buffer.C: format is up to 244.
174
175 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
176
177         * text.C (redoParagraph): fix calcultation of inset width wrt 
178         leftMargin (bug 1957).
179
180         * text3.C (dispatch): leave inset to the right when hitting ESC 
181         (bug 2034).
182
183 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * text2.C: 
186         * text.C: 
187         * factory.C:
188         * messages.C: include <boost/current_function.hpp> 
189
190 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
191
192         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
193         when command is internal. (bug 1941)
194
195 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * text2.C (cursorRight): do not honor boundary when at the end of
198         a paragraph. (bug 2010 again)
199
200 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
203
204 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
205
206         * rowpainter.C (paintText): fix RtL space width display bug (2029)
207
208 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * text2.C (setCursor): remove the unused 'boundary' parameter for
211         the CursorSlice version; adapt the LCursor version.
212
213         * lyxrc.C (write): 
214         * paragraph_pimpl.C (markErased): 
215         * cursor.C (bruteFind2, bruteFond3): fix warnings.
216
217 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218
219         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
220         as is already done for "chapter".
221
222 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
225         textclass; do not record undo if nothing is changed.
226
227 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
228
229         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
230
231 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
232
233         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
234
235 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
238         combox, it is necessary to search for the topmost paragraph in the
239         cursor stack (bug 1926)
240
241 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
242
243         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
244         end of paragraph. (bug 2010)
245
246 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
247
248         * text.C (leftMargin): check for inInset == 0
249
250 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
251
252         * text.C (leftMargin): test for insetbase's new neverIndent()
253         bool instead of listing each and every inset that does not
254         wish par indendation.
255
256 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * buffer_funcs.C (setCounter): put the code to compute enum label
259         here (where it belongs).
260
261         * counters.C (enumLabel): move code to buffer_funcs.C.
262
263 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * outputparams.[Ch]: store local_font instead of local_language
266         * paragraph.C (simpleTeXOnePar): adapt to the change above
267
268 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
269
270         * buffer_funcs.C:
271         * counters.[Ch]: clean up special code for Hebrew.
272
273 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
274
275         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
276         than 2.
277
278 2005-09-08  Angus Leeming  <leeming@lyx.org>
279
280         * ispell.C:
281         * lyxrc.C: correct grammar describing invocation of the
282         spellchecker.
283
284 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * text.C (read): remove unused variable.
287         (readParToken): remove static Change variable (never good in
288         recursive settings...); add it as a parameter instead.
289
290         * paragraph_pimpl.C (acceptChange): make debug info conditional.
291
292         * metricsinfo.C (PainterInfo): add new member erased_.
293
294         * rowpainter.C (RowPainter): add erased_ member, initialized from
295         PainterInfo. 
296         (paintInset): pass erased_ to Inset::draw.
297
298         * lyxfunc.C (lookupChange): new function. Tells whether change 
299         tracking is disabled at a given postion.
300         (getStatus): disable some actions when in deleted text with change
301         tracking. 
302
303 2005-08-03  John Levon  <levon@movementarian.org>
304         
305         * tabular.C (appendColumn, setMultiColumn): adapt to change to
306         InsetText::clear().
307
308         * paragraph_pimpl.C (markErased): add bool argument and handle it.
309         Also make sure to mark insets recursively.
310         (rejectChange, erase): be recursive
311
312         * paragraph.C (markErased): add bool argument.
313 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * lyxfind.C (findNextChange): tiny cleanup.
316
317         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
318         change tracking with the cursor in an inset; make sure the first
319         change is not skipped.
320
321 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
322
323         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
324         tabularStackDirty to work around bug 1919 (tabular needs
325         to know whether its own cell paste buffer or the one of 
326         texted is newer.
327         * CutAndPaste.C: mark tabular_stack_ clean after copy.
328
329 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
330
331         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
332
333 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
334
335         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
336         use old deleteion algorithm when changetracking is on.
337
338 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * messages.C (get): add debug output.
341
342 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
343
344         * text.C (cursorX): fix bug 1965: cursor movement at
345         line end broken in RtL.
346         (drawSelection): fix bug 1970: drawing of single-line 
347         selection broken for RtL.
348
349 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
350
351         bug 465.
352
353         * dociterator.h (clear, push_back, pop_back): change from
354         protected to public.
355
356         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
357         and changed to just return the value of the item depth; take a
358         ParIterator as argument; take the itemdepth at outer nesting level
359         in account if necessary; cleanup and comment the code.
360         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
361         and changed to just return true if reset is needed; take a
362         ParIterator as argument; cleanup and comment the code.
363         (setCounter): adapt to above changes.
364
365 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * text3.C (dispatch): make debug message optional
368
369 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
372         inset. (bug 1963)
373
374 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
375
376         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
377
378 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
379
380         * text.C (insertChar):
381         * text2.C (deleteEmptyParagraphMechanism): take care whether 
382         a blank has been deleted (in change tracking mode) (bug 1254).
383
384 2005-07-20  John Levon  <levon@movementarian.org>
385
386         * text2.C (insertStringAsLines): remove old dubious code,
387         fixing bug 1939.
388
389 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         * MenuBackend.C (expandToc): use Floating::listName() as title of
392         the floats submenus.
393
394 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
395
396         * toc.[Ch]: Do not use translatable strings (bug 1870).
397
398 2005-07-20  John Levon  <levon@movementarian.org>
399
400         * tabular.C: fix 1748 - setting multicolumn adds
401           left line to the first cell
402
403 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
404
405         bug 1920
406         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
407         pars in one go.
408
409 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
410
411         * messages.C: supress some lyxerr messages
412
413 2005-07-18  Juergen Vigna  <jug@lyx.org>
414
415         * text.C (drawSelection): honor boundary when asking for cursorX.
416
417 2005-07-17  José Matos  <jamatos@fc.up.pt>
418
419         * tabular.C (recalculateMulticolumns): fix handling of one column
420         tables.
421
422 2005-07-17  Juergen Vigna  <jug@lyx.org>
423
424         * text.C (Delete, backspace): fixed so that paragraph with the
425         same layout can be merged by Delete/Backspace.
426
427 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
428
429         * text.C (readParToken): fix spelling.
430
431 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
432
433         * text2.C: fix counter update for DEPM problem reported by
434         Georg Baum
435
436 2005-07-17  Juergen Vigna  <jug@lyx.org>
437
438         * BufferView_pimpl.C (setBuffer): save/restore the
439         cursor/selection when switching buffers
440
441         * buffer.h: 
442         * buffer.C (saveCursor): add saveDocumentIterators to save the
443         cursor when switching buffer.
444
445 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
446
447         * debug.C: fix typo
448         * buffer.C: clarify message
449         
450 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
451
452         * dociterator.C (DocIterator): fix initialization order
453
454 2005-07-17  Juergen Vigna  <jug@lyx.org>
455
456         * text2.C (cursorHome): 
457         * text.C (drawSelection, cursorX): 
458         * dociterator.C (textRow): add boundary to getRow() call
459
460         * paragraph.C (getRow): implementation of below
461
462         * paragraph.h: add parameter boundary for getRow() function
463
464 2005-07-17  José Matos  <jamatos@fc.up.pt>
465
466         * buffer.C:
467         * bufferparams.[Ch]:
468         * tex-strings.[Ch]: new file format, remove support for a4.sty,
469         a4wide.sty and a4widemargins.
470
471 2005-07-17  Juergen Vigna  <jug@lyx.org>
472
473         * text2.C (cursorLeft): fix one of error
474
475 2005-07-17  Juergen Vigna  <jug@lyx.org>
476
477         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
478                    cursorEnd):
479         more fixes for boundary handling
480
481         * text3.C (dispatch): don't reset cursor if boundary has changed
482         on cursor movement.
483
484 2005-07-16  Juergen Vigna  <jug@lyx.org>
485
486         * text2.C (getColumnNearX): hopefully got it right now,
487         check if we are on column 0 for special case.
488
489 2005-07-16  Juergen Vigna  <jug@lyx.org>
490
491         * text2.C (getColumnNearX): handle special case Newline Inset
492
493         * text.C (singleWidth): Just remove bogus check
494
495 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
496
497         * funcrequest.C (split): avoid reading uninitialized char c
498
499 2005-07-16  José Matos  <jamatos@fc.up.pt>
500
501         * buffer.C:
502         * converter.C:
503         * lyxrc.C:
504         * paper.h:
505         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
506         single papersize variable.
507
508 2005-07-16  Juergen Vigna  <jug@lyx.org>
509
510         * text3.C (dispatch): honor boundary when checking if a cursor
511         movement has been done
512
513         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
514         (setCursor, setCursorIntern): fix cursor movement with boundary
515
516 2005-07-16  Juergen Vigna  <jug@lyx.org>
517
518         * text.C (currentState): output the actual Boundary
519
520 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
521
522         * factory.C (createInset): fix bad logic for tabular creation
523
524 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
525
526         * lyx_main.C (init): change some reLyX reference to tex2lyx
527
528 2005-07-16  Juergen Vigna  <jug@lyx.org>
529
530         * dociterator.C (DocIterator): initialize boundary
531
532 2005-07-16  Juergen Vigna  <jug@lyx.org>
533
534         * text2.C (getColumnNearX): Consider rows without trailing blank.  
535
536 2005-07-16  André Pönitz  <poenitz@gmx.net>
537
538         * lyxfont.h: Change order of declarations to give the compiler
539         a better chance to inline things
540
541         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
542         questions on unsaved docs for better scritability
543
544 2005-07-16  André Pönitz  <poenitz@gmx.net>
545
546         * paragraph.h (getChar): remove asserts as the same kind of security
547         can be achieved by using a suitable standard library implementation
548         and the function was in the critical path (25.9% in profiler)
549
550 2005-07-16  Juergen Vigna  <jug@lyx.org>
551
552         * cursor.C (bruteFind2):
553         * bufferview_funcs.C (coordOffset): 
554         * text.C (cursorX,cursorY): Handle cursor position after last char
555         in row before a inset which uses a whole row.
556
557 2005-07-15  José Matos <jamatos@lyx.org>
558
559         * output_plaintext.[Ch] (writeFileAscii): control reference title
560         printing.
561         (asciiParagraph): noparbreak was already deal and was incorrectly
562         used.
563
564 2005-07-15  Juergen Vigna <jug@lyx.org>
565
566         * lyxfunc.C (dispatch): save and restore the cursor after a
567         textclass switch.
568
569 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
570
571         * text.C (backspace): bug 806 for empty keepempty paragraphs we
572         change the layout to default before letting DEPM do its thing.
573
574         * paragraph_funcs.C (breakParagraph): dont reset the layout on
575         keepEmpty paragraphs
576
577         * text.C (setCursorFromCoordinates): add a debug statement
578
579         * text2.C (getColumnNearX): bug 1825 make sure that we don't
580         return a pos that is not on the row
581
582         * output_latex.C (TeXDeeper): get rid of potential dereferencing
583         of past the end iterator
584
585 2005-07-14  André Pönitz  <poenitz@gmx.net>
586
587         * undo.C (recordUndoFullBuffer): implement undo for
588         textclass switches
589
590 2005-07-14  André Pönitz  <poenitz@gmx.net>
591
592         * cursor.C (setSelection): open insets when selection is set there
593         to avoid crashs with cold coord cache
594
595 2005-07-14  André Pönitz  <poenitz@gmx.net>
596
597         * trans_mgr.C (insert): move cursor to the right after inserting
598         a char.
599
600 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
601
602         * BufferView_pimpl.C (update): dampen some of the debug blabbering
603         * factory.C (readInset): ditto
604         * text.C, text2.C: ditto
605
606 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         * buffer.C: format incremented to 242. There is no file format per
609         se, but the "frenchb" language has been removed from lib/language
610         and has to be translated to "french" by lyx2lyx.
611
612 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
613
614         * cursor_slice.h, dociterator.h: add some documentation
615         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
616
617 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
618
619         * text.C (leftMargin): do not add identation to display() style
620         insets, because they are always centered (bug 1293).
621
622 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
623
624         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
625         formatted_time methods in support/lyxtime.
626
627 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
628
629         * toc.[Ch]: new method getGuiName, which is used by the frontends 
630         to set the toc combo (fixes bug 1870). Make TOC string translatable.
631
632 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
635         StableDocIterator const &)
636         * undo.C (recordUndo): use the above instead of cell.size() comparison
637         (fixes bug 1808; instructed by Andr�.
638
639 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
640
641         * cursor_slice.h: 
642         * dociterator.h: Fix the assert when copying rows/cols in math
643
644 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
645
646         * BufferView_pimpl.C:
647         * LyXAction.C:
648         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
649
650         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
651         (findInset): new functions, refactored from goto Inset that return 
652         the position of a certain inset without setting the buffer's cursor
653         (by Jean-Marc); 
654         (gotoInset): rewrite to call findInset and then set the cursor
655         (by Jean-Marc).
656
657 2005-06-16  Angus Leeming  <leeming@lyx.org>
658
659         * lyxrc.C (output, read): wrap all input and output of paths with
660         calls to os::internal_path and os::external_path, respectively.
661         (output): wrap bind_file inside quotes.
662
663         * format.C (view): enable the viewer to use the '$$s' placeholder.
664
665 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
666
667         * LColor.[Ch] (getFromLaTeXName): new
668
669 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
670
671         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
672
673 2005-06-14  Angus Leeming  <leeming@lyx.org>
674
675         * lyx_main.C (init): ensure that the LyX binary dir is the first
676         element in the PATH on non-POSIX builds.
677
678 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
679
680         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
681
682 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * rowpainter.C (paintInset, paintHebrewComposeChar)
685         (paintArabicComposeChar, paintChars): add a LyXFont argument.
686         (paintChars): use getFontSpan to reduce calls to getFont to a
687         minimum; use Paragraph::lookupChange instead of isXXXText.
688         (paintForeignMark): rename LyXFont argument.
689         (paintFromPos): pass a LyXFont object to the various paintXXX
690         methods.
691
692         * FontIterator.C (FontIterator, operator++): use
693         Paragraph::getFontSpan
694
695         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
696         version that returns the font span as a pair.
697
698 2005-06-09  Angus Leeming  <leeming@lyx.org>
699
700         * converter.C (convert): Don't forget "outfile = real_outfile" as
701         the final step in a conversion where the input and output file names
702         are the same. Otherwise, future conversion steps won't work...
703
704 2005-06-09  Angus Leeming  <leeming@lyx.org>
705
706         * lyxsocket.C: remove stub code as it isn't needed by
707         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
708
709 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
710
711         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
712         effectively disabled -x
713
714 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
715
716         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
717         when it actually makes sense.
718
719 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
720
721         * BufferView_pimpl.C: revert to showCursor in connection with
722         Lars's front-end stack
723
724 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
725
726         * text.C (redoParagraph): move cursor right after a bibitem
727         has been inserted.
728
729         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
730
731 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         * buffer_funcs.C (bufferErrors): fix computation of the end of an
734         error range.
735
736 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
737
738         * BufferView.[Ch] (update):
739         * BufferView_pimpl.[Ch] (update, metrics):
740         * dimension.h (operator==):
741         * lyxfunc.C (dispatch):
742         * metricsinfo.h (ViewMetricsInfo):
743         * rowpainter.C (paintText):
744         * lyxtext.h:
745         * text.C (redoParagraph):
746         * text3.C (dispatch): Make LyX only repaint current paragraph in
747         case of character insert --> speedup. Also fix cursor draw
748         artifacts
749
750 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
751
752         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
753         avoid a crash (bug 1891)
754
755 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         Fix bug 1892:
758
759         * text2.C (getStringToIndex): constify cur argument.
760
761         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
762         argument has been given
763         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
764         try to invoke LFUN_INSET_APPLY).
765
766         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
767         if no inset was created by doInsertInset
768         (doInsertInset): return true if an inset has been inserted.
769
770 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * vspace.C (asGUIName): new method. A version of the space
773         suitable for showing on screen.
774
775 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
776
777         * MenuBackend.C:
778         * lyxrc.C: rename "ASCII" to "Plain Text"
779
780 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * buffer_funcs.C (expandLabel): take a Buffer as argument;
783         translate the labelstring.
784         (setCounter): translate labelstring as needed.
785
786         * output_docbook.C (makeCommand): fix expandLabel invokation
787
788 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
789
790         * BufferView.C: fix dialog title
791
792 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
793
794         * lyx_main.C (priv_exec): fix logic error with help from Angus
795         * lyx_main.C (parse_execute): set is_gui = false and remove now
796         obsolete comment about a segfault
797
798 2005-05-18  Angus Leeming  <leeming@lyx.org>
799
800         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
801
802 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
803
804         * tabular.[hC]: added setCellInset to fix tabular paste.
805
806 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
807
808         * buffer.C (save): check if destination is writable before trying
809         to copy a file
810
811 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
812
813         * BufferView_pimpl.C (update): fix processEvents -caused update
814         recursion bug
815
816 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * buffer_funcs.C (setCounter): fix test for numbering of
819         environments.
820
821         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
822         depth correctly; use optional argument when it exists
823
824         * lyxtextclass.C: remove unused MaxCounterTags enum
825         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
826         (max_toclevel, min_toclevel): new methods.
827
828         * MenuBackend.C (expandToc2): fix case where depth is smaller than
829         the smallest depth in toc.
830
831         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
832         layouts that should not appear in a table of contents.
833
834 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
835
836         * cursor.h (undispatched, noUpdate): add comments from Andr�
837 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
838
839         * lfuns.h:
840         * LyXAction.C:
841         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
842
843 2005-05-07  André Pönitz  <poenitz@gmx.net>
844
845         * cursor.[Ch] (leaveInset): new function
846
847 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
848
849         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
850
851 2005-05-04  Angus Leeming  <leeming@lyx.org>
852
853         * lyxfunc.C (getStatus): disable the spell checker dialog if
854         none of USE_[AIP]SPELL are defined.
855
856 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
857
858         * tabular.C (setWidthOfCell): remove obsolete comment
859
860 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * paragraph.C (bibitem):
863         * buffer_funcs.C (setCounter):
864         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
865
866 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
867
868         * text3.C (getStatus): immediately return after setOnOff
869
870         * rowpainter.C: fix drawing of appendix start
871
872 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
873
874         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
875         SwitchBetweenClasses and remove the unused return value.
876         Handle character styles, too
877
878 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
879
880         * factory.C (createInset): handle undefined character styles
881
882 2005-05-02  Angus Leeming  <leeming@lyx.org>
883
884         * buffer.C: protect the #include of utime.h with a preprocessor
885         guard.
886
887 2005-05-02  Angus Leeming  <leeming@lyx.org>
888
889         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
890         function so that auto-saving works, albeit in a blocking manner.
891
892         * Makefile.am: make compilation of the client sub directory, of
893         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
894         on conditionals set at configure time.
895
896         * SpellBase.[Ch]: no longer an abstract base class. Instead,
897         it can be compiled in its own right but has no-op functionality.
898
899         * aspell.C, pspell.C: remove preprocessor guards. The files should
900         be compiled only if the necessary functionality exists.
901
902         * lyxserver.C, lyxsocket.C: disable on Windows.
903
904 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
905
906         * text.C (leftMargin): Fix the parindent use bug (1764)
907         by dirty trick
908
909 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
910
911         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
912         argument.
913
914 2005-04-25  Angus Leeming  <leeming@lyx.org>
915
916         * Bidi.[Ch]:
917         * coordcache.[Ch]:
918         * ispell.C:
919         * lyxserver.C:
920         * mover.C:
921         * pch.h:
922         include <config.h> in .C files, not .h ones.
923         add licence blurb.
924         protect headers inside preprocessor guards.
925
926 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
927
928         * FuncStatus.h (StatusCodes): document
929
930 2005-04-21  André Pönitz  <poenitz@gmx.net>
931
932         * FuncStatus.h (enabled, onoff): document
933
934 2005-04-19  Angus Leeming  <leeming@lyx.org>
935
936         * BufferView_pimpl.C (cursorToggle): no longer test whether
937         any child processes have been reaped before calling
938         handleCompletedProcesses().
939
940 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
941
942         * text3.C (dispatch): fix, finally fix, the language problem in
943         new lyxtexts, without disabling on-the-fly font changes (Helge's
944         bug report)
945
946 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
947
948         * text3.C (dispatch): set cursor on double/triple click events
949         (bug 1811)
950
951 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
952
953         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
954         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
955
956         * rowpainter.C (paintFirst): simplify the code a little bit. In
957         particular, remove the test for secnumdepth.
958         * text.C (setHeightOfRow): only allocate space for chapter number
959         when updateCounters provided an actual label, instead of looking
960         at secnumdepth directly.
961
962         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
963
964         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
965         paragraphs when secnumdepth is large enough or, for environments,
966         when they are not the first in a sequence.
967
968 2005-04-17  Angus Leeming  <leeming@lyx.org>
969
970         * buffer.C (makeLaTeXFile): replace code to manipulate a path
971         containing space and '~' characters with a call to latex_path().
972
973 2005-04-17  Angus Leeming  <leeming@lyx.org>
974
975         * converter.C (convert): protect all args of convertDefault.sh
976         script with quotes.
977
978 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
979
980         * text3.C (dispatch): change the layout to "Caption" after inserting
981         a float.
982
983 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
984
985         * text3.C (dispatch): fix language problem in newly created
986         textinsets (and main text) in non-english docs
987
988 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
989
990         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
991         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
992         * text3.C (getStatus): disable LFUN_INSET_MODIFY
993
994 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
995
996         * lyxtext.h:
997         * text.C (metrics):
998         * text2.C (getFont):
999         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1000         fonts fix
1001
1002 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1003
1004         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1005         output of \item arguments without trailing text.
1006
1007 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1008
1009         * FontIterator.C (operator*): avoid a copy of the font.
1010
1011 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1012
1013         * rowpainter.C (getFont): fix language bug from previous fix
1014
1015 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1016
1017         * rowpainter.C (RowPainter, getFont): fix font inside inset
1018         (bugs 1766, 1809)
1019
1020 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1021
1022         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1023         preventing inserted font, deco, delim insets jumping to start of
1024         surrounding inset.
1025
1026 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1027
1028         * lyxfunc.C (dispatch): translate message before sending it to the
1029         minibuffer.
1030
1031 2005-03-29  Angus Leeming  <leeming@lyx.org>
1032
1033         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1034         to LyX on the command line.
1035
1036 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1037
1038         * vc-backend.C: use QuoteName to protect file names wherever
1039         necessary.
1040
1041 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1042
1043         * buffer.[Ch]:
1044         * BranchList.h: fix bugs 1844,1845: document settings don't
1045         stick
1046
1047 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * lyxrc.C (setDefaults, read, output, getDescription): add support
1050         for tex_allows_spaces.
1051
1052         * exporter.C (Export): allows files in directory containing spaces
1053         if tex_allows_spaces is true.
1054
1055         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1056         output it in double quotes.
1057
1058 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1059
1060         * rowpainter.C: use default text height for drawing change tracker
1061         strikeout lines.
1062
1063 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1064
1065         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1066
1067 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1068
1069         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1070         directory is missing.
1071
1072 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1073
1074         * text2.C: fixed the fix, extended to other case.
1075
1076 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1077
1078         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1079
1080 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1081
1082         * text2.C (cursorUp): get rid of a crash
1083         * text.C (x2pos): add an assert
1084
1085 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1086
1087         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1088
1089         * text3.C:
1090         * lyxfunc.C:
1091         * dociterator.C: include <boost/current_function.hpp>, which is
1092         needed when assertions are disabled.
1093
1094 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1095
1096         * text2.C: fix for stuck cursor when traversing two
1097         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1098
1099 2005-02-25  Andreas Vox  <avox@arcor.de>
1100
1101         * output_docbook.C (makeParagraph): suppress trailing newline
1102         after a run of paragraphs
1103
1104 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1105
1106         * paragraph.C: fix for confused change tracker when pasting
1107         text that begins with a lineseparator. [bug 1827]
1108         (setChange(0, Change::INSERTED);)
1109
1110         * paragraph_funcs.C: fix for lost changes on triple-paste
1111         in change tracking mode [bug 1827] (par.setChange()).
1112
1113 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * text2.C (updateCounters, setCounter, expandLabel): move to
1116         buffer_funcs.
1117
1118         * buffer_funcs.C (updateCounters): turn into a free standing
1119         function and add a buffer parameter. Remove dead code for tracking
1120         labelstring change.
1121         (setCounter): change into a free-standing function which gets a
1122         dociterator as argument. Use this iterator to fix captions in a
1123         simple way. When no float is found above the caption, use the
1124         labelstring of the caption layout as default.
1125
1126         * text.C (breakParagraph, backspace):
1127         * text2.C (init, setLayout, changeDepth):
1128         * text3.C (dispatch):
1129         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1130         updateCounters.
1131
1132         * dociterator.C (forwardPar): make it much faster by calling
1133         forwardPos() only when really necessary.
1134
1135         * output_docbook.C (makeCommand): adapt to expandLabel move.
1136
1137         * cursor.C: remove unused variable
1138
1139 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1140
1141         * paragraph_funcs.C: fix crash when pasting insets in change
1142         tracking mode [bug 1277] (honour change type in moveItem).
1143
1144 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1145
1146         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1147
1148 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * BufferView.C (setCursor): change to use a DocIterator.
1151         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1152         (putSelectionAt): adapt to BufferView::setCursor change.
1153
1154         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1155         moved here from LyXText and rewritten to use proper cursor
1156         methods. Fixes bug 1787, 616 and 835.
1157
1158         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1159         when inside an inset (part of bug 781).
1160         (dispatch): adapt to change of BufferView::setCursor.
1161         (getStatus, dispatch): handle LFUN_GOTOERROR,
1162         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1163
1164         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1165         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1166         * text3.C (gotoNextInset, gotoInset): removed.
1167
1168 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1169
1170         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1171
1172 2005-02-15  Angus Leeming  <leeming@lyx.org>
1173
1174         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1175         can be used meaningfully in a comparison.
1176
1177 2005-02-13  André Pönitz  <poenitz@gmx.net>
1178
1179         * bufferview_funcs.C (coordOffset): improve cursor drawing
1180
1181 2005-02-13  André Pönitz  <poenitz@gmx.net>
1182
1183         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1184         * Cursor.C (dispatch): use fixIfBroken
1185         * lyxfunc.C (getStatus): use fixIfBroken
1186
1187 2005-02-15  Angus Leeming  <leeming@lyx.org>
1188
1189         * lyx_main.C (error_handler):
1190         * lyxfunc.C:
1191         * lyxrc.C (setDefaults):
1192         s/GetEnv/getEnv/.
1193         #include "environment.h".
1194
1195         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1196
1197 2005-02-15  Angus Leeming  <leeming@lyx.org>
1198
1199         * lyxserver.C (startPipe): squash MSVC warning "local variable
1200         'fd' used without having been initialized".
1201
1202 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1203
1204         * BufferView_pimpl.C: revert accidental commit.
1205
1206 2005-02-14  André Pönitz  <poenitz@gmx.net>
1207
1208         * dociterator.[Ch]: new member forwardPosNoDescent(),
1209         which doesn't enter nested insets.
1210         * text2.C (setFont): use forwardPosNoDescent() instead
1211         of ForwardPos() (fixes crash on font change).
1212
1213 2005-02-13  Angus Leeming  <leeming@lyx.org>
1214
1215         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1216         only if lyxrc.path_prefix is not empty.
1217
1218 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1219
1220         * bufferparams.C (readGraphicsDriver): prevent crash
1221
1222 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1223
1224         * text2.C (setCounter): check for inInset() == 0
1225
1226 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1229         but use update() to get correct screen display; use convert
1230         instead of istringstream.
1231         (getStatus): handle LFUN_GOTO_PARAGRAPH
1232
1233         * lyxfunc.C (dispatch, getStatus): do not handle
1234         LFUN_GOTO_PARAGRAPH here.
1235
1236 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1237
1238         * text3.C (dispatch): size() -> depth()
1239
1240         * text2.C: remove some debug output
1241
1242         * paragraph.C: ws changes only
1243
1244         * lyxfunc.C (getStatus): size() -> depth()
1245
1246         * dociterator.h (clear, push_back, pop_back, internalData,
1247         operator[], resize, empty): new functions
1248         Make StableDocIterator and operator== be friends. Don't inherit
1249         from std::vector use a privat class variable slices_ instead.
1250         Modify to fit.
1251
1252         * dociterator.C: update because of not inheriting from std::vector
1253         anymore. Call explictly to slices_ instead. Use depth() instead of
1254         size() and top() instead of back()
1255
1256         * cursor.C: chagne size() -> depth and back() -> top(). Also
1257         remove some direct operator[](i) calls in favour of foo[i]
1258         (getFont): remove some dead code
1259
1260         * bufferview_funcs.C (coordOffset): size() -> depth()
1261
1262         * buffer.C: ws changes only
1263
1264         * CutAndPaste.C (eraseSelection): back() -> top()
1265
1266         * BufferView_pimpl.C (selectionRequested): back() -> top()
1267
1268         * BufferView.C (setCursor): size() -> depth()
1269
1270 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1271
1272         * text3.C (cursorPrevious): return true if depm changed something
1273         (cursorNext): ditto
1274         (dispatch): rename sl to oldTopSlice, remove moving use the new
1275         NoUpdate func attrib instead. Make sure that needsUpdate is set
1276         for function that have NoUpdate, but where depm might have changed
1277         the buffer anyway.
1278
1279         * text2.C (cursorLeft): make us return true if depm changed
1280         something
1281         (cursorRight): ditto
1282         (cursorUpParagraph): ditto
1283         (curosrDownParagraph): ditto
1284         (cursorUp, cursorDown): ditto, make sure to read comments in code
1285         (deleteEmptyParagraphMechanism): remove an assert, also return
1286         true if just a single char was deleted.
1287
1288         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1289         cursor that we modify, to avoid modifying an active cursor before
1290         we call setCursor. This allows depm to run. Also return true if
1291         depm deleted something.
1292
1293         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1294         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1295         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1296         something was changed in the buffer because of them (ie. depm run)
1297
1298         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1299         debug messages. Make update by default be false. Make sure that
1300         the result of update is retained throught several calls down to
1301         dispatch.
1302
1303         * LyXAction.h: add a new func_attrib: NoUpdate
1304
1305         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1306         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1307         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1308         and LFUN_WORDLEFT
1309         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1310
1311 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1312
1313         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1314         bv_->owner(), bv_->buffer() by direct references to the private
1315         members.
1316         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1317         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1318         (fitCursor): center() is in BufferView::Pimpl.
1319         (getStatus, trackChanges, dispatch): no need for a temporary buf
1320         variable
1321         (fitCursor, workAreaDispatch): use workarea().workheight()
1322
1323 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1324
1325         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1326
1327 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1328
1329         * buffer.C: format up to 241.
1330         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1331         break if pasting into ERT
1332         * lyxfunc.C (getStatus): suppress mathpanel and
1333         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1334
1335 2005-02-01  Angus Leeming  <leeming@lyx.org>
1336
1337         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1338
1339 2005-02-01  Angus Leeming  <leeming@lyx.org>
1340
1341         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1342         calling fs::is_directory().
1343
1344 2005-01-31  Angus Leeming  <leeming@lyx.org>
1345
1346         * lyx_main.C (priv_exec): specify explicitly the relative location
1347         of the top level build directory when run in-place.
1348
1349 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350
1351         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1352         LyXText containing the cursor, not the top-level one.
1353
1354         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1355         true.
1356         (insertStringAsLines): rename par to pit; use temporary variable
1357         par to hold a Paragraph; do not store par.layout() in a variable,
1358         since the pointer may die when breaking paragraphs; pass pars to
1359         breakParagraph() instead of Buffer::paragraphs().
1360
1361 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1362
1363         * lyxlex_pimpl.h: #include <fstream>.
1364
1365         * BufferView.[Ch] (getLyXText): add a const version.
1366
1367         * BufferView_pimpl.C: add debug aids.
1368
1369         * RowList_fwd.h:
1370         * buffer.h:
1371         * lyxrow.h:
1372         * paragraph_funcs.h: add commentary explaining what the class does.
1373
1374
1375         * coordcache.[Ch]: add lots of commentary.
1376         (startUpdating, doneUpdating): debug aids.
1377         (arrays, insets, parPos, getParPos): accessors to private data.
1378
1379         * cursor_slice.[Ch] (text): add a const version.
1380         * dociterator.[Ch] (text, innerText): add const versions.
1381
1382         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1383         bool.
1384
1385         * paragraph.C (getRow, pos2ros): add asserts.
1386
1387         * paragraph.h: add commentary. Lots of.
1388
1389         * paragraph.[Ch] (metrucs, draw): removed.
1390
1391         * cursor.C:
1392         * rowpainter.[Ch]: const-correct changes.
1393
1394         * text.C: various obvious clean-ups. Removal of ancient cruft.
1395         Bug fixes, even.
1396
1397 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1398
1399         * vc-backend.C (find_file): rewrite to use boost.filesystem
1400         (scanMaster): ditto
1401
1402         * main.C (main): set default name check for boost.filesystem to
1403         no check
1404
1405         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1406         (open): ditto
1407         (doImport): ditto
1408         (actOnUpdatedPrefs): ditto
1409
1410         * lyx_main.C (init): rewrite to use boost.filesystem
1411         (queryUserLyXDir): ditto
1412
1413         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1414         (getContentsOfAsciiFile): ditto
1415
1416         * lastfiles.C (readFile): rewrite to use boost.filesystem
1417
1418         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1419
1420         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1421         (loadLyXFile): ditto
1422
1423         * buffer.C (Buffer): adjust for destroydir
1424         (getLogName): rewrite to use boost.filesystem
1425         (setFileName): ditto
1426         (save): use fs::copy_file (from fs_extras)
1427
1428         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1429
1430         * LaTeX.C (run): rewrite to use boost.filesystem
1431         (scanAuxFiles): ditto
1432         (handleFoundFile): ditto
1433
1434 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1435
1436         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1437
1438         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1439
1440 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1441
1442         * lyxlayout.[Ch]: change some vars from float to double
1443
1444         * buffer.C (readFile): make a local var const
1445
1446         * Several files: use convert<> instead of atoi,strToXXX and friends
1447
1448 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1449
1450         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1451         holds the contents of packages.lst. New functions getAvailable
1452         and isAvailable to parse and check that list, resp.
1453
1454         * LyXAction.C:
1455         * lfuns.h:
1456         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1457
1458         * bufferparams.[Ch]: new param output_changes.
1459
1460         * Buffer.C: increase file format to 240.
1461         Use output_changes and isVailable.
1462
1463         * changes.[Ch]:
1464         * paragraph.C:
1465         * paragraph_pimpl.C: Use output_changes and isVailable.
1466
1467 2005-01-23  Angus Leeming  <leeming@lyx.org>
1468
1469         * output_latex.C: #include "insetbibitem.h", rather than
1470         forward declare function bibitemWidest.
1471
1472 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1473
1474         * lyx_main.C (init): make it compile on the Mac.
1475
1476 2005-01-20  Angus Leeming  <leeming@lyx.org>
1477
1478         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1479         (setLyXMisc): (char string literal) != (char string literal) is
1480         performing a comparison on the addresses. Convert one operand
1481         explicitly to string to guarantee expected behaviour.
1482         From MSVC warning.
1483
1484 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1485
1486         * buffer.C:
1487         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1488
1489         * output_plaintext.C: remove unneeded #include gzstream.h.
1490
1491 2005-01-20  Angus Leeming  <leeming@lyx.org>
1492
1493         * SpellBase.h: rename some of the elements of the Result enum.
1494
1495         * aspell_local.h:
1496         * ispell.h:
1497         * pspell.h:
1498         * aspell.C (check):
1499         * ispell.C (check):
1500         * pspell.C (check): ditto
1501
1502 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1503
1504         * buffer.C: add #include <fstream>.
1505
1506         * lyx_main.C (init): Compile fix.
1507
1508         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1509
1510 2005-01-20  Angus Leeming  <leeming@lyx.org>
1511
1512         * mover.h: change commentary to reflect the changed meaning of
1513         the $$s placeholder.
1514
1515 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1516
1517         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1518
1519         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1520
1521 2005-01-20  Angus Leeming  <leeming@lyx.org>
1522
1523         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1524         printing diagnostic data by not dereferecing an iterator past the
1525         end.
1526
1527 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1528
1529         * buffer.C (readHeader): use "&&" rather than "and".
1530
1531         * lyxserver.h (inPipeName, outPipeName): make these const.
1532
1533 2005-01-19  Angus Leeming  <leeming@lyx.org>
1534
1535         * lyx_main.C (error_handler, init): protect SIGHUP with
1536         #ifdef SIGHUP guards.
1537
1538 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1539
1540         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1541
1542 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1543
1544         * text.C (setHeightOfRow): add a margin at the top and bottom of
1545         the document (bug 1761)
1546
1547 2005-01-17  Angus Leeming  <leeming@lyx.org>
1548
1549         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1550         with "python ". Workaround for a brain-dead Windows.
1551
1552 2005-01-16  Angus Leeming  <leeming@lyx.org>
1553
1554         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1555         for MacOSX and Windows to use prependEnvPath.
1556         Strip out the hard-coded block to add elements to the PATH for
1557         MacOSX and replace it with a call to prependEnvPath using the
1558         contents of LyXRC::path_prefix.
1559         (queryUserLyXDir): strip out the code to run reconfigure, instead
1560         returning a boolean indicating the necessity to do so.
1561         (reconfigureUserLyXDir): contains the code to reconfigure the
1562         user support directory. Is now called after the various LyXRC data
1563         files have been read.
1564
1565         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1566
1567 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1568
1569         * converter.[Ch] (convert): take a new parameter try_default. Use
1570         a default converter (imagemagick) if try_default is true.
1571
1572 2005-01-13  Angus Leeming  <leeming@lyx.org>
1573
1574         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1575         os::cygwin_path_fix.
1576         (write): output LyXRC::cygwin_path_fix as necessary.
1577
1578 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1579
1580         * lyxrc.h:
1581         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1582
1583 2005-01-12  Angus Leeming  <leeming@lyx.org>
1584
1585         * lyx_main.C (init): set the PATH variable to include the
1586         directory containing the LyX binary when running on Mac or Windows.
1587
1588 2005-01-12  Angus Leeming  <leeming@lyx.org>
1589
1590         * lyx_main.C (init): remove cruft that purports to set the locale
1591         dir. It doesn't and is not needed anyway.
1592
1593 2005-01-10  Angus Leeming  <leeming@lyx.org>
1594
1595         * Makefile.am: remove the lyx_main.C special casing.
1596
1597         * BufferView_pimpl.C:
1598         * bufferlist.C:
1599         * exporter.C:
1600         * lyx_cb.C:
1601         * lyx_main.C:
1602         * lyxfunc.C:
1603         * messages.C: use support/package.h to provide the paths to the
1604         various directories used by LyX.
1605
1606 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1607
1608         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1609         layout if pasting into an empty paragraph)
1610
1611 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1612
1613         * tex-accent.C: add <string>
1614
1615 2005-01-06  José Matos  <jamatos@lyx.org>
1616
1617         * ParagraphParameters.C (write): put every parameter in its own line.
1618         * paragraph.C (write): reduce number of consecutive empty lines exported.
1619         * buffer.C (LYX_FORMAT): increase file format to 239.
1620
1621 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1622
1623         * everywhere: change support/tostr.h -> support/convert.h
1624
1625         * tabular.C: make all write_attributes templates, tostr -> convert
1626
1627         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1628         (emptyTag): and -> &&, and fix type for ret from getChar
1629         (getFirstWord): fix type for ret from getChar
1630         (onlyText): and -> &&
1631         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1632         getChar
1633
1634         * toc.C (goTo, action):
1635         * text3.C (dispatch):
1636         * text.C (currentState):
1637         * tex-accent.C (DoAccent):
1638         * sgml.C:
1639         * lyxrc.C:
1640         * lyxfunc.C (menuNew):
1641         * lyxfinc.C (replace):
1642         * counters.C (laberItem):
1643         * bufferview_funcs.C (font2string):
1644         * bufferparams.C (writeFile):
1645         * buffer.C (readFile):
1646         * Spacing.C (set):
1647         * MenuBackend.C: tostr -> convert
1648
1649         * LaTeX.C (runMessage): fix format
1650         (scanAuxFiles): tostr -> convert
1651
1652         * BufferView_pimpl.C (savePosition): fix format
1653         (restorePosition): ditto
1654         (dispatch): ditto
1655
1656 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1657
1658         * Spacing.[Ch]: New method getValueAsString().
1659
1660         * Spacing.[Ch]:
1661         * bufferparams.C:
1662         * ParagraphParameters.C:
1663         * lyxlayout.C:
1664         * text.C:
1665         * text3.C: store/read spacing value as string.
1666
1667         * rowpainter.C: change float value (spacing_val) to double.
1668
1669         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1670         broken custom document spacing).
1671
1672 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1673
1674         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1675         namespace, also more use of temp references and const
1676
1677         * cursor.[Ch] (getStatus): move to lyxfunc.C
1678
1679         * bufferparams.C: reformat slightly
1680
1681         * bufferview_funcs.C (font2string): constify arg
1682
1683         * changes.C:
1684         * converter.C:
1685         * counters.C:
1686         * bufferlist.C:
1687         * buffer_funcs.C: (many funcs): constify arg on function
1688         definitions, also make more local vars const, also add ASSERTS on
1689         pointer args.
1690
1691         * buffer.C (LYX_FORMAT): put const in correct place
1692         (many funcs): constify arg on function definitions, also make
1693         more local vars const
1694
1695         * aspell_local.h: remove "struct" from typdef setup
1696
1697         * aspell.C (check): make word_ok const
1698         (nextMiss): simplify slightly
1699         (error): ditto
1700
1701 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1702
1703         * lyxrc.[Ch]: store all float values as strings.
1704         use int (not float) for lyxrc.dpi.
1705
1706 2005-01-04  Angus Leeming  <leeming@lyx.org>
1707
1708         * lyx_cb.C (Reconfigure):
1709         * lyx_main.C (queryUserLyXDir):
1710         to run the <system_lyxdir>/configure correctly on Windows, prefix
1711         the path to the script with "sh " when generating the string that
1712         is passed to system().
1713
1714 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1715
1716         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1717
1718 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1719
1720         * lyxlength.C (asLatexString): get rid of setprecision
1721
1722 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1723
1724         * text2.C (setLayout): remove unused variable endpit.
1725         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1726
1727         * paragraph.C (onlyText): remove unused variable style.
1728
1729         * cursor.C (bruteFind): remove unused variables beg and end.
1730
1731         * Makefile.am (dist_noinset_DATA): not needed anymore
1732
1733         * cheaders/*: remove.
1734
1735 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1736
1737         * text3.C: fix LFUN_MATH_MODE.
1738
1739 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1740
1741         * buffer_funcs.C (countWords): new function. Counts words between
1742         two iterators.
1743
1744         * BufferView_pimpl.C (getStatus, dispatch): handle
1745         LFUN_WORDS_COUNT.
1746
1747         * LyXAction.C (init):
1748         * lfuns.h: add LFUN_WORDS_COUNT.
1749
1750 2004-12-19  Angus Leeming  <leeming@lyx.org>
1751
1752         * buffer.C (save): s/slashify_path/internal_path/.
1753
1754 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1755
1756         * lyxfind.C (findChange): do not search for end of pars, because
1757         the change tracker cannot handle this (fixes bug 1719).
1758
1759 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1760
1761         * paragraph.[Ch] (autoBreakRows): remove
1762
1763         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1764
1765         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1766         avoid using the paragraph one
1767
1768         * text2.C (LyXText, insertStringAsLines): adjust
1769
1770 2004-12-16  Angus Leeming  <leeming@lyx.org>
1771
1772         * bufferlist.C:
1773         * lyx_main.C:
1774         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1775
1776 2004-12-14  Angus Leeming  <leeming@lyx.org>
1777
1778         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1779
1780         * bufferlist.C (emergencyWrite):
1781         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1782         GetEnvPath("HOME").
1783
1784 2004-12-14  Angus Leeming  <leeming@lyx.org>
1785
1786         * main.C: (main): no longer pass pointers to os::init.
1787
1788 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1789
1790         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1791         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1792
1793 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1794
1795         * lyxfunc.C:
1796         * text3.C: remove selection_possible global flag
1797
1798 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1799
1800         * text2.C (getSelectionSpan): remove
1801         (changeDepth, changeDepthAllowed): adjust
1802
1803 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1804
1805         * Makefile.am (BOOST_LIBS): use boost variables
1806
1807 2004-12-03  José Matos  <jamatos@lyx.org>
1808
1809         * buffer.C: format up to 238.
1810
1811 2004-12-03  José Matos  <jamatos@lyx.org>
1812
1813         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1814
1815 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1816
1817         * cursor.C (goUpDown): remove call to idxUpDown2
1818
1819 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1820
1821         * tabular.[Ch]: use size_t-like types for cell, row and column
1822         indices
1823
1824 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1825
1826         * lyxfunc.C (getStatus): do not lose previous information when
1827         calling BufferView::getStatus; do not set a default "Command
1828         disabled" message at the beginning, but just before returning.
1829
1830 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1831
1832         * cursor.h (getStatus): add better comment from src/cursor.C
1833
1834 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1835
1836         * text3.C (getStatus): return false when the lfun is not handled
1837
1838 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1839
1840         * broken_headers.h: remove
1841
1842         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1843
1844 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1845
1846         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1847         offset_ref accessors
1848
1849         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1850         top_y_, merge fitcursor with update
1851         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1852         coord scheme
1853         (metrics): introduce
1854         (workAreaDispatch): adapt to new coord scheme
1855         (redoCurrentBuffer): remove
1856
1857         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1858
1859         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1860         CurStatus enum.
1861
1862         * coordcache.[Ch]: add paragraph cache and helpers
1863
1864         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1865         adjust everywhere
1866
1867         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1868         (targetX, setTargetX): introduce
1869
1870         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1871         baseline -> ascent, as the rest of lyx
1872
1873         * lyxtext.h: remove redoParagraphs, updateParPositions,
1874         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1875         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1876         have ascent/descent (ascent is ascent of first par)
1877
1878         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1879         step of BufferView
1880
1881         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1882
1883         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1884
1885         * pariterator.C: fix infinite loop introduced in par->pit renaming
1886
1887         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1888         in insets and LyXText, draw two off-screen paragraphs using
1889         NullPainter, and adapt to new coord scheme
1890
1891         * text.C:
1892         * text2.C:
1893         * text3.C: adapt lfun handlers to the new coord scheme, which
1894         means: there's only guaranteed coord information for onscreen pars
1895         plus one above and one below. This implies that one can do search
1896         from y coordinates in the range [-1,workHeight]
1897
1898 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1899
1900         * rename a lot of InsetOld to InsetBase
1901
1902 2004-11-25  Angus Leeming  <leeming@lyx.org>
1903
1904         * BufferView_pimpl.C:
1905         * lyx_cb.C:
1906         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1907
1908 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1909
1910         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1911         call BufferView::getStatus if LCursor::getStatus did nothing
1912         (setStatusMessage, getStatusMessage): removed.
1913
1914         * FuncStatus.C (message): new methods. Used to provide an error
1915         message indicating why a command is disabled.
1916         (clear, |=, FuncStatus): update for message.
1917
1918 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1919
1920         * lyxfunc.C (dispatch): always call sendDispatchMessage
1921
1922 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1923
1924         * BufferView.C:
1925         * BufferView_pimpl.C:
1926         * CutAndPaste.C:
1927         * FontIterator.C:
1928         * buffer.C:
1929         * cursor.C:
1930         * cursor_slice.[Ch]:
1931         * dociterator.[Ch]:
1932         * lyxfind.C:
1933         * paragraph_funcs.C:
1934         * pariterator.C:
1935         * rowpainter.C:
1936         * text.C:
1937         * text2.C:
1938         * text3.C:
1939         * undo.C: par->pit renaming
1940
1941 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1942
1943         * tabular.C (cellstruct): use initialization, store a shared_ptr
1944         to insettext instead of the insettext directly, adjust to fit.
1945         (operator=):  new function
1946         (swap): new function
1947         (rowstruct): use initialization
1948         (columnstruct): use initialization
1949         (ltType): use initialization
1950
1951
1952         * lyxlength.h (swap): new function
1953
1954         * LColor.[Ch] (operator=): use the common semantics
1955
1956 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         * lyxfind.C (findNextChange): update the bufferview after setting
1959         the selection.
1960
1961 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1962
1963         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1964         number of InsetOptArgs has already been inserted.
1965
1966         * output_latex.C (latexOptArgInsets): new method. This outputs all
1967         the optarg insets, up to the limit defined in the layout file.
1968         (optArgInset): removed
1969         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1970
1971 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1972
1973         * paragraph.C (isLetter): remove special spellchecker-related
1974         code; return true also for digits
1975         (isWord, isKomma): remove
1976
1977         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1978         * lyxfind.C (MatchString()): use isLetter instead of isWord
1979
1980 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1981
1982         * pariterator.h (operatir=): comment out un-implemented member
1983         function.
1984
1985         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1986         static cast.
1987
1988 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1989
1990         * lyxfont.h: include LColor.h to satisfy concept checks.
1991
1992 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1993
1994         * pariterator.h: add typdefs for value_type, difference_type,
1995         pointer and reference to satisfy concept checks. Also add default
1996         constructor for same reason.
1997
1998         * pariterator.C (operator++): add post-increment operator to
1999         satisfy concept checks.
2000
2001         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2002         checks.
2003
2004         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2005
2006         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2007         checks. Also rename base_type to BaseType to follow naming
2008         standard better.
2009
2010         * FloatList.h: include Floating.h to satisfy concept checks.
2011
2012 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2013
2014         * lyxfunc.C (getStatus): when the origin of the request is menu or
2015         toolbar, and the LyXView does not have focus, do as if there was
2016         no buffer (bug 1720)
2017
2018         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2019         FuncRequest to individual entries of LFUN_SEQUENCE
2020
2021 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         * output_latex.C (TeXOnePar): override runparams.moving_arg
2024         according to the needprotect value of the current paragraph (bug
2025         1739)
2026
2027         * paragraph.C (simpleTeXOnePar): no need to override
2028         runparams.moving_args here
2029
2030 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2031
2032         * vspace.C: fix off-by-one-error, related to fix #1682
2033
2034 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2035
2036         * lengthcommon.C: a more general fix for bug 1682
2037
2038 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2039
2040         * text.C (backspace): fix crash
2041
2042 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2043
2044         * format.[Ch] (getFormatFromFile): new method
2045         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2046
2047 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2048
2049         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2050
2051 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2052
2053         * lyxfunc.C (dispatch): remove the verbose argument
2054         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2055         instead
2056
2057         * kbmap.C (defkey): set the origin of func to KEYBOARD
2058
2059         * MenuBackend.C (MenuItem):
2060         * ToolbarBackend.C (add): set the origin of func to UI
2061
2062         * funcrequest.[Ch]: add origin member, which indicates which part
2063         of LyX requests an action
2064
2065 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2066
2067         * converter.C (move): don't lie in the error message
2068         * converter.h (isReachable, move): document
2069
2070 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2071
2072         * buffer.C: remove unused using lyx::support::atoi
2073         * paragraph_funcs.C: ditto
2074
2075 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2076
2077         * bufferlist.C (exists): use bind and equal_to instead of
2078         compare_memfun
2079         (getBuffer): ditto
2080         * lyxtextclasslist.C (NumberOfClass): ditto
2081
2082         * cursor.C (insert): use for_each instead of explicit for loop
2083
2084         * bufferlist.C (getFileNames): use std::transform and
2085         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2086
2087         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2088         for loop
2089
2090         * buffer.C (changeLanguage): use for_each instead of explicit for
2091         loop
2092         (hasParWithID): implement using getParFromID
2093
2094         * LaTeXFeatures.C: ws change only
2095
2096         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2097         to cleanup a bit.
2098
2099         * BufferView_pimpl.C (trackChanges): use for_each instead of
2100         expilicit for loop
2101
2102 2004-11-04  André Pönitz  <poenitz@gmx.net>
2103
2104         * undo.h:
2105         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2106
2107         * dociterator.C (asDocIterator): use hard assert again.
2108
2109 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         * lyxlength.C (asLatexString): rewrite so that it does not use
2112         snprintf anymore
2113
2114 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2115
2116         * text3.C (specialChar, dispatch): make sure cursor moves to the
2117         right after inserting an inset
2118
2119 2004-11-02  José Matos  <jamatos@lyx.org>
2120
2121         * output_docbook.C (docbook):
2122         * paragraph.C (getID):
2123         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2124         garantee that the output is always legal.
2125
2126         * tabular.C (docbook):
2127         * outputprams.[Ch]: remove mixed contents.
2128
2129 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2130
2131         * text2.C (setCounter): prevent endless loop
2132
2133 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2134
2135         * exporter.C (copyFile): use the mover instead of support::copy()
2136         * exporter.C (Export): pass format and latex name to copyFile()
2137         * exporter.h (addExternalFile): document
2138         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2139
2140 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2141
2142         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2143
2144 2004-10-30  José Matos  <jamatos@lyx.org>
2145
2146         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2147         text and no inset or font change. This allows to use CDATA
2148         sections just for the whole paragraph.
2149
2150 2004-10-30  José Matos  <jamatos@lyx.org>
2151
2152         * paragraph.C (getFirstWord): remove unused variable.
2153
2154 2004-10-30  José Matos  <jamatos@lyx.org>
2155
2156         * paragraph.C (getFirstWord): the content should always be escaped
2157         there.
2158         (simpleDocBookOnePar):
2159         * output_docbook.C (makeEnvironment): replace reference to CDATA
2160         to style pass_thru.
2161
2162 2004-10-30  José Matos  <jamatos@lyx.org>
2163
2164         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2165
2166 2004-10-30  José Matos  <jamatos@lyx.org>
2167
2168         * output_docbook.C (makeParagraphs):
2169         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2170         standard paragraph has only a given type of content drop the wrapper.
2171
2172 2004-10-29  José Matos  <jamatos@lyx.org>
2173
2174         * output_docbook.C (makeEnvironment):
2175         * sgml.C (openTag):
2176         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2177
2178 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2179
2180         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2181         (cleanID): sanitize any id.
2182
2183 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2184
2185         * buffer.C, lyxlex_pimpl.C:
2186         * lyxlex_pimpl.C (setFile):
2187         s/getExtFromContents/getFormatFromContents/
2188
2189 2004-10-28  José Matos  <jamatos@lyx.org>
2190
2191         * output_docbook.C (makeEnvironment): move id to broadest possible
2192         scope.
2193
2194         * sgml.C (openTag): apply substitution of <> for all attributes.
2195
2196 2004-10-28  José Matos  <jamatos@lyx.org>
2197
2198         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2199         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2200         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2201
2202         * sgml.[Ch]: new version for open and closeTag for paragraph and
2203         for strings. Now they handle the ids of paragraphs.
2204
2205 2004-10-26  Angus Leeming  <leeming@lyx.org>
2206
2207         * Makefile.am: add mover.[Ch].
2208
2209         * converter.C (convert, move): use the new Movers to move external
2210         files to the temp directory.
2211
2212         * lyx_main.C (init): ensure that the global system_movers data
2213         is initialised.
2214
2215         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2216         preferences file.
2217
2218         * mover.[Ch]: new files, defining a Mover as a utility to move an
2219         external file between directories and, if necessary, manipulate this
2220         file using a helper script.
2221
2222 2004-10-25  José Matos  <jamatos@lyx.org>
2223
2224         * output_docbook.C (makeCommand): merge two if's that tested the
2225         same condition.
2226
2227 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2228
2229         * sgml.C (escapeString): fix warning in a better way
2230
2231 2004-10-25  José Matos  <jamatos@lyx.org>
2232
2233         * sgml.C (escapeString): import the require boosts header file for
2234         tie, and avoid a signed unsigned comparison.
2235
2236 2004-10-25  José Matos  <jamatos@lyx.org>
2237
2238         * sgml.h: add #include <string>
2239
2240 2004-10-25  José Matos  <jamatos@lyx.org>
2241
2242         * sgml.[Ch] (escapeString): new function to escape all the string.
2243
2244 2004-10-24  José Matos  <jamatos@lyx.org>
2245
2246         * paragraph.[Ch] (getFirstWord): new function to get the first
2247         word. Useful for description.
2248         (simpleDocBookOnePar): remove depth argument, add another that
2249         says where to start the paragraph.
2250
2251         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2252         use the new functions to fix cleanly the support for descriptions.
2253
2254 2004-10-24  José Matos  <jamatos@lyx.org>
2255
2256         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2257         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2258         * output_linuxdoc.C (linuxdocParagraphs):
2259         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2260         add buffer as argument.
2261
2262 2004-10-24  José Matos  <jamatos@lyx.org>
2263
2264         * output_docbook.C (makeEnvironment, searchEnvironment): place
2265         CDATA inside paragraphs and fix scope for listitems.
2266
2267 2004-10-24  José Matos  <jamatos@lyx.org>
2268
2269         * output_docbook.C: remove using statement for stack.
2270
2271 2004-10-23  José Matos  <jamatos@lyx.org>
2272
2273         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2274         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2275         docbook. The new scheme is recursive and makes use of iterators, the
2276         same as latex export works.
2277         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2278         directly with the paragraph contents. This code was moved up to
2279         output_docbook.C (docbookParagraphs).
2280         * sgml.C (openTag, closeTag): removed unneeded newlines.
2281         (closeEnvTags) removed.
2282
2283 2004-10-23  André Pönitz  <poenitz@gmx.net>
2284
2285         * undo.C (textUndoOrRedo):
2286         * dociterator.C (asDocIterator): work around crash
2287
2288         * cursor.C (getStatus): replace ASSERT by more verbose error message
2289           and manual correction of the problem. Should increase stability
2290           while providing more sensible information.
2291
2292 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2293
2294         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2295
2296         * bufferlist.C (previous, next): new methods
2297
2298         * lfuns.h:
2299         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2300
2301 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2302
2303         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2304         entities to preamble.
2305
2306 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2307
2308         * messages.C (Pimpl): strip off translation context information
2309
2310 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2311
2312         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2313         the cursor is correct (bug 1694)
2314
2315 2004-10-13  José Matos  <jamatos@lyx.org>
2316
2317         * output_docbook.C (docbookParagraphs): fix closing tags in the
2318         end of the document.
2319
2320 2004-10-09  José Matos  <jamatos@lyx.org>
2321
2322         * buffer.C: format up to 237.
2323         * bufferparams.C (write): use tostr to convert booleans to strings.
2324
2325 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2326
2327         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2328
2329 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2330
2331         * LaTeX.C: implement use of babel language in xindy.
2332
2333 2004-10-05  José Matos  <jamatos@lyx.org>
2334
2335         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2336         Add new translators to help reading and writing the lyx file.
2337
2338 2004-10-05  José Matos  <jamatos@lyx.org>
2339
2340         * ParagraphParameters.C (read):
2341         * text.C (readParToken): replace nexToken by more appropriate lex
2342         methods.
2343
2344 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2345
2346         * LaTeX.C (runMakeIndex):
2347         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2348         (usually 'makeindex') configurable.
2349
2350         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2351         with a variable rather than with a number.
2352
2353 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * output_latex.C (TeXOnePar): make sure font setting is the first
2356         thing that gets output (and the last at the end). Should fix bug
2357         1404.
2358
2359 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2360
2361         * pch.h: use proper signal include
2362
2363         * LaTeX.h: Use preferred calling of Boost.Signal
2364         * buffer.h: ditto
2365
2366 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2367
2368         * pch.h: dont include <boost/function/function0.hpp>
2369
2370         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2371
2372         * paragraph_pimpl.h: remove usage of ShareContainer
2373
2374         * paragraph_pimpl.C: remove initialization of ShareContainer.
2375
2376 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2377
2378         Fix bug #1666
2379
2380         * BufferView.C (putSelectionAt): change the semantics when
2381         backwards == true: now, this just swaps cursor and anchor wrt the
2382         forward case
2383
2384         * BufferView.h (putSelectionAt): add some documentation
2385
2386         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2387         make sure backwardChar is done at least once (to avoid getting
2388         stuck)
2389         (findNextChange): use putSelectionAt in the forward direction
2390         (operator()): use Paragraph::isWord
2391
2392 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * Spacing.C (set): c_str fix
2395
2396 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2397
2398         * lyx_cb.C (Reconfigure): quote the name of configure script in
2399         case it contains spaces
2400
2401 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2402
2403         * client: new dir
2404
2405         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2406         (BOOST_LIBS): use top_buildir when looking for the file
2407
2408 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2409
2410         * pch.h: do not use include boost/format.hpp, multiple symbols
2411                 will result (gcc bug)
2412
2413
2414 2004-08-23  José Matos  <jamatos@lyx.org>
2415
2416         * bufferparams.C (readToken): fix reading of the author field.
2417
2418 2004-08-20  José Matos  <jamatos@lyx.org>
2419
2420         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2421
2422 2004-08-20  José Matos  <jamatos@lyx.org>
2423
2424         * lyxlex.[Ch] (findToken): remove function.
2425
2426         * ParagraphParameters.C (findToken):
2427         * bufferparams.C (findToken): replace call for previous function
2428         with local copy. This local function has one more argument, the
2429         read string argument.
2430
2431 2004-08-16  José Matos  <jamatos@lyx.org>
2432
2433         * ParagraphParameters.C (write):
2434         * Spacing.C (writeFile):
2435         * bufferparams.C (writeLaTeX):
2436         * lyx_cb.C (Reconfigure):
2437         * paragraph.C (write):
2438         * tabular.C (write): remove unnecessary space at end of line.
2439
2440
2441 2004-08-16  José Matos  <jamatos@lyx.org>
2442
2443         * text.C (readParagraph): remove debug message.
2444
2445 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2446
2447         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2448         crash
2449
2450         * output_plaintext.C (asciiParagraph): set depth correctly
2451
2452         * outputparams.h: add member depth
2453
2454         * paragraph_funcs.C (ownerPar): remove.
2455
2456         * text2.C (setCounter): remove first_pit; comment out some
2457         non-working code that uses ownerPar
2458
2459         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2460         uses ownerPar
2461
2462 2004-08-16  José Matos  <jamatos@lyx.org>
2463
2464         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2465         For the same level of importance use the same chanel to report problems.
2466         (read): add code to deal with \begin_body and \end_body.
2467
2468
2469 2004-08-15  José Matos  <jamatos@lyx.org>
2470
2471         * lyxlex.C (getString): fix comment, buffer::readBody is now
2472         buffer:readDocument.
2473
2474         * tex-strings.C (string_papersize): Default -> default,
2475         Custom -> custom, for consistency with other options.
2476
2477 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2478
2479         * pch.h: new file
2480
2481         * Makefile.am: support pch
2482
2483 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2484
2485         * text.C (readParToken): remove the static LyXFont variable and
2486         pass it as a parameter instead. This fixes a nasty bug where an
2487         inset will be inserted with a bad font in some situations
2488         (readParagraph): adapt
2489
2490         * text2.C (setCounter): reduce number of calls to pars_[pit]
2491
2492         * text.C (singleWidth): add an assert, fix a test
2493
2494         * rowpainter.C (paintText): reduce number of calls to singleWidth
2495
2496         * paragraph.C (isHfill):
2497         (isNewline): ws only
2498
2499 2004-08-14  André Pönitz  <poenitz@gmx.net>
2500
2501         * text.C:
2502         * text2.C:
2503         * rowpainter.C:
2504         * lyxtext.h (several functions): use a Paragraph & argument
2505         instead of par_type
2506
2507 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2510
2511         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2512
2513         * text.C (singleWidth): remove useless test
2514
2515 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * tabular.h: remove bogus comments
2518
2519         * tabular.C (getDescentOfRow):
2520         (isPartOfMultiColumn): add assertions
2521
2522         * lyxlength.C (inPixels): remove #warning
2523
2524 2004-08-14  André Pönitz  <poenitz@gmx.net>
2525
2526         * paragraph.h: inline getChar()
2527
2528         * BufferView.h: remove unused declarations
2529
2530 2004-08-14  José Matos  <jamatos@lyx.org>
2531
2532         * Buffer.[Ch] (readDocument): new name for old readBody.
2533         * Buffer.C: new file format, new keywords: \begin_document,
2534         \begin_header, \begin_body, \end_body.
2535
2536         * bufferparams.C (readToken): replace all calls to lex.nextToken
2537         by lex.next(). Do the same to eatLine except where really needed.
2538
2539         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2540         line when writing to the lyx file.
2541
2542         * output_plaintext.C (asciiParagraph): fix Bibliography style
2543         handling.
2544
2545         * text.C (read): fix end of file handling.
2546
2547 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2548
2549         * MenuBackend.C (Menu::operator[]): new method to access
2550         individual menu items
2551         (Menu::hasFunc): new method. search for an item that corresponds
2552         to a given func
2553         (MenuBackend::specialMenu): new method
2554         (MenuBackend::expand): if a special menu has been set, skip
2555         entries whose func() appears in this menu
2556
2557 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2558
2559         * text3.C: use Debug::DEBUG a bit more
2560
2561         * text.C (leftMargin): try to simplify a tiny bit change var x to
2562         l_margin. Dont output the wide margins always.
2563         (rightMargin): no margin in inner texts
2564
2565         * rowpainter.h (nestMargin): new func
2566         (changebarMargin): new func
2567         (rightMargin): new func
2568
2569         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2570         now functions.
2571         (paintLast): ditto
2572
2573         * factory.C (createInset): modify setDrawFrame
2574
2575         * cursor.C: use Debug::DEBUG a bit more
2576
2577 2004-08-14  André Pönitz  <poenitz@gmx.net>
2578
2579         * coordcache.[Ch]:
2580         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2581         cache for all insets in (at least partially) visible (top-level)
2582         paragraphs.
2583
2584         * BufferView_pimpl.C: reset external coord cache before every update.
2585         This means the coord cache only contains valid entries.
2586
2587 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2588
2589         bug 1096
2590         * BufferView_pimpl.C (getInsetByCode): move function out of class
2591         and change in to a template in anon namespace. Also fix to do what
2592         suits us better.
2593
2594 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2595
2596         bug 1305
2597         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2598         of char
2599         (breakParagraph): rename par to par_offset and use a local
2600         reference. Add code to keep the language over a rebreak.
2601         (breakParagraphConservative): rename par to par_offset, use a
2602         local reference
2603         (mergeParagraph): ditto
2604         (outerHook): ditto
2605         (isFirstInSequence): ditto
2606         (outerFont): rename pit to par_offset
2607
2608         * paragraph.C: ws change
2609         * paragraph.h: ditto
2610         * text3.C: ditto
2611         * text.C: ditto
2612
2613 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2614
2615         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2616         treatment for ']'
2617
2618         * paragraph.C (simpleTeXOnePar): when we have a \item with
2619         optional argument, enclose the argument with curly brackets (in
2620         case it contains a closing square bracket)
2621
2622         * text2.C (editXY):
2623         * text2.C (editXY):
2624         * text3.C (checkInsetHit): constify
2625
2626 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2627
2628         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2629         documents (bug 1629)
2630
2631 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2632
2633         Fix toggling of collapsable insets with the mouse (bug 1558)
2634
2635         * lyxfunc.C (dispatch): adapt to LCursor changes
2636
2637         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2638         make sure that dispatch is not invoked twice
2639
2640         * cursor.C (needsUpdate): new method
2641         (dispatch): return void
2642         (result): new method, to access the DispatchResult of the cursor.
2643
2644 2004-08-13  José Matos  <jamatos@lyx.org>
2645
2646         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2647
2648 2004-08-13  André Pönitz  <poenitz@gmx.net>
2649
2650         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2651
2652         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2653           multiple cells
2654
2655 2004-08-12  André Pönitz  <poenitz@gmx.net>
2656
2657         * text3.C: take out the 'cursor right' form insertInset and only
2658         do it in those places when it is really needed. Fixes crash on
2659         C-m...
2660
2661 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2664
2665         * BufferView_pimpl.C (setBuffer): initialize the current font of
2666         the underlying LyXText
2667
2668 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2669
2670         * kbsequence.C (print): use UI native formatting for menu
2671         shortcuts
2672
2673         * text.C (insertChar): call Paragraph::insertChar with a font
2674         argument (cosmetic)
2675
2676         * paragraph.C (insertInset, insertChar): the version that takes a
2677         LyXFont argument is now a wrapper around the other one (the
2678         opposite used to be true).
2679
2680         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2681         argument. Font setting is done in Paragraph now.
2682
2683 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2684
2685         * outputparams.h: add new members intitle and lang.
2686
2687         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2688         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2689
2690 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2691
2692         * text3.C (dispatch): remove special handling of button 4 and 5,
2693         it is now taken care of in the frontend code.
2694
2695 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2696
2697         * Spacing.h: add <string> (STLPort compile fix)
2698
2699 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2700
2701         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2702
2703 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2704
2705         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2706         to bool.
2707
2708         * converter.C (showMessage): inherit from unary_function, make
2709         operator() const.
2710
2711         * buffer.C (writeFile): initialize retval
2712
2713         * InsetList.h: rename private variable list to list_
2714         * InsetList.[Ch]: adjust accordingly.
2715
2716 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2717
2718         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2719         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2720         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2721         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2722         * ParagraphParameters.C, LaTeXFeatures.C: replace
2723         "support/std_sstream.h" with <sstream>
2724
2725 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2726
2727         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2728         * lyxsocket.C (LyXServerSocket): ditto
2729         (serverCallback): ditto
2730
2731 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2732
2733         * LaTeXFeatures.C: check release date when loading jurabib.
2734
2735 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2736
2737         * lyxserver.C (startPipe): call register_socket_callback
2738         (endPipe): call unregister_socket_callback
2739
2740 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2741
2742         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2743         (LyXServerSocket): register the callback
2744         (LyXServerSocket): unregister the callback
2745         (fd): delete function
2746         (serverCallback): improve error checking and setup the callbacks.
2747         (dataCallback): change arg to fd.
2748         (writeln): new func (copied fro the client socket) used for server
2749         write to client.
2750         (LyXDataSocket): simplify
2751         (~LyXDataSocket): close ann unregiser callback
2752         (server): delete function
2753         (fd): delete function
2754         (readln): small changes, improve some std::string usage
2755         (writeln): constify a bit
2756
2757 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2758
2759         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2760         Qt frontend
2761
2762 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2763
2764         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2765         after it has been populated
2766
2767 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768
2769         * text2.C (insertInset): move cursor when inserting inset.
2770
2771 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2772
2773         * kbmap.C (findbindings): a couple of new methods. returns a
2774         container of kb_sequence objects. The real work is done by the
2775         private recursive version
2776         (printbindings): uses findbindings to print out a bracketed list
2777         of bindings (renamed from findbinding).
2778
2779         * MenuBackend.C (binding): use kb_keymap::findbindings
2780
2781         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2782
2783 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2784
2785         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2786
2787 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2788
2789         * paragraph.C (isWord): return true on insets that report
2790         isLetter().
2791
2792         * text.C (getWord): use Paragraph::isWord to decide what is in a
2793         word and what is not; fix bug 1609.
2794
2795 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2796
2797         * tex-strings.C: add "none" to string_paperpackages[], fixes
2798         off-by-one-error in the paperpackage selection.
2799
2800         * lyxlex.[Ch]:
2801         * tex-strings.[Ch]: char const * string[n]
2802         -> char const * const string[]
2803
2804 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2807         command, return early.
2808
2809 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * debug.h: add DEBUG to enum and fix size of ANY.
2812
2813         * debug.C: add support for Debug::DEBUG
2814         (showTags): cast errorTags.level to unsigned int
2815
2816         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2817         (redoCurrentBuffer): ditto
2818         (updateScrollbar): ditto
2819         * cursor.C (dispatch): ditto
2820         * text2.C (setLayout): ditto
2821         (setFont): ditto
2822         (updateCounters): ditto
2823         (editXY): ditto
2824         (deleteEmptyParagraphMechanism): ditto
2825
2826 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2829         annotations to cleanup the Makefile slightly.
2830
2831 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2832
2833         * lyxrc.C: do not set user_email to a default value but use empty
2834         instead. The entry used to be translated, which does not work
2835         since at the point where lyxrc is constructed there is no
2836         translation service available
2837
2838         * messages.C (getLocaleDir): remove and use directly
2839         lyx_localedir() instead
2840
2841 2004-06-02  Angus Leeming  <leeming@lyx.org>
2842
2843         Fix crash caused by dereferencing null pointer 'exportdata' in
2844         OutputParams by creating a new ExportData variable on the heap,
2845         storing it in a boost::shared_ptr.
2846         The crash was triggered when generating an Instant Preview
2847         of an external inset.
2848
2849         * Makefile.am: add outputparams.C
2850
2851         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2852         (c-tor): allocate memory to it.
2853
2854         * exporter.C (c-tor): associated changes.
2855
2856 2004-06-01  Angus Leeming  <leeming@lyx.org>
2857
2858         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2859         contains data before calling isInset(0). (Bug 1513.)
2860
2861 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2862
2863         * exporter.C (checkOverwrite): new method
2864         * exporter.C (copyFile): new method
2865         * exporter.C (Export): copy referenced files to the document dir
2866         * exporter.[Ch]: new class ExportedFile
2867         * exporter.[Ch]: new class ExportData. Contains currently the
2868         names of referenced external files
2869         * outputparams.h: add exportdata member.
2870
2871 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2874         version.C-tmp
2875
2876 2004-05-19  Angus Leeming  <leeming@lyx.org>
2877
2878         * LaTeXFeatures.C:
2879         * ToolbarBackend.C:
2880         * bufferparams.C:
2881         * lyxfunc.C: small changes due to the introduction of namespace
2882         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2883
2884 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * text3.C (dispatch): supress update when only moving the cursor
2887         * cursor.C (selHandle): remove commented code
2888
2889 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2890
2891         * paragraph.C (startTeXParParams): correct column count
2892         * CutAndPaste.C (pasteSelection): remove const_cast
2893         * output_docbook.C (docbookParagraphs): remove const_cast
2894         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2895         const_cast and return ParagraphList::const_iterator
2896         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2897         * output_plaintext.C (writeFileAscii): remove const_cast
2898         * paragraph.[Ch] (simpleTeXOnePar): make const
2899         * paragraph_funcs.C (outerPar): use const iterators
2900         * paragraph_pimpl.C (validate): use const iterators
2901         * text.C (setHeightOfRow): use const iterators
2902
2903 2004-05-17  Angus Leeming  <leeming@lyx.org>
2904
2905         * lfuns.h:
2906         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2907
2908         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2909         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2910         if the citation engine has changed.
2911
2912 2004-05-14  José Matos  <jamatos@lyx.org>
2913
2914         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2915         if the textclass does not provide it. Have it different for sgml and
2916         xml.
2917         support the language of document.
2918         * output_docbook.C (docbookParagraphs):
2919         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2920         first anchor as the id of the paragraph, remove special case code.
2921         * sgml.C (escapeChar): escape only < & >.
2922
2923 2004-05-14  Angus Leeming  <leeming@lyx.org>
2924
2925         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2926         dependencies on src/frontends/controllers/biblio.h. Define a
2927         CiteEngine_enum wrapper class to enable the enum to be forward
2928         declared.
2929
2930 2004-05-12  Angus Leeming  <leeming@lyx.org>
2931
2932         * buffer.C: up LYX_FORMAT to 234.
2933         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2934         use_numerical_citations with a single biblio::CiteEngine cite_engine
2935         variable.
2936         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2937
2938 2004-05-13  José Matos  <jamatos@lyx.org>
2939
2940         * converter.h:
2941         * converter.C (Converter, readFlags): add xml member.
2942         * outputparams.h: add XML flavor.
2943         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2944
2945 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2946
2947         * lyxfunc.C (dispatch):
2948         (getStatus): fix handling of LFUN_SEQUENCE
2949
2950 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2951
2952         * debug.C (showLevel): do not forget the end-of-line marker
2953
2954 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2955
2956         * kbmap.C (read): do not stop parsing a bind file when an error
2957         occurs (bug 1575)
2958
2959 2004-04-29  Angus Leeming  <leeming@lyx.org>
2960
2961         * cursor.C:
2962         * factory.C:
2963         * pariterator.C:
2964         * text2.C: wrap a bunch of #warning statements
2965         inside #ifdef WITH_WARNINGS blocks.
2966
2967 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2968
2969         * buffer.C: increment format to 233.
2970
2971 2004-04-28  Angus Leeming  <leeming@lyx.org>
2972
2973         * BufferView_pimpl.C:
2974         * lyxfunc.C:
2975         * text3.C:
2976         s/updateToolbar()/updateToolbars()/
2977         s/Toolbar.h/Toolbars.h/
2978
2979 2004-04-28  Angus Leeming  <leeming@lyx.org>
2980
2981         * BufferView.[Ch] (c-tor):
2982         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2983         No longer passes these data to the WorkArea generator.
2984
2985 2004-04-28  Angus Leeming  <leeming@lyx.org>
2986
2987         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2988
2989 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2990
2991         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2992
2993 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2994
2995         * output_latex.C (TeXEnvironment): make sure that there is a line
2996         break before \end{foo} for the last paragraph of a document
2997         (TeXOnePar): if the paragraph is at the end of the document (or
2998         inset) and the language has to be reset, then make sure that the
2999         line break is _before_ the language command, not after (fixes bug
3000         1225); also make sure that the language reset command is the first
3001         thing after the paragraph (to ensure proper nesting of
3002         environments and thus fix bug 1404)
3003
3004 2004-04-21  John Levon  <levon@movementarian.org>
3005
3006         * ToolbarBackend.h:
3007         * ToolbarBackend.C: make "name" be a programmatic name
3008         and a gui_name field.
3009
3010         * lyxfunc.C: display the minibuffer on M-x
3011
3012 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3013
3014         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3015         (bug 1526)
3016
3017 2004-04-19  Angus Leeming  <leeming@lyx.org>
3018
3019         * BufferView_pimpl.C (setBuffer): changed preview interface.
3020
3021         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3022         possible values.
3023
3024 2004-04-19  John Levon  <levon@movementarian.org>
3025
3026         * BufferView_pimpl.C:
3027         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3028
3029 2004-04-05  Angus Leeming  <leeming@lyx.org>
3030
3031         * text.C (redoParagraphs): add call to updateCounters(), thereby
3032         fixing the missing "Figure #:" label from the caption of a
3033         figure float.
3034
3035 2004-04-13  Angus Leeming  <leeming@lyx.org>
3036
3037         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3038         cursor is clicked out of an inset.
3039
3040 2004-04-13  Angus Leeming  <leeming@lyx.org>
3041
3042         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3043         than an InsetOld one.
3044
3045 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3046
3047         * format.[Ch]: add editor to Format
3048         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3049         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3050
3051 2004-04-08  André Pönitz  <poenitz@gmx.net>
3052
3053         * metricsinfo.h: remove PainterInfo::width member
3054
3055 2004-04-08  Angus Leeming  <leeming@lyx.org>
3056
3057         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3058         "\providecommand" rather than "\newcommand", thereby preventing
3059         clashes with packages that define "\boldsymbol" themselves.
3060         Eg, beamer.
3061
3062 2004-04-08  Angus Leeming  <leeming@lyx.org>
3063
3064         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3065         thereby squashing an unnecessary warning.
3066
3067 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3068
3069         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3070         setBuffer()
3071
3072 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * BufferView.C (setCursor): call redoParagraph (some insets could
3075         have been opened)
3076         (putSelectionAt): remove the 'double update' trick
3077
3078         * BufferView_pimpl.C (fitCursor): call refreshPar
3079         (workAreaDispatch): remove an uneeded update call
3080         (dispatch): remove some manual update calls
3081
3082         * cursor.[Ch]: remove cached_y_, updatePos
3083         (selHandle): set noUpdate when appropriate
3084
3085         * lyxfunc.C (dispatch): track if we need an update
3086
3087         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3088
3089         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3090         (paintSelection): cheap optimization, do not call cursorX when not
3091         needed
3092         (paintPars): change signature
3093         (refreshPar): add
3094         (paintText): adjust
3095         (paintTextInset): adjust
3096
3097         * text.C: adjust
3098
3099 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3100
3101         * lengthcommon.C: compilation fix: remove explicit array size from
3102         unit_name[] and friends
3103
3104 2004-04-05  Angus Leeming  <leeming@lyx.org>
3105
3106         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3107
3108         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3109         present only for the preferences dialog.
3110         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3111
3112 2004-04-05  Angus Leeming  <leeming@lyx.org>
3113
3114         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3115         to enable the frontends to export changes to lyxrc correctly.
3116
3117         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3118
3119 2004-04-07  André Pönitz  <poenitz@gmx.net>
3120
3121         * cursor.[Ch] (selClear, adjust): remove math
3122
3123         * cursor_slice.C: more agressive assert
3124
3125         * lyxfunc.C:
3126         * BufferView_pimpl.C: rework mouse event dispatch
3127
3128         * dociterator.C:
3129         * paragraph.C:
3130         * text2.C:
3131         * text3.C: adjust
3132
3133 2004-04-05  André Pönitz  <poenitz@gmx.net>
3134
3135         * cursor.[Ch] (valign, halign...): remove unneeded functions
3136
3137 2004-04-05  Angus Leeming  <leeming@lyx.org>
3138
3139         * lyxlength.[Ch] (unit_name et al.): const-correct.
3140
3141 2004-04-05  Angus Leeming  <leeming@lyx.org>
3142
3143         * BufferView_pimpl.C:
3144         * buffer.C:
3145         * counters.C:
3146         * cursor.C:
3147         * lyxfunc.C
3148         * paragraph.C:
3149         * pariterator.C:
3150         * text.C:
3151         * text2.C:
3152         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3153
3154 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3157
3158 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3159
3160         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3161         * BufferView_pimpl.[Ch] (getStatus)
3162         * BufferView.[Ch] (getStatus): add
3163         * lyxfunc.C (getStatus): move lfuns handled in
3164         BufferView::dispatch to te function above
3165         * Cursor.C (setSelection): set selection() = true
3166
3167 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3168
3169         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3170
3171 2004-03-31  Angus Leeming  <leeming@lyx.org>
3172
3173         * lyxfunc.C (dispatch): Fall through to the generic
3174         Dialogs::show("preamble").
3175
3176 2004-03-31  Angus Leeming  <leeming@lyx.org>
3177
3178         * lyxfunc.C (dispatch): Fall through to the generic
3179         Dialogs::show("spellchecker").
3180
3181 2004-03-31  Angus Leeming  <leeming@lyx.org>
3182
3183         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3184         preferences dialog.
3185
3186 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3187
3188         * BufferView.C
3189         * cursor.[Ch]
3190         * dociterator.[Ch]:
3191         * insetiterator.[Ch]:
3192         * lyxfind.C:
3193         * lyxfunc.C:
3194         * pariterator.[Ch]:
3195         * text2.C:
3196         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3197
3198 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3199
3200         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3201         insets where we are putting the cursor.
3202
3203 2004-03-31  Angus Leeming  <leeming@lyx.org>
3204
3205         * lfuns.h:
3206         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3207
3208         * lyxrc.[Ch] (read, write): overloaded member functions taking
3209         a std::[io]stream arguments.
3210
3211         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3212
3213 2004-03-31  Angus Leeming  <leeming@lyx.org>
3214
3215         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3216         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3217
3218         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3219         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3220
3221 2004-03-31  Angus Leeming  <leeming@lyx.org>
3222
3223         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3224         the LFUN_ALL_INSETS_TOGGLE code.
3225
3226 2004-03-30  Angus Leeming  <leeming@lyx.org>
3227
3228         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3229         has died. Fall through to the generic Dialogs::show("document").
3230
3231 2004-03-30  Angus Leeming  <leeming@lyx.org>
3232
3233         * lfuns.h:
3234         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3235         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3236
3237         * lyxfunc.C (getStatus, dispatch): define the actions for these
3238         lfuns. Little more than a cut and pste job from ControlDocument.C
3239
3240         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3241
3242 2004-03-30  Angus Leeming  <leeming@lyx.org>
3243
3244         * lfuns.h:
3245         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3246         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3247
3248         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3249         open/closed state of ollapsable insets. Usage:
3250
3251         all-inset-toggle <state> <name>, where
3252         <state> == "open" || "closed" || "toggle" and
3253         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3254
3255         * lyxtext.h, text2.C (toggleInset): removed.
3256
3257         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3258         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3259         now passes LFUN_INSET_TOGGLE to the found inset.
3260
3261         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3262         is now invoked as "all-insets-toggle toggle branch".
3263
3264 2004-03-30  Angus Leeming  <leeming@lyx.org>
3265
3266         * dociterator.C:
3267         * insetiterator.C:
3268         * pariterator.[Ch]: added/corrected header blurb.
3269
3270 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3271
3272         * dociterator.[Ch]: add an inset_ member
3273         (backwardPos): implemented
3274         (backwardPos, forwardPos): use inset_ when the stack is empty.
3275         (doc_iterator_begin, doc_iterator_end): implemented
3276         * pariterator.[Ch]: adjust, add begin, end
3277         * insetiterator.[Ch]: adjust, add begin, end
3278         * cursor.C:
3279         * document.C:
3280         * BufferView.C:
3281         * BufferView_pimpl.C:
3282         * CutAndPaste.C: adjust
3283
3284 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3285
3286         * buffer.C: increment file format to 232.
3287         * LaTeXFeatures.C: add bibtopic package.
3288         * bufferparams.[Ch]: param \use_bibtopic.
3289
3290         * lyxrc.[Ch]: add lyxrc bibtex_command
3291         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3292
3293         * buffer.C: increment file format to 231.
3294
3295 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3296
3297         * dociterator.C: implement forwardPar
3298         * iterators.[Ch]: remove, replaced by
3299         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3300         * BufferView.C:
3301         * BufferView_pimpl.C:
3302         * CutAndPaste.C:
3303         * buffer.C:
3304         * bufferview_funcs.C:
3305         * cursor.C:
3306         * lyxfind.C
3307         * lyxfunc.C
3308         * paragraph_funcs.C
3309         * toc.C:
3310         * Makefile.am: adjust
3311
3312 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3313
3314         * CutAndPaste.C (pasteSelection): fix 2 crashes
3315         (eraseSelection): fix a crash
3316         * paragraph_funcs.C: remove a warning
3317
3318 2004-03-28  Angus Leeming  <leeming@lyx.org>
3319
3320         * lfuns.h:
3321         * LyXAction.C (init): new LFUN_PRINT.
3322
3323         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3324
3325 2004-03-27  Angus Leeming  <leeming@lyx.org>
3326
3327         * lfuns.h:
3328         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3329
3330         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3331
3332 2004-03-27  Angus Leeming  <leeming@lyx.org>
3333
3334         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3335         insetlist always contains non-null pointers to insets.
3336
3337 2004-03-26  Angus Leeming  <leeming@lyx.org>
3338
3339         * src/BufferView_pimpl.C:
3340         * src/CutAndPaste.C:
3341         * src/buffer.C:
3342         * src/iterators.C:
3343         * src/output_plaintext.C:
3344         * src/outputparams.h:
3345         * src/paragraph_funcs.C:
3346         * src/rowpainter.C:
3347         * src/text.C:
3348         * src/text2.C:
3349         * src/frontends/controllers/ControlErrorList.C:
3350         * src/frontends/gtk/FileDialogPrivate.C:
3351         * src/frontends/gtk/GPainter.C:
3352         * src/frontends/gtk/GToolbar.C:
3353         * src/frontends/qt2/QRef.C:
3354         * src/mathed/math_scriptinset.C: squash compiler warnings.
3355
3356 2004-03-26  Angus Leeming  <leeming@lyx.org>
3357
3358         * ispell.C (LaunchIspell::start):
3359         * lyx_cb.C (AutoSaveBuffer::start):
3360         invoke run(DontWait) rather than runNonBlocking().
3361
3362 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3363
3364         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3365
3366 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3367
3368         * kbsequence.C (print): adjust
3369
3370         * kbmap.C (printKeySym): rename and change signature
3371         (printKey): use LyXKeySym::print()
3372
3373 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3374
3375         * undo.C: add using std::advance to compile for stlport
3376
3377 2004-03-24  Angus Leeming  <leeming@lyx.org>
3378
3379         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3380         it leads to a crash when no buffer is present.
3381
3382 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3383             Martin Vermeer  <martin.vermeer@hut.fi>
3384
3385         * lyxfunc.C (dispatch):
3386         * bufferparams.C (readToken): use the new LColor::setColor
3387
3388         * LColor.[Ch] (setColor): new version that takes two strings as
3389         argument and creates a new color entry if necessary
3390
3391 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3392
3393         * buffer.C (makeLaTeXFile): if the main latex file that is
3394         processed is usually a subdocument of some master, then pretend
3395         for a while that it is actually the master
3396
3397 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3398
3399         * buffer.C (getLabelList):
3400         (getBibkeyList): use getMasterBuffer()
3401         (getMasterBuffer): new method. Returns the main document in the
3402         case where one is using included documents.
3403
3404 2004-03-25  André Pönitz  <poenitz@gmx.net>
3405
3406         * Makefile.am:
3407         * iterators.[Ch]:
3408         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3409
3410         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3411
3412         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3413         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3414
3415         * ParameterStruct.h: merge with ParagraphParameters
3416
3417         * lyxtext.h: remove LyXText::parOffset() and getPar()
3418
3419         * text3.C: Remove all 'manual' update calls. We do now one per user
3420         interaction which is completely sufficient.
3421
3422         * Bidi.C:
3423         * BufferView.[Ch]:
3424         * BufferView_pimpl.C:
3425         * FontIterator.[Ch]:
3426         * MenuBackend.C:
3427         * ParagraphParameters.[Ch]:
3428         * buffer.C:
3429         * buffer.h:
3430         * bufferlist.C:
3431         * cursor.[Ch]:
3432         * cursor_slice.[Ch]:
3433         * dociterator.[Ch]:
3434         * errorlist.[Ch]:
3435         * factory.C:
3436         * lfuns.h:
3437         * lyxfind.C:
3438         * lyxfunc.C:
3439         * output_docbook.[Ch]:
3440         * output_latex.[Ch]:
3441         * output_linuxdoc.[Ch]:
3442         * output_plaintext.[Ch]:
3443         * paragraph.[Ch]:
3444         * paragraph_funcs.[Ch]:
3445         * paragraph_pimpl.[Ch]:
3446         * rowpainter.C:
3447         * tabular.[Ch]:
3448         * text.C:
3449         * text2.C:
3450         * toc.C:
3451         * undo.[Ch]: adjust
3452
3453         * frontends/controllers/ControlDocument.C:
3454         * frontends/controllers/ControlErrorList.C:
3455         * frontends/controllers/ControlSpellchecker.C:
3456         * insets/inset.C:
3457         * insets/inset.h:
3458         * insets/insetbase.h:
3459         * insets/insetbibitem.C:
3460         * insets/insetbox.C:
3461         * insets/insetbranch.C:
3462         * insets/insetcaption.C:
3463         * insets/insetcharstyle.C:
3464         * insets/insetcharstyle.h:
3465         * insets/insetcollapsable.C:
3466         * insets/insetcollapsable.h:
3467         * insets/insetert.C:
3468         * insets/insetfloat.C:
3469         * insets/insetfoot.C:
3470         * insets/insetmarginal.C:
3471         * insets/insetnote.C:
3472         * insets/insetoptarg.C:
3473         * insets/insettabular.C:
3474         * insets/insettext.C:
3475         * insets/insettext.h:
3476         * insets/insetwrap.C:
3477         * mathed/math_mboxinset.C:
3478         * mathed/math_nestinset.C:
3479         * mathed/math_scriptinset.C:
3480         * mathed/math_scriptinset.h:
3481         * support/types.h:
3482
3483 2004-03-24  Angus Leeming  <leeming@lyx.org>
3484
3485         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3486         deal with any child processes that have finished but are waiting to
3487         communicate this fact to the rest of LyX.
3488
3489 2004-03-24  Angus Leeming  <leeming@lyx.org>
3490
3491         64-bit compile fixes.
3492
3493         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3494         (c-tor): pass lyx::pos_types rather than ints.
3495
3496         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3497         lyx::pos_type.
3498
3499         * text.C (Delete): compile fix.
3500         (getPar): ensure that function declaration is the same as that in
3501         the header file.
3502
3503 2004-03-23  Angus Leeming  <leeming@lyx.org>
3504
3505         * ispell.C (LaunchIspell):
3506         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3507         a boost::shred_ptr rather than a std::auto_ptr.
3508
3509 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3510
3511         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3512         handle LFUN_FILE_INSERT_*
3513
3514         * lyxrc.C (setDefaults, getDescription, output, read):
3515         * lyxrc.h: remove ps_command
3516
3517 2004-03-22  Angus Leeming  <leeming@lyx.org>
3518
3519         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3520         Ensure that error_handler is processed once only and that all data
3521         is saved before attempting to output any warning messages.
3522
3523         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3524
3525 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3526
3527         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3528
3529 2004-03-19  André Pönitz  <poenitz@gmx.net>
3530
3531         * cursor.[Ch] (reset): take main text inset as argument
3532
3533         * BufferView: adjust
3534         * BufferView_pimpl.C: adjust
3535
3536         * paragraph.[Ch]: fix completely broken operator=()
3537
3538 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3539
3540         * LColor.C (getFromLyXName): make sure that the color name is used
3541         as lowercase.
3542
3543 2004-03-17  Angus Leeming  <leeming@lyx.org>
3544
3545         * lfuns.h:
3546         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3547
3548         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3549         dialog and to kill a forked process.
3550
3551 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3552
3553         * text2.C (setCursorFromCoordinates): fix font problem
3554
3555 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3556
3557         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3558         bogus "rebuild cursor" code
3559
3560 2004-03-11  André Pönitz  <poenitz@gmx.net>
3561
3562         * buffer.[Ch]: use InsetText instead of LyXText as container for
3563         the main lyx text.
3564
3565         * dociterator.[Ch]: drop the BufferView * member which is not needed
3566         anymore after the change to buffer.C
3567
3568         * paragraph_funcs.C:
3569         * text.C:
3570         * text2.C:
3571         * BufferView.[Ch]:
3572         * BufferView_pimpl.[Ch]:
3573         * cursor.[Ch]:
3574         * cursor_slice.[Ch]: adjust
3575
3576         * text3.C: fix bug in mathDispatch
3577
3578 2004-03-08  André Pönitz  <poenitz@gmx.net>
3579
3580         * undo.[Ch]: use 'StableDocumentIterator' as base for
3581         the Undo struct.
3582
3583 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3584
3585         * LaTeXFeatures.C:
3586         * bufferparams.[Ch]: add jurabib support and param.
3587
3588         * LaTeX.C: add FIXME/comment.
3589
3590 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3591
3592         * buffer.C: increment file format to 230.
3593
3594 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3595
3596         * cursor.C (dispatch): avoid infinite loops
3597
3598 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3599
3600         * rowpainter.C (paintSelection): fix x coordinates
3601
3602 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3603
3604         * text.C (rowBreakPoint): fix breaking before displayed insets
3605
3606 2004-03-01  André Pönitz  <poenitz@gmx.net>
3607
3608         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3609
3610         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3611
3612         * Makefile.am:
3613         * BufferView.C:
3614         * BufferView_pimpl.C:
3615         * buffer.C:
3616         * lyxfind.C:
3617         * lyxfunc.C:
3618         * text.C:
3619         * text2.C:
3620         * text3.C: adjust
3621
3622 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3623
3624         * lyxtext.h:
3625         * text.C:
3626         * text2.C:
3627         * rowpainter.C:
3628         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3629         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3630
3631 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3632
3633         * Bidi.[Ch] (computeTables): const correctness
3634         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3635         fill_hfill, fill_label_hfill and x from Row
3636         * lyxtext.h: prepareToPrint returns a RowMetrics
3637         * rowPainter.C: adjust
3638         * text.C (prepareToPrint): use width, not textWidth. adjust
3639         (redoParagraphInternal, cursorX): adjust
3640         * text2.C (getColumnNearX): adjust
3641         (init): put a default value to the top LyXText::width
3642
3643 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3644
3645         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3646
3647 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3648
3649         * lyxtext.h: add FontIterator class
3650
3651         * text.C (FontIterator, operator*, operator->, operator++): add
3652         (rowBreakPoint, setRowWidth): adjust (fixing a
3653         rebreaking bug)
3654
3655 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3656
3657         * BufferView_pimpl.C (workAreaDispatch): allow also
3658         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3659
3660 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * text.C (rowBreakPoint): fix a bug showing with very large insets
3663
3664 2004-02-25  André Pönitz  <poenitz@gmx.net>
3665
3666         * text3.C:
3667         * cursor.[Ch]: move some mathed specific code to mathed
3668
3669 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3670
3671         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3672         use_tempdir in preferences
3673         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3674         tempfile creation
3675         * lyx_main.C: ensure that tempdir is valid
3676         * lyxlex.h: correct typo
3677         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3678         * paragraph.[Ch] (isMultiLingual): make const
3679         * cursor.[Ch] (openable): make const
3680
3681 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3682
3683         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3684
3685 2004-02-20  André Pönitz  <poenitz@gmx.net>
3686
3687         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3688
3689         * cursor.[Ch]: prepare for localized getStatus()
3690
3691         * lyxtext.h:
3692         * tabular.C:
3693         * text.C:
3694         * text2.C:
3695         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3696
3697 2004-02-20  André Pönitz  <poenitz@gmx.net>
3698
3699         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3700
3701 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3702
3703         * text2.C (setCursorFromCoordinates): switch to absolute coords
3704         (cursorUp): adjust
3705         (cursorDown): adjust
3706         * text3.C (dispatch): adjust
3707
3708 2004-02-16  André Pönitz  <poenitz@gmx.net>
3709
3710         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3711           insets/ChangeLog)
3712
3713         * cursor_slice.[Ch]: remove unneeded acessor function
3714
3715         * lyxtext.h: rename rtl() to isRTL()
3716
3717         * rowpainter.C:
3718         * tabular.C:
3719         * text.C:
3720         * text2.C:
3721         * text3.C: adjust
3722
3723 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3724
3725         * rowpainter.C (paintSelection): coord fix
3726
3727 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3728
3729         * Spacing.C: compile fix
3730
3731 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3732
3733         * cursor.C (dispatch): restore current_ before returning
3734
3735 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3736
3737         * text2.C (cursorUp, cursorDown): fix coords
3738         (moveUp): fix crash
3739
3740 2004-02-12  André Pönitz  <poenitz@gmx.net>
3741
3742         * lyxtext.h:
3743         * text.C:
3744         * text2.C:
3745         * text3.C: add LCursor & parameter to most cursor movement functions
3746           remove usage of LyXText::cursorRow() and cursorPar()
3747
3748         * cursor.[Ch]: add textRow() needed members
3749
3750         * BufferView.C:
3751         * BufferView_pimpl.C:
3752         * paragraph.[Ch]:
3753         * BufferView.C:
3754         * BufferView_pimpl.C: adjust
3755
3756 2004-02-11  André Pönitz  <poenitz@gmx.net>
3757
3758         * lyxfunc.C:
3759         * BufferView.[Ch]:
3760         * BufferView_pimpl.C: shift undo/redo handling
3761
3762         * cursor.[Ch]: fix mathed crash
3763
3764         * lyxfind.C:
3765         * lyxtext.h: move selectionAsText to LCursor
3766
3767         * output_latex.C:
3768         * paragraph.C:
3769         * text.C:
3770         * text2.C:
3771         * text3.C: adjust
3772
3773         * rowpainter.C: fix excessive drawing
3774
3775 2004-02-06  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView.[Ch]:
3778         * BufferView_pimpl.[Ch]:
3779         * text3.C: move some text specific LFUN handling
3780
3781 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3782
3783         * text3.C (checkInsetHit): adjust coords
3784         * text2.C (getColumnNearX): adjust coords
3785         (edit): adjust coords
3786         * text.C (getRowNearY): add two asserts
3787
3788 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3789
3790         * converter.C:
3791         * format.C: add using std::distance to compile on gcc 2.95/stlport
3792
3793 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3794
3795         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3796
3797 2004-02-04  André Pönitz  <poenitz@gmx.net>
3798
3799         * BufferView.[Ch] (insertInset):
3800         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3801
3802         * text2.C:
3803         * text3.C: adjust
3804
3805 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3806
3807         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3808         on the default clause of the switch
3809         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3810         wasn't catched by LCursor::dispatch
3811
3812 2004-02-03  André Pönitz  <poenitz@gmx.net>
3813
3814         * BufferView.C:
3815         * cursor.[Ch]: some additional asserts
3816
3817         * undo.[Ch]: remove LyXText dependency in interface
3818
3819         * lyxfunc.C: adjust
3820
3821         * lyxtext.h (firstPar, lastPar): remove dead functions
3822
3823         * text.C:
3824         * text2.C:
3825         * text3.C:
3826         * paragraph.[Ch]: adjust
3827
3828 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3829
3830         * lyxfind.C (find): fix argument order in call to ::find
3831
3832 2004-02-02  André Pönitz  <poenitz@gmx.net>
3833
3834         * cursor.[Ch]: remove direct access to anchor
3835
3836         * text.C: remove findText() hack
3837
3838 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3839
3840         * iterators.[Ch] (lockPath): remove in favour of...
3841         * BufferView.[Ch] (setCursor): this addition
3842         * BufferView.C (putSelectionAt): adjust
3843         * undo.C (performUndoOrRedo): adjust
3844         * lyxfunc.C (dispatch): adjust
3845
3846 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3847
3848         * iterators.C (lockPath): add a missing slice
3849         * undo.C (performUndoOrRedo): remove redundant positioning code
3850
3851 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * vc-backend.C (scanMaster): ";" -> ';'
3854
3855 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3856
3857         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3858         std::binary_function
3859
3860         * lyxtextclass.C (compare_name): rename to...
3861         (LayoutNamesEqual): ...this
3862
3863         * lyxlex_pimpl.C (compare_tags): inherit from
3864         std::binary_function, put back into anon namespace
3865
3866         * lyxfind.C (MatchString): inherig from std::binary_function
3867         (findChange): use empty() istead of !size()
3868
3869         * format.C (FormatNamesEqual): new functor
3870         (getFormat): use it
3871         (getNumber): use it
3872         (add): use it
3873         (erase): use it
3874         (setViewer): use it
3875
3876         * converter.C (compare_Converter): rename to...
3877         (ConverterEqual): ...this, and fixup a bit.
3878         (getConverter): use it, and make function const
3879         (getNumber): use it, and make function const
3880         (add): use it
3881         (erase): use it:
3882
3883         * bufferlist.C: add using boost::bind
3884
3885         * MenuBackend.C (MenuNamesEqual): new functor
3886         (hasMenu): use it, and make function const
3887         (hasSubmenu): use nested bind to get rid of compare_memfun.
3888
3889 2004-01-30  André Pönitz  <poenitz@gmx.net>
3890
3891         * BufferView_pimpl.C:
3892         * cursor.C:
3893         * cursor.h:
3894         * cursor_slice.[Ch]:
3895         * lyxfunc.C:
3896         * lyxtext.h:
3897         * paragraph_funcs.C:
3898         * paragraph_funcs.h:
3899         * rowpainter.C:
3900         * text.C:
3901         * text2.C:
3902         * text3.C: move some of the edit(x,y) handling to the insets
3903         some coordinate changes.
3904
3905 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3906
3907         * text.C: add using statements for std::advance and std::distance
3908
3909         * paragraph.C: add using statement for std::distance
3910
3911         * lyxfind.C: add using statement for std::advance
3912
3913         * cursor.C (region): remove std:: from swap
3914         (openable): use nucleus in stead of operator->
3915
3916         * BufferView.C: add using statements for std::distance and std::swap
3917
3918 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3919
3920         * iterators.C: Remove the pimple, move the needed structures to
3921         the header file. Create accessor for the positions stack.
3922         (asPosIterator): remove function
3923
3924         * PosIterator.C (PosIterator): move constructors to top of file
3925         (PosIterator): reimplement the constructor taking a ParIterator in
3926         terms of setFrom.
3927         (setFrom): new function
3928         (operator!=): inline it
3929
3930 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3931
3932         * lyxfind.C (replaceAll): use std::advance
3933
3934         * iterators.h: inherit from std::iterator.
3935
3936         * PosIterator.C (advance, distance): remove
3937         * PosIterator.h: interit from std::iterator.
3938
3939 2004-01-26  André Pönitz  <poenitz@gmx.net>
3940
3941         * BufferView.[Ch]:
3942         * BufferView_pimpl.[Ch]:
3943         * InsetList.[Ch]:
3944         * PosIterator.[Ch]:
3945         * buffer.h:
3946         * bufferview_funcs.C:
3947         * cursor.[Ch]:
3948         * cursor_slice.h:
3949         * factory.[Ch]:
3950         * iterators.[Ch]:
3951         * lyxfind.C:
3952         * lyxfunc.C:
3953         * lyxtext.h:
3954         * output_docbook.C:
3955         * output_latex.C:
3956         * output_linuxdoc.C:
3957         * output_plaintext.C:
3958         * paragraph.[Ch]:
3959         * paragraph_funcs.[Ch]:
3960         * paragraph_pimpl.[Ch]:
3961         * rowpainter.C:
3962         * tabular.C:
3963         * tabular.h:
3964         * text.C:
3965         * text2.C:
3966         * text3.C: more IU:  dumps most of the rest of the mathcursor
3967     implementation into cursor.[Ch]; "globalize" a bit of it.
3968
3969 2004-01-25  Angus Leeming  <leeming@lyx.org>
3970
3971         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3972
3973 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3974
3975         * LaTeXFeatures.h: add nice_ and nice() const
3976         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3977
3978 2004-01-20  André Pönitz  <poenitz@gmx.net>
3979
3980         * BufferView.[Ch]:
3981         * BufferView_pimpl.C:
3982         * PosIterator.C:
3983         * bufferview_funcs.C:
3984         * cursor.[Ch]:
3985         * cursor_slice.[Ch]:
3986         * factory.C:
3987         * iterators.C:
3988         * lyx_cb.C:
3989         * lyxfind.C:
3990         * lyxfunc.C:
3991         * lyxtext.h:
3992         * rowpainter.C:
3993         * text.C:
3994         * text2.C:
3995         * text3.C:
3996         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3997           LCursor and mathcursor parts to LCursor and InsetBase.
3998
3999 2004-01-15  André Pönitz  <poenitz@gmx.net>
4000
4001         * cursor_slice.[Ch]: add a few covienience functions
4002
4003         * funcrequest.[Ch]: remove BufferView * member
4004
4005         * BufferView_pimpl.C:
4006         * cursor.C:
4007         * factory.[Ch]:
4008         * lyxfind.[Ch]:
4009         * lyxfunc.C:
4010         * lyxtext.h:
4011         * text3.C:
4012         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4013
4014 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4017         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4018
4019 2004-01-13  André Pönitz  <poenitz@gmx.net>
4020
4021         * textcursor.[Ch]:
4022         * lyxtext.h: hide cursor and selection anchor behind accessor function
4023
4024         * BufferView.C:
4025         * BufferView_pimpl.[Ch]:
4026         * PosIterator.C:
4027         * bufferview_funcs.C:
4028         * cursor.h:
4029         * lyxfind.C:
4030         * lyxfunc.C:
4031         * text.C:
4032         * text2.C:
4033         * text3.C:
4034         * undo.C: adjust
4035
4036         * cursor.h:
4037         * cursor_slice.[Ch]: some integer type changes for inset unification
4038
4039         * lyxcursor.[hC]: remove, it's CursorSlice now.
4040
4041         * Makefile.am:
4042         * BufferView_pimpl.[Ch]:
4043         * bufferview_funcs.C:
4044         * cursor_slice.C:
4045         * lyxtext.h:
4046         * text.C:
4047         * text2.C:
4048         * text3.C:
4049         * textcursor.[Ch]: adjust
4050
4051 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4052
4053         * text2.C (undoSpan): add and use
4054         * text.C (breakParagraph): use undoSpan (fix bug 578)
4055         * lyxtext.h: adjust
4056
4057 2004-01-08  Angus Leeming  <leeming@lyx.org>
4058
4059         * BufferView_pimpl.C (MenuInsertLyXFile):
4060         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4061         * lyxfunc.C (menuNew, open, doImport):
4062         FileFilterList change to the FileDialog open and save functions.
4063
4064 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4065
4066         * ShareContainer.h: make isEqual and isUnique adaptable
4067
4068         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4069
4070 2004-01-07  Angus Leeming  <leeming@lyx.org>
4071
4072         * LyXAction.C:
4073         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4074
4075         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4076
4077         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4078         functions replacing find, replace and replaceAll.
4079
4080         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4081         LFUN_WORDFIND(FORWARD|BACKWARD).
4082
4083 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4084
4085         * text.C (breakParagraph): remove an outdated #warning
4086
4087 2004-01-07  André Pönitz  <poenitz@gmx.net>
4088
4089         * lyxfind.C: somewhat clearer logic
4090
4091         * text.C: prevent crash in cursorX on unitialized row cache
4092
4093 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4094
4095         * lyxcursor.[Ch] (operator>): add
4096         * textcursor.C (selStart, selEnd): use std::min and std::max
4097
4098 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * Chktex.C: include boost/format.hpp
4101
4102 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4103
4104         * InsetList.C: replace functor MathcIt with adaptable functor
4105         InsetTablePosLess
4106         (insetIterator): modify accordingly
4107
4108         * BranchList.h: move the BranchNamesEqual functor here from...
4109         * BranchList.C: ... to here
4110
4111         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4112         SameName and match.
4113         (add): replace a finding loop with std::find_if.
4114
4115 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4116
4117         * output_docbook.C: moving LatexParam functionality into
4118         .layout files
4119
4120 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4121
4122         * buffer.C: increment format to 229.
4123
4124 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4125
4126         * LaTeXFeatures.C:
4127         * lyx_sty.[Ch]: remove minipageindent_def
4128
4129         * LyXAction.C:
4130         * factory.C:
4131         * lfuns.h:
4132         * lyxfunc.C:
4133         * text3.C: remove LFUN_INSET_MINIPAGE
4134
4135 2003-12-28  Angus Leeming  <leeming@lyx.org>
4136
4137         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4138
4139 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4140
4141         * text2.C (setParagraph): fix off-by-one crash
4142
4143 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4144
4145         * output_docbook.C: header stuff for AGU
4146
4147 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4148
4149         * text2.C (redoCursor): remove
4150         * text.C:
4151         * text3.C:
4152         * BufferView_pimpl.C: remove calls to redoCursor and
4153         setCursor(cursor.par(), cursor.pos()) all around
4154
4155 2003-12-15  Angus Leeming  <leeming@lyx.org>
4156
4157         * buffer.C: up the format to 228.
4158
4159 2003-12-15  André Pönitz  <poenitz@gmx.net>
4160
4161         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4162         slices
4163
4164         * Makefile.am:
4165
4166         * BufferView_pimpl.C:
4167         * cursor.[Ch]:
4168         * lyxcursor.[Ch]:
4169         * rowpainter.[Ch]:
4170         * lyxtext.h:
4171         * text.C:
4172         * text2.C:
4173         * text3.C: adjust
4174
4175 2003-12-15  Angus Leeming  <leeming@lyx.org>
4176
4177         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4178         than getFromGUIName to manipulate the color.
4179
4180 2003-12-14  Angus Leeming  <leeming@lyx.org>
4181
4182         * BranchList.[Ch]: minimize the API.
4183         (Branch::getBranch, getColor): now return a 'const &'.
4184         (Branch::setSelected) now returns a bool set to true if the
4185         selection status changes.
4186         (BranchList::clear, size, getColor, setColor, setSelected,
4187         allBranches, allSelected, separator): removed.
4188         (BranchList::find): new functions, returning the Branch with
4189         the given name.
4190         (BranchList::add, remove): return a bool indicating that
4191         the operation was successful.
4192
4193         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4194         new InsetBranch::isBranchSlected member function.
4195
4196         * LColor.[Ch]: mimimize the API.
4197         (fill): renamed as addColor and made private.
4198         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4199         versions of these functions taking a string arg have been removed.
4200
4201         * bufferparams.C (readToken):
4202         * lyxfunc.C (dispatch):
4203         * lyxrc.C (read): changes due to the altered BranchList and
4204         LColor APIs.
4205
4206         * factory.C (createInset, readInset): changes due to altered
4207         InsetBranch c-tor.
4208
4209 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4210
4211         * factory.C:
4212         * lyxfunc.C: remove insetminipage. "minipage-insert"
4213         now produces a frameless minipage box inset.
4214
4215 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4216
4217         * textcursor.[Ch] (selStart,selEnd): add new methods
4218         remove selection::start, end, use LyXCursor::operator<
4219         * lyxcursor.[Ch] (operator<): add
4220         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4221         * BufferView.[Ch] (unsetXSel): add
4222         * text2.C (clearSelection): use unsetXSel,adjust
4223         * text.C: adjust
4224         * text3.C: adjust
4225         * rowpainter.C: adjust
4226         * bufferview_funcs.C (put_selection_at): adjust
4227
4228 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4229
4230         * BufferView_pimpl.C: small coord. correction
4231
4232 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4233
4234         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4235         dragging over the splash screen.
4236
4237 2003-12-11  Angus Leeming  <leeming@lyx.org>
4238
4239         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4240         as it is now handled in LyXText::dispatch.
4241
4242         * text3.C (doInsertInset): remove a level of nesting.
4243
4244 2003-12-11  Angus Leeming  <leeming@lyx.org>
4245
4246         * factory.C (createInset): changes due to the changed interface to
4247         InsetCommandMailer::string2params.
4248
4249 2003-12-10  Angus Leeming  <leeming@lyx.org>
4250
4251         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4252         'dialog-show-new-inset <inset name>'
4253
4254 2003-12-10  Angus Leeming  <leeming@lyx.org>
4255
4256         * buffer.C: up the format to 227.
4257
4258         * factory.C: the box inset is now identified simply by 'Box'.
4259
4260 2003-12-10  Angus Leeming  <leeming@lyx.org>
4261
4262         * buffer.C: up the format to 226.
4263
4264         * factory.C: the note inset is now identified simply by 'Note'.
4265
4266 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4269         when a pit is enough. Standarize a couple of loops.
4270
4271 2003-12-05  Angus Leeming  <leeming@lyx.org>
4272
4273         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4274         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4275         data to the re-worked "log" dialog.
4276
4277 2003-12-03  André Pönitz  <poenitz@gmx.net>
4278
4279         * PosIterator.C:
4280         * iterators.C:
4281         * lyxtext.h:
4282         * output_latex.C:
4283         * paragraph_funcs.C:
4284         * text.C:
4285         * text2.C: use Inset::getText instead of Inset::getParagraph
4286
4287 2003-12-03  André Pönitz  <poenitz@gmx.net>
4288
4289         * buffer.[Ch]:
4290         * lyxtext.h:
4291         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4292         InsetText::read() as LyXText::read()
4293
4294 2003-12-02  Angus Leeming  <leeming@lyx.org>
4295
4296         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4297         type. Add a comment in the implementation that the function uses
4298         the stream's bad() function rather than fail() as the std::streams
4299         would do.
4300
4301 2003-12-02  André Pönitz  <poenitz@gmx.net>
4302
4303         * lyxlex.[Ch]: make interface more similar to std::stream
4304
4305         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4306
4307 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4308
4309         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4310
4311 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4312
4313         * vspace.[Ch]: remove VSpace::NONE
4314
4315 2003-12-01  André Pönitz  <poenitz@gmx.net>
4316
4317         * buffer.[Ch]:
4318         * lyxtext.h: move ParagraphList member to LyXText
4319         rename LyXText::ownerParagraphs to LyXText::paragraph
4320
4321         * CutAndPaste.C:
4322         * bufferview_funcs.C:
4323         * iterators.[Ch]:
4324         * lyx_cb.C:
4325         * paragraph.C:
4326         * rowpainter.C:
4327         * tabular.C:
4328         * text.C:
4329         * text2.C:
4330         * text3.C: adjust
4331
4332         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4333
4334         * undo.C: fix cursor positioning
4335
4336 2003-12-01  John Levon  <levon@movementarian.org>
4337
4338         * BufferView_pimpl.C: fix a crash on exit with
4339         a buffer open
4340
4341 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4342
4343         * BranchList.C: fix setSelected() method.
4344
4345 2003-11-28  André Pönitz  <poenitz@gmx.net>
4346
4347         * ParagraphParameters.[Ch]:
4348         * ParameterStruct.h: remove space above/below from Paragraph to
4349          InsetVSpace
4350
4351         * BufferView_pimpl.C:
4352         * factory.C:
4353         * lyxfunc.C:
4354         * lyxtext.h:
4355         * output_latex.C:
4356         * paragraph.C:
4357         * paragraph_funcs.C:
4358         * rowpainter.[Ch]:
4359         * text.C:
4360         * text2.C:
4361         * text3.C: adjust
4362
4363 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4364
4365         * factory.C: Syntax change for CharStyles
4366
4367 2003-11-28  André Pönitz  <poenitz@gmx.net>
4368
4369         * BufferView.[Ch]:
4370         * BufferView.[Ch]:
4371         * buffer.[Ch]:
4372         * buffer.[Ch]: move LyXText member
4373
4374 2003-11-28  André Pönitz  <poenitz@gmx.net>
4375
4376         * BufferView.[Ch]: make LyXText * text a private member
4377
4378         * BufferView_pimpl.C:
4379         * cursor.C:
4380         * iterators.C:
4381         * lyx_cb.C:
4382         * lyxfind.C:
4383         * lyxtext.h:
4384         * rowpainter.[Ch]:
4385         * text.C:
4386         * text2.C:
4387         * undo.C: adjust
4388
4389         * output_plaintext.C: cleanup
4390
4391 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4392
4393         * buffer.C:
4394         * lyxtextclass.[Ch]: parametrize SGML document header
4395
4396 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4397
4398         * converter.[Ch]:
4399         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4400         getFlavor().
4401
4402 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4403
4404         * text2.C (setFont): rework using PosIterator (no more recursive)
4405         (setCharFont): no more needed
4406         (setLayout): no more selection cursors fiddling (done by redoCursor)
4407         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4408         destroy remaining ones)
4409
4410 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4411
4412         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4413         * lyxtext.h: ditto
4414         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4415         selection cursors
4416         * lyxfunc.C: adjust
4417         * text3.C: adjust + re-allow multi par depth changes
4418         * textcursor.C: simplify a bit
4419
4420 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4421
4422         * src/buffer.C:
4423         * src/lyxlayout.C:
4424         * src/lyxlayout.h:
4425         * src/lyxtext.h:
4426         * src/output_docbook.C:
4427         * src/output_latex.C:
4428         * src/paragraph.C:
4429         * src/paragraph.h:
4430         * src/sgml.C:
4431         * src/sgml.h:
4432         * src/text2.C: Introducing a number of tags parametrizing various
4433         XML formats that we may want to support
4434
4435 2003-11-25  André Pönitz  <poenitz@gmx.net>
4436
4437         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4438
4439         * lyxtext.h (leftMargin/rightMargin): simplify interface
4440
4441         * rowpainter.C:
4442         * text.C:
4443         * text2.C:
4444         * text3.C: adjust
4445
4446 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4447
4448         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4449         master file to any child files. Fixes bug 546.
4450
4451 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4452
4453         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4454
4455 2003-11-24  André Pönitz  <poenitz@gmx.net>
4456
4457         * rowpainter.C: simplification
4458
4459         * text2.C (updateCounters): remove call to redoParagraph on
4460         changed labels as this is far too expensive.
4461
4462 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4463
4464         * converter.C (convert): fix a crash: this function gets
4465         called with buffer == 0 from importer code.
4466
4467 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * text3.C (cursorPrevious): make sure that we do not compare
4470         iterators form different containers.
4471         (cursorNext): ditto
4472
4473         * rowpainter.C (paintSelection): make sure that we do not compare
4474         iterators from different containers.
4475
4476         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4477         iterators from different ParagraphList containers.
4478         [NEXT] ditto
4479
4480         * text2.C (LyXText): change order of initialization slightly
4481         (operator=): new function. copy all variables except cache_par_
4482         (moveUp): make sure that we do not compare iterators from
4483         different ParagraphList constainers.
4484         (moveDown): ditto
4485
4486         * text.C (firstPar): new function
4487         (lastPar): new function
4488         (endPar): new function
4489
4490         * lyxtext.h: move things around and group public functions, public
4491         variables, private functions, private variables
4492
4493 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4494
4495         * factory.C: change call to InsetERT constructor to avoid
4496         additional invocation of method status
4497         * text2.C (toggleInset): remove redundant update() call
4498         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4499         instead of a Bufferview pointer
4500
4501 2003-11-21  André Pönitz  <poenitz@gmx.net>
4502
4503         * rowpainter.C: simplification
4504
4505 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4506
4507         * text3.C (dispatch): make possible to extend a word/row selection
4508         with the mouse
4509
4510 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4511
4512         * lyxtext.h: x0_,y0_ -> xo_,yo_
4513         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4514         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4515         * rowpainter.C (paintRows): paint full paragraphs
4516
4517 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4518
4519         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4520         screen coordinates)
4521
4522 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4523
4524         * lyxtext.h: add x0_, y0_
4525         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4526         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4527
4528 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4529
4530         * text2.C (setCursorIntern): move the x_target update here *
4531         * text3.C: change some bv() to true/false in calls to
4532         cursorUp/Down/Right/Left
4533         * cursor.C: use helper function.
4534
4535 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4536
4537         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4538         * paragraph_funcs.[Ch]: correct comment
4539         * rowpainter.C: do not paint selections away from bv->cursor()
4540         Fix a long standing selection painting bug.
4541         * text3.C: generalize mouse-selection code to LyXTexts other that
4542         top one
4543         * textcursor.C: do not use y coords if we can use par offsets
4544
4545 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4546
4547         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4548         cursor position after e.g. inset insert)
4549
4550 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4551
4552         * lyxfind.C (replace): adjust to locking removal + some
4553         code simplification
4554
4555 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4556
4557         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4558         of the path
4559
4560 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4561
4562         * lyxlayout.[Ch]:
4563         * output_docbook.C: XML sanitation: new layout
4564         parameters InnerTag and CommandDepth
4565
4566 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4567
4568         * BufferView_pimpl.C:
4569         * factory.C:
4570         * text3.C: Fix the insertion and modification of button-style
4571         insets
4572
4573 2003-11-13  André Pönitz  <poenitz@gmx.net>
4574
4575         * InsetList.[Ch]: remove deleteLyXText
4576
4577         * paragraph.[Ch]: cache beginOfBody position
4578
4579         * Bidi.C:
4580         * text.C:
4581         * text2.C:
4582         * text3.C: remove superfluous update() calls
4583
4584         * vspace.C: cleanup
4585
4586 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4587
4588         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4589         * BufferView.C (fitLockedInsetCursor): remove
4590         * cursor.[Ch] (getDim): add
4591         * text.C (getRowNearY): add faster version
4592         * text3.C: remove some update calls
4593
4594 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4595
4596         * LaTeXFeatures.C:
4597         * LyXAction.C:
4598         * MenuBackend.C:
4599         * MenuBackend.h:
4600         * dispatchresult.h:
4601         * factory.C:
4602         * lfuns.h:
4603         * lyxfunc.C:
4604         * lyxtextclass.C:
4605         * lyxtextclass.h:
4606         * text3.C: The Character Style /XML short element patch.
4607
4608 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4609
4610         * text3.C:
4611         * factory.C: Small step to solving 'unable to insert some insets'
4612         problem
4613
4614 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4615
4616         * cursor.[Ch] (updatePos): new function for updating the y
4617         position of the tip inset
4618         * bufferview_funcs.C (put_selection_at):
4619         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4620
4621 2003-11-11  André Pönitz  <poenitz@gmx.net>
4622
4623         * text.C: remove big comment on invalid Paragraph pointers as it is
4624         not valid anymore
4625
4626 2003-11-11  André Pönitz  <poenitz@gmx.net>
4627
4628         * text_funcs.[Ch]: merge with ...
4629
4630         * text.C: ... this
4631
4632         * lyxtext.h:
4633         * text2.C:
4634         * text3.C: adjust
4635
4636         * Makefile.am: remove text_funcs.[Ch]
4637
4638 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4639
4640         * cursor.C (getPos): return absolute cached y coord
4641
4642         * BufferView_pimpl.C (fitCursor): new simplistic code
4643         (workAreaDispatch): add a fitCursor call
4644
4645 2003-11-10  André Pönitz  <poenitz@gmx.net>
4646
4647         * BufferView.[Ch]:
4648         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4649
4650 2003-11-10  André Pönitz  <poenitz@gmx.net>
4651
4652         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4653         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4654         indicate that the cursor needs to leave an inset
4655
4656         * lyxtext.h: remove inset locking
4657
4658         * cursor.[Ch]: re-implement functionality provided by inset locking
4659
4660         * BufferView.[Ch]:
4661         * BufferView_pimpl.[Ch]:
4662         * LyXAction.C:
4663         * bufferview_funcs.[Ch]:
4664         * factory.C:
4665         * funcrequest.[Ch]:
4666         * iterators.C:
4667         * lyx_cb.C:
4668         * lyxfind.C:
4669         * lyxfunc.C:
4670         * text.C:
4671         * text2.C:
4672         * text3.C:
4673         * undo.C: adjust
4674
4675 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * PosIterator.[Ch]: replace the stack with a vector, add inset
4678         accesor
4679         * iterators.[C]: adjust
4680
4681 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4682
4683         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4684         replaced
4685         * paragraph_funcs.C (readParToken): put the correct id in the
4686         error item, not the id of the top paragraph
4687
4688 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4691         * bufferview_funcs.C (put_selection_at): use the above
4692
4693 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4694
4695         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4696
4697 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4698
4699         * output_linuxdoc.h:
4700         * output_plaintext.h:
4701         * output.h:
4702         * output_docbook.h: add #include statements
4703
4704 2003-11-05  José Matos  <jamatos@lyx.org>
4705
4706         * output_docbook.[Ch]:
4707         * output_latex.[Ch]:
4708         * output_linuxdoc.[Ch]:
4709         * output_plaintext.[Ch]: New files for output formats.
4710         * output.[Ch]: New file for helper functions.
4711
4712         * buffer.[Ch]:
4713         * paragraph_funcs.[Ch]: output functions moved to new files.
4714
4715         * outputparams.h: rename of latexrunparams.h
4716
4717         * LaTeX.[Ch]:
4718         * buffer.[Ch]:
4719         * bufferlist.[Ch]:
4720         * converter.[Ch]:
4721         * exporter.C:
4722         * paragraph.[Ch]:
4723         * paragraph_funcs.[Ch]:
4724         * paragraph_pimpl.[Ch]:
4725         * tabular.[Ch]: rename ascii to plaintext
4726         and LatexRunParams to OutputParams.
4727
4728 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4729
4730         * iterators.[Ch] (text): require bv argument
4731         * undo.C (recordUndo):
4732         * lyxfunc.C (dispatch):
4733         * bufferview_funcs.C (put_selection_at): adjust
4734
4735 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4736
4737         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4738
4739 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4740
4741         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4742         nestings
4743
4744 2003-11-04  André Pönitz  <poenitz@gmx.net>
4745
4746         * cursor.[Ch]: restructure
4747
4748         * BufferView.[Ch]:
4749         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4750
4751         * iterators.[Ch] (asCursor): remove
4752
4753         * lfuns.h: remove LFUN_INSET_EDIT
4754
4755         * lyxfunc.C:
4756         * tabular.C:
4757         * text.C:
4758         * text2.C:
4759         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4760
4761 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4762
4763         * lyxfind.[Ch]: complete overhaul
4764         * BufferView_pimpl.C:
4765         * lyxfunc.C: adjust
4766         * paragraph.[Ch] (insert): add
4767
4768 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * BufferView.[Ch]:
4771         * lyxtext.h:
4772         * text.C: remove dead spellcheck code
4773
4774 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * dispatchresult.h: add a val setter
4777
4778         * cursor.C (dispatch): use a tempvar for data_[i]
4779
4780 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * PosIterator.[Ch]: compile fix
4783
4784 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4785
4786         * text.C (cursorPar): deactivate the cursor cache
4787
4788 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4789
4790         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4791
4792 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * text3.C (dispatch): adjust for new DisptchResult semantics.
4795
4796         * lyxfunc.C (dispatch): handle update when return from
4797         Cursor::dispatch, adjust for new DispatchResult semantics.
4798
4799         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4800         DispatchResult(true) mean to not update. Add class functions for
4801         setting dispatched and update, as well as reading.
4802
4803         * cursor.C (dispatch): don't handle update here
4804
4805 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4806
4807         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4808         * trans_mgr.C: adjust
4809
4810         * paragraph_funcs.C (readParToken): exception safety
4811
4812         * lyxvc.h: store the vcs pointer in a scoped_ptr
4813         * lyxvc.C: adjust
4814
4815         * lyxsocket.C (serverCallback): exception safety
4816
4817         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4818
4819         * ispell.C (clone): make it return a auto_ptr
4820
4821         * factory.C (createInset): exception safety
4822         (readInset): exception safety
4823
4824         * bufferlist.C (newBuffer): exception safety
4825
4826         * Thesaurus.C (Thesaurus): use initialization for aik_
4827
4828         * MenuBackend.C (expandToc): exception safety.
4829
4830 2003-11-03  André Pönitz  <poenitz@gmx.net>
4831
4832         * buffer.C:
4833         * buffer.h:
4834         * bufferview_funcs.C: remove getInsetFromId()
4835
4836         * lyxcursor.[Ch]:
4837         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4838
4839         * lyxfunc.C:
4840         * text2.C:
4841         * text3.C: adjust
4842
4843 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4844
4845         * PosIterator.C (distance, advance): new
4846         * bufferview_funcs.[Ch] (put_selection_at): new
4847         * iterators.[Ch] (lockPath): new
4848
4849 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * iterators.[Ch] (asPosIterator): added
4852         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4853         * PosIterator.[Ch]: added
4854
4855 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * text3.C:
4858         * lyxfunc.C:
4859         * cursor.C (dispatch):
4860         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4861
4862         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4863         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4864         contructor, add a class function dispatched. Remove operator>=
4865
4866 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * debug.C: only use the default constructor for debugstream
4869         (lyxerr) here.
4870
4871         * main.C (main): include debug.h and setup the lyxerr streambuf
4872         here.
4873
4874 2003-10-31  José Matos  <jamatos@lyx.org>
4875
4876         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4877
4878         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4879         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4880         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4881         * paragraph_pimpl.C (simpleTeXSpecialC):
4882         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4883         add LatexRunParams argument.
4884
4885         * exporter.C (Export): change call accordingly.
4886
4887         * latexrunparams.h: add new member to take care of the other backends.
4888 2003-10-30  José Matos  <jamatos@lyx.org>
4889
4890         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4891         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4892         factorise code for paragraph output.
4893         * buffer.[Ch]:
4894         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4895         move functions.
4896
4897 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * text3.C (dispatch):
4900         * lyxfunc.C (dispatch):
4901         * cursor.C (dispatch):
4902         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4903
4904         * dispatchresult.h: make the dispatch_result_t ctor explicit
4905
4906 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4907
4908         * sgml.[Ch]:
4909         * buffer.C: small refactoring of docbook stuff
4910
4911 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4914         meaning.
4915
4916 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4919         operator dispatch_result_t, and operators for == != and >=
4920
4921         * cursor.C (dispatch): adjust for operator dispatch_result_t
4922         removal. comment out call to update
4923
4924         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4925
4926 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * text3.C:
4929         * text2.C:
4930         * text.C:
4931         * lyxtext.h:
4932         * lyxfunc.C:
4933         * cursor.C:
4934         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4935         (dispatch):
4936
4937         * dispatchresult.h: new file, DispatchResult broken out of
4938         insets/insetbase.h
4939
4940         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4941
4942 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4943
4944         * text.C (rowBreakPoint): put a hack inside #if 0
4945
4946 2003-10-28  André Pönitz  <poenitz@gmx.net>
4947
4948         * lyxtext.h:
4949         * metricsinfo.C:
4950         * paragraph_funcs.C:
4951         * rowpainter.C:
4952         * text.C:
4953         * text2.C: general cleanup (lots of small stuff)
4954
4955 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4956
4957         * text2.C (cursorEnd): simple fix to the "end key goes to one
4958         before the end on last row" bug
4959
4960 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4961
4962         * text.C (backspace): fix the "zombie characters"
4963
4964 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4965
4966         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4967
4968 2003-10-27  André Pönitz  <poenitz@gmx.net>
4969
4970         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4971
4972         * factory.C: handle new InsetPagebreak, InsetLine
4973
4974         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4975         and move handling into new InsetPagebreak, InsetLine
4976
4977         * BufferView_pimpl.C:
4978         * LyXAction.C:
4979         * ParagraphParameters.C:
4980         * ParameterStruct.h:
4981         * lyxfunc.C:
4982         * lyxtext.h:
4983         * paragraph.C:
4984         * paragraph.h:
4985         * paragraph_funcs.C:
4986         * paragraph_pimpl.C:
4987         * rowpainter.C:
4988         * text.C:
4989         * text2.C:
4990         * text3.C: adjust
4991
4992 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4993
4994         * text.C:
4995         * lyxrow_funcs.[Ch]:
4996         * Bidi.C:
4997         * paragraph.C:
4998         * lyxtext.h:
4999         * rowpainter.C:
5000         * text2.C:
5001         * text3.C: remove lastPos uses in favour of Row::endpos
5002
5003 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5004
5005         * undo.C (performUndoOrRedo): fix two crashes by setting a
5006         cursor by hand and reordering some calls. Use bv->lockInset instead
5007         of inset->edit because the latter loses cursor information
5008
5009 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5010
5011         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5012         by Martin
5013         (rowBreakPoint): fix width. change point to point + 1.
5014         Add a missing check.
5015
5016 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5017
5018         * MenuBackend.C:
5019         * lyxfunc.C: fix (at least partly) the problems
5020         with the Nav menu and headers inside branch insets
5021         reported by Kayvan
5022
5023 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * paragraph.C (getChar): add strong asserts
5026
5027         * lyxrow_funcs.C (lastPos): remove hideous hack
5028
5029         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5030         (fill): adjust to that (avoid an infinite loop)
5031
5032 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5035
5036 2003-10-23  André Pönitz  <poenitz@gmx.net>
5037
5038         * RowList_fwd.h: change list<> to vector<> to gain speed
5039         after suggestion from Alfredo
5040
5041 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5042
5043         * lyxtext.h: move the bidi stuff from here...
5044         * text.C: and here
5045         * text2.C: and here
5046         * Bidi.[Ch]: ... to here
5047
5048 2003-10-23  André Pönitz  <poenitz@gmx.net>
5049
5050         * lyxtext.h:
5051         * text.C (isLastRow, isFirstRow): new functions
5052
5053         * paragraph.h: new width cache member
5054
5055         * rowpainter.C: replace RowList::iterator with Row & where possible
5056
5057         * lyxfunc.C: replace several view()->text with a single call
5058
5059         * toc.C: fix 'unused' warning
5060
5061 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5064         when woring with stream::pos_type
5065         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5066
5067 2003-10-22  André Pönitz  <poenitz@gmx.net>
5068
5069         * lyxtext.h:
5070         * text.C: use Row & instead of RowList::iterator
5071
5072         * lyxrow.h: rename end() to endpos()
5073
5074         * rowpainter.C:
5075         * text.C:
5076         * text2.C: adjust
5077
5078 2003-10-22  Angus Leeming  <leeming@lyx.org>
5079
5080         * buffer.[Ch] (fully_loaded): new member function, returning true
5081         only when the file has been loaded fully.
5082         Used to prevent the premature generation of previews and by the
5083         citation inset to prevent computation of the natbib-style label.
5084
5085         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5086         templates are all set up.
5087
5088         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5089
5090 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5091
5092         * text.C: fixed an "oops" in the "is a bit silly"
5093         bug fix
5094
5095 2003-10-21  André Pönitz  <poenitz@gmx.net>
5096
5097         * FuncStatus.[Ch]: small stuff, whitespace
5098
5099         * lyxfont.[Ch]: operator<<() for debug reasons
5100
5101         * lyxfunc.C:
5102         * lyxrow_funcs.C:
5103         * lyxtext.h: whitespace, spelling
5104
5105         * paragraph.C: naming of variables
5106
5107         * text.C:
5108         * text2.C: small stuff
5109
5110
5111 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5112
5113         * text.C: (1) finish off the inset display() work;
5114         (2) fix the "is a bit silly" bug (accessing char
5115         past end of par).
5116
5117 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5118
5119         * text.C: re-introduce display() for insets, fixing the
5120         various bugs (stretch of line above, math inset
5121         positioning, ...)
5122
5123 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5124
5125         * text.C (rightMargin): remove spurious semicolon
5126
5127         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5128         1415)
5129
5130 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5131
5132         * text3.C: fix one crash due to wrong cursor def
5133
5134 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * vc-backend.C (scanMaster): make the regex static
5137
5138         * LaTeX.C (scanAuxFile): make the regexs static
5139
5140         * text3.C (doInsertInset, dispatch, dispatch):
5141         * text2.C (cursorUp, cursorDown):
5142         * text.C (selectNextWordToSpellcheck):
5143         * BufferView_pimpl.C (dispatch):
5144         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5145
5146 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5147
5148         * lyxsocket.C: include <cerrno>
5149
5150 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5151
5152         * lyxfunc.C (dispatch): remove textcache stuff
5153
5154         * bufferlist.C (release): remove textcache stuff
5155         (closeAll): ditto
5156
5157         * TextCache.C: delete file
5158         * TextCache.h: delete file
5159
5160         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5161
5162         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5163         delete of the bv_->text.
5164         (resizeCurrentBuffer): remove texcache stuff
5165         (workAreaResize): ditto
5166
5167 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5170         action.
5171
5172 2003-10-16  André Pönitz  <poenitz@gmx.net>
5173
5174         * lyxrow.[Ch]:
5175         * paragraph.h:
5176         * rowpainter.C:
5177         * text.C:
5178         * text2.C:
5179         * text3.C: speed up by storing y positions per paragraph plus per-row
5180         offset instead of having a 'full' y position in the row.
5181
5182 2003-10-15  André Pönitz  <poenitz@gmx.net>
5183
5184         * iterators.[Ch]:
5185         * iterators.[Ch]:
5186         * undo.[Ch]: make undo aware of inner insets
5187
5188 2003-10-14  Angus Leeming  <leeming@lyx.org>
5189
5190         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5191         static member functions LyX::ref() and LyX::cref.
5192         (lastfiles): new accessor functions for the new lastfiles_ member var.
5193         (addLyXView, views_): add a new LyXView to the list of views_.
5194         (updateInset): loop over all LyXViews to call their own updateInset
5195         member function, returning a pointer to the Buffer owning the inset.
5196
5197         * BufferView_pimpl.C (loadLyXFile):
5198         * MenuBackend.C (expandLastfiles):
5199         * bufferlist.C (MenuWrite, QuitLyX):
5200         lastfiles is no longer a global variable.
5201         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5202
5203         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5204         static function. Access through LyX::cref().emergencyCleanup().
5205
5206 2003-10-14  André Pönitz  <poenitz@gmx.net>
5207
5208         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5209
5210         * undo.[Ch]: restoring part of 'undo in insets'
5211
5212         * Makefile.am:
5213         * undo_funcs.[Ch]: merge with undo.[Ch]
5214
5215         * tabular.C: small cleansing stuff
5216
5217 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5218
5219         * paragraph_funcs.C (readParToken): report unknown insets as error
5220         boxes. Use the outer paragraph as location (also for unknown
5221         tokens).
5222
5223         * factory.C (readInset): do not abort on reading an unknown inset.
5224         Eat it and return 0.
5225
5226 2003-10-13  Angus Leeming  <leeming@lyx.org>
5227
5228         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5229
5230         * lyxrc.C: displayTranslator is now a function,
5231         declared in GraphicsTypes.h.
5232
5233 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5234
5235         * format.C: new placeholder $$a to pass the socket address.
5236
5237         * bufferlist.[Ch]: new function getBufferFromTmp.
5238
5239         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5240           files in the temporary dir.
5241
5242 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5243
5244         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5245
5246         * Makefile.am: add lyxsocket.[Ch].
5247
5248         * lyx_main.C (error_handler): handle SIGPIPE.
5249
5250 2003-10-13  André Pönitz  <poenitz@gmx.net>
5251
5252         * BufferView_pimpl.C:
5253         * lyxtext.h:
5254         * text.C:
5255         * text2.C:
5256         * text3.C:
5257         * undo_funcs.[Ch]: use paroffset_type instead of
5258           ParagraphList::iterators to prevent multiple conversion
5259           (and get a more robust interface)
5260
5261 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5262
5263         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5264         * lyxtext.h: ditto
5265         * text3.C (dispatch): ditto
5266
5267 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5268
5269         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5270         move the onlyfile, use onlyfile instead of foundfile in a couple
5271         of places.
5272
5273         * DepTable.C (update): flush the error stream a bit more
5274
5275 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * lyxserver.C (callback): adjust
5278
5279         * lyxfunc.C (getStatus): add a missing brace in commented code
5280         (ensureBufferClean): reindent
5281         (dispatch): delete version taking a string
5282
5283 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5284
5285         * LaTeX.C (deplog): move found file handlig from here...
5286         (handleFoundFile): .. to new function here.
5287         (deplog): make sure to discover several files mentioned on the
5288         same log line.
5289
5290 2003-10-10  André Pönitz  <poenitz@gmx.net>
5291
5292         * lyxfunc.C:
5293         * lyxtext.h:
5294         * tabular.C:
5295         * text.C:
5296         * text2.C:
5297         * text3.C: fix some of the tabular crashes
5298
5299 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5300
5301         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5302
5303         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5304
5305 2003-10-09  André Pönitz  <poenitz@gmx.net>
5306
5307         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5308
5309         * BufferView.C:
5310         * BufferView_pimpl.C:
5311         * bufferview_funcs.C:
5312         * lyx_cb.C:
5313         * lyxcursor.C:
5314         * lyxfind.C:
5315         * lyxfunc.C:
5316         * lyxtext.h:
5317         * text.C:
5318         * text2.C:
5319         * text3.C:
5320         * text_funcs.[Ch]:
5321         * textcursor.[Ch]:
5322         * undo_funcs.C: adjust
5323
5324 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5325
5326         * text2.C (incrementItemDepth): new function, use a backtracking
5327         algorithm to discover the correct item depth.
5328         (resetEnumCounterIfNeeded): new function, use a backtracking
5329         algorithm to discover if counter reset is needed.
5330         (setCounter): use them. Simplify a bit. Add different labels for
5331         different item depths for itemize.
5332
5333         * paragraph.C (Paragraph): remove initialization of enumdepth
5334         (operator=): ditto
5335
5336         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5337         enumerate and itemize. Change the type of itemdepth to signed char.
5338
5339 2003-10-08  André Pönitz  <poenitz@gmx.net>
5340
5341         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5342           thing assignable.
5343         * text.C:
5344         * text2.C: adjust
5345
5346         * tabular.[Ch]: fix crash after 'row-insert'
5347
5348 2003-10-08  Angus Leeming  <leeming@lyx.org>
5349
5350         Fix doxygen warnings.
5351
5352         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5353         Remove CutAndPaste:: prefix from header file declaration.
5354
5355         * LColor.h (fill): remove LColor:: prefix from declaration.
5356
5357         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5358         use lyx::depth_type rather than Paragraph::depth_type so that
5359         header file and .C file match.
5360
5361         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5362
5363         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5364         * aspell.C: \file aspell_local.C -> \file aspell.C
5365         * gettext.C: \file gettext.C -> \file src/gettext.C
5366         * gettext.h: \file gettext.h -> \file src/gettext.h
5367         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5368         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5369         * text.C: \file text.C -> \file src/text.C
5370
5371         * toc.C: move comment so that doxygen is not confused.
5372
5373 2003-10-07  Angus Leeming  <leeming@lyx.org>
5374
5375         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5376
5377 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5378
5379         * aspell.C:
5380         * aspell_local.h: add forgotten std::string's.
5381
5382 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5383
5384         * LaTeXFeatures.C:
5385         * LyXAction.C:
5386         * factory.C:
5387         * lfuns.h:
5388         * lyxfunc.C:
5389         * text3.C: The Box patch. Fancybox support, minipage, parbox
5390
5391 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5392
5393         * CutAndPaste.h:
5394         * DepTable.h:
5395         * FloatList.h:
5396         * LaTeXFeatures.h:
5397         * ParagraphParameters.h:
5398         * TextCache.h:
5399         * Thesaurus.h:
5400         * bufferlist.h:
5401         * exporter.h:
5402         * importer.h:
5403         * lastfiles.h:
5404         * lyxfind.h:
5405         * lyxfont.h:
5406         * lyxlex.h:
5407         * lyxtextclasslist.h:
5408         * messages.h:
5409         * paragraph.h:
5410         * paragraph_pimpl.C:
5411         * textcursor.h: add <string> and other small fixes to make Lars'
5412         std::string patch compile with STLport.
5413
5414 2003-10-06  Angus Leeming  <leeming@lyx.org>
5415
5416         * LColor.h: Add missing #include <string>.
5417
5418 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5419
5420         * All most all file in all subdirs: Make <string> be the prefered
5421         way of getting to std::string, add using declarations.
5422
5423 2003-10-06  André Pönitz  <poenitz@gmx.net>
5424
5425         * metricsinfo.C: initialize LyXFont before changing attribute.
5426         (fixes the 'math in \emph is upright' bug)
5427
5428 2003-10-06  André Pönitz  <poenitz@gmx.net>
5429
5430         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5431
5432 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5433
5434         * graph.C:
5435         * paragraph_pimpl.C: Small fixes to build using STLport
5436
5437 2003-10-02  André Pönitz  <poenitz@gmx.net>
5438
5439         * lyxfunc.C:
5440         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5441
5442 2003-10-01  André Pönitz  <poenitz@gmx.net>
5443
5444         * factory.C: assert early
5445
5446 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5447
5448         * lyx_main.C: remove the global debug object
5449
5450         * debug.h: adjust for new debugstream
5451
5452         * debug.C: adjust for new debugstream and keep the global debug
5453         object here.
5454
5455 2003-09-22  Angus Leeming  <leeming@lyx.org>
5456
5457         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5458         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5459         an incomplete class LyXFont.
5460
5461 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5462
5463         * factory.C: bug fix in branches
5464
5465 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5466
5467         * lyxfunc.C (processKeySym): adjust
5468         (dispatch): adjust
5469         (dispatch): change arg name from ev to func, adjust
5470         (sendDispatchMessage): ditto
5471
5472         * lyx_main.C (defaultKeyBindings): adjust keybindings
5473         (deadKeyBindings): ditto
5474
5475         * kbsequence.C (addkey): return a FuncRequest
5476
5477         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5478
5479         * kbmap.C (bind): take a FuncRequest as arg, adjust
5480         (read): adjust
5481         (lookup): adjust
5482         (defkey): change to take a FuncRequest as arg, adjust
5483         (findbinding): take a FuncRequest as arg, adjust.
5484
5485         * funcrequest.h (operator=): added
5486
5487         * funcrequest.C (FuncRequest): default kb_action changed from
5488         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5489
5490         * buffer.C (dispatch): simplify
5491         (dispatch): adjust to take a FuncRequest as arg, adjust
5492
5493         * boost.C (assertion_failed): change assertion message slightly
5494
5495         * ToolbarBackend.C (read): simplify
5496
5497         * MenuBackend.C (binding): adjust call to findbinding, add a
5498         message if no binding is found.
5499         (read): simplify
5500         (expandToc): correct by adding a empty FuncRequest
5501
5502         * LyXAction.C: include <boost/assert.hpp>
5503         (isPseudoAction): delete function
5504         (LookupFunc): change name to...
5505         (lookupFunc): this. change return type to FuncRequest.
5506         (getActionName): take kb_action as arg, simplify
5507         (funcHasFlag): add an assert, simplify.
5508
5509 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5510
5511         * toc.C (action): return a FuncRequest, simplify
5512
5513         * lyxfunc.C (processKeySym): adjust
5514         (getStatus): delete version that takes an int.
5515         (getStatus): adjust
5516         (dispatch): delete version that takes action as int
5517         (dispatch): adjust
5518         (sendDispatchMessage): simplify and adjust
5519
5520         * funcrequest.C (getArg): take unsigned int as arg
5521
5522         * ToolbarBackend.C (read): adjust
5523         (add): delete version that takes func as a string.
5524         (getIton): take a FuncRequest as arg
5525
5526         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5527         action.
5528
5529         * MenuBackend.C (MenuItem): add a new construct that only takes a
5530         Kind, simplify the constructor use for submenus.
5531         (add): adjust
5532         (expandLastfiles): adjust
5533         (expandDocuments): adjust
5534         (expandFormats): adjust
5535         (expandFloatListInsert): adjust
5536         (expandFloatInsert): adjust
5537         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5538
5539         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5540         Remove class variables lyx_pseudo_map and lyx_arg_map
5541
5542         * LyXAction.C (searchActionArg): delete function
5543         (getPseudoAction): delete function
5544         (retrieveActionArg): delete function
5545         (LookupFunc): make it return kb_action, simplify.
5546         (getActionName): simplify
5547
5548         * factory.C (createInset): fix new bug
5549
5550 2003-09-19  Angus Leeming  <leeming@lyx.org>
5551
5552         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5553         masterFilename_ parameter in the include inset.
5554
5555         * factory.C (createInset): changes due to the changes to InsetInclude.
5556
5557 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5558
5559         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5560
5561 2003-09-18  Angus Leeming  <leeming@lyx.org>
5562
5563         * buffer.C:
5564         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5565         Inset::fillWithBibKeys.
5566         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5567
5568 2003-09-18  Angus Leeming  <leeming@lyx.org>
5569
5570         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5571         variables.
5572         (ctor): pass and store a 'Buffer const &'
5573         (buffer): new member function.
5574
5575         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5576         '*this' to the LaTeXFeatures ctor.
5577
5578 2003-09-18  Angus Leeming  <leeming@lyx.org>
5579
5580         * LColor.h:
5581         * lyxfont.C:
5582         * lyxfont.h:
5583         * lyxtext.h:
5584         * text.C: rename EnumLColor as LColor_color.
5585
5586 2003-09-18  Angus Leeming  <leeming@lyx.org>
5587
5588         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5589         remove #include "insets/insetbase.h" from cursor.h.
5590
5591 2003-09-18  Angus Leeming  <leeming@lyx.org>
5592
5593         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5594         InsetOld_code to remove #include "inset.h".
5595
5596         * iterators.C: add #include "insets/inset.h"
5597
5598 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5599
5600         * BufferView.C: remove more locking stuff that apparently doesn't
5601         do anything sensible.
5602
5603 2003-09-16  André Pönitz  <poenitz@gmx.net>
5604
5605         * paragraph.[Ch]:
5606         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5607           performance boost.
5608
5609 2003-09-16  Angus Leeming  <leeming@lyx.org>
5610
5611         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5612
5613         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5614         arg/return type.
5615
5616         * paragraph.h: remove #include "lyxfont.h". Forward declare
5617         LyXFont_size.
5618
5619 2003-09-16  Angus Leeming  <leeming@lyx.org>
5620
5621         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5622         of support/textutils.h.
5623         (isWord): move the contents of support/textutils.h's IsWordChar here.
5624
5625         * buffer.C:
5626         * lyxfind.C:
5627         * rowpainter.C:
5628         * text.C:
5629         * text2.C: add #include "paragraph.h".
5630
5631         * rowpainter.C:
5632         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5633
5634 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * main.C:
5637         * lyx_main.C:
5638         * lyx_cb.C:
5639         * buffer.C:
5640         * LaTeX.C: use namespace alias for lyx::support::os
5641
5642 2003-09-16  Angus Leeming  <leeming@lyx.org>
5643
5644         * bufferparams.C:
5645         * bufferview_funcs.C:
5646         * factory.C:
5647         * lyxfunc.C:
5648         * paragraph_pimpl.C:
5649         * rowpainter.C:
5650         * text.C: add #include "LColor.h".
5651
5652 2003-09-16  Angus Leeming  <leeming@lyx.org>
5653
5654         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5655         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5656         return LyXFont &.
5657         Store the FontBits::color variable as an int rather than as an
5658         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5659         file.
5660
5661         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5662         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5663         string calls together.
5664
5665         * lyxrc.C: add #include "LColor.h".
5666
5667 2003-09-15  Angus Leeming  <leeming@lyx.org>
5668
5669         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5670         a cow_ptr.
5671
5672 2003-09-15  Angus Leeming  <leeming@lyx.org>
5673
5674         * LColor.h: add an EnumLColor wrapper for LColor::color.
5675
5676         * lyxfont.[Ch] (color, setColor, realColor):
5677         * lyxtext.h, text.C (backgroundColor):
5678         pass EnumLColor args to/from the functions, rather than LColor::color
5679         ones.
5680
5681         * lyxfont.h:
5682         * lyxtext.h: forward declare EnumLColor.
5683
5684         * lyx_main.C: add #include "LColor.h".
5685
5686 2003-09-15  Angus Leeming  <leeming@lyx.org>
5687
5688         * .cvsignore: add lyx-gtk.
5689
5690 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * Chktex.C
5693         * LaTeX.C
5694         * LaTeXFeatures.C
5695         * ParagraphParameters.C
5696         * Spacing.C
5697         * buffer.C
5698         * bufferparams.C
5699         * bufferview_funcs.C
5700         * chset.C
5701         * counters.C
5702         * funcrequest.C
5703         * lyxfont.C
5704         * lyxgluelength.C
5705         * lyxlength.C
5706         * paragraph.C
5707         * paragraph_funcs.C
5708         * text3.C
5709         * vc-backend.C: remove usage of STRCONV
5710
5711 2003-09-15  Angus Leeming  <leeming@lyx.org>
5712
5713         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5714         explicitly define the color passed to the painter.
5715
5716 2003-09-15  Angus Leeming  <leeming@lyx.org>
5717
5718         * bufferparams.C (BufferParams): reorder member initializers to avoid
5719         compiler warning.
5720
5721 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5722
5723         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5724         * text.C (updateRowPositions): remove an unusual nop
5725
5726 2003-09-12  André Pönitz  <poenitz@gmx.net>
5727
5728         * BufferView_pimpl.C:
5729         * Bullet.C:
5730         * layout.h:
5731         * lyxfunc.C:
5732         * lyxlayout.[Ch]:
5733         * lyxtextclass.C:
5734         * rowpainter.C:
5735         * text.C:
5736         * text2.C:
5737         * Counters.[Ch]: finish the 'automatic counters' job
5738
5739 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5740
5741         * aspell.C: include <boost/assert.cpp> (compile fix)
5742
5743 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5744
5745         * boost.C (assertion_failed): use lyx::support::abort instead of
5746         assert.
5747
5748 2003-09-10  Angus Leeming  <leeming@lyx.org>
5749
5750         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5751         with their _fwd progeny.
5752
5753 2003-09-09  Angus Leeming  <leeming@lyx.org>
5754
5755         134 files throughtout the source tree: replace 'using namespace abc;'
5756         directives with the appropriate 'using abc::xyz;' declarations.
5757
5758 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5759
5760         * boost.C (emergencyCleanup): moved here from LAssert.c
5761         (assertion_failed): new function, called by BOOST_ASSERT
5762
5763         * several files: change Assert to BOOST_ASSERT
5764
5765 2003-09-09  Angus Leeming  <leeming@lyx.org>
5766
5767         * buffer.[Ch]: Add an Impl class and move Buffer's member
5768         variables into it. As a result move several header files out of
5769         buffer.h.
5770
5771         Add header files to lots of .C files all over the tree as a result.
5772
5773 2003-09-09  Angus Leeming  <leeming@lyx.org>
5774
5775         * buffer.[Ch]: make Buffer's member variables private. Add
5776         accessor functions.
5777
5778         Lots of changes all over the tree as a result.
5779
5780 2003-09-08  Angus Leeming  <leeming@lyx.org>
5781
5782         * graph.C: #include <config.h>.
5783
5784 2003-09-08  Angus Leeming  <leeming@lyx.org>
5785
5786         * BranchList.C:
5787         * BufferView.C:
5788         * BufferView_pimpl.C:
5789         * CutAndPaste.C:
5790         * DepTable.C:
5791         * LaTeX.C:
5792         * LaTeXFeatures.C:
5793         * LyXAction.C:
5794         * MenuBackend.C:
5795         * TextCache.C:
5796         * aspell.C:
5797         * buffer.C:
5798         * bufferlist.C:
5799         * changes.C:
5800         * chset.C:
5801         * converter.C:
5802         * counters.C:
5803         * debug.C:
5804         * graph.C:
5805         * ispell.C:
5806         * lyx_cb.C:
5807         * lyxfind.C:
5808         * lyxfunc.C:
5809         * lyxlex_pimpl.C:
5810         * lyxrc.C:
5811         * lyxrow.C:
5812         * paragraph.C:
5813         * rowpainter.C:
5814         * texrow.C:
5815         * text.C:
5816         * text2.C:
5817         * toc.C: remove redundant using directives.
5818
5819 2003-09-07  Angus Leeming  <leeming@lyx.org>
5820
5821         * LaTeXFeatures.h: remove #include "support/types.h".
5822         * ToolbarBackend.h: remove #include <algorithm>.
5823         * changes.h: remove #include <ctime>.
5824         * debug.h: remove #include <iosfwd>.
5825         * graph.h: remove #include "support/std_string.h".
5826         * lyx_main.h: remove #include <csignal>.
5827         * lyxlex_pimpl.h: remove #include <fstream>.
5828         * sgml.h: remove #include <algorithm>, <utility>.
5829         * toc.h: remove #include "support/std_ostream.h".
5830         Add #include <iosfwd>.
5831
5832 2003-09-07  Angus Leeming  <leeming@lyx.org>
5833
5834         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5835
5836         * converter.h: forward declare LatexRunParams.
5837         * encoding.h: remove #include "lyxrc.h".
5838         * lyxtext.h: remove #include "LColor.h".
5839         * lyxtextclass.h: remove #include "support/types.h".
5840         * trans.h: remove #include "tex-accent.h".
5841         * trans_mgr.h: remove #include "tex-accent.h".
5842         * insets/inset.h: remove #include "support/types.h", <vector>.
5843         * insets/insetcollapsable.h: remove #include "LColor.h".
5844         * insets/insetinclude.h: remove #include "dimension.h".
5845         * insets/insetlatexaccent.h: remove #include "dimension.h".
5846         * insets/insetoptarg.h:: remove #include "insettext.h".
5847         * insets/insettext.h: remove #include "dimension.h",
5848         <boost/shared_ptr.hpp>
5849
5850         * insets/renderers.h: add #include "dimension.h".
5851         * insets/updatableinset.h: add #include "support/types.h".
5852
5853         * many .C files: Associated changes.
5854
5855 2003-09-06  Angus Leeming  <leeming@lyx.org>
5856
5857         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5858         one, inside testInvariant.
5859
5860         * PrinterParams.C: new file.
5861         * PrinterParams.[Ch]: move the function bodies out of line.
5862
5863 2003-09-06  Angus Leeming  <leeming@lyx.org>
5864
5865         * ParagraphParameters.h: forward declare ParameterStruct rather than
5866         including its header file.
5867         (depth): moved out-of-line.
5868
5869 2003-09-06  Angus Leeming  <leeming@lyx.org>
5870
5871         * BufferView_pimpl.h:
5872         * kbmap.h:
5873         * kbsequence.h:
5874         * lyxfunc.h: forward declare LyXKeySym rather than
5875         #include "frontends/LyXKeySym.h".
5876
5877         * BufferView_pimpl.C:
5878         * kbmap.C:
5879         * kbsequence.C:
5880         * lyxfunc.C: associated changes.
5881
5882 2003-09-06  Angus Leeming  <leeming@lyx.org>
5883
5884         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5885         As a result, can remove the #include "insets/inset.h" from BufferView.h
5886
5887 2003-09-06  Angus Leeming  <leeming@lyx.org>
5888
5889         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5890         As a result, can remove the #include "insets/inset.h" from BufferView.h
5891
5892 2003-09-06  Angus Leeming  <leeming@lyx.org>
5893
5894         * buffer_funcs.C:
5895         * buffer.h:
5896         * bufferlist.C:
5897         * BufferView.C:
5898         * bufferview_funcs.C:
5899         * BufferView_pimpl.C:
5900         * CutAndPaste.C:
5901         * lyx_cb.C:
5902         * lyxfunc.C:
5903         * paragraph.h:
5904         * ParagraphParameters.C:
5905         * tabular.C:
5906         * text3.C:
5907         * toc.C:
5908         * undo_funcs.C:
5909         * frontends/controllers/ControlDocument.C:
5910         * insets/insetcaption.C: rearrange the #includes into some sort of
5911         coherent order.
5912
5913         * buffer.h: remove #includes ErrorList.h, undo.h
5914
5915 2003-09-06  Angus Leeming  <leeming@lyx.org>
5916
5917         * support/types.h: add a 'depth_type' typedef, used to store the
5918         nesting depth of a paragraph.
5919
5920         * paragraph.h:
5921         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5922         defining explicitly.
5923
5924         * buffer.h:
5925         * paragraph_funcs.h:
5926         * ParagraphParameters.h:
5927         * sgml.h: use lyx::depth_type rather than Paragraph or
5928         ParameterStruct's depth_type.
5929
5930         * buffer.h
5931         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5932
5933         * BufferView.C:
5934         * BufferView_pimpl.C:
5935         * CutAndPaste.C:
5936         * ParagraphParameters.C:
5937         * buffer_funcs.C:
5938         * bufferlist.C:
5939         * bufferview_funcs.C:
5940         * lyx_cb.C:
5941         * lyxfunc.C:
5942         * tabular.C:
5943         * text3.C:
5944         * toc.C:
5945         * undo_funcs.C:
5946         * frontends/LyXView.C:
5947         * frontends/controllers/ControlDocument.C:
5948         * frontends/controllers/ControlErrorList.C:
5949         * insets/insetbibitem.C:
5950         * insets/insetbranch.C:
5951         * insets/insetcaption.C:
5952         * insets/insetcollapsable.C:
5953         * insets/insetenv.C:
5954         * insets/insetert.C:
5955         * insets/insetfloat.C:
5956         * insets/insetfoot.C:
5957         * insets/insetfootlike.C:
5958         * insets/insetnewline.C:
5959         * insets/insetquotes.C:
5960         * insets/insettabular.C:
5961         * insets/insettext.C:
5962         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5963
5964         * frontends/controllers/ControlChanges.C: #include "changes.h".
5965
5966 2003-09-06  Angus Leeming  <leeming@lyx.org>
5967
5968         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5969         than #including paragraph.h.
5970
5971         * ParagraphList.h:
5972         * RowList.h: deleted. Superfluous.
5973
5974         * CutAndPaste.h:
5975         * iterators.h:
5976         * lyxcursor.h:
5977         * lyxtext.h:
5978         * text_funcs.h:
5979         * undo.h:
5980         * undo_funcs.h:
5981         * insets/inset.h:
5982         * insets/insettext.h: use ParagraphList_fwd.h rather than
5983         ParagraphList.h.
5984
5985         * paragraph.h: don't forward declare ParagraphList.
5986
5987         * buffer.h:
5988         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5989         rather than ParagraphList.h. paragraph.h is still needed for the
5990         Paragraph::depth_type parameters.
5991
5992         * textcursor.h: enable it to compile stand-alone in light of the
5993         above changes.
5994
5995         * bufferview_funcs.C:
5996         * iterators.C:
5997         * lyxfunc.C:
5998         * lyxrow_funcs.C:
5999         * paragraph.C:
6000         * rowpainter.C:
6001         * text.C:
6002         * text2.C:
6003         * text3.C:
6004         * text_funcs.C:
6005         * textcursor.C:
6006         * undo.C:
6007         * frontends/controllers/ControlParagraph.C:
6008         * frontends/controllers/ControlTabular.C:
6009         * insets/insetmarginal.C:
6010         * insets/insetminipage.C:
6011         * insets/insetnote.C:
6012         * insets/insetoptarg.C: add header files needed to compile again.
6013
6014 2003-09-06  Angus Leeming  <leeming@lyx.org>
6015
6016         * RowList_fwd.h: new file, forward-declaring Row rather than
6017         #including lyxrow.h.
6018
6019         * lyxrow_funcs.h:
6020         * lyxtext.h:
6021         * paragraph.h:
6022         * insets/insettext.h: use it instead of RowList.h
6023
6024         * bufferview_funcs.C:
6025         * lyxfunc.C:
6026         * lyxrow_funcs.C:
6027         * paragraph.C:
6028         * rowpainter.C:
6029         * text.C:
6030         * text2.C:
6031         * text3.C: #include "RowList.h".
6032
6033 2003-09-05  Angus Leeming  <leeming@lyx.org>
6034
6035         * factory.C (createInset):
6036         * vspace.C (c-tor): replace sscanf call with an istringstream.
6037         * ispell.C: re-add missing HP/UX headers.
6038         * lyxserver.C: re-add missing  os2 headers.
6039
6040 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6041
6042         * BranchList.C:
6043         * graph.C:
6044         * ispell.C:
6045         * lastfiles.C:
6046         * lyx_cb.C:
6047         * lyxserver.C:
6048         * texrow.C:
6049         * text3.C: re-add missing system headers, needed for 2.95.2.
6050
6051 2003-09-05  Angus Leeming  <leeming@lyx.org>
6052
6053         Changes most place everywhere due to the removal of using directives
6054         from support/std_sstream.h.
6055
6056 2003-09-05  Angus Leeming  <leeming@lyx.org>
6057
6058         Replace LString.h with support/std_string.h,
6059         Lsstream.h with support/std_sstream.h,
6060         support/LIstream.h with support/std_istream.h,
6061         support/LOstream.h with support/std_ostream.h.
6062
6063         Changes resulting throughout the tree.
6064
6065 2003-09-05  Angus Leeming  <leeming@lyx.org>
6066
6067         * sgml.h: ensure that the header file can be compiled stand-alone.
6068         * *.C: strip out redundant #includes. (320 in total.)
6069
6070 2003-09-04  Angus Leeming  <leeming@lyx.org>
6071
6072         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6073         here (from getPackages).
6074
6075         * debug.[Ch]: add a new EXTERNAL tag.
6076
6077 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6078
6079         * text2.C (cursorEnd): simplify
6080         (setCursor): adjust
6081         (getColumnNearX): adjust
6082
6083         * text.C (computeBidiTables): adjust
6084         (fill): adjust
6085
6086         * rowpainter.C (paintChars): adjust
6087         (paintSelection): adjust
6088         (paintChangeBar): adjust
6089         (paintText): adjust
6090
6091         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6092         lastPos instead.
6093         (numberOfSeparators): adjust
6094
6095 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6096
6097         * LyXAction.C:
6098         * box.[Ch]:
6099         * lfuns.h:
6100         * lyxfunc.C:
6101         * text3.C: Restricts the mouse click functionality
6102         of insets like bibtex, include, toc and floatlist to the visible
6103         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6104         up the dialogs. Cursor has to be in front of the inset (i.e.
6105         start of row) for this to function.
6106
6107 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6108
6109         * bufferview_funcs.C (currentState): output row information
6110
6111 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6112
6113         * bufferview_funcs.C (currentState): output paragraph position
6114
6115 2003-09-04  Angus Leeming  <leeming@lyx.org>
6116
6117         * FloatList.h: move out #include "Floating.h".
6118         * LaTeX.h: move out #include "DepTable.h".
6119         * LyXAction.h: move out #include "funcrequest.h".
6120         * buffer.h: move out #include "author.h", "iterators.h".
6121         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6122         * lyx_main.h: move out #include "errorlist.h".
6123         * lyxfunc.h: move out #include "FuncStatus.h".
6124         * lyxtext: move out #include "lyxcursor.h".
6125         * paragraph_pimpl.h: move out #include "counters.h".
6126
6127 2003-09-03  Angus Leeming  <leeming@lyx.org>
6128
6129         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6130         preamble_snippets list, enabling us to add snippets to the preamble
6131         only if the snippet was not there already.
6132
6133 2003-09-04  Angus Leeming  <leeming@lyx.org>
6134
6135         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6136
6137 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6140         update
6141
6142 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6143
6144         * BranchList.C: point fix, earlier forgotten
6145
6146 2003-09-02  Angus Leeming  <leeming@lyx.org>
6147
6148         * box.C (contains): renamed from 'contained' after a fantastic
6149         amount of hot air.
6150
6151 2003-09-02  John Levon  <levon@movementarian.org>
6152
6153         * BufferView.C:
6154         * lyxcursor.h:
6155         * lyxcursor.C:
6156         * lyxfunc.C:
6157         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6158
6159 2003-09-02  John Levon  <levon@movementarian.org>
6160
6161         * text2.C: simplification of cursorEnd(), including partial
6162         fix for bug 1376
6163
6164 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * buffer.C (readFile): add a space
6167
6168 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6169
6170         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6171
6172 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6173
6174         * buffer.C (readFile): new function, take a filename and a
6175         ParagraphList::iterator
6176         (readFile): adjust
6177         (readFile): adjust, make it private. don't use setStream, make
6178         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6179         always contain the filename.
6180
6181         * BufferView.C (insertLyXFile): simplify and make it work for
6182         gzipped files.
6183
6184 2003-08-30  John Levon  <levon@movementarian.org>
6185
6186         * Makefile.am: fix dist (from Kayvan)
6187
6188 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6189
6190         * most files: change to use const Buffer refs
6191
6192 2003-08-27  André Pönitz  <poenitz@gmx.net>
6193
6194         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6195         on top of ownerPar().
6196
6197 2003-08-27  John Levon  <levon@movementarian.org>
6198
6199         * funcrequest.C: properly initialise POD members
6200
6201 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6202
6203         * lyxtext.h (top_y): move top_y from here
6204         * text.C:
6205         * text2.C:
6206         * text3.C:
6207         * BufferView.[Ch]:
6208         * BufferView_pimpl.[Ch]: to here
6209         * frontends/screen.C:
6210         * insets/insettabular.C:
6211         * insets/insettext.C: adjust
6212         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6213
6214 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6215
6216         * BufferView.[Ch]:
6217         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6218
6219 2003-08-26  André Pönitz  <poenitz@gmx.net>
6220
6221         * paragraph_func.[Ch] (outerPar): new function
6222
6223         * paragraph.C:
6224         * paragraph_funcs.C:
6225         * paragraph_funcs.h:
6226         * paragraph_pimpl.C:
6227         * text2.C: remove Inset::par_owner
6228
6229 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6230
6231         * lyxrow_funcs.C:
6232         * lyxtext.h:
6233         * text.C:
6234         * text2.C: eliminates the needFullRow/display() stuff
6235         altogether, putting the logic in metrics/draw in the insets.
6236
6237 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6238
6239         * text2.C (redoParagraphInternal, redoParagraphs):
6240         * text.C (redoParagraph): add a call to updateRowPositions at the
6241         end of each 'metrics-like' call. Remove all others.
6242         (getRow): remove the 'y-computing' version.
6243         (getRowNearY): do not compute nor return the real y. Solve the
6244         'y < 0' problem and simplify.
6245
6246 2003-08-22  Angus Leeming  <leeming@lyx.org>
6247
6248         * *.[Ch]: clean-up of licence and author blurbs.
6249         Also move config.h out of a few .h files and into a few .C files.
6250
6251 2003-08-22  André Pönitz  <poenitz@gmx.net>
6252
6253         * lyxrow.[Ch]: add x_ and *fill_ members
6254
6255         * lyxtext.h:
6256         * text.C:
6257         * rowpainter.C:
6258         * text2.C: adjust/remove prepareToPrint() calls
6259
6260 2003-08-22  André Pönitz  <poenitz@gmx.net>
6261
6262         * lyxrow.[Ch]: add  end_ member
6263
6264         * lyxrow_funcs.C: use LyXRow::end_
6265
6266         * lyxtext.h (singleWidth): add LyXFont parameter
6267
6268         * rowpainter.C:
6269         * text2.C: adjust LyXText::singleWidth() calls
6270
6271         * text.C (redoParagraph): simplify row breaking logic
6272
6273
6274 2003-08-19  André Pönitz  <poenitz@gmx.net>
6275
6276         * funcrequest.C: initialize button_ member
6277
6278         * text3.C:
6279         * rowpainter.[Ch]: interface consolidation
6280
6281 2003-08-18  André Pönitz  <poenitz@gmx.net>
6282
6283         * BufferView.C:
6284         * BufferView_pimpl.C:
6285         * lyxfind.C:
6286         * paragraph_funcs.C:
6287         * rowpainter.C:
6288         * text3.C: remove LyXScreen::draw() and fitCursor calls
6289
6290         * BranchList.h: remove spurious semicolons
6291
6292         * MenuBackend.C: fix branchlist related crash
6293
6294 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6295
6296         * BranchList.[Ch]:
6297         * InsetList.[Ch]:
6298         * LColor.[Ch]:
6299         * LyXAction.C:
6300         * Makefile.am:
6301         * MenuBackend.[Ch]:
6302         * bufferparams.[Ch]:
6303         * factory.C:
6304         * lfuns.h:
6305         * lyxfunc.C:
6306         * text3.C: implements the 'branch inset'
6307         idea. This allows the output of various versions of a document
6308         from a single source version, selectively outputing or suppressing
6309         output of parts of the text.
6310         This implementation contains a 'branch list editor' in a separate
6311         tab of the document settings dialog. Branches are user definable
6312         and have a "display colour" to distinguish them on-screen.
6313
6314         ColorHandler was somewhat cleaned up.
6315         (1) make possible a dynamically growing LColor list by allowing
6316         the graphic context cache to grow along (vector);
6317         (2) eliminate an IMHO unnecessary step in colour allocation.
6318
6319 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6320
6321         * BufferView_pimpl.C: compile fix
6322
6323 2003-08-15  André Pönitz  <poenitz@gmx.net>
6324
6325         * rowpainter.C: remove extra metrics calls
6326
6327         * lyxtext.h: merge the two constructors into a single one,
6328           pass reference to owner's par list
6329
6330         * BufferView_pimpl.C:
6331         * text.C:
6332         * text2.C: adjust
6333
6334 2003-08-15  André Pönitz  <poenitz@gmx.net>
6335
6336         * lyxrow_funcs.[Ch]:
6337         * lyxtext.h:
6338         * paragraph.h:
6339         * paragraph_funcs.C:
6340         * rowpainter.C:
6341         * text.C:
6342         * text2.C:
6343         * text3.C:
6344         * text_funcs.C: split LyXText::rowlist_ into individual
6345         Paragraph::rows_ chunks
6346
6347         * BufferView.[Ch]:
6348         * BufferView_pimpl.[Ch]:
6349         * lyxfind.C:
6350         * lyxtext.h:
6351         * text3.C: remove toggleSelection()
6352
6353 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6354
6355         * bufferlist.C: beautify two alerts (shorter text of buttons)
6356         * buffer.C: Remove redundant ' ' from message
6357         * tabular.h:
6358         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6359         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6360         rename VALIGN_CENTER to VALIGN_MIDDLE
6361
6362 2003-08-11  André Pönitz  <poenitz@gmx.net>
6363
6364         * lyxtext.h (getPar):
6365         * text.C: new function
6366
6367 2003-08-11  André Pönitz  <poenitz@gmx.net>
6368
6369         * Makefile.am:
6370         * tracer.[Ch]: remove unneeded files
6371
6372         * InsetList.[Ch]: remove resizeInsetsLyXText()
6373
6374         * lyxtext.h:
6375         * text.C:
6376         * text2.C:
6377         * text3.C: merge insertParagraphs() and appendParagraph()
6378         remove breakAgain(), update()
6379
6380         * BufferView_pimpl.[Ch]:
6381         * bufferview_funcs.[Ch]:
6382         * lyxfunc.C:
6383         * paragraph.[Ch]:
6384         * rowpainter.C:
6385         * tabular.C: adjust after text & InsetList changes.
6386
6387 2003-08-08  André Pönitz  <poenitz@gmx.net>
6388
6389         * text.C (insertChar, backspace): replace rowlist fiddling
6390         with rebreak of full par
6391
6392         * lyxtext.h:
6393         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6394         checkParagraph, updateInset): removed
6395
6396 2003-08-07  André Pönitz  <poenitz@gmx.net>
6397
6398         * paragraph.C:
6399         * text3.C: merge some LFUN handlers, remove dead code
6400
6401 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6402
6403         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6404
6405 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6406
6407         * text2.C (DEPM): fix part of bug 1255 and 1256
6408
6409 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6410
6411         * BufferView_pimpl.C (workAreaDispatch): change to use
6412         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6413         that are no mouse related.
6414
6415 2003-08-05  André Pönitz  <poenitz@gmx.net>
6416
6417         * BufferView.[Ch]:
6418         * BufferView_pimpl.[Ch]:
6419         * bufferview_funcs.C:
6420         * text2.C:
6421         * text3.C: rip out "deep update"
6422
6423         * textcursor.[Ch] (last_sel_cursor): remove unused member
6424
6425 2003-08-04  André Pönitz  <poenitz@gmx.net>
6426
6427         * BufferView.[Ch]:
6428         * BufferView_pimpl.[Ch]:
6429         * ParagraphParameters.C:
6430         * bufferview_funcs.C:
6431         * lyx_cb.C:
6432         * lyxfind.C:
6433         * lyxfunc.C:
6434         * text.C:
6435         * text2.C:
6436         * text3.C: replace "complicated" BufferView::update(...) calls with
6437         simpler ones.
6438
6439         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6440
6441 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6442
6443         * Makefile.am (lyx_SOURCES): add paper.h
6444
6445 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6446
6447         * Makefile.am: move things around so that both lyx-qt and
6448         lyx-xforms can be built (according to --with-frontend). Then lyx
6449         is a symbolic link to lyx-[firstfrontend]
6450
6451 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6452
6453         * Always use std::endl with lyxerr
6454
6455 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6456
6457         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6458
6459 2003-08-01  André Pönitz  <poenitz@gmx.net>
6460
6461         * BufferView.[Ch]:
6462         * BufferView_pimpl.[Ch]:
6463         * lyxfunc.C:
6464         * text3.C: merge BufferView::repaint() and BufferView::update()
6465
6466 2003-08-01  José Matos  <jamatos@lyx.org>
6467
6468         * buffer.[Ch]: file_format is no longer a buffer data element.
6469
6470 2003-08-01  André Pönitz  <poenitz@gmx.net>
6471
6472         * BufferView.C:
6473         * lyxtext.h:
6474         * text.C:
6475         * text2.C: make redoParagraph more independent of current cursor
6476
6477         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6478         * text.C:
6479         * text2.C: remove unneeded members
6480
6481 2003-07-30  André Pönitz  <poenitz@gmx.net>
6482
6483         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6484
6485         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6486           create a single function...
6487
6488         * paragraph_funcs.C (moveItem): ... here.
6489
6490         * text.C:
6491           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6492
6493 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6494
6495         * LColor.[Ch]: Add comment and greyedout logical colors.
6496
6497 2003-07-30  André Pönitz  <poenitz@gmx.net>
6498
6499         * tabular.C: don't use Assert too heavily. This crashes where it
6500           shouldn't
6501
6502 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6503
6504         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6505         is disabled (bug 1232)
6506
6507 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6508
6509         * factory.C: limited 'arg' scope
6510
6511 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6512
6513         * factory.C: fixed Note submenu issues
6514
6515 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6516
6517         * factory.C: submenu for Note/Comment/Greyedout
6518
6519 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6520
6521         * lyx_main.C (LyX):
6522         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6523
6524 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6525
6526         * LaTeXFeatures.C:
6527         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6528         greyedout. Patch provided by Jürgen Spitzmüller.
6529
6530 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6531
6532         * kbmap.C (read): fix error message when reading bind files
6533
6534 2003-07-29  Angus Leeming  <leeming@lyx.org>
6535
6536         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6537         certainly does not do what it purports to do. I am doing it, and
6538         us, a favour by killing it.
6539
6540 2003-07-28  José Matos  <jamatos@lyx.org>
6541
6542         * buffer.C (readBody, do_writeFile):
6543         * paragraph.C(readParagraph): \end_document replaces \the_end.
6544
6545 2003-07-29  André Pönitz  <poenitz@gmx.net>
6546
6547         * BufferView.[Ch]:
6548         * BufferView_pimpl.[Ch]:
6549         * lyxfunc.C:
6550         * text2.C:
6551         * text3.C:
6552         * textcursor.[Ch]: remove toggleToggle & Co
6553
6554 2003-07-28  José Matos  <jamatos@fep.up.pt>
6555
6556         * buffer.C (readParagraph):
6557         * params_func (readParToken, readParagraph):
6558         * paragraph.C (write): \layout -> \begin_layout.
6559
6560 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6561
6562         * lyxlex_pimpl.C (setFile): clean up slightly.
6563
6564         * bufferparams.h: add compressed var
6565
6566         * buffer_funcs.C (readFile): adjust for LyXLex change
6567         (newFile): ditto + simplify
6568
6569         * buffer.C (writeFile): handle writing of compressed files
6570
6571         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6572         Check if the file is compressed and set a bufferparm if so.
6573
6574         * Makefile.am (lyx_LDADD): remove explicit -lz
6575
6576 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6577
6578         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6579         makeDocBookFile): put the real LyX version in the first line of
6580         the file
6581
6582         * version.h:
6583         * version.C.in: remove lyx_docversion
6584
6585         * tabular.C (write_attribute): add a template-based version to
6586         write enums properly
6587
6588 2003-07-28  André Pönitz  <poenitz@gmx.net>
6589
6590         * lyxtext.h:
6591         * text.C:
6592         * text2.C:
6593         * text3.C: use doubles again for x-coordinates. They are needed.
6594
6595 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6596
6597         * messages.C (getLocaleDir): use lyx_localedir()
6598
6599         * lyxlex_pimpl.C (setFile): compress stuff
6600
6601         * buffer.C (writeFile): add some compression stuff
6602         (do_writeFile): new func, dont call expliti close... will this
6603         breake anything?
6604
6605         * Makefile.am (lyx_LDADD): add -lz
6606
6607 2003-07-28  José Matos  <jamatos@fep.up.pt>
6608
6609         * buffer.C: increment file format.
6610         * paragraph_funcs (readParagraph, readParToken):
6611         * paragraph.C (readParagraph): add \end_layout.
6612
6613 2003-07-27  Angus Leeming  <leeming@lyx.org>
6614
6615         * Makefile.am: remove special casing for configure-time setting of
6616         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6617
6618         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6619         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6620
6621 2003-07-26  André Pönitz  <poenitz@gmx.net>
6622
6623         * paragraph_func.[Ch]:
6624         * paragraph.C (realizeFont): inline it whereever it is used
6625
6626         * rowpainter.C:
6627         * text.C:
6628         * text2.C:
6629         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6630
6631
6632 2003-07-26  André Pönitz  <poenitz@gmx.net>
6633
6634         *       lyxtext.h:
6635         * text.C:
6636         * text2.C: get rid of LyXText::need_break_row
6637
6638 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6639
6640         * toc.[Ch]: put namespace toc inside namespace lyx
6641
6642         * MenuBackend.C (expandToc2): adjust for lyx::toc
6643         (expandToc): ditto
6644
6645         * lyxfunc.C (dispatch): adjust for lyx::find
6646
6647         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6648         lyx::find instead. Reorganize a bit.
6649         (LyXReplace): rename to replace
6650         (LyXFind): rename to find
6651
6652         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6653         (dispatch): ditto
6654
6655 2003-07-26  André Pönitz  <poenitz@gmx.net>
6656
6657         * text.C (setHeightOfRow): restrict scope of temporary variable
6658
6659         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6660           code (never has been used?)
6661
6662 2003-07-27  Asger Alstrup  <alstrup@local>
6663
6664         * text.C (fill): Optimise algorithm to exploit that we can reuse
6665         the LyXFont for many characters.
6666         (setHeightOfRow): Same thing.
6667         (rowBreakPoint): Same thing.
6668
6669 2003-07-26  Asger Alstrup  <alstrup@local>
6670
6671         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6672
6673         * text.C (singleWidth): Spurious font copying in hot-spot
6674         singleWidth avoided. Reorder tests for arabic for efficiency.
6675
6676         * text.C (fill): handle empty paragraphs better.
6677
6678 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6679
6680         * ispell.C:
6681         * encoding.h: add includes
6682
6683         * lyxrc.C: remove reading of bind files
6684
6685         * lyx_main.C (init): setup bindings and menus only if we have a
6686         gui.
6687
6688         * kbmap.C (read): new method. Do the actual reading of bind
6689         files.
6690
6691         * converter.C (dvipdfm_options):
6692         * bufferparams.C:
6693         * lyxrc.C (read):
6694         (output): adapt PAPER_* enums.
6695
6696         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6697
6698         * bufferparams.h: remove paper-related enums from there
6699
6700         * paper.h: New file. A trivial header file to hold paper-related
6701         enums. It should later expand to contain many paper-related
6702         horrors access.
6703
6704         * lyxrc.C: declare extern displayTranslator
6705
6706 2003-07-27  José Matos  <jamatos@fep.up.pt>
6707
6708         * tabular.[Ch] (linuxdoc): add support for tables and figures
6709         (linuxdoc).
6710
6711 2003-07-27  José Matos  <jamatos@fep.up.pt>
6712
6713         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6714         consistency in both functions.
6715         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6716
6717 2003-07-26  Asger Alstrup  <alstrup@local>
6718
6719         * rowpainter.C (paintRows): Change algorithm to work directly on
6720         the insets rather than asking every character in the document
6721         whether its an inset.
6722
6723 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6724
6725         * buffer.C (openFileWrite): factorize some code
6726
6727 2003-07-26  Angus Leeming  <leeming@lyx.org>
6728
6729         * lyx_cb.C:
6730         * lyx_main.[Ch]: replace occurances of system_tempdir with
6731         os::getTmpDir().
6732
6733 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6734
6735         * rename Inset to InsetOld
6736
6737 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6738
6739         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6740         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6741         which I think is a bit clearer. EDIT is gone, since it was
6742         premature optimisation, and broken for mathed anyway.
6743         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6744         with cursor positioning in insets as well (math insets still do not
6745         work, but that's a different story anyway.) It mysteriously
6746         crashes sometimes with undo in the first paragraph, but I'm fairly
6747         confident that this is a compiler bug.
6748
6749 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * paragraph.C (Paragraph): adjust for new clone return type
6752         (operator==): ditto
6753         (copyIntoMinibuffer): ditto
6754
6755 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6756
6757         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6758         by not having a special case, and always doing a full rebreak of
6759         the document after undo.
6760
6761 2003-07-23  Angus Leeming  <leeming@lyx.org>
6762
6763         * factory.C (createInset): InsetExternal::setParams now takes a
6764         Buffer const * arg.
6765
6766 2003-07-23  Angus Leeming  <leeming@lyx.org>
6767
6768         * factory.C (createInset): changed interface to the external and
6769         graphics mailers' string2params functions.
6770
6771 2003-07-23  Angus Leeming  <leeming@lyx.org>
6772
6773         * factory.C (createInset): pass a
6774         Buffer const * parameter to InsetExternalMailer's string2params.
6775
6776 2003-07-22  John Levon  <levon@movementarian.org>
6777
6778         * Thesaurus.h: include the right aiksaurus header
6779
6780 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6781
6782         * MenuBackend.C (expand): check menu shortcuts unconditionally
6783
6784 2003-07-21  Angus Leeming  <leeming@lyx.org>
6785
6786         * factory.C (createInset): pass a
6787         buffer_path parameter to InsetGraphicsMailer's string2params.
6788
6789 2003-07-21  Angus Leeming  <leeming@lyx.org>
6790
6791         * BufferView_pimpl.C (buffer):
6792         * buffer.C (d-tor):
6793         * lyx_main.C (LyX):
6794         * lyxfunc.C (dispatch):
6795         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6796         rather than the grfx shortcut.
6797
6798 2003-07-21  André Pönitz  <poenitz@gmx.net>
6799
6800         * rowpainter.C: remove unused variables
6801
6802         * tabular_funcs.C:
6803         * tabular_funcs.h: move to tabular.C
6804         * Makefile.am: adjust
6805
6806         * tabular.[Ch]: basic optical cleaning
6807
6808         * author.h: pass references, not values
6809
6810 2003-07-18  André Pönitz  <poenitz@gmx.net>
6811
6812         * lyxtext.h:
6813         * metricsinfo.C:
6814         * metricsinfo.h:
6815         * rowpainter.C:
6816         * text.C:
6817         * text2.C:
6818         * text3.C: two-phase drawing for InsetText and InsetTabular
6819         some float -> int changes.
6820
6821 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6822
6823         * lyx_main.C: fix the fix
6824
6825 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6826
6827         * lyx_main.C: fix a crash in batch mode if no files specified
6828         * converter.C: ws
6829
6830 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6831
6832         * format.[Ch] (papersize): moved to BufferParams
6833         * converter.[Ch] (dvips_options): moved to BufferParams
6834         (dvipdfm_options): moved to anon namespace
6835         * bufferparams.[Ch]: added above functions.
6836
6837 2003-07-17  André Pönitz  <poenitz@gmx.net>
6838
6839         * lyxtext.h:
6840         * rowpainter.C:
6841         * text2.C: don't call inset->update() anymore
6842
6843         * metricsinfo.[Ch]: add convenience constructor
6844
6845 2003-07-16  André Pönitz  <poenitz@gmx.net>
6846
6847         * lyxcursor.[Ch]:
6848         * lyxfunc.[Ch]:
6849         * text.C:
6850         * text2.C: replace the LyXCursor::irow_ member with
6851          on-demand computation of the value
6852
6853 2003-07-16  John Levon  <levon@movementarian.org>
6854
6855         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6856
6857 2003-07-15  André Pönitz  <poenitz@gmx.net>
6858
6859         * text.C:
6860         * text2.C: remove no more needed refresh_row
6861
6862 2003-07-15  André Pönitz  <poenitz@gmx.net>
6863
6864         * lyxtext.h:
6865         * rowpainter.C:
6866         * text2.C:
6867         * text3.C: refresh_status tristate -> need_update bool
6868
6869 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6870
6871         * lyxtext.h (init): remove reinit argument (act as if always true)
6872         * text2.C: adjust to that
6873
6874 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6875
6876         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6877         * text3.C: use it to delete selections in some cases
6878         (bugs 441, 673, 702, 954).
6879
6880 2003-07-14  André Pönitz  <poenitz@gmx.net>
6881
6882         * rowpainter.[Ch]: reduce interface
6883
6884 2003-07-14  André Pönitz  <poenitz@gmx.net>
6885
6886         * BufferView_pimpl.C:
6887         * text2.C: adjust after removing unused BufferView * argument
6888
6889 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6890
6891         * text2.C (init): fix a crash fired on resize
6892
6893 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6894
6895         * buffer.[Ch]: added new closing signal
6896         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6897         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6898         BufferView::Pimpl via the closing the signal
6899
6900 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6901
6902         * buffer.[Ch]: take out all bv-related from buffer
6903         * BufferView.C:
6904         * BufferView_pimpl.[Ch]: connect to new signals
6905         * CutAndPaste.C: removed useless asserts
6906         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6907         * lyxvc.[Ch]:
6908         * vc-backend.[Ch]:
6909         * lyxfunc.C: moved view-related funciontality from vc here
6910         * paragraph.C: removed outdated comments
6911         * text.C: ws
6912
6913 2003-07-10  André Pönitz  <poenitz@gmx.net>
6914
6915         * BufferView_pimpl.C:
6916         * tabular.h:
6917         * tabular_funcs.C:
6918         * text.C:
6919         * text2.C: remove InsetText::InnerCache, clean up consequences
6920
6921 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6922
6923         * ispell.C: fix two typos in error messages
6924
6925 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6926
6927         * Extend Note inset to other forms of annotation like Comment
6928         and Greyedout. Right button click gives dialog.
6929
6930         Files modified or added (+):
6931
6932         * insetnote.[Ch]
6933         * FormNote.[Ch]      +
6934         * ControlNote.[Ch]   +
6935         * form_note.fd       +
6936         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6937         frontends/controllers
6938         * xforms/Dialogs.C
6939         * factory.C
6940
6941 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6942
6943         * aspell.C: add missing namespace lyx::support
6944
6945 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6946
6947         * BufferView.[Ch] (newFile): Add
6948         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6949         * LaTeX.[Ch] (message): added this signal and use it
6950         * buffer.[Ch] (busy, message): added these signals and use them
6951         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6952         * converter.C:
6953         * exporter.C:
6954         * format.C:
6955         * importer.C: use buffer signals instead of direct bv calling
6956         * lyx_cb.[Ch] (ShowMessage): removed
6957         * lyx_main.C:
6958         * lyxfunc.C:
6959         * paragraph_funcs.C:
6960         * text2.C: use buffer signals
6961
6962 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6963
6964         * introduce namespace lyx::graphics
6965
6966 2003-07-02  André Pönitz  <poenitz@gmx.net>
6967
6968         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6969
6970 2003-07-01  André Pönitz  <poenitz@gmx.net>
6971
6972         * text.C:
6973         * text2.C:
6974         * text3.C:
6975         * text_funcs.[Ch]:
6976         * textcursor.h:
6977         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6978           text*.C to text_func.C
6979
6980 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * introduce namespace lyx::support
6983
6984 2003-06-30  André Pönitz  <poenitz@gmx.net>
6985
6986         * Chktex.C:
6987         * funcrequest.C:
6988         * lyxtext.h:
6989         * text.C: re-enable --with-included-string
6990
6991 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6992
6993         * textcursor.C: add <config.h>
6994
6995         * text.C (getWord): remove const from word_location arg
6996
6997         * lyxvc.C (getLogFile): fix const type order
6998
6999         * lyxtext.h: remove const from word_location arg, add arg name
7000
7001         * lyxlayout.h: currect type on labeltype.
7002
7003         * importer.C: correct \file
7004
7005         * converter.C (intToFormat): use std:: on ret val, ws changes
7006
7007         * bufferlist.h: correct \file
7008
7009         * buffer.C (makeLinuxDocFile): fix const type order
7010         (makeDocBookFile): ditto
7011         (fillWithBibKeys): use std:: on stdlib args.
7012
7013         * CutAndPaste.C: fix authors.
7014         (availableSelections): use std:: on return vector
7015
7016 2003-06-27  André Pönitz  <poenitz@gmx.net>
7017
7018         * BufferView_pimpl.C:
7019         * bufferview_funcs.C:
7020         * lyxcursor.C:
7021         * lyxcursor.h:
7022         * lyxfunc.C:
7023         * lyxtext.h:
7024         * rowpainter.C:
7025         * text.C:
7026         * text2.C:
7027         * text3.C: remove LyXCursor::row_ member
7028
7029         * lyxtext.h:
7030         * text.C: rename fullRebreak() to partialRebreak() and implement
7031           a fullRebreak() that really bereks fully
7032
7033         * textcursor.h: new struct for cursor-related data
7034
7035 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7036
7037         * lyx_main.C (LyX): get full path of document loaded on the
7038         command line
7039
7040 2003-06-26  André Pönitz  <poenitz@gmx.net>
7041
7042         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7043           remove unused/broken operator>,<,>=.
7044
7045         *       text.C: remove only use of broken operator<= in an Assert().
7046
7047 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7048
7049         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7050         moved errorlist_.clear to showErrorList
7051
7052 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7053
7054         * converter.C (scanLog, runLaTeX):
7055         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7056         move the bv->showErrorList call to the callers
7057         * lyxfunc.C: i.e. here...
7058         * text2.C: and here
7059         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7060         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7061         namespace, the second to...
7062         * buffer_funcs (BufferFormat, parseErrors): added
7063         * errorlist.C (ErrorList(TeXErrors const &)): removed
7064
7065 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7066
7067         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7068
7069 2003-06-24  "Garst R. Reese" <reese@isn.net>
7070
7071         * debug.C: fix typo
7072
7073 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7074
7075         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7076
7077         * version.C.in: change docversion to 1.4
7078
7079 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * buffer.C: fix a bug just introduced
7082
7083 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7084
7085         * buffer.[Ch]: added the parseError signal and use it, removed
7086         sgmlError
7087         * BufferView.[Ch] (addError): moved to ...
7088         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7089         to the Buffer::parseError signal to catch (guess what) parse errors
7090         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7091
7092 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7093
7094         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7095         ability to create a buffer and to return an existing one from
7096         the list. Moved these functions to...
7097         * buffer_funcs.[Ch]: added
7098         * BufferView.[Ch] (loadLyXFile): added
7099         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7100         job removed from bufferlist::loadLyXFile.
7101         * buffer.C (setReadOnly): make it work without view
7102         (i.e added an if (users))
7103
7104 2003-06-19  Angus Leeming  <leeming@lyx.org>
7105
7106         * lfuns.h:
7107         * LyXAction.C (init):
7108         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7109         with LFUN_DIALOG_SHOW <name> <data>.
7110
7111 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7112
7113         * CutAndPaste.C (availableSelections): small compilation fix for
7114         ancient (gcc 2.9x) compilers
7115
7116 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * text3.C (cursorNext): add tmp var
7119
7120         * text2.C (updateCounters): for function calling out of for clause
7121         (replaceSelectionWithString): ditto
7122         (insertStringAsParagraphs): ditto
7123         (getColumnNearX): add tmp var
7124         (setCursorFromCoordinates): add tmp var
7125         (cursorDownParagraph): add tmp var
7126         (deleteEmptyParagraphMechanism): add tmp var
7127
7128         * text.C (insertChar): add tmp var
7129
7130         * rowpainter.C (paintDepthBar): add tmp var
7131
7132         * CutAndPaste.C (availableSelections): potentially check all
7133         paragraphs in a cut to fill the shown strings.
7134
7135 2003-06-18  André Pönitz  <poenitz@gmx.net>
7136
7137         * kbmap.[Ch]: use vector<> instead of list<>
7138
7139 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7140
7141         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7142         pasteSelection with index
7143
7144         * text2.C (pasteSelection): modify, call pasteSelection with index
7145
7146         * paragraph.C (asString): reimplement version with no interval to
7147         call the one with interval.
7148
7149         * lyxtext.h: add index arg to pasteSelection
7150
7151         * MenuBackend.C (MenuItem): handle PasteRecent
7152         (Menu::read::Menutags): add md_pasterecent
7153         (read): handle it
7154         (expandPasteRecent): new function
7155         (expand): use it
7156
7157         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7158
7159         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7160         the limited stack
7161         (availableSelections): new function
7162
7163 2003-06-17  Angus Leeming  <leeming@lyx.org>
7164
7165         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7166
7167 2003-06-17  Angus Leeming  <leeming@lyx.org>
7168
7169         * lfuns.h:
7170         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7171
7172         * lyxfunc.C (dispatch): invoke it.
7173
7174 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7175
7176         * iterators.C (operator++, ParPosition): reintroduce some
7177         const_cast for the benefit of older compilers.
7178
7179 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7180
7181         * text3.C (dispatch): do not modify clipboard when doing
7182         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7183         LFUN_DELETE_SKIP on a selection selection
7184
7185 2003-06-16  André Pönitz  <poenitz@gmx.net>
7186
7187         * BufferView.C:
7188         * buffer.C:
7189         * buffer.h:
7190         * paragraph.C:
7191         * tabular.[Ch]: IU of clone() and getLabelList();
7192
7193 2003-06-13  André Pönitz  <poenitz@gmx.net>
7194
7195         * tabular.h: compactification
7196
7197 2003-06-12  André Pönitz  <poenitz@gmx.net>
7198
7199         * tabular.C:
7200         * tabular.h:
7201         * tabular_funcs.h: some renaming plus whitespace
7202
7203 2003-06-12  André Pönitz  <poenitz@gmx.net>
7204
7205         * BufferView.C:
7206         * BufferView_pimpl.C:
7207         * CutAndPaste.C:
7208         * buffer.C:
7209         * iterators.[Ch]:
7210         * lyxfunc.C:
7211         * text.C:
7212         * toc.C: Return a Paragraph & for ParIterator::operator*()
7213
7214 2003-06-11  John Levon  <levon@movementarian.org>
7215
7216         * lyx_main.C:
7217         * ToolbarBackend.h:
7218         * ToolbarBackend.C: add "Toolbars" section and
7219         put the flags there
7220
7221 2003-06-10  Angus Leeming  <leeming@lyx.org>
7222
7223         * lfuns.h:
7224         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7225
7226         * lyxfunc.C (dispatch): invoke it.
7227
7228 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * main.C: protect <ios> with HAVE_IOS
7231         (main): protect sync_with_stdio with HAVE_IOS
7232
7233 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7234
7235         * text2.C (cutSelection): adjust
7236         (pasteSelection): adjust
7237
7238         * messages.C: handle get of empty string
7239
7240         * main.C (main): use sync_with_stdio(false)
7241
7242         * lyxfunc.C (dispatch): adjust
7243
7244         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7245         (WriteAs): remove unneeded BufferView arg.
7246
7247         * bufferparams.h: use correct types on papersize, papersize2 and
7248         paperpackage.
7249
7250         * bufferparams.C (readToken): adjust for type
7251         (writeLaTeX): add missing cases to switch.
7252
7253         * bufferlist.C (quitWriteBuffer): adjust
7254         (close): adjust
7255
7256         * buffer.C (asciiParagraph): remove some commented code.
7257
7258         * CutAndPaste.C: remove current_view extern variable.
7259         (cutSelection): add BufferParams arg.
7260         (eraseSelection): add BufferParams arg.
7261         (pasteSelection): add Buffer const & arg
7262
7263 2003-06-07  John Levon  <levon@movementarian.org>
7264
7265         * buffer.C:
7266         * paragraph_funcs.C:
7267         * paragraph_pimpl.C:
7268         * text.C:
7269         * text2.C:
7270         * paragraph.h:
7271         * paragraph.C: allow InsetERT to freely space lines,
7272         and some consolidation of code
7273
7274 2003-06-06  José Matos  <jamatos@fep.up.pt>
7275
7276         * buffer.C (makeDocBookFile): fix bug #821
7277
7278 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7279
7280         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7281
7282 2003-06-04  Angus Leeming  <leeming@lyx.org>
7283
7284         * buffer.C: bump format to 224.
7285
7286 2003-06-05  André Pönitz  <poenitz@gmx.net>
7287
7288         * text2.C (redoParagraphs): remove two const_cast<>
7289
7290 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7291
7292         * ParagraphList.h: remove last remnants of NO_STD_LIST
7293
7294 2003-06-03  Angus Leeming  <leeming@lyx.org>
7295
7296         * factory.C (createInset): small change to the way InsetExternal's params
7297         are set.
7298
7299 2003-06-04  André Pönitz  <poenitz@gmx.net>
7300
7301         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7302
7303         * paragraph_pimpl.h:
7304         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7305
7306         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7307
7308         * undo_funcs.C: make some simple cases of undo work again
7309
7310 2003-06-03  John Levon  <levon@movementarian.org>
7311
7312         * ispell.C: HPUX doesn't have sys/select.h
7313         (from Albert Chin)
7314
7315 2003-06-03  John Levon  <levon@movementarian.org>
7316
7317         * CutAndPaste.C: update tabular and include inset
7318         buffer references
7319
7320         * buffer.h:
7321         * paragraph.h:
7322         * paragraph.C: remove owningBuffer(), don't pass Buffer
7323         to clone()
7324
7325         * factory.C: insetGraphicsParams changed
7326
7327 2003-06-02  John Levon  <levon@movementarian.org>
7328
7329         * LyXAction.C:
7330         * factory.C:
7331         * lfuns.h:
7332         * lyxfunc.C:
7333         * text3.C: remove insetparent
7334
7335 2003-06-02  John Levon  <levon@movementarian.org>
7336
7337         * buffer.h:
7338         * buffer.C: fix inset_iterator.end(), move out of line
7339         (bug 1149)
7340
7341 2003-06-01  John Levon  <levon@movementarian.org>
7342
7343         * text3.C: use a proper cut/paste when doing inset
7344         insert (from Jürgen Spitzmüller)
7345
7346 2003-06-01  John Levon  <levon@movementarian.org>
7347
7348         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7349
7350 2003-05-30  André Pönitz  <poenitz@gmx.net>
7351
7352         * rowpainter.C: unify second drawing phase
7353
7354 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7355
7356         * trans_mgr.C: remove one case of current_view
7357
7358         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7359
7360         * paragraph_funcs.h: remove paragraph.h include
7361
7362         * paragraph.h: delete NO_STD_LIST stuff
7363
7364         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7365
7366         * buffer.h: remove paragraph.h include
7367
7368         * ParagraphList.C: delete file
7369
7370         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7371
7372         * toc.C (getTocList): adjust
7373
7374         * paragraph_pimpl.C (validate): adjust
7375
7376         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7377
7378         * paragraph.C (Paragraph): adjust
7379         (getPositionOfInset): use const_iterator, adjust
7380         (bibitem): use const_iterator, adjust
7381         (setInsetOwner): adjust
7382
7383         * iterators.C (operator++): adjust
7384
7385         * InsetList.[Ch]: Replace selfmade iterator with standard
7386         vector::iterator also introduce const_iterator. Remove getPos,
7387         getInset and setInset from InsetTable. Adjust accordingly.
7388
7389         * BufferView.C (lockInset): adjust
7390         (ChangeInsets): adjust
7391
7392         * tabular.[Ch]: delete commented same_id functions
7393
7394 2003-05-28  John Levon  <levon@movementarian.org>
7395
7396         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7397
7398 2003-05-28  André Pönitz  <poenitz@gmx.net>
7399
7400         * metricsinfo.[Ch]: remove 'fullredraw' member
7401
7402 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7403
7404         * lyxtextclass.C (operator): remove caching.
7405
7406 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * text3.C: adjust
7409
7410         * text2.C (cursorBottom): adjust
7411         (setCounter): use ParagraphList::find, adjust
7412
7413         * text.C (workWidth): use ParagraphList::find, adjust
7414
7415         * lyxcursor.C (LyXCursor): adjust
7416
7417         * buffer.C (inset_iterator): adjust
7418
7419         * ParagraphList.h: make iterator(value_type) private, make
7420         ParagraphList a friend of iterator.
7421
7422         * ParagraphList.C (find): new function
7423
7424         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7425
7426 2003-05-27  André Pönitz  <poenitz@gmx.net>
7427
7428         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7429
7430 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7431
7432         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7433
7434 2003-05-26  John Levon  <levon@movementarian.org>
7435
7436         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7437
7438 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7439
7440         * remove same_id from function signatures, adjust.
7441
7442 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7443
7444         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7445
7446         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7447
7448         * paragraph.C (Paragraph): get rid of same_ids parameter
7449
7450         * ParagraphList.C (insert): adjust
7451         (push_back): adjust
7452
7453 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * paragraph_funcs.C (breakParagraph): adjust
7456         (breakParagraphConservative): adjust
7457
7458         * buffer.C (readParagraph): adjust
7459
7460         * ParagraphList.C (insert): take a reference instead of a pointer
7461         (insert): adjust
7462
7463         * paragraph.[Ch] (id): new function
7464
7465         * bufferlist.C (newFile): adjust
7466
7467         * ParagraphList.C (ParagraphList): adjust
7468         (assign): adjust
7469         (push_back): take a reference instead of a pointer.
7470
7471         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7472
7473         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7474         instead.
7475
7476         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7477         set else use old code.
7478
7479         * ParagraphList.C: remove all NO_NEXT code and only compile this
7480         code of NO_STD_LIST is set.
7481
7482 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7483
7484         * BufferView_pimpl.C:
7485         * TextCache.C:
7486         * TextCache.h:
7487         * bufferlist.C:
7488         * errorlist.h:
7489         * format.C:
7490         * format.h:
7491         * graph.C:
7492         * lyxfunc.C:
7493         * lyxrc.C:
7494         * graphics/GraphicsConverter.C:
7495         * graphics/PreviewLoader.C: header adjustment
7496
7497 2003-05-23  Angus Leeming  <leeming@lyx.org>
7498
7499         * LaTeXFeatures.[Ch] (useBabel): new method.
7500         * bufferparams.C (writeLaTeX): use it.
7501
7502 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * ParagraphList.h (set): remove unused function.
7505
7506 2003-05-23  André Pönitz  <poenitz@gmx.net>
7507
7508         * BufferView.C:
7509         * BufferView_pimpl.C:
7510         * buffer.C:
7511         * buffer.h:
7512         * lyxfunc.C:
7513         * undo_funcs.C: setUndo reworked
7514
7515         * iterators.[Ch]: add access to topmost ParagraphList
7516
7517         * lyxtext.[Ch] (workWidth): add a const
7518
7519 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7520
7521         * texrow.[Ch] (increasePos): remove function
7522         * exporter.C (export): removed unused var and outdated comment
7523
7524 2003-05-23  Angus Leeming  <leeming@lyx.org>
7525
7526         * latexrunparams.h: rename fragile as moving_arg.
7527         * paragraph.C (simpleTeXOnePar): ditto.
7528         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7529
7530 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7533         (createUndo): ditto
7534         (textUndoOrRedo): comment out a currently unused var.
7535
7536         * paragraph.h (NO_NEXT): enable NO_NEXT
7537
7538         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7539
7540         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7541
7542         * exporter.C (Export): adjust for removeAutoInsets removal.
7543
7544         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7545
7546         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7547
7548         * BufferView.[Ch] (removeAutoInsets): delete function
7549
7550 2003-05-22  Angus Leeming  <leeming@lyx.org>
7551
7552         * latexrunparams.h: add a free_spacing variable.
7553
7554         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7555         to pass moving_arg, as the data is stored in runparams.fragile.
7556
7557         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7558         to Inset::latexOptional or to simpleTeXOnePar.
7559
7560         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7561         free_spacing arg to Inset::latexOptional.
7562
7563         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7564         free_spacing arg.
7565
7566 2003-05-22  Angus Leeming  <leeming@lyx.org>
7567
7568         * latexrunparams.h: add fragile and use_babel variables.
7569
7570         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7571         * buffer.C (makeLaTeXFile): store this returned value in
7572         runparams.use_babel, thus passing it to the inset::latex methods.
7573
7574         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7575         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7576
7577         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7578         longer has a fragile arg, as it is stored in runparams.fragile.
7579
7580         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7581         moving_arg parameter as the data is stored in runparams.fragile.
7582
7583         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7584         a fragile parameter as the data is stored in runparams.fragile.
7585
7586 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7587
7588         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7589
7590 2003-05-22  Angus Leeming  <leeming@lyx.org>
7591
7592         * latexrunparams.h: add a 'bool nice' which defaults to false.
7593
7594         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7595         now encapsulated within runparams.
7596
7597         * bufferlist.C (updateIncludedTeXfiles):
7598         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7599
7600 2003-05-22  Angus Leeming  <leeming@lyx.org>
7601
7602         * latexrunparams.h: new file containing struct LatexRunParams.
7603         * Makefile.am: add new file.
7604
7605         * LaTeX.[Ch] (c-tor, run):
7606         * buffer.[Ch] (makeLaTeXFile):
7607         * bufferlist.[Ch] (updateIncludedTeXfiles):
7608         * converter.C (convert, scanLog):
7609         * converter.[Ch] (runLaTeX):
7610         * exporter.C (Export):
7611         * paragraph.[Ch] (simpleTeXOnePar):
7612         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7613         * paragraph_funcs.[Ch] (latexParagraphs):
7614         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7615         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7616         pass around a LatexRunParams parameter.
7617
7618 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * paragraph.[Ch]: remove unused constructor
7621
7622         * ParagraphList.C (erase): new function, taking two iterators
7623
7624 2003-05-22  André Pönitz  <poenitz@gmx.net>
7625
7626         * undo_funcs.C: remove duplicated code
7627
7628         * iterator.[Ch]: operator=
7629
7630 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * tabular.C (SetMultiColumn): ws changes
7633
7634         * rowpainter.C (paintFirst): get rid of a ->previous
7635
7636         * lyx_cb.C (getPossibleLabel): parlist simplification
7637
7638         * BufferView.C (ChangeInsets): simplify slightly.
7639
7640 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7641
7642         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7643         * lfuns.h: new LFUN_SPACE
7644         * lyxfunc.C: protected space has a new lfun
7645         * paragraph_funcs.C: read new space insets
7646         * text3.C:
7647         * factory.C: handle new space insets
7648
7649 2003-05-22  André Pönitz  <poenitz@gmx.net>
7650
7651         * BufferView.C:
7652         * BufferView_pimpl.C:
7653         * buffer.[Ch]:
7654         * lyxfunc.C:
7655         * undo_funcs.C: return a ParIterator from getParFromID.
7656
7657         * iterators.[Ch]: add two const's
7658
7659 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7660
7661         * toc.C (getTocList): adjust
7662
7663         * iterators.[Ch]: rework for parlist
7664
7665         * buffer.C (par_iterator_begin): adjust
7666         (par_iterator_end): adjust
7667
7668         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7669
7670         * BufferView.C (removeAutoInsets): adjust
7671         (ChangeInsets): adjust
7672
7673 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7674
7675         * text.C (top_y): fix bug 1110
7676
7677 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7678
7679         * errorlist.[Ch]: added
7680         * buffer.C:
7681         * BufferView.[Ch]:
7682         * BufferView_pimpl.C:
7683         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7684         instead
7685
7686 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * Makefile.am: ensure that lyx is relinked upon changes to the
7689         various "convenience" libs.
7690
7691 2003-05-20  Angus Leeming  <leeming@lyx.org>
7692
7693         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7694         files are compiled in alphabetical order again.
7695
7696         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7697
7698 2003-05-19  Angus Leeming  <leeming@lyx.org>
7699
7700         * gettext.[Ch]: remove "char const * _(char const *)".
7701
7702 2003-05-19  André Pönitz  <poenitz@gmx.net>
7703
7704         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7705
7706         * Makefile.am:
7707         * BufferView.C:
7708         * DepTable.h:
7709         * LaTeXFeatures.C:
7710         * buffer.C:
7711         * lyxfont.C:
7712         * lyxlex.h:
7713         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7714
7715 2003-05-19  André Pönitz  <poenitz@gmx.net>
7716
7717         * buffer.C:
7718         * lyxlayout.[Ch]:
7719         * lyxtextclass.[Ch]:
7720         * paragraph.C:
7721         * paragraph_funcs.[Ch]:
7722         * text2.C:
7723         * text3.C: more insetenv work
7724
7725 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7726
7727         * ParagraphParameters.C (params2string): small bug fixed
7728
7729 2003-05-16  André Pönitz  <poenitz@gmx.net>
7730
7731         * debug.C:
7732         * bufferview_funcs.C: patch from Kornel Benko to prevent
7733           crash when _(...) is called twice in a statement
7734
7735 2003-05-16  André Pönitz  <poenitz@gmx.net>
7736
7737         * BufferView.C:
7738         * lyxfunc.C:
7739         * text.C:
7740         * text2.C:
7741         * text3.C:
7742         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7743
7744 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7745
7746         * lyx_main.C (init): remove spurious static_cast
7747
7748 2003-05-14  André Pönitz  <poenitz@gmx.net>
7749
7750         * BufferView.C: fix format string
7751
7752 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7753
7754         * BufferView.[Ch] (insertErrors): removed
7755         * BufferView.[Ch] (showErrorList): added
7756         * buffer.C (runChkTeX):
7757         * converter.C (scanLog): call showErrorList instead of inserterrors
7758
7759 2003-05-13  André Pönitz  <poenitz@gmx.net>
7760
7761         * BufferView_pimpl.C:
7762         * buffer.C:
7763         * bufferview_func.C:
7764         * MenuBackend.C:
7765         * lyxfunc.C:
7766         * lyxrc.C:
7767         * tex-accent.C:
7768         * text3.C:
7769         * toc.C:
7770         * tabular_funcs.h: tostr() from its own header
7771
7772         * ParagraphParameters.C:
7773         * ToolbarBackend.C:
7774         * bufferparams.C:
7775         * format.C:
7776         * lyxlex_pimpl.C:
7777         * text3.C: STRCONV()
7778
7779 2003-05-12  André Pönitz  <poenitz@gmx.net>
7780
7781         * BufferView.C:
7782         * BufferView_pimpl.C:
7783         * CutAndPaste.C:
7784         * LaTeX.C:
7785         * LaTeXFeatures.C:
7786         * ParagraphParameters.C:
7787         * buffer.C:
7788         * bufferlist.C:
7789         * bufferparams.C:
7790         * bufferview_funcs.C:
7791         * converter.C:
7792         * counters.C:
7793         * debug.C:
7794         * exporter.C:
7795         * format.C:
7796         * importer.C:
7797         * lyx_cb.C:
7798         * lyx_main.C:
7799         * lyxfont.C:
7800         * lyxfunc.C:
7801         * lyxvc.C:
7802         * paragraph.C:
7803         * paragraph_funcs.C:
7804         * tabular.C:
7805         * tabular_funcs.C:
7806         * text2.C:
7807         * text3.C:  boost::format -> bformat  all over the place
7808
7809
7810 2003-05-09  André Pönitz  <poenitz@gmx.net>
7811
7812         * LColor.[Ch]: Pimpl the #include <map> away
7813
7814 2003-05-09  John Levon  <levon@movementarian.org>
7815
7816         * bufferlist.C: never remove emergency saves
7817
7818 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * Makefile.am: better lib building
7821
7822 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7825         instead.
7826         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7827         (simpleTeXSpecialChars): adjust
7828         (simpleTeXSpecialChars): adjust
7829         * paragraph.C (simpleTeXOnePar): adjust
7830         * buffer.C (makeLaTeXFile): adjust
7831
7832         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7833
7834         * text2.C (changeDepth): parlist cleanup
7835         (getColumnNearX): ditto
7836
7837         * rowpainter.C (getLabelFont): parlist cleanup
7838
7839         * bufferlist.C (newFile): parlist cleanup
7840
7841         * CutAndPaste.C (eraseSelection): parlist cleanup
7842
7843         * BufferView_pimpl.C (trackChanges): parlist cleanup
7844         (dispatch): ditto
7845
7846         * BufferView.C (lockInset): parlist cleanup.
7847         (ChangeInsets): ditto
7848
7849 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * CutAndPaste.h: Update file header.
7852
7853         * CutAndPaste.C: Update file header.
7854         Store the parts cut out of the Document in a limited_stack.
7855         (copySelection): adjust
7856         (pasteSelection): new function, takes the index in the limited stack.
7857         (nrOfParagraphs): adjust
7858         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7859         simplify error inset insertion.
7860         (checkPastePossible): adjust
7861
7862 2003-05-06  John Levon  <levon@movementarian.org>
7863
7864         * text2.C: don't cast wrap inset to float
7865
7866 2003-05-05  André Pönitz  <poenitz@gmx.net>
7867
7868         * iterator.C:
7869         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7870
7871         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7872           few naked Paragraph *.
7873
7874 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7875
7876         * bufferparams.C: Output warning if a document with missing
7877         TeX document class is loaded
7878         * exporter.C: Disable TeX exports if the document class is missing
7879         * lyxtextclass.C:
7880         * lyxtextclass.h:
7881         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7882         isTeXClassAvailable()
7883
7884 2003-05-03  John Levon  <levon@movementarian.org>
7885
7886         * BufferView.h:
7887         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7888         explicit cursor show/hide
7889
7890         * BufferView_pimpl.h:
7891         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7892         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7893
7894         * lyxfunc.C: hide cursor before dispatching.
7895
7896         * lyx_cb.C:
7897         * lyxfind.C:
7898         * text.C:
7899         * text3.C: remove explicit cursor hides
7900
7901 2003-05-02  André Pönitz  <poenitz@gmx.net>
7902
7903         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7904
7905         * undo_funcs.C:
7906         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7907           linked lists
7908
7909         * text2.C: tiny whitespace
7910
7911 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * undo_funcs.C: almost only ws changes.
7914
7915         * ParagraphList.C (splice): just return if pl is empty.
7916
7917 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7918
7919         * ParagraphList.C (splice): new function.
7920
7921         * CutAndPaste.C (pasteSelection): use it
7922
7923 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * CutAndPaste.C (pasteSelection): remove the last next and
7926         previous from this file.
7927
7928 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7929
7930         * CutAndPaste.C (pasteSelection): more clean up, user proper
7931         ParagraphList functions for pasteing.
7932
7933         * ParagraphList.C (insert): new function, three arg insert
7934
7935 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7936
7937         * ParagraphList.C (insert): new function, three arg insert
7938
7939         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7940         not on paragraphs.
7941
7942 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7943
7944         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7945
7946 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7949
7950 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7951
7952         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7953         (copySelection): clean up a bit.
7954         (pasteSelection): use make_pair
7955
7956         * ParagraphList.C (ParagraphList): implement copy constructor
7957         (operator=): implement, base on copy constructor.
7958         (assign): new func
7959
7960         * paragraph.C (erase): return a bool
7961
7962         * paragraph_pimpl.C (erasePos): remove function, move contents...
7963         (erase): ... here. Return a bool.
7964         (erase): call erase instead of erasePos.
7965
7966 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7967
7968         * ParagraphList.h: define PitPosPair
7969         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7970         ParagraphList, fix a bug on pasting multiple pars
7971         * text2.C: change interface to C&P
7972
7973 2003-04-30  André Pönitz  <poenitz@gmx.net>
7974
7975         * undo_func.C: revert part of yesterday's patch 2
7976
7977 2003-04-30  John Levon  <levon@movementarian.org>
7978
7979         * LColor.C: s/tabular/table/
7980
7981 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982
7983         * text3.C (dispatch): do not convert iterator -> pointer
7984         * undo_funcs.C (setCursorParUndo): ditto
7985         * text_funcs.C (transposeChars): ditto
7986
7987         * text2.C (setLayout): ws changes only
7988
7989         * text.C (breakParagraph): do not convert iterator -> pointer
7990         (insertChar): ditto
7991         (acceptChange): ditto
7992         (rejectChange): ditto
7993         (changeCase): ditto
7994         (Delete): ditto
7995         (backspace): ditto
7996
7997         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7998         pointer
7999
8000 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8001
8002         * text3.C (gotoInset): YABG (yet another bad getChar)
8003
8004 2003-04-29  André Pönitz  <poenitz@gmx.net>
8005
8006         * paragraph.h: make operator= private unimplemented as long as
8007           it is unusable
8008
8009         * ParagraphList.C: whitespace
8010
8011         * paragraph.[Ch]:
8012         * paragraph_pimpl.[Ch]:
8013         * paragraph_funcs.C:
8014         * CutAndPaste.C:
8015         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8016
8017         * text2.C:
8018           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8019
8020 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8021
8022         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8023         * paragraph.[Ch] (erase):
8024         * paragraph_pimpl.[Ch] (erase): change return type and value
8025         * text2.C (cutSelection): some rework
8026
8027 2003-04-28  John Levon  <levon@movementarian.org>
8028
8029         * bufferlist.C: changes for unsaved changes dialog
8030
8031 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * bufferlist.C (newFile): set language (messages_) for new
8034         documents also.
8035
8036         * buffer.C (readFile): ws changes only.
8037
8038 2003-04-28  André Pönitz  <poenitz@gmx.net>
8039
8040         * undo_funcs.C:
8041         * lyxfunc.C:
8042         * buffer.[Ch]:
8043         * BufferView_pimpl.C:
8044         * BufferView.C: getParFromID related ParagraphList::iterator changes
8045
8046 2003-04-28  André Pönitz  <poenitz@gmx.net>
8047
8048         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8049           Changes
8050
8051 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8052
8053         * messages.C: remove one more localedir class variable.
8054
8055 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * messages.C (getLocaleDir): singleton generation function
8058         (Pimpl): use it.
8059         (Messages): add a default constructor.
8060
8061         * main.C (main): do not setup localedir here, do not call
8062         gettext_init.
8063
8064         * gettext.C (_): use it.
8065         (gettext_init): delete funciton
8066
8067 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * gettext.C (getLyXMessages): new singleton generating function.
8070
8071         * buffer.C (updateDocLang): adjust
8072
8073         * Makefile.am (messages.o): add target
8074         (main.o): remove target
8075
8076 2003-04-27  John Levon  <levon@movementarian.org>
8077
8078         * bufferlist.C:
8079         * lyx_cb.C:
8080         * lyxfunc.C:
8081         * lyxvc.C: specify cancel button in Alert::prompt
8082
8083 2003-04-26  John Levon  <levon@movementarian.org>
8084
8085         * text3.C:
8086         * lyxfunc.C:
8087         * lfuns.h:
8088         * LyXAction.C: add LFUN_INSET_SETTINGS
8089
8090         * lyxfunc.C: don't enable tabular-feature when there's
8091         just any locking inset
8092
8093 2003-04-26  John Levon  <levon@movementarian.org>
8094
8095         * bufferlist.C: re-add Cancel to buffer close question
8096
8097         * lyxfunc.C: fix import UI a bit
8098
8099 2003-04-25  John Levon  <levon@movementarian.org>
8100
8101         * gettext.C: remove the broken asserts for now
8102
8103 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * messages.C: make case where setlocale cannot comply work better.
8106
8107         * buffer.C (updateDocLang): new function
8108         (changeLanguage): use it
8109         (readFile): use it
8110
8111         * text2.C (setCounter): use B_ a bit.
8112
8113         * lyxlayout.C (Read): be sure to trim the label strings.
8114
8115         * messages.C (Messages): fix typo in comment
8116
8117         * buffer.C (readFile): set message_ after file is loaded.
8118         (makeDocBookFile): remove double return
8119         (changeLanguage): reset message_ upon language change.
8120         (B_): new func, use this to get translated buffer strings.
8121
8122         * main.C: add myself and Jean Marc as authors.
8123
8124 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8125
8126         * messages.[hC]: pimplify Messages, and three different pimpls to be
8127         used in different circumstances.
8128
8129         * gettext.[Ch]: change for use with new message code.
8130
8131 2003-04-24 André Pönitz <poenitz@gmx.net>
8132
8133         * factory.C: support for eqref
8134
8135 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * messages.[Ch]: add missing char
8138
8139         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8140
8141         * messages.[Ch]: New files
8142
8143 2003-04-18  John Levon  <levon@movementarian.org>
8144
8145         * BufferView.h:
8146         * BufferView.C:
8147         * BufferView_pimpl.C:
8148         * lfuns.h:
8149         * LyXAction.C:
8150         * lyxtext.h:
8151         * text2.C: remove layout-copy/paste (bug 778)
8152
8153 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8154
8155         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8156
8157 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8158
8159         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8160         if they succeed. Act accordingly.
8161
8162 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8163
8164         * text2.C (setCharFont): adjust
8165         (setCounter): adjust
8166         (insertStringAsLines): adjust
8167
8168         * text.C (leftMargin): adjust
8169         (setHeightOfRow): adjust
8170
8171         * rowpainter.C (paintFirst): adjust
8172         (paintLast): adjust
8173
8174         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8175         (outerHook): ditto
8176         (isFirstInSequence): ditto
8177         (getEndLabel): ditto
8178         (outerFont): adjust
8179
8180         * paragraph.C (getParLanguage): comment out some hard stuff.
8181
8182         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8183         (sgmlError): ditto
8184         (simpleDocBookOnePar): ditto
8185         (makeDocBookFile): use ParagraphList::iterator
8186
8187         * CutAndPaste.C (pasteSelection): adjust
8188
8189 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8190
8191         * text2.C (getFont): adjust
8192         (getLayoutFont): adjust
8193         (getLabelFont): adjust
8194
8195         * paragraph_funcs.C (TeXOnePar): adjust
8196
8197         * buffer.C (simpleLinuxDocOnePar): adjust
8198         (simpleDocBookOnePar): adjust
8199
8200         * CutAndPaste.C (pasteSelection): adjust
8201
8202         * BufferView.C (getEncoding): adjust
8203
8204         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8205
8206 2003-04-16  John Levon  <levon@movementarian.org>
8207
8208         * lyxfind.C: use parlist stuff for search/changes
8209
8210 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8211
8212         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8213
8214         * text2.C (deleteEmptyParagraphMechanism): adjust
8215
8216         * text2.[Ch] (ownerParagraph): delete func (both of them
8217
8218 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8221
8222 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * ParagraphList.C: prepare for NO_NEXT
8225
8226 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * text2.C (getFont): adjust
8229         (getLayoutFont): adjust
8230         (getLabelFont): adjust
8231
8232         * paragraph.C (getFont): adjust
8233         (getLabelFont): adjust
8234         (getLayoutFont): adjust
8235
8236         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8237
8238 2003-04-15  John Levon  <levon@movementarian.org>
8239
8240         From Angus Leeming
8241
8242         * lyx_main.C: handle Include in .ui files
8243
8244 2003-04-15  John Levon  <levon@movementarian.org>
8245
8246         * MenuBackend.C: make the doc files length shorter
8247
8248         * ToolbarBackend.h:
8249         * ToolbarBackend.C: handle toolbar placement flags,
8250         Minibuffer
8251
8252 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8255         adjust
8256
8257         * paragraph_funcs.C (TeXOnePar): adjust
8258
8259         * paragraph.C (getLabelFont): add outerfont arg, adjust
8260         (getLayoutFont): ditto
8261         (simpleTeXOnePar): adjust
8262
8263         * paragraph_pimpl.C (realizeFont): delete func
8264
8265 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8266
8267         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8268         row argument, constify cur argument.
8269
8270 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8271
8272         * text2.C (getFont): adjust
8273         (getLayoutFont): adjust
8274         (getLabelFont): adjust
8275
8276         * paragraph_funcs.C (TeXOnePar): adjust
8277         (outerFont): new func...
8278         (realizeFont): ...moved out from here, changed this to facilitate
8279         transition
8280
8281         * paragraph.C (getFont): take outerfont as arg, adjust
8282         (simpleTeXOnePar): add outerfont arg, adjust
8283
8284         * buffer.C (simpleLinuxDocOnePar): adjust
8285         (simpleDocBookOnePar): adjust
8286
8287         * CutAndPaste.C (pasteSelection): adjust
8288
8289         * BufferView.C (getEncoding): adjust
8290
8291 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8292
8293         * text2.C (setCharFont): adjust
8294         (setCounter): adjust
8295
8296         * text.C (leftMargin): adjust
8297         (setHeightOfRow): adjust
8298
8299         * rowpainter.C (paintFirst): adjust
8300         (paintLast): adjust
8301
8302         * paragraph_pimpl.C (realizeFont): adjust
8303
8304         * paragraph.C (isFirstInSequence): move from here...
8305         * paragraph_funcs.C (isFirstInSequence): ...to here
8306
8307         * paragraph.C (outerHook): move from here...
8308         * paragraph_funcs.C (outerHook): ...to here
8309
8310         * paragraph.C (depthHook): move from here...
8311         * paragraph_funcs.C (depthHook): ...to here
8312
8313         * paragraph.C (getEndLabel): move from here...
8314         * paragraph_funcs.C (getEndLabel): ...to here
8315
8316         * text2.C (realizeFont): move from here...
8317         * paragraph_funcs.C (realizeFont): ...to here
8318
8319 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8320
8321         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8322
8323 2003-04-14  Angus Leeming  <leeming@lyx.org>
8324
8325         * LColor.[Ch]: scrap LColor mathcursor.
8326
8327 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8328
8329         * lyxlex.[Ch] (text): delete function
8330         * trans.C (Load): adjust
8331         * paragraph_funcs.C (readParToken): adjust
8332
8333 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8334
8335         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8336         vector<char> instead of a char[].
8337
8338         * lyxlex_pimpl.C (getString): adjust
8339         (next): adjust
8340         (lex): use getString
8341         (eatLine): adjust
8342         (nextToken): adjust
8343
8344         * lyxlex.C (text): use pimpl_->getString()
8345         (getBool): ditto
8346         (findToken): ditto
8347
8348 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8351         (makeFontEntriesLayoutSpecific): temp var for par.size()
8352         (setLayout): temp var for ownerParagraphs().end()
8353         (fullRebreak): temp var for rows().end()
8354         (selectionAsString): temp var for boost::next(startpit), realize
8355         that the while really is a regular for loop.
8356         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8357         setCursor in one place.
8358         (setParagraph): temp vr for ownerParagraphs().end()
8359         (updateCounters): make the while loop a for loop
8360         (cutSelection): temp var for ownerParagraphs().end()
8361         (updateInset): make the do {} while() a regular for loop
8362         (getCursorX): use temp vars
8363         (setCurrentFont): use temp vars
8364         (getColumnNearX): use temp vars
8365
8366 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * text.C (transformChar): use temp var for getChar
8369         (computeBidiTables): use temp var for row->par()
8370         (fill): move temp vars for row->par() and pit->layout() earlier in
8371         the function.
8372         (labelFill): use temp var for row->par()
8373         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8374         asc and desc, realize that pit never changes and that firstpit is
8375         just a duplicate and not needed. Exchange rit->par() with pit in a
8376         lot of places.
8377         (breakAgain): use a temp var for boost::next(rit)
8378         (breakAgainOneRow): ditto
8379         (breakParagraph): use a temp var for rows().begin()
8380         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8381         (cursorRightOneWord): use temp var for cursor.par() and
8382         cursor.pos(), remove usage of tmpcursor.
8383         (cursorLeftOneWord): use temp var for cursor.par() and
8384         cursor.pos() only set cur at end of function.
8385
8386 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * text.C, text2.C: exchange all usage of Paragraph::next with
8389         boost::next(ParagraphList::iterator)
8390
8391         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8392
8393         * text2.C (cursorTop): simplify implementation
8394         (cursorBottom): ditto
8395         (setParagraph): use ParagraphList::iterator
8396         (setCurrentFont): adjust
8397         (getColumnNearX): adjust
8398         (cursorRight): adjust
8399         (cursorLeft): remove usage of Paragraph::previous
8400         (cursorUpParagraph): ditto
8401         (deleteEmptyParagraphMechanism): slight cleanup
8402
8403         * text.C (isBoundary): take a Paragraph const & instead of a
8404         pointer as arg.
8405         (addressBreakPoint): ditto
8406         (leftMargin): remove usage of Paragraph::previous.
8407         (setHeightOfRow): ditto
8408         (cursorLeftOneWord): ditto
8409         (selectNextWordToSpellcheck): ditto
8410         (Delete): ditto
8411         (backspace): ditto
8412         (breakParagraph): remove one usage of Paragraph::next
8413         (redoParagraph): ditto
8414         (acceptChange): ditto
8415         (insertChar): adjust
8416         (rowBreakPoint): adjust
8417
8418         * bufferview_funcs.C (toggleAndShow): adjust
8419
8420 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8421
8422         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8423         methods to access it.
8424         * lyxtext.h:
8425         * text.C: Added updateRowPositions to compute all row positions.
8426         Make top_y and getRowNearY() to use the cached y position
8427
8428 2003-04-11  John Levon  <levon@movementarian.org>
8429
8430         * text.C (rowBreakPoint): reintroduce the labelEnd
8431         checks, code copied from the row fill stuff. Deep voodoo.
8432
8433         * text.C (fill): add a comment and debugging for the
8434         next poor soul.
8435
8436 2003-04-11  John Levon  <levon@movementarian.org>
8437
8438         * text.C: make sure fullrow insets get wrapped to the next line,
8439         even when they're in a manual label
8440
8441 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * text2.C (insertParagraph): make it take ParagraphList::iterator
8444         as arg.
8445         (setLayout): make it return ParagraphList::iterator
8446         (redoParagraphs): ditto
8447         (setCounter): ditto
8448         (checkParagraph): ditto
8449
8450         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8451
8452         * text2.C: adjust several funcs.
8453         (realizeFont): take a ParagraphList::iterator as arg.
8454         (getLayoutFont): ditto
8455         (getLabelFont): ditto
8456         (setCharFont): ditto
8457
8458         * text.C: adjust several funcs.
8459
8460 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8461
8462         * text.C (selectNextWordToSpellcheck): don't accidentally
8463         skip insets
8464
8465 2003-04-10  John Levon  <levon@movementarian.org>
8466
8467         * ToolbarBackend.C (getIcon): special handling for
8468         LFUN_MATH_DELIM
8469
8470 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8471
8472         * text2.C (cursorRight): a getChar assert fixed
8473
8474 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8475
8476         * text2.C (getFont): change to take a ParagraphList::iterator
8477         instead of Paragraph*
8478         Adjust several functions.
8479
8480         * text.C (transformChar): change to take a ParagraphList::iterator
8481         instead of Paragraph*
8482         (singleWidth): ditto
8483         Adjust several functions.
8484
8485         * rowpainter.C: adjust several functions
8486         * rowpainter.h:store a ParagraphList::iterator and not a
8487         Paragraph&.
8488
8489
8490 2003-04-09  John Levon  <levon@movementarian.org>
8491
8492         * lyxfunc.C:
8493         * lfuns.h:
8494         * LyXAction.h:
8495         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8496         and the "help" bits as well
8497
8498 2003-04-09  John Levon  <levon@movementarian.org>
8499
8500         * ToolbarBackend.h:
8501         * ToolbarBackend.C: allow multiple toolbars
8502
8503 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8504
8505         * undo_funcs.C (setCursorParUndo): adjust
8506
8507         * text_funcs.C (transposeChars): adjust
8508
8509         * text3.C (gotoNextInset): adjust
8510         (dispatch): adjust
8511
8512         * text2.C (setLayout): adjust
8513         (changeDepth): adjust
8514         (setFont): adjust
8515         (redoParagraphs): adjust
8516         (selectionAsString): adjust
8517         (setParagraph): adjust
8518         (insertInset): adjust
8519         (cutSelection): adjust
8520         (copySelection): adjust
8521         (pasteSelection): adjust
8522         (insertStringAsLines): adjust
8523         (updateInset): adjust
8524         (setCursor): change to take a ParagraphList::iterator parameter
8525         (setCursorIntern): change to take a ParagraphList::iterator parameter
8526         (setCurrentFont): adjust
8527         (cursorLeft): adjust
8528         (cursorRight): adjust
8529         (deleteEmptyParagraphMechanism): adjust
8530
8531         * text.C (breakParagraph): adjust
8532         (insertChar): adjust
8533         (acceptChange): adjust
8534         (rejectChange): adjust
8535         (selectNextWordToSpellcheck): adjust
8536         (changeCase): adjust
8537         (Delete): adjust
8538         (backspace): adjust
8539
8540         * lyxfind.C (SearchForward): adjust
8541         (SearchBackward): adjust
8542         (nextChange): adjust
8543
8544         * lyxcursor.C (par): adjust
8545
8546         * lyxcursor.h: store a ParagraphList::iterator instead of a
8547         Paragraph*
8548
8549         * lyx_cb.C (getPossibleLabel): adjust
8550
8551         * bufferview_funcs.C (toggleAndShow): adjust
8552
8553         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8554         (dispatch): adjust
8555
8556         * BufferView.C (removeAutoInsets): adjust
8557         (lockedInsetStoreUndo): adjust
8558
8559 2003-04-09  John Levon  <levon@movementarian.org>
8560
8561         * ToolbarBackend.C: try icon without argument
8562         if with argument fails
8563
8564 2003-04-08  John Levon  <levon@movementarian.org>
8565
8566         * ToolbarBackend.h:
8567         * ToolbarBackend.C: add getIcon(), handle tooltip,
8568         and change from "Icon" to "Item".
8569
8570 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8571
8572         * BufferView.C (lockInset): another bad getchar crunched
8573
8574 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8575
8576         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8577         again)
8578
8579 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8580
8581         * lyxfind.C (searchForward, searchBackwards): bug 782
8582
8583 2003-04-07  John Levon  <levon@movementarian.org>
8584
8585         * paragraph.C: remove dead comment
8586
8587         * text.C: remove troublesome depth-fiddling code
8588         in leftMargin() and rightMargin() (bug 1017)
8589
8590         * text.C: fix breaking of rows in nested lists
8591         (bug 1004)
8592
8593         * text2.C (updateCounters): fix up depth values
8594         (bug 1013)
8595
8596 2003-04-07  John Levon  <levon@movementarian.org>
8597
8598         * BufferView_pimpl.C: clear message when doc finishes resizing,
8599         and after a mouse event
8600
8601         * lyxfunc.C: clear message after exiting inset
8602
8603 2003-04-07  John Levon  <levon@movementarian.org>
8604
8605         * bufferview_funcs.C: show math status not outside
8606         status in the statusbar
8607
8608 2003-04-07  John Levon  <levon@movementarian.org>
8609
8610         * lyxfunc.C: note status changed after a depth change
8611
8612 2003-04-04  Angus Leeming  <leeming@lyx.org>
8613
8614         * LaTeX.h: move AuxInfo operator==, != out of line.
8615         Remove LaTeX virtual destructor; nothing derives from it.
8616         Move operator()() out of public area and rename it startscript().
8617         Change protected for private.
8618
8619 2003-04-04  Angus Leeming  <leeming@lyx.org>
8620
8621         * lyxfunc.C:
8622         * text2.C: remove unneeded #includes.
8623
8624 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8625
8626         * text2.C (dEPM): fix the heigth of the next row
8627
8628 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8629
8630         * text.C: squashed an invalid getChar requester + some ws changes
8631
8632 2003-04-03  John Levon  <levon@movementarian.org>
8633
8634         * bufferview_funcs.h:
8635         * bufferview_funcs.C:
8636         * lyxfunc.C:
8637         * lyxtext.h:
8638         * text2.C: make getStatus work for the env depth lfuns
8639
8640 2003-04-03  John Levon  <levon@movementarian.org>
8641
8642         * bufferview_funcs.h:
8643         * bufferview_funcs.C:
8644         * lyxfunc.C:
8645         * lyxtext.h:
8646         * text2.C: parlistize decDepth(), by merging it with incDepth()
8647
8648 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * lyxrow.h: store a ParagraphList::iterator instead of a
8651         Paragraph* and adjust other class functions to suit.
8652
8653         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8654         above.
8655
8656 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8657
8658         * text2.C (setCursor): do not anchor to cursor row for the time being
8659
8660 2003-04-02  John Levon  <levon@movementarian.org>
8661
8662         * LyXAction.C:
8663         * lfuns.h:
8664         * lyx_main.C:
8665         * lyxtext.h:
8666         * text.C:
8667         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8668
8669 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * paragraph.h: make ParagraphList and ParagraphList::iterator
8672         friends of Paragraph.
8673
8674         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8675
8676         * ParagraphList.C: Use the private next_ and previous_ from
8677         Paragraph.
8678
8679 2003-04-01  John Levon  <levon@movementarian.org>
8680
8681         * ToolbarBackend.h:
8682         * ToolbarBackend.C:
8683         * Makefile.am: rename, remove defaults gunk
8684
8685         * MenuBackend.h:
8686         * MenuBackend.C: remove defaults gunk
8687
8688         * Languages.h:
8689         * Languages.C: remove defaults gunk
8690
8691         * lyx_main.h:
8692         * lyx_main.C: error out if files couldn't be found.
8693
8694 2003-04-02  John Levon  <levon@movementarian.org>
8695
8696         * text2.C: make incDepth() use parlist
8697
8698 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8699
8700         * undo_funcs.C (firstUndoParagraph): adjust
8701
8702         * text3.C (gotoInset): adjust
8703         (dispatch): adjust, and rewrite loop.
8704
8705         * text2.C (init): adjust, and rewrite loop.
8706         (redoParagraphs): adjust
8707         (updateInset): adjust, and rewrite loop.
8708         (deleteEmptyParagraphMechanism): adjust
8709
8710         * tabular.C (LyXTabular): adjust
8711         (SetMultiColumn): adjust
8712         (TeXRow): adjust
8713
8714         * lyxtext.[Ch] (ownerParagraph): delete function
8715         (ownerParagraphs): new function returns a ParagraphList.
8716
8717         * BufferView.C (removeAutoInsets): adjust
8718         (insertErrors): adjust
8719         (setCursorFromRow): adjust
8720
8721 2003-04-01  Angus Leeming  <leeming@lyx.org>
8722
8723         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8724         in the frontends.
8725
8726 2003-04-02  John Levon  <levon@movementarian.org>
8727
8728         * lyxtext.h:
8729         * text.C:
8730         * Makefile.am:
8731         * text_funcs.h:
8732         * text_funcs.C: make transposeChars a free function
8733
8734         * lyxrow_funcs.C: remove wrong comment
8735
8736 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * lyxtext.h: adjust
8739         * rowpainter.C: adjust
8740         * text.C: adjust
8741         * text2.C: adjust
8742         * text3.C: adjust
8743
8744         * lyxrow_funcs. [Ch]: new files
8745
8746         * lyxrow.[Ch]: remove next and previous pointers
8747         (next,previous): remove accessor functions
8748         (isParEnd): move to lyxrow_funcs
8749         (lastPos): move to lyxrow_funcs
8750         (nextRowIsAllInset): move to lyxrow_funcs
8751         (lastPrintablePos): move to lyxrow_funcs
8752         (numberOfSeparators): move to lyxrow_funcs
8753         (numberOfHfills): move to lyxrow_funcs
8754         (numberOfLabelHfills): move to lyxrow_funcs
8755         (hfillExpansion): move to lyxrow_funcs
8756
8757         * lyxfunc.C: adjust
8758
8759         * bufferview_funcs.C (toggleAndShow): adjust
8760
8761         * RowList.h: Remove class RowList from file leave just a
8762         std::list<Row>.
8763
8764         * RowList.C: delete file
8765
8766         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8767         and lyxrow_funcs.h
8768
8769 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8770
8771         * text3.C (cursorPrevious): adjust
8772         (cursorNext): adjust
8773         (dispatch): adjust
8774
8775         * text2.C (redoHeightOfParagraph): adjust
8776         (redoDrawingOfParagraph): adjust
8777         (setCursor): adjust
8778
8779         * text.C (breakParagraph): adjust
8780         (insertChar): adjust
8781         (backspace): adjust
8782
8783         * rowpainter.C (RowPainter): adjust
8784         (leftMargin): simplify and adjust
8785         (most rowpainter functions): adjust.
8786
8787         * rowpainter.h: store the row as RowList::iterator not as Row*
8788
8789         * lyxcursor.C (row): taka RowList::iterator as arg
8790         (irow): ditto
8791
8792         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8793         of Row*.
8794
8795 2003-04-01  Angus Leeming  <leeming@lyx.org>
8796
8797         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8798         stuff like bool Bool.
8799
8800 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8801
8802         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8803         rewrite a loop
8804
8805 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8806
8807         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8808         RowList::iterator.
8809
8810         * lyxtext.h (rows): drop one version and leve a const variant that
8811         returns a RowList::iterator.
8812
8813 2003-03-31  Angus Leeming  <leeming@lyx.org>
8814
8815         * text.C (fill): ensure that the signature is the same as that in the
8816         header file.
8817
8818 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8819
8820         * text2.C (redoParagraphs): adjust
8821         (updateCounters): adjust
8822         (checkParagraph): adjust
8823         (getColumnNearX): adjust and reformat a bit.
8824
8825         * text.C (top_y): adjust
8826         (workWidth): adjust
8827         (leftMargin): adjust
8828         (prepareToPrint): adjust
8829         (getRow): adjust
8830         (getRowNearY): adjust
8831
8832         * lyxtext.h: make rowlist_ mutable.
8833
8834         * RowList.h: add const_iterator
8835         * RowList.C: adjust for RowList::const_iterator.
8836
8837         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8838         adjust.
8839
8840 2003-03-31  John Levon  <levon@movementarian.org>
8841
8842         * lyxrc.h:
8843         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8844
8845         * lyx_main.C: set default fonts from using lyx_gui funcs
8846
8847         * exporter.C: pdf_mode moved from lyxrc
8848
8849         * lyx_cb.C:
8850         * lyxfunc.C: changes from above
8851
8852 2003-03-31  John Levon  <levon@movementarian.org>
8853
8854         * lyx_main.C: fix to the last fix
8855
8856 2003-03-31  John Levon  <levon@movementarian.org>
8857
8858         * bufferlist.C: "Load original" -> "Load Original"
8859
8860         * converter.C:
8861         * exporter.C:
8862         * importer.C:
8863         * lyx_main.C:
8864         * format.C: more Alert cleanups
8865
8866 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8867
8868         * text2.C (removeParagraph): make it take a RowList::iterator as
8869         arg, adjust.
8870         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8871         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8872
8873         * text.C (anchor_row): make it take a RowList::iterator as arg,
8874         adjust.
8875         (computeBidiTables): make it take a const reference to Row instead
8876         of Row pointer, adjust.
8877         (leftMargin): make it take a RowList::iterator as arg, adjust.
8878         (rowBreakPoint): adjust
8879         (breakAgainOneRow): make it take a RowList::iterator as arg,
8880         adjust.
8881         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8882
8883         * bufferview_funcs.C (toggleAndShow): adjust
8884
8885 2003-03-30  John Levon  <levon@movementarian.org>
8886
8887         * Makefile.am:
8888         * BoostFormat.h:
8889         * boost-inst.C: moved to support
8890
8891         * several files: changes as a result
8892
8893 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8894
8895         * text2.C (LyXText): adjust.
8896         (init): adjust
8897         (removeRow): make it take a RowList::iterator as arg, adjust.
8898         (fullRebreak): adjust
8899         (deleteEmptyParagraphMechanism): adjust
8900         (clearPaint): adjust
8901         (postPaint): adjust
8902
8903         * text.C (top_y): adjust
8904         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8905         (breakAgain): make it take a RowList::iterator as arg, adjust.
8906         (breakParagraph): adjust
8907         (insertChar): adjust
8908         (backspace): adjust
8909
8910         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8911         need_break_row, and refresh_row.
8912
8913         * text3.C (dispatch): adjust
8914
8915         * text2.C (checkParagraph): adjust
8916         (setCursor): adjust
8917         (setCursorFromCoordinates): adjust
8918
8919         * text.C (top_y): adjust
8920         (workWidth): adjust
8921         (getRow): make it return a RowList::iterator, adjust
8922         (getRowNearY): make it return a RowList::iterator, adjust
8923
8924         * text2.C (init): adjust
8925         (insertRow): remove function
8926         (insertParagraph): adjust
8927         (redoParagraphs): adjust
8928         (fullRebreak): adjust
8929         (updateCounters): adjust
8930
8931         * text.C (top_y): rewrite to use RowList iterators.
8932         (top_y): adjust
8933         (setHeightOfRow): rewrite to sue RowList iterators.
8934         (appendParagraph): adjust
8935         (breakAgain): adjust
8936         (breakAgainOneRow): adjust
8937         (breakParagraph): adjust
8938         (getRow): adjust
8939         (getRowNearY): adjust, and remove commented code.
8940
8941         * lyxtext.h (firstRow): delete function
8942         (lastRow): delete function
8943         (rows): new function (const and non-const versions.)
8944         (insertRow): delete function
8945
8946         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8947
8948 2003-03-29  John Levon  <levon@movementarian.org>
8949
8950         * BufferView_pimpl.C: always update scrollbar top
8951         because pasting text when we're anchored could mean we
8952         miss an update altogether
8953
8954 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * text2.C (init): use rowlist_.end() and not 0.
8957         (insertRow): change to take a RowList::iterator as arg, adjust
8958         for this.
8959         (insertParagraph): change to take a RowList::iterator as arg,
8960         adjust for this.
8961         (redoParagraphs): remove some debug msgs.
8962
8963         * text.C (appendParagraph): change to take a RowList::iterator
8964         arg, adjust for this.
8965         (breakAgain): add an assert
8966         (breakAgainOneRow): ditto
8967
8968 2003-03-29  John Levon  <levon@movementarian.org>
8969
8970         * text2.C: do not clear selection after inc/decDepth
8971         (bug 550)
8972
8973 2003-03-29  John Levon  <levon@movementarian.org>
8974
8975         * BufferView.C:
8976         * buffer.C: fix broken strerrors according to Lars
8977
8978 2003-03-29  John Levon  <levon@movementarian.org>
8979
8980         * converters.C: more Alert cleanups
8981
8982 2003-03-29  John Levon  <levon@movementarian.org>
8983
8984         * bufferview_funcs.C: remove pointless Alert
8985
8986         * buffer.C: fix confusing error message when
8987         a template is chmoded 000
8988
8989 2003-03-29  John Levon  <levon@movementarian.org>
8990
8991         * BufferView.C:
8992         * BufferView.h:
8993         * BufferView_pimpl.C: Alert fixes
8994
8995         * Makefile.am:
8996         * tabular.C:
8997         * tabular-old.C: remove unused table compat reading
8998
8999 2003-03-29  John Levon  <levon@movementarian.org>
9000
9001         * BufferView.C:
9002         * buffer.C:
9003         * lyx_cb.h:
9004         * lyx_cb.C: more Alert cleanups
9005
9006         * lyxfunc.C: don't allow chktex if not latex document
9007
9008 2003-03-29  John Levon  <levon@movementarian.org>
9009
9010         * lyx_cb.C:
9011         * BufferView.C:
9012         * buffer.C: warnings pushed down from support/,
9013         kill err_alert
9014
9015 2003-03-29  John Levon  <levon@movementarian.org>
9016
9017         * lyxfunc.C: safety check for C-r (revert)
9018
9019 2003-03-29  John Levon  <levon@movementarian.org>
9020
9021         * bufferlist.h:
9022         * bufferlist.C: several UI fixes using Alert::prompt.
9023         Fix the pointless looping quit code. Fix stupid revert
9024         behaviour (bug 938)
9025
9026         * lyxvc.h:
9027         * lyxvc.C:
9028         * lyx_cb.C: use Alert::prompt
9029
9030         * lyx_main.C: remove a silly question
9031
9032         * lyxfunc.C: remove a couple of silly questions,
9033         use Alert::prompt
9034
9035 2003-03-28  John Levon  <levon@movementarian.org>
9036
9037         * text2.C: fix bug 974 (End on empty par)
9038
9039 2003-03-28  John Levon  <levon@movementarian.org>
9040
9041         * BufferView_pimpl.C:
9042         * LyXAction.C:
9043         * lfuns.h: remove do-nothing math greek lfuns
9044
9045 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9046
9047         * lyxgluelength.h (isValidGlueLength): add default arg on
9048         parameter 2. Remove default arg from friend in class.
9049
9050         * lyxlength.h (isValidLength): add default arg on parameter 2.
9051         Remove default arg from friend in class.
9052
9053         * text2.C (LyXText): adjust, initialize refresh_row.
9054         (init): adjust
9055         (removeRow): adjust
9056         (insertRow): adjust
9057         (insertParagraph): adjst
9058         (redoParagraphs): adjust
9059         (fullRebreak): adjust
9060         (updateCounters): adjust
9061         (deleteEmptyParagraphMechanism): first attempt at fixing a
9062         crashing bug.
9063
9064         * text.C (top_y): adjust
9065         (setHeightOfRow): adjust
9066         (getRow): adjust
9067         (getRowNearY): adjust
9068
9069         * lyxtext.h: include RowList.h
9070         (~LyXText): not needed anymore, deleted.
9071         (firstRow): modify for RowList
9072         (lastRow): new function
9073         Delete firstrow and lastrow class variables, add a Rowlist
9074         rowlist_ class variable.
9075
9076         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9077         paragraph is empty.
9078
9079         * RowList.C (insert): fix case where it == begin().
9080
9081 2003-03-26  Angus Leeming  <leeming@lyx.org>
9082
9083         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9084         the thesaurus dialog.
9085
9086 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9087
9088         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9089
9090         * RowList.[Ch]: new files
9091
9092         * ParagraphList.C (erase): handle the case where it == begin
9093         correctly.
9094
9095 2003-03-25  John Levon  <levon@movementarian.org>
9096
9097         * Makefile.am:
9098         * aspell_local.h:
9099         * aspell.C: add new aspell support
9100
9101         * lyxrc.h:
9102         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9103         have it accessible.
9104
9105 2003-03-25  Angus Leeming  <leeming@lyx.org>
9106
9107         * lfuns.h:
9108         * LyXAction.C (init): new LFUN_INSET_INSERT.
9109
9110         * BufferView_pimpl.C (dispatch): split out part of the
9111         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9112
9113         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9114         LFUN_INSET_APPLY.
9115
9116 2003-03-25  Angus Leeming  <leeming@lyx.org>
9117
9118         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9119
9120 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9121
9122         * text2.C:
9123         * text3.C: remove useless row->height(0)
9124
9125 2003-03-25  John Levon  <levon@movementarian.org>
9126
9127         * lyxtext.h:
9128         * text2.C:
9129         * text3.C: rename the refreshing stuff to better names
9130
9131 2003-03-24  John Levon  <levon@movementarian.org>
9132
9133         * BufferView_pimpl.h:
9134         * BufferView_pimpl.C: update layout choice on a mouse
9135         press/release
9136
9137 2003-03-23  John Levon  <levon@movementarian.org>
9138
9139         * Makefile.am: fix commandtags.h reference
9140
9141 2003-03-22  John Levon  <levon@movementarian.org>
9142
9143         * BufferView_pimpl.C:
9144         * lyxtext.h:
9145         * rowpainter.C:
9146         * rowpainter.h:
9147         * text.C:
9148         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9149
9150 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9151
9152         * lyxtext.h:
9153         * text.C: take the rtl methods out of line
9154
9155 2003-03-21 André Pönitz <poenitz@gmx.net>
9156
9157         * metricsinfo.[Ch]: new files containing structures to be passed around
9158         during the two-phase-drawing...
9159
9160 2003-03-21 André Pönitz <poenitz@gmx.net>
9161
9162         * lyxtextclass.C: read 'environment' tag.
9163
9164 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9165
9166         * text2.C (removeRow): fix bug 964
9167
9168 2003-03-20  John Levon  <levon@movementarian.org>
9169
9170         * rowpainter.C:
9171         * text.C:
9172         * text2.C: paint cleanups. Inset::update() dropped font
9173         parameter
9174
9175 2003-03-19  John Levon  <levon@movementarian.org>
9176
9177         * lyxfunc.C: only fitcursor/markDirty if available()
9178
9179 2003-03-19  John Levon  <levon@movementarian.org>
9180
9181         * commandtags.h: rename to ...
9182
9183         * lfuns.h: ... this, and renumber / cleanup
9184
9185 2003-03-19  John Levon  <levon@movementarian.org>
9186
9187         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9188         fit the cursor after an lfun
9189
9190         * BufferView.h:
9191         * BufferView.C:
9192         * BufferView_pimpl.h:
9193         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9194
9195         * LyXAction.C: layout-character should have ReadOnly
9196
9197         * ParagraphParameters.C:
9198         * buffer.C:
9199         * bufferview_funcs.C:
9200         * lyx_cb.C:
9201         * lyxfind.C:
9202         * lyxtext.h:
9203         * text.C:
9204         * text2.C:
9205         * text3.C:
9206         * undo_funcs.C: changes from above
9207
9208 2003-03-18  John Levon  <levon@movementarian.org>
9209
9210         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9211         remove it from update()
9212
9213         * lyxfunc.C: update layout choice after an lfun
9214
9215         * text3.C: remove extra updateLayoutChoice()s
9216
9217 2003-03-18  John Levon  <levon@movementarian.org>
9218
9219         * text.C: top_y change means full repaint, fix
9220         a drawing bug with cursor movement
9221
9222 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9223
9224         * lyxtext.h:
9225         * text.C:
9226         * text2.C: anchor row on setCursor
9227
9228 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9229
9230         * lyxtext.h: remove almost all mutable keywords
9231         * text.C:
9232         * text2.C:
9233         * text3.C: remove const keywords accordingly
9234
9235 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9236
9237         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9238         anon namespace
9239         (TeXEnvironment): ditto
9240         (TeXOnePar): ditto
9241
9242 2003-03-17  John Levon  <levon@movementarian.org>
9243
9244         * text.C (rowBreakPoint): remove attempt to fix displayed
9245         math insets inside a manual label
9246
9247 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9248
9249         * lyxtext.h: remove BufferView* as first arg from almost all class
9250         functions.
9251         * other files: adjust.
9252
9253 2003-03-17  John Levon  <levon@movementarian.org>
9254
9255         * lyxtext.h:
9256         * undo_funcs.C:
9257         * text2.C: more paint cleanups
9258
9259         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9260
9261         * rowpainter.h:
9262         * rowpainter.C: remove "smart" background painting code
9263
9264 2003-03-16  John Levon  <levon@movementarian.org>
9265
9266         * lyxtext.h:
9267         * text.C:
9268         * text2.C:
9269         * text3.C: add helper functions for setting refresh_row/y
9270
9271 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9272
9273         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9274         newline inset which *can* get inserted in the pass_thru layouts.
9275         This is primarily for literate documents.
9276
9277 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9278
9279         * buffer.C: increment LYX_FORMAT to 223
9280
9281 2003-03-14 André Pönitz <poenitz@gmx.net>
9282
9283         * textclass.h: prepare for environment handling, ws changes
9284         * lyxlayout.C: read latexheader and latexfooter tags
9285
9286 2003-03-14  John Levon  <levon@movementarian.org>
9287
9288         * text2.C: rewrite ::status() a bit
9289
9290 2003-03-13  John Levon  <levon@movementarian.org>
9291
9292         * lyxtext.h: add some docs
9293
9294 2003-03-13  John Levon  <levon@movementarian.org>
9295
9296         * lyxtext.h:
9297         * text.C:
9298         * text2.C:
9299         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9300
9301 2003-03-13  John Levon  <levon@movementarian.org>
9302
9303         * text3.C: fix appendix redrawing
9304
9305 2003-03-13  John Levon  <levon@movementarian.org>
9306
9307         * text.C (setHeightOfRow):
9308         * rowpainter.h:
9309         * rowpainter.C: make appendix mark have the text
9310           "Appendix" so the user knows what it is
9311
9312         * LColor.h:
9313         * LColor.C: s/appendixline/appendix/ from above
9314
9315 2003-03-13  John Levon  <levon@movementarian.org>
9316
9317         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9318
9319         * text.C: fix a getChar(pos) bug properly
9320
9321 2003-03-13  Angus Leeming  <leeming@lyx.org>
9322
9323         * commandtags.h:
9324         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9325         Probably only temporary. Let's see how things pan out.
9326
9327         * BufferView.C (unlockInset):
9328         * BufferView_pimpl.C (fitCursor):
9329         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9330
9331         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9332         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9333
9334         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9335         new functions that convert ParagraphParameters to and from a string.
9336
9337         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9338         BufferView::Pimpl's dispatch.
9339         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9340
9341 2003-03-13 André Pönitz <poenitz@gmx.net>
9342
9343         * lyxfunc.C:
9344         * text3.C:
9345         * factory.C: make it aware of InsetEnv
9346
9347 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9348
9349         * text2.C (setCursor): never ask for one past last
9350         (setCursor): add some debugging messages.
9351
9352         * text.C (singleWidth): never ask for one past last
9353         (singleWidth): ditto
9354         (leftMargin): ditto
9355         (rightMargin): ditto
9356         (rowBreakPoint): ditto
9357         (setHeightOfRow): ditto
9358         (prepareToPrint): ditto
9359
9360         * rowpainter.C (paintBackground): never ask for one past last
9361         (paintText): never ask for one past last
9362
9363         * paragraph_pimpl.C (getChar): make the assert stricter, never
9364         allow the one past last pos to be taken
9365
9366         * paragraph.C (getChar): ws changes only
9367
9368         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9369         (numberOfSeparators): ditto
9370         (numberOfHfills): ditto
9371
9372 2003-03-12  John Levon  <levon@movementarian.org>
9373
9374         * author.h:
9375         * author.C:
9376         * bufferparams.h:
9377         * bufferparams.C:
9378         * paragraph_funcs.C: fix per-buffer authorlists
9379
9380 2003-03-12  John Levon  <levon@movementarian.org>
9381
9382         * text.C: fix newline in right address
9383
9384 2003-03-12  Angus Leeming  <leeming@lyx.org>
9385
9386         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9387         duplicate those in LyXFunc::dispatch.
9388
9389         * commandtags.h:
9390         * LyXAction.C:
9391         * ToolbarDefaults.C:
9392         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9393         Add LFUN_FONTFREE_UPDATE.
9394
9395         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9396         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9397
9398         * bufferview_func.[Ch]: several new functions to facilliate
9399         transfer of data to and from the character dialog.
9400
9401 2003-03-12  John Levon  <levon@movementarian.org>
9402
9403         * buffer.C:
9404         * paragraph.h:
9405         * paragraph.C:
9406         * paragraph_funcs.C:
9407         * paragraph_pimpl.C:
9408         * sgml.C:
9409         * tabular.C:
9410         * text.C:
9411         * text3.C: remove META_NEWLINE in favour of an inset
9412
9413         * rowpainter.h:
9414         * rowpainter.C: remove paintNewline (done by inset)
9415
9416 2003-03-12  John Levon  <levon@movementarian.org>
9417
9418         * paragraph_pimpl.C: complain about bad getChar()s
9419         for a while at least
9420
9421 2003-03-12  John Levon  <levon@movementarian.org>
9422
9423         * buffer.h:
9424         * buffer.C: move paragraph read into a separate function,
9425         a little renaming to reflect that.
9426
9427         * bufferparams.h:
9428         * bufferparams.C: remove the author_ids map, not necessary now
9429
9430         * factory.h:
9431         * factory.C: moved Buffer::readInset to here
9432
9433         * paragraph_funcs.h:
9434         * paragraph_funcs.C: readParagraph free function moved from
9435         buffer.C
9436
9437         * tabular.C: name change
9438
9439 2003-03-12  John Levon  <levon@movementarian.org>
9440
9441         * buffer.C:
9442         * ParagraphParameters.C: move par params input to
9443         a read() method
9444
9445         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9446         behave like a normal read from the stream wrt reading
9447         a line vs. a \\token
9448
9449 2003-03-12  John Levon  <levon@movementarian.org>
9450
9451         * paragraph.C:
9452         * ParagraphParameters.h:
9453         * ParagraphParameters.C: move output code to a
9454         ::write() method
9455
9456 2003-03-12  John Levon  <levon@movementarian.org>
9457
9458         * BufferView.C (insertLyXFile):
9459         * buffer.h:
9460         * buffer.C:
9461         * tabular.C: use a parlist iterator for creating the
9462           document.
9463
9464 2003-03-12  John Levon  <levon@movementarian.org>
9465
9466         * buffer.C: make current_change static local not
9467           static file-scope
9468
9469 2003-03-12  John Levon  <levon@movementarian.org>
9470
9471         * buffer.C: fix insertStringAsLines for change tracking
9472
9473 2003-03-12  John Levon  <levon@movementarian.org>
9474
9475         * BufferView.C:
9476         * tabular.C:
9477         * buffer.h:
9478         * buffer.C:
9479         * bufferparams.h:
9480         * bufferparams.C: move author list into params. Rename some
9481           functions. Move the header reading into a separate token
9482           loop. Move the header token reading into BufferParams.
9483
9484 2003-03-12  John Levon  <levon@movementarian.org>
9485
9486         * changes.C: put debug inside lyxerr.debugging() checks
9487
9488 2003-03-11 André Pönitz <poenitz@gmx.net>
9489
9490         * factory.C: make it aware of InsetHFill
9491
9492 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9493
9494         * buffer.C (latexParagraphs): move function from here...
9495         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9496         args.
9497
9498 2003-03-10  Angus Leeming  <leeming@lyx.org>
9499
9500         * LyXAction.C (init): fix bug in poplating array with multiple entries
9501         with the same LFUN (spotted by JMarc).
9502
9503 2003-03-10  John Levon  <levon@movementarian.org>
9504
9505         * text.C:
9506         * text2.C: move getColumnNearX() near its
9507         only call site
9508
9509 2003-03-10  John Levon  <levon@movementarian.org>
9510
9511         * text.C: fix break before a minipage
9512
9513 2003-03-10  John Levon  <levon@movementarian.org>
9514
9515         * text.C: fix the last commit
9516
9517 2003-03-09  John Levon  <levon@movementarian.org>
9518
9519         * lyxtext.h:
9520         * text.C:
9521         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9522         bug 365 (don't break before insets unless needed). Don't
9523         return a value > last under any circumstances.
9524
9525 2003-03-09  Angus Leeming  <leeming@lyx.org>
9526
9527         * BufferView_pimpl.C (trackChanges, dispatch): call
9528         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9529
9530 2003-03-09  Angus Leeming  <leeming@lyx.org>
9531
9532         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9533         than Dialogs::showAboutlyx().
9534
9535 2003-03-09  Angus Leeming  <leeming@lyx.org>
9536
9537         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9538         than Dialogs::showTabularCreate().
9539
9540 2003-03-09  John Levon  <levon@movementarian.org>
9541
9542         * lyxtext.h:
9543         * text.C:
9544         * text2.C: 3rd arg to nextBreakPoint was always the same.
9545           Use references.
9546
9547 2003-03-08  John Levon  <levon@movementarian.org>
9548
9549         * lyxrow.C:
9550         * paragraph.C:
9551         * paragraph.h:
9552         * rowpainter.C:
9553         * text.C:
9554         * text2.C: Remove the "main" bit from the "main body"
9555           notion.
9556
9557 2003-03-08  John Levon  <levon@movementarian.org>
9558
9559         * text.C (leftMargin): The left margin of an empty
9560         manual label paragraph should not include the label width
9561         string length.
9562
9563         * text.C (prepareToPrint): don't attempt to measure hfills
9564         for empty manual label paragraphs - the answer should be 0
9565
9566 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9567
9568         * CutAndPaste.C: remove commented code and reindent.
9569
9570 2003-03-08  John Levon  <levon@movementarian.org>
9571
9572         * lyxfunc.h:
9573         * lyxfunc.C: move reloadBuffer()
9574
9575         * BufferView.h:
9576         * BufferView.C: to here
9577
9578         * lyxvc.C: add comment
9579
9580         * vc-backend.h:
9581         * vc-backend.C: call bv->reload() to avoid
9582           getStatus() check on MENURELOAD
9583
9584 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9585
9586         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9587         to an old format .dep file.
9588
9589 2003-03-07  Angus Leeming  <leeming@lyx.org>
9590
9591         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9592         when the LFUN_MOUSE_RELEASE should have been handled by
9593         inset->localDispatch.
9594
9595 2003-03-07  Angus Leeming  <leeming@lyx.org>
9596
9597         * BufferView_pimpl.C (dispatch):
9598         * LyXAction.C (init):
9599         * ToolbarDefaults.C (init):
9600         * commandtags.h:
9601         * lyxfunc.C (getStatus):
9602         remove LFUN_INSET_GRAPHICS.
9603
9604         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9605
9606 2003-03-07  Angus Leeming  <leeming@lyx.org>
9607
9608         * commandtags.h:
9609         * LyXAction.C (init):
9610         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9611
9612         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9613
9614         * commandtags.h:
9615         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9616
9617         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9618         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9619
9620 2003-03-07  Angus Leeming  <leeming@lyx.org>
9621
9622         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9623         remove "ert".
9624
9625 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9626
9627         * ParagraphList.C (front): new function
9628         (back): implement
9629
9630 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9631
9632         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9633         and top_row_offset_. removed var first_y.
9634         * text.C (top_y):
9635         * text2.C (LyXText, removeRow):
9636         * text3.C:
9637         * BufferView_pimpl.C:
9638         use these methods instead of using first_y
9639
9640 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9641
9642         * text2.C (pasteSelection): adjust for checkPastePossible
9643
9644         * CutAndPaste.C: remove Paragraph * buf and replace with
9645         ParagraphList paragraphs.
9646         (DeleteBuffer): delete
9647         (cutSelection): change the tc type to textclass_type
9648         (copySelection): change the tc type to textclass_type
9649         (copySelection): adjust for ParagraphList
9650         (pasteSelection): change the tc type to textclass_type
9651         (pasteSelection): adjust for Paragraphlist
9652         (nrOfParagraphs): simplify for ParagraphList
9653         (checkPastePossible): simplify for ParagraphList
9654         (checkPastePossible): remove unused arg
9655
9656         * ParagraphList.C (insert): handle the case where there are no
9657         paragraphs yet.
9658
9659         * CutAndPaste.h: make CutAndPaste a namespace.
9660
9661         * text3.C (dispatch): adjust
9662
9663         * text.C (breakParagraph): add a ParagraphList as arg
9664
9665         * paragraph_funcs.C (breakParagraph): change to take a
9666         BufferParams and a ParagraphList as args.
9667         (breakParagraphConservative): ditto
9668         (mergeParagraph): ditto
9669         (TeXDeeper): add a ParagraphList arg
9670         (TeXEnvironment): ditto
9671         (TeXOnePar): ditto
9672
9673         * buffer.C (readLyXformat2): adjust
9674         (insertStringAsLines): adjust
9675         (latexParagraphs): adjust
9676
9677         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9678         (cutSelection): adjust
9679         (pasteSelection): adjust
9680
9681         * BufferView_pimpl.C (insertInset): adjust
9682
9683 2003-03-05  Angus Leeming  <leeming@lyx.org>
9684
9685         * commandtags.h:
9686         * LyXAction.C (init):
9687         * BufferView_pimpl.C (dispatch):
9688         * lyxfunc.C (getStatus):
9689         remove LFUN_CHILD_INSERT.
9690
9691         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9692
9693 2003-03-05  Angus Leeming  <leeming@lyx.org>
9694
9695         * commandtags.h:
9696         * LyXAction.C (init):
9697         * src/factory.C (createInset):
9698         * lyxfunc.C (getStatus):
9699         * text3.C (dispatch):
9700         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9701
9702         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9703
9704 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9705
9706         * ParagraphList.C (insert): handle insert right before end()
9707         (erase): fix cases where it can be first or last paragraph.
9708
9709 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9710
9711         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9712         Paragraph::next and Paragraph::previous
9713         (TeXOnePar): ditto
9714
9715         * text.C (breakParagraph): adjust
9716
9717         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9718         BufferParams& as arg.
9719         (breakParagraph): use ParagraphList::insert
9720         (breakParagraphConservative): take a Buffer* instead of a
9721         BufferParams& as arg.
9722         (breakParagraphConservative): use ParagraphList::insert.
9723
9724         * buffer.C (insertStringAsLines): un-const it
9725         (insertStringAsLines): adjust
9726
9727         * ParagraphList.C (insert): new function
9728
9729         * CutAndPaste.C (pasteSelection): adjust
9730
9731         * text.C (backspace): adjust
9732
9733         * tabular.C (SetMultiColumn): adjust
9734
9735         * CutAndPaste.C (cutSelection): adjust
9736         (pasteSelection): adjust
9737
9738         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9739         Buffer const * as arg
9740
9741         * ParagraphList.C (erase): new function
9742         * paragraph_funcs.C (mergeParagraph): use it
9743         (mergeParagraph): make it take a Buffer* instead of a
9744         BufferParams* as arg
9745
9746         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9747         as arg
9748         (breakParagraphConservative): ditto
9749
9750         * paragraph.h: remove the breakParagraph friend
9751
9752         * paragraph.C (eraseIntern): new function
9753         (setChange): new function
9754
9755         * paragraph_funcs.C (mergeParagraph): make it take a
9756         ParagraphList::iterator instead of a Paragraph *, adjust
9757         accordingly.
9758
9759         * paragraph.h: move an #endif so that the change tracking stuff
9760         also works in the NO_NEXT case.
9761
9762 2003-03-04  Angus Leeming  <leeming@lyx.org>
9763
9764         * commandtags.h:
9765         * LyXAction.C: new LFUN_INSET_MODIFY.
9766
9767         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9768         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9769
9770 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9771
9772         * several files: ws changes only
9773
9774         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9775         (TeXEnvironment): ditto
9776         (TeXDeeper): ditto
9777
9778         * buffer.C (makeLaTeXFile): adjust
9779         (latexParagraphs): make it take ParagraphList::iterator as args
9780
9781 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9782
9783         * buffer.C (latexParagraphs): adjust
9784
9785         * paragraph.C (TeXOnePar): move function...
9786         (optArgInset): move function...
9787         (TeXEnvironment): move function...
9788         * paragraph_pimpl.C (TeXDeeper): move function...
9789         * paragraph_funcs.C: ...here
9790
9791         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9792
9793 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9794
9795         * buffer.C (readInset): remove compability code for old Figure and
9796         InsetInfo insets
9797
9798 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9799
9800         * buffer.C: ws changes
9801         (readInset):
9802
9803         * BufferView_pimpl.C: ditto
9804         * author.C: ditto
9805         * buffer.h: ditto
9806         * bufferlist.h: ditto
9807         * changes.h: ditto
9808         * lyxfunc.C: ditto
9809
9810 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9811
9812         * converter.[Ch]: split into itself +
9813         * graph.[Ch]
9814         * format.[Ch]
9815         * Makefile.am: += graph.[Ch] + format.[Ch]
9816         * MenuBackend.C
9817         * buffer.C
9818         * exporter.C
9819         * importer.C
9820         * lyx_main.C
9821         * lyxfunc.C
9822         * lyxrc.C: added #include "format.h"
9823
9824 2003-02-27  Angus Leeming  <leeming@lyx.org>
9825
9826         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9827           a label.
9828
9829         * factory.C (createInset): add "label" to the factory.
9830
9831         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9832           string and do no more.
9833
9834 2003-02-27  Angus Leeming  <leeming@lyx.org>
9835
9836         * commandtags.h:
9837         * LyXAction.C (init):
9838         * factory.C (createInset):
9839         * BufferView_pimpl.C (dispatch):
9840           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9841
9842         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9843
9844         * lyxfunc.C (dispatch):
9845         * text3.C (dispatch): pass name to params2string.
9846
9847 2003-02-26  Angus Leeming  <leeming@lyx.org>
9848
9849         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9850           blocks together.
9851           Rearrange the ~includes. Strip out the unnecessary ones.
9852
9853         * factory.C (createInset): reformat.
9854           create new insets for the various LFUN_XYZ_APPLY lfuns.
9855
9856 2003-02-26  John Levon  <levon@movementarian.org>
9857
9858         * lyxrow.h:
9859         * lyxrow.C: add isParStart,isParEnd helpers
9860
9861         * paragraph.h: make isInserted/DeletedText take refs
9862
9863         * paragraph_funcs.h:
9864         * paragraph_funcs.C: remove #if 0'd code
9865
9866         * lyxtext.h:
9867         * text3.C:
9868         * text2.C:
9869         * text.C: use lyxrow helpers above.
9870           Move draw and paint routines to RowPainter.
9871           Make several methods use refs not pointers.
9872           Make backgroundColor() const.
9873           Add markChangeInDraw(), isInInset().
9874           Merge changeRegionCase into changeCase.
9875           Make workWidth() shouldn't-happen code into an Assert.
9876
9877         * rowpainter.h:
9878         * rowpainter.C: new class for painting a row.
9879
9880         * vspace.h:
9881         * vspace.C: make inPixels take a ref
9882
9883 2003-02-26  Angus Leeming  <leeming@lyx.org>
9884
9885         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9886         LFUN_REF_APPLY.
9887
9888 2003-02-25  John Levon  <levon@movementarian.org>
9889
9890         * ispell.C: give the forked command a more accurate name
9891
9892 2003-02-22  John Levon  <levon@movementarian.org>
9893
9894         * toc.h:
9895         * toc.C: make TocItem store an id not a Paragraph *
9896           (bug #913)
9897
9898 2003-02-21  Angus Leeming  <leeming@lyx.org>
9899
9900         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9901           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9902           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9903           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9904           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9905           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9906
9907         * BufferView_pimpl.C (dispatch):
9908         * LyXAction.C (init):
9909         * factory.C (createInset):
9910         * lyxfunc.C (getStatus, dispatch):
9911         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9912
9913 2003-02-21  Angus Leeming  <leeming@lyx.org>
9914
9915         * BufferView_pimpl.C (MenuInsertLyXFile):
9916         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9917         * lyxfunc.C (menuNew, open, doImport):
9918           no longer pass a LyXView & to fileDlg.
9919
9920 2003-02-21  Angus Leeming  <leeming@lyx.org>
9921
9922         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9923         * LyXAction.C: change, BIBKEY to BIBITEM.
9924         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9925         Change InsetBibKey to InsetBibitem.
9926         Change BIBKEY_CODE to BIBITEM_CODE.
9927         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9928         * factory.C: replace insetbib.h with insetbibitem.h.
9929         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9930         * paragraph.C: replace insetbib.h with insetbibitem.h.
9931         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9932         Change bibkey() to bibitem().
9933         * text.C: remove insetbib.h.
9934         * text2.C: replace insetbib.h with insetbibitem.h.
9935         change bibkey() to bibitem().
9936         * text3.C: remove insetbib.h.
9937         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9938
9939 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9940
9941         * lyxrc.C (output): enclose user email in quotes (in case there are
9942         several words)
9943
9944 2003-02-18  John Levon  <levon@movementarian.org>
9945
9946         * buffer.h: add std::
9947
9948 2003-02-17  John Levon  <levon@movementarian.org>
9949
9950         * SpellBase.h:
9951         * ispell.h:
9952         * ispell.C:
9953         * pspell.h:
9954         * pspell.C: reworking. Especially in ispell, a large
9955           number of clean ups and bug fixes.
9956
9957         * lyxfunc.C: fix revert to behave sensibly
9958
9959 2003-02-17 André Pönitz <poenitz@gmx.net>
9960
9961         * LyXAction.C:
9962         * commandtags.h: new LFUN_INSERT_BIBKEY
9963
9964         * layout.h:
9965         * lyxlayout.C:
9966         * buffer.C:
9967         * factory.C:
9968         * text.C:
9969         * text2.C:
9970         * text3.C:
9971         * paragraph.[Ch]:
9972         * paragraph_func.C: remove special bibkey handling
9973
9974 2003-02-17  John Levon  <levon@movementarian.org>
9975
9976         * text.C (Delete): fix case where delete at the end of
9977           the very first paragraph would not merge the pars
9978
9979 2003-02-17  John Levon  <levon@movementarian.org>
9980
9981         * lyxrow.C: fix lastPrintablePos()
9982
9983 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9984
9985         * bufferparams.C (writeLaTeX): add a std:here
9986
9987         * buffer.C: and remove a using directive there
9988
9989 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9990
9991         * buffer.C (makeLaTeXFile): move the code that generates the
9992           preamble...
9993
9994         * bufferparams.C (writeLaTeX): ... in this new method
9995
9996         * LaTeXFeatures.C (getEncodingSet): make const
9997           (getLanguages): make const
9998
9999         * MenuBackend.C (binding): returns the binding associated to this
10000           action
10001           (add): sets the status of each item by calling getStatus. Adds
10002           some intelligence.
10003           (read): add support for OptSubMenu
10004           (expand): remove extra separator at the end of expanded menu
10005
10006 2003-02-15  John Levon  <levon@movementarian.org>
10007
10008         * BufferView.C:
10009         * BufferView_pimpl.C:
10010         * bufferlist.h:
10011         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10012           inset code that had no actual effect. Remove unneeded status
10013           code.
10014
10015 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10016
10017         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10018           in preamble
10019
10020 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10021
10022         * text.C (drawLengthMarker): also draw an arrow marker for
10023           symbolic lengths (medskip...)
10024
10025 2003-02-14  John Levon  <levon@movementarian.org>
10026
10027         * tabular.h:
10028         * tabular.C: better method names
10029
10030 2003-02-14  John Levon  <levon@movementarian.org>
10031
10032         * BufferView_pimpl.C:
10033         * bufferlist.C:
10034         * buffer.C:
10035         * converter.C:
10036         * lyx_cb.C:
10037         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10038           it's a more accurate name. Remove some pointless uses.
10039
10040 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10041
10042         * text2.C (LyXText): change order of initilizers to shut off
10043           warnings
10044
10045 2003-02-14  John Levon  <levon@movementarian.org>
10046
10047         * buffer.C: use ParIterator for getParFromID()
10048
10049         * paragraph.h:
10050         * paragraph.C:
10051         * paragraph_pimpl.h:
10052         * paragraph_pimpl.C: remove unused getParFromID()
10053
10054 2003-02-14  John Levon  <levon@movementarian.org>
10055
10056         * buffer.C: remove some very old #if 0'd parse code
10057
10058 2003-02-13  John Levon  <levon@movementarian.org>
10059
10060         * text.h:
10061         * text.C:
10062         * text2.C: move hfillExpansion(), numberOfSeparators(),
10063           rowLast(), rowLastPrintable(), numberofHfills(),
10064           numberOfLabelHfills() ...
10065
10066         * lyxrow.h:
10067         * lyxrow.C: ... to member functions here.
10068
10069         * paragraph.h:
10070         * paragraph.C:
10071         * lyxtext.h:
10072         * text.C: remove LyXText::beginningOfMainBody(), and call
10073           p->beginningOfMainBody() directly. Move the check for
10074           LABEL_MANUAL into the latter.
10075
10076         * text.h:
10077         * text.C:
10078         * text2.C:
10079         * vspace.C:
10080         * BufferView.h:
10081         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10082
10083         * text.h:
10084         * text.C:
10085         * text2.C:
10086         * text3.C:
10087         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10088           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10089
10090 2003-02-13  John Levon  <levon@movementarian.org>
10091
10092         * CutAndPaste.C: remove debug
10093
10094 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10095
10096         * paragraph.C (asString): remove two unused variables
10097
10098         * lyxtextclass.C (readTitleType):
10099           (Read):
10100           (LyXTextClass): handle new members titletype_ and titlename_
10101
10102         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10103
10104 2003-02-09  John Levon  <levon@movementarian.org>
10105
10106         * buffer.h:
10107         * buffer.C: replace hand-coded list with a map for the dep clean
10108
10109 2003-02-08  John Levon  <levon@movementarian.org>
10110
10111         * LaTeX.C: consolidate code into showRunMessage() helper
10112
10113 2003-02-08  John Levon  <levon@movementarian.org>
10114
10115         * lyxfind.C:
10116         * lyxtext.h:
10117         * text2.C:
10118         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10119           and pass the size in explicitly
10120
10121         * BufferView_pimpl.h:
10122         * BufferView_pimpl.C:
10123         * BufferView.h:
10124         * BufferView.C: add getCurrentChange()
10125
10126         * BufferView_pimpl.h:
10127         * BufferView_pimpl.C: handle change lfuns
10128
10129         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10130           for changes. Mark pasted paragraphs as new.
10131
10132         * support/lyxtime.h:
10133         * support/lyxtime.C:
10134         * DepTable.C: abstract time_t as lyx::time_type
10135
10136         * LColor.h:
10137         * LColor.C: add colours for new text, deleted text, changebars
10138
10139         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10140           package use "usenames" option.
10141
10142         * commandtags.h:
10143         * lyxfunc.C:
10144         * LyXAction.C: add change lfuns
10145
10146         * Makefile.am:
10147         * author.h:
10148         * author.C: author handling
10149
10150         * buffer.h:
10151         * buffer.C: add a per-buffer author list, with first entry as
10152           current author. Handle new .lyx tokens for change tracking. Output
10153           author list to .lyx file. Output dvipost stuff to .tex preamble.
10154           Bump lyx format to 222.
10155
10156         * bufferlist.h:
10157         * bufferlist.C: add setCurrentAuthor() to reset current author details
10158           in all buffers.
10159
10160         * bufferparams.h:
10161         * bufferparams.C: add param for tracking
10162
10163         * bufferview_funcs.C: output change info in minibuffer
10164
10165         * Makefile.am:
10166         * changes.h:
10167         * changes.C: add change-tracking structure
10168
10169         * debug.h:
10170         * debug.C: add CHANGES debug flag
10171
10172         * lyxfind.h:
10173         * lyxfind.C: add code for finding the next change piece
10174
10175         * lyxrc.h:
10176         * lyxrc.C: add user_name and user_email
10177
10178         * lyxrow.h:
10179         * lyxrow.C: add a metric for the top of the text line
10180
10181         * lyxtext.h:
10182         * text.C: implement accept/rejectChange()
10183
10184         * lyxtext.h:
10185         * text.C: paint changebars. Paint new/deleted text in the chosen
10186         colours. Strike through deleted text.
10187
10188         * paragraph.h:
10189         * paragraph.C:
10190         * paragraph_pimpl.h:
10191         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10192           in the current change to the insert functions. Rework erase to
10193           mark text as deleted, adding an eraseIntern() and a range-based
10194           erase(). Implement per-paragraph change lookup and
10195           accept/reject.
10196
10197         * paragraph_funcs.C: Fixup paste for change tracking.
10198
10199         * tabular.C: mark added row/columns as new.
10200
10201         * text.C: fix rowLast() to never return -1. Don't allow
10202           spellchecking of deleted text. Track transpose changes. Don't
10203           allow paragraph break or merge where appropriate.
10204
10205         * text2.C: leave cursor at end of selection after a cut.
10206
10207 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10208
10209         * text.C (getLengthMarkerHeight):
10210         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10211         visible on screen too.
10212
10213 2003-02-07  John Levon  <levon@movementarian.org>
10214
10215         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10216
10217 2003-02-05  Angus Leeming  <leeming@lyx.org>
10218
10219         * lyxserver.C (read_ready): revert my patch of 11 September last year
10220         as it sends PC cpu through the roof. Presumably this means that
10221         the lyxserver will no longer run on an Alpha...
10222
10223 2003-01-30  Angus Leeming  <leeming@lyx.org>
10224
10225         * factory.C (createInset): create an InsetCommandParam of type "index"
10226         and use it to 'do the right thing'.
10227
10228         * text2.C (getStringToIndex): ensure that cursor position is always
10229         reset to the reset_cursor position.
10230
10231 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10232
10233         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10234         disabled.
10235
10236 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10237
10238         * bufferview.C:
10239         * lyxcb.C:
10240         * lyxfunc.C: Output messages with identical spelling, punctuation,
10241         and spaces
10242
10243 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10244
10245         * MenuBackend.C (expandFormats): List only viewable export formats
10246         in "View" menu
10247
10248         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10249         message
10250
10251         * lyxfunc.C (getStatus): Make sure that formats other than
10252         "fax" can also be disabled
10253
10254 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10255
10256         * text3.C (dispatch): put the lfuns that insert insets in 3
10257         groups, and call doInsertInset with appropriate arguments.
10258         (doInsertInset): new function, that creates an inset and inserts
10259         it according to some boolean parameters.
10260
10261 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10262
10263         * buffer.C (readFile): remember to pass on 'par' when calling
10264         readFile recursively.
10265
10266 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10267
10268         * MenuBackend.C (expandFormats): add "..." to import formats.
10269
10270 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10271
10272         * paragraph.C (asString): Remove XForms RTL hacks.
10273
10274 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10275         * buffer.C: fix typo
10276
10277 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10278
10279         * Makefile.am (LIBS): delete var
10280         (lyx_LDADD): add @LIBS@ here instead.
10281
10282 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10283
10284         * Clarify the meaning of "wheel mouse jump"
10285
10286 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10287
10288         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10289         tabular in a float
10290
10291 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10292
10293         * importer.C (Loaders): do not preallocate 3 elements in the
10294         vector, since one ends up with 6 elements otherwise
10295
10296 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * DepTable.C (write): write the file name as last element of the
10299         .dep file (because it may contain spaces)
10300         (read): read info in the right order
10301
10302 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10303
10304         * paragraph_pimpl.C (simpleTeXBlanks):
10305         (simpleTeXSpecialChars):
10306         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10307
10308         * tabular.C (latex): add some missing case statements. Reindent.
10309
10310         * MenuBackend.C (expandToc): remove unused variable.
10311
10312 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10313
10314         * LColor.C:
10315         * LaTeX.C:
10316         * LyXAction.C:
10317         * MenuBackend.C:
10318         * buffer.C:
10319         * exporter.C:
10320         * lyxfunc.C:
10321         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10322         and the like.
10323
10324 2003-01-05  John Levon  <levon@movementarian.org>
10325
10326         * BufferView.h:
10327         * BufferView.C: add getEncoding()
10328
10329         * kbsequence.h:
10330         * kbsequence.C: do not store last keypress
10331
10332         * lyxfunc.h:
10333         * lyxfunc.C: store last keypress here instead. Pass encoding
10334           to getISOEncoded()
10335
10336 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10337
10338         * lyx_main.C (init): remove annoying error message when following
10339         symbolic links (bug #780)
10340
10341 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10342
10343         * text.C (insertChar):
10344         * lyxrc.C (getDescription): remove extra spaces
10345
10346 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10347
10348         * lyxrc.C (getDescription): remove extra spaces
10349
10350 2002-12-20  John Levon  <levon@movementarian.org>
10351
10352         * text3.C: hack fix for page up/down across tall rows
10353
10354 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10355
10356         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10357         not been invoked
10358
10359 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10360
10361         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10362         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10363         thesaurus is not compiled in
10364
10365 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10366
10367         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10368
10369 2002-12-16  Angus Leeming  <leeming@lyx.org>
10370
10371         * lyxrc.[Ch]:
10372         * lyx_main.C (init): remove override_x_deadkeys stuff.
10373
10374 2002-12-12  John Levon  <levon@movementarian.org>
10375
10376         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10377           insert. Only remove shift modifier under strict
10378           circumstances.
10379
10380 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10381
10382         * MenuBackend.C (expandToc): fix crash.
10383
10384 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10385
10386         * MenuBackend.C (expandToc): gettext on float names.
10387
10388 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10389
10390         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10391         implement bool empty() [bug 490]
10392
10393 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10394
10395         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10396
10397 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10398
10399         * several files: ws changes
10400
10401 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10402
10403         * text2.C (setCounter): clean up a bit, use boost.format.
10404         (updateCounters): initialize par upon declaration.
10405
10406         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10407         if the layout exists. We do not just store the layout any more.
10408         (SwitchLayoutsBetweenClasses): use boost.format
10409
10410 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10411
10412         * converter.C (convert): if from and to files are the same, use a
10413         temporary files as intermediary
10414
10415 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10416
10417         * commandtags.h:
10418         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10419
10420 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10421
10422         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10423
10424 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10425
10426         * tabular.C (asciiPrintCell): use string(size, char) instead of
10427         explicit loop.
10428
10429         * sgml.C (openTag): fix order of arguments to string constructor
10430         (closeTag): ditto
10431
10432         * lyxfunc.C (dispatch): use boost.format
10433
10434         * lots of files: change "c" -> 'c'
10435
10436 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10437
10438         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10439
10440 2002-11-25  Angus Leeming  <leeming@lyx.org>
10441
10442         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10443
10444         * lyx_main.C (init): compile fix.
10445
10446 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10447
10448         * lyx_cb.C (start): boost.formatify
10449         do not include <iostream>
10450
10451         * lengthcommon.C: ws only
10452
10453         * boost-inst.C,BoostFormat.h: add more explict instantations
10454
10455 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10456
10457         * lots of files: handle USE_BOOST_FORMAT
10458
10459 2002-11-21  John Levon  <levon@movementarian.org>
10460
10461         * pspell.C: fix compile
10462
10463 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10464
10465         * lyxfunc.C (dispatch): use boost::format
10466         (open): ditto
10467         (doImport): ditto
10468
10469         * lyxfont.C (stateText): use boost::format
10470
10471         * lyx_main.C (LyX): use boost::format
10472         (init): ditto
10473         (queryUserLyXDir): ditto
10474         (readRcFile): ditto
10475         (parse_dbg): ditto
10476         (typedef boost::function): use the recommened syntax.
10477
10478         * importer.C (Import): use boost::format
10479
10480         * debug.C (showLevel): use boost::format
10481
10482         * converter.C (view): use boost::format
10483         (convert): ditto
10484         (move): ditto
10485         (scanLog): ditto
10486
10487         * bufferview_funcs.C (currentState): use boost::format
10488
10489         * bufferlist.C (emergencyWrite): use boost::format
10490
10491         * buffer.C (readLyXformat2): use boost::format
10492         (parseSingleLyXformat2Token): ditto
10493
10494         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10495
10496         * LaTeX.C (run): use boost::format
10497
10498         * Chktex.C (scanLogFile): use boost::format
10499
10500         * BufferView_pimpl.C (savePosition): use boost::format
10501         (restorePosition): ditto
10502         (MenuInsertLyXFile): ditto
10503
10504         * BoostFormat.h: help file for explicit instation.
10505
10506 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10507
10508         * tabular.C (latex): Support for block alignment in fixed width
10509         columns.
10510
10511 2002-11-17  John Levon  <levon@movementarian.org>
10512
10513         * BufferView_pimpl.C:
10514         * lyx_cb.C:
10515         * lyxfunc.C: split filedialog into open/save
10516
10517 2002-11-08  Juergen Vigna  <jug@sad.it>
10518
10519         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10520         by my last patch (hopefully).
10521
10522 2002-11-08  John Levon  <levon@movementarian.org>
10523
10524         * iterators.h:
10525         * iterators.C:
10526         * buffer.h:
10527         * buffer.C:
10528         * paragraph.h:
10529         * paragraph.C:
10530         * toc.h:
10531         * toc.C: ParConstIterator, and use it (from Lars)
10532
10533 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10534
10535         * lyxtextclass.[Ch]: revise and add doxygen comments
10536
10537 2002-11-07  John Levon  <levon@movementarian.org>
10538
10539         * text.C: fix progress value for spellchecker
10540
10541         * toc.C: fix navigate menu for insetwrap inside minipage
10542
10543         * paragraph_funcs.C: added FIXME for suspect code
10544
10545 2002-11-07  John Levon  <levon@movementarian.org>
10546
10547         * BufferView_pimpl.C: fix redrawing of insets
10548           on buffer switch
10549
10550 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10551
10552         * text2.C (updateCounters): fix bug 668
10553
10554 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10555
10556         * text3.C (dispatch): Do not make the buffer dirty when moving the
10557         cursor.
10558
10559 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10560
10561         * vc-backend.C: STRCONV
10562         (scanMaster): ditto
10563
10564         * text2.C (setCounter): STRCONV
10565
10566         * paragraph.C (asString): STRCONV
10567
10568         * lyxlength.C (asString): STRCONV
10569         (asLatexString): ditto
10570
10571         * lyxgluelength.C (asString): STRCONV
10572         (asLatexString): ditto
10573
10574         * lyxfunc.C (dispatch): STRCONV
10575         (open): ditto
10576
10577         * lyxfont.C (stateText): STRCONV
10578
10579         * importer.C (Import): STRCONV
10580
10581         * counters.C (labelItem): STRCONV
10582         (numberLabel): ditto
10583         (numberLabel): remove unused ostringstream o
10584
10585         * chset.C: STRCONV
10586         (loadFile): ditto
10587
10588         * bufferview_funcs.C (currentState): STRCONV
10589
10590         * buffer.C (readFile): STRCONV
10591         (asciiParagraph): ditto
10592         (makeLaTeXFile): ditto
10593
10594         * Spacing.C (writeEnvirBegin): STRCONV
10595
10596         * LaTeXFeatures.C (getLanguages): STRCONV
10597         (getPackages): ditto
10598         (getMacros): ditto
10599         (getBabelOptions): ditto
10600         (getTClassPreamble): ditto
10601         (getLyXSGMLEntities): ditto
10602         (getIncludedFiles): ditto
10603
10604         * LaTeX.C: STRCONV
10605         (run): ditto
10606         (scanAuxFile): ditto
10607         (deplog): ditto
10608
10609         * LString.h: add the STRCONV macros
10610
10611         * BufferView_pimpl.C (savePosition): STRCONV
10612         (restorePosition): ditto
10613         (MenuInsertLyXFile): ditto
10614
10615         * vc-backend.C (scanMaster): change from submatch[...] to
10616         submatch.str(...)
10617
10618         * funcrequest.C: include config.h
10619
10620         * factory.C: include config.h
10621
10622         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10623
10624         * box.C: include config.h
10625
10626         * LaTeX.C (scanAuxFile): change from submatch[...] to
10627         submatch.str(...)
10628         (deplog): ditto
10629
10630 2002-10-25  Angus Leeming  <leeming@lyx.org>
10631
10632         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10633
10634         * ispell.[Ch] (setError): new method.
10635         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10636         Use setError() insetead of goto END.
10637
10638         * lyx_cb.C (AutoSave): move out child process into new class
10639         AutoSaveBuffer.
10640
10641 2002-10-30  John Levon  <levon@movementarian.org>
10642
10643         * text3.C: make start appendix undoable
10644
10645 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10646
10647         * lyxlength.C (inPixels): Fix returned value.
10648
10649         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10650         environment.
10651
10652 2002-10-24  Angus Leeming  <leeming@lyx.org>
10653
10654         * lyxgluelength.h: no need to forward declare BufferParams
10655         or BufferView, so don't.
10656
10657 2002-10-21  John Levon  <levon@movementarian.org>
10658
10659         * BufferView.C: menuUndo ->undo, redo
10660
10661         * BufferView.h: document, remove dead, make some methods private
10662
10663         * paragraph_funcs.h:
10664         * paragraph_funcs.C:
10665         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10666
10667         * buffer.h:
10668         * buffer.C:
10669         * sgml.h:
10670         * sgml.C: move sgml open/close tag into sgml.C
10671
10672         * bufferview_funcs.h: unused prototype
10673
10674         * lyxfunc.h:
10675         * lyxfunc.C: remove unused
10676
10677         * lyxtext.h:
10678         * text.C: remove unused
10679
10680 2002-10-21  John Levon  <levon@movementarian.org>
10681
10682         * BufferView.h:
10683         * BufferView.C:
10684         * BufferView_pimpl.h:
10685         * BufferView_pimpl.C: fix mouse wheel handling based on
10686           patch from Darren Freeman
10687
10688 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10691
10692 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10693
10694         * lyxlength.C (inPixels): Fix hanfling of negative length.
10695         Fix LyXLength::MU case.
10696
10697 2002-10-16  John Levon  <levon@movementarian.org>
10698
10699         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10700
10701 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10702
10703         * converter.C (view): add support for $$i (file name) and $$p
10704         (file path) for the viewer command. If $$i is not specified, then
10705         it is appended to the command (for compatibility with old syntax)
10706
10707 2002-10-14  Juergen Vigna  <jug@sad.it>
10708
10709         * undo_funcs.C (textHandleUndo): alter the order in which the
10710         new undopar is added to the LyXText, as we have to set first
10711         the right prev/next and then add it as otherwise the rebuild of
10712         LyXText is not correct. Also reset the cursor to the right paragraph,
10713         with this IMO we could remove the hack in "redoParagraphs()".
10714
10715 2002-10-09  Angus Leeming  <leeming@lyx.org>
10716
10717         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10718         to turn off an optimisation if a new inset is to be inserted.
10719
10720 2002-10-11 André Pönitz <poenitz@gmx.net>
10721
10722         * lyxtext.h: make some functions public to allow access
10723         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10724
10725 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10726
10727         * text3.C (dispatch): when changing layout, avoid an infinite loop
10728         [bug #652]
10729
10730 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10731
10732         * lyxrc.C (read): treat a viewer or converter command of "none" as
10733         if it were empty.
10734
10735         * MenuBackend.C (expandFormats): for an update, also allow the
10736         formats that are not viewable
10737
10738         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10739         script if it is newer than the lyxrc.defaults in user directory
10740
10741 2002-10-07 André Pönitz <poenitz@gmx.net>
10742
10743         * text.C: Vitaly Lipatov's small i18n fix
10744
10745 2002-09-25  Angus Leeming  <leeming@lyx.org>
10746
10747         * ispell.h: doxygen fix.
10748
10749 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10750
10751         * buffer.h (readFile): Add a new argument to the method, to allow
10752         reading of old-format templates.
10753
10754 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10755
10756         * toc.C (getTocList): Get TOC from InsetWrap.
10757
10758 2002-09-16  John Levon  <levon@movementarian.org>
10759
10760         * lyxfunc.C: check tabular for cut/copy too
10761
10762 2002-09-12  John Levon  <levon@movementarian.org>
10763
10764         * LyXAction.C: tidy
10765
10766         * factory.h:
10767         * factory.C: add header
10768
10769         * paragraph_funcs.h:
10770         * paragraph_funcs.C: cleanup
10771
10772 2002-09-11  John Levon  <levon@movementarian.org>
10773
10774         * PrinterParams.h: odd/even default to true
10775
10776 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10777
10778         * PrinterParams.h: update printer parameters for new xforms dialog
10779
10780 2002-09-11  Angus Leeming  <leeming@lyx.org>
10781
10782         * lyxserver.C (read_ready): re-write to make it more transparent
10783         and to make it work in coherent fashion under Tru64 Unix.
10784
10785 2002-09-11  André Pönitz <poenitz@gmx.net>
10786
10787         * commandtags.h:
10788         * LyXAction.C:
10789         * text3.C: implement LFUN_WORDSEL
10790
10791 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10792
10793         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10794         make floatlist_ a boost::shared_ptr<FloatList>
10795
10796         * lyxtextclass.C: include FloatList.h
10797         (LyXTextClass): initialize floatlist_
10798         (TextClassTags): add TC_NOFLOAT
10799         (Read): match "nofloat" to TC_NOFLOAT and use it.
10800         (readFloat): modify call to floatlist_
10801         (floats): ditto
10802         (floats): ditto
10803
10804         * FloatList.[Ch] (FloatList): remove commented out float
10805         initialization.
10806         (erase): new function
10807
10808 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10809
10810         * MenuBackend.C (expandToc): fix crash when there is no document
10811         open
10812
10813 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10814
10815         * many files: Add insetwrap.
10816
10817 2002-09-09  John Levon  <levon@movementarian.org>
10818
10819         * text2.C: remove confusing and awkward depth wraparound
10820
10821 2002-09-09  John Levon  <levon@movementarian.org>
10822
10823         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10824
10825         * buffer.h:
10826         * buffer.C: remove getIncludeonlyList()
10827
10828         * paragraph.C:
10829         * lyxfunc.C: remove headers
10830
10831 2002-09-09  Juergen Vigna  <jug@sad.it>
10832
10833         * text.C (getColumnNearX): fix form Michael this is most
10834         probably a cut&paste bug.
10835
10836 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10837
10838         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10839
10840         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10841         references, ws changes.
10842
10843         * text2.C (init): update counters after init
10844         (insertParagraph): no need to set counter on idividual paragraphs.
10845         (setCounter): access the counters object in the textclass object
10846         on in the buffer object.
10847         (updateCounters): ditto
10848
10849         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10850         shared_ptr<Counters> to avoid loading counters.h in all
10851         compilation units.
10852         (LyXTextClass): initialize ctrs_
10853         (TextClassTags): add TC_COUNTER, and ...
10854         (Read): use it here.
10855         (CounterTags): new tags
10856         (readCounter): new function
10857         (counters): new funtion
10858         (defaultLayoutName): return a const reference
10859
10860         * counters.C (Counters): remove contructor
10861         (newCounter): remove a couple of unneeded statements.
10862         (newCounter): simplify a bit.
10863         (numberLabel): some small formatting changes.
10864
10865         * buffer.[Ch]: remove all traces of counters, move the Counters
10866         object to the LyXTextClass.
10867
10868 2002-09-06  Alain Castera  <castera@in2p3.fr>
10869
10870         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10871         package to set the horizontal alignment on fixed width columns.
10872
10873         * lyx_sty.C:
10874         * lyx_sty.h: added tabularnewline macro def.
10875
10876         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10877
10878 2002-09-06  John Levon  <levon@movementarian.org>
10879
10880         * LyXAction.C: tooltips for sub/superscript
10881
10882         * MenuBackend.C: a bit more verbose
10883
10884         * lyxfunc.C: tiny clean
10885
10886         * undo_funcs.C: document undo_frozen
10887
10888 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10889
10890         * counters.C (Counters): add missing algorithm counter.
10891
10892         * text2.C (setCounter): lookup the counter with layouts latexname
10893         instead of by section number.
10894         (setCounter): use a hackish way to lookup the correct enum
10895         counter.
10896         a float name->type change
10897         reset enum couners with counter name directly instead of depth value.
10898
10899         * counters.C (Counters): remove the push_backs, change to use the
10900         float type not the float name.
10901         (labelItem): remove unused string, float name->type change
10902
10903         * counters.h: don't include vector, loose the enums and sects vectors
10904
10905 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10906
10907         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10908         (Read): add float->TC_FLOAT to textclassTags
10909         (Read): and handle it in the switch
10910         (readFloat): new function
10911
10912         * FloatList.C (FloatList): comment out the hardcoded float
10913         definitions.
10914
10915         * lyxlayout.h: ws change.
10916
10917 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10918
10919         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10920
10921 2002-09-03  Angus Leeming  <leeming@lyx.org>
10922
10923         * BufferView_pimpl.h: qualified name is not allowed in member
10924         declaration: WorkArea & Pimpl::workarea() const;
10925
10926         * factory.C: added using std::endl directive.
10927
10928         * text3.C: added using std::find and std::vector directives.
10929
10930 2002-08-29  André Pönitz <poenitz@gmx.net>
10931
10932         * lyxtext.h:
10933         * text2.C: remove unused member number_of_rows
10934
10935         * Makefile.am:
10936         * BufferView2.C: remove file, move contents to...
10937         * BufferView.C: ... here
10938
10939         * BufferView_pimpl.C:
10940         * factory.C: move more inset creation to factory
10941
10942         * vspace.C: avoid direct usage of LyXText, ws changes
10943
10944         * BufferView.[Ch]:
10945                 don't provide direct access to WorkArea, use two simple
10946                 acessors haveSelction() and workHeight() instead
10947
10948
10949 2002-08-29  John Levon  <levon@movementarian.org>
10950
10951         * BufferView_pimpl.C (dispatch): do not continue when
10952           no buffer
10953
10954 2002-08-28  André Pönitz <poenitz@gmx.net>
10955
10956         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10957
10958         * BufferView.h:
10959         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10960
10961 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10962
10963         * buffer.C: increment LYX_FORMAT to 221
10964
10965         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10966         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10967
10968         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10969
10970         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10971
10972 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10973
10974         * factory.C (createInset): use LyXTextClass::floats
10975
10976         * MenuBackend.C (expandFloatListInsert):
10977         (expandFloatInsert):
10978         (expandToc):
10979
10980         * text2.C (setCounter):
10981
10982         * LaTeXFeatures.C (useFloat):
10983         (getFloatDefinitions):
10984
10985         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10986
10987         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10988         floatlist_, with accessor floats().
10989
10990         * FloatList.h: remove global FloatList
10991
10992 2002-08-26  André Pönitz <poenitz@gmx.net>
10993
10994         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10995
10996         * BufferView.h:
10997         * BufferView2.C:
10998         * BufferView_pimpl.C:
10999         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11000
11001 2002-08-25  John Levon  <levon@movementarian.org>
11002
11003         * LyXAction.C: fix margin note description
11004
11005 2002-08-24  John Levon  <levon@movementarian.org>
11006
11007         * buffer.C:
11008         * bufferlist.C:
11009         * bufferview_funcs.C:
11010         * lyxfont.C:
11011         * undo_funcs.C: cleanups
11012
11013         * lyxfunc.C: disable CUT/COPY when no selection
11014
11015 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11016
11017         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11018         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11019
11020         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11021         Add backward compatibility to "mono", "gray" and "no".
11022
11023 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11024
11025         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11026         (and file_format >= 200).
11027
11028 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11029
11030         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11031
11032 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11033
11034         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11035
11036 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11037
11038         * BufferView_pimpl.C:
11039         * LyXAction.C:
11040         * buffer.C:
11041         * commandtags.h:
11042         * lyxfunc.C:
11043         * paragraph.[Ch]:
11044         * text2.C:
11045         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11046         inset and code to make it  work with the paragraph code. The inset
11047         can be anywhere in the paragraph, but will only do the expected
11048         thing in LaTeX if the layout file contains the parameter line
11049                         OptionalArgs    1
11050         (or more generally, a nonzero value) for that layout.
11051
11052 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11053
11054         * paragraph.h: remove the declaration of undefined counters class
11055         function.
11056
11057 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11058
11059         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11060         Dr. Richard Hawkins.
11061
11062 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11063
11064         * paragraph_funcs.h: remove some unneeded includes
11065
11066         * text.C (backspace): pasteParagraph now in global scipe
11067
11068         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11069         (pasteSelection): ditto
11070
11071         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11072         * paragraph_funcs.C (pasteParagraph): ... here
11073
11074 2002-08-20  André Pönitz <poenitz@gmx.net>
11075
11076         * commandtags.h: new LFUNs for swapping/copying table row/colums
11077
11078         * LyXAction.C:
11079         * lyxfunc.C: support for new lfuns
11080
11081 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11082
11083         * tabular.C:
11084         * buffer.[Ch]: remove NO_COMPABILITY stuff
11085
11086 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11087
11088         * boost.C (throw_exception): new file, with helper function for
11089         boost compiled without exceptions.
11090
11091         * paragraph.h:
11092         * lyxlength.C:
11093         * buffer.C:
11094         * ParameterStruct.h:
11095         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11096
11097         * bufferlist.C (emergencyWriteAll): use boost bind
11098
11099         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11100
11101         * text.C: include paragraph_funcs.h
11102         (breakParagraph): breakParagraph is now in global scope
11103
11104         * paragraph_funcs.[Ch]: new files
11105
11106         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11107         global scope
11108
11109         * buffer.C: include paragraph_funcs.h
11110         (insertStringAsLines): breakParagraph is now in global scope
11111
11112         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11113         paragraph_funcs.C
11114
11115         * CutAndPaste.C: include paragraph_funcs.h
11116         (cutSelection): breakParagraphConservative is now in global scope
11117         (pasteSelection): ditto
11118
11119         * buffer.h: declare oprator== and operator!= for
11120         Buffer::inset_iterator
11121
11122         * bufferlist.C (emergencyWrite): don't use fmt(...)
11123
11124         * text3.C: add using std::endl
11125
11126         * BufferView.C (moveCursorUpdate): remove default arg
11127
11128 2002-08-20  André Pönitz <poenitz@gmx.net>
11129
11130         * buffer.[Ch]: move inline functions to .C
11131
11132         * BufferView2.C:
11133         * BufferView_pimpl.C:
11134         * text.C:
11135         * buffer.[Ch]: use improved inset_iterator
11136
11137         * buffer.C:
11138         * paragraph.[Ch]: write one paragraph at a time
11139
11140 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11141
11142         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11143         style if style is not specified.
11144
11145 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11146
11147         * text2.C (setCounter): when searching for right label for a
11148         caption, make sure to recurse to parent insets (so that a caption
11149         in a minipage in a figure float works) (bug #568)
11150
11151 2002-08-20  André Pönitz <poenitz@gmx.net>
11152
11153         * text3.C: new file for LyXText::dispatch() and helpers
11154
11155         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11156
11157         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11158
11159 2002-08-19  André Pönitz <poenitz@gmx.net>
11160
11161         * lyxtext.h:
11162         * text.C: new LyXText::dispatch()
11163
11164         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11165
11166 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11167
11168         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11169
11170         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11171         Hebrew text.
11172
11173 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * Makefile.am: use $(variables) instead of @substitutions@
11176
11177 2002-08-15  André Pönitz <poenitz@gmx.net>
11178
11179         * lyxfunc.C:
11180         * BufferView_pimpl.C: streamlining mathed <-> outer world
11181         interaction
11182
11183         * commandtags.h:
11184         * LyXAction.C: remove unused LFUN_MATH
11185
11186 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11187
11188         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11189
11190 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11191
11192         * paragraph.C (Paragraph): reformat a bit
11193         (cutIntoMinibuffer): use builtin InsetList function instad of
11194         doing it manually.
11195         (getInset): ditto
11196
11197         * buffer.C: include boost/bind.hpp, add using std::for_each
11198         (writeFileAscii): use ParagraphList iterators
11199         (validate): use for_each for validate traversal of paragraphs
11200         (getBibkeyList): use ParagraphList iterators
11201         (resizeInsets): use for_each to resizeInsetsLyXText for all
11202         paragraphs.
11203         (getParFromID): use ParagraphList iterators
11204
11205         * BufferView2.C (lockInset): use paragraph list and iterators
11206
11207 2002-08-14  John Levon  <levon@movementarian.org>
11208
11209         * lyxserver.C: remove spurious xforms include
11210
11211 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11212
11213         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11214
11215 2002-08-13  André Pönitz <poenitz@gmx.net>
11216
11217         * LyXAction.[Ch]:
11218         * lyxfunc.C: further cleaning
11219
11220 2002-08-13  André Pönitz <poenitz@gmx.net>
11221
11222         * funcrequest.h: new constructor
11223
11224         * funcrequest.C: move stuff here from .h
11225
11226         * Makefile.am:
11227         * BufferView_pimpl.C:
11228         * LyXAction.C:
11229         * toc.C:
11230         * lyxfunc.C: subsequent changes
11231
11232         * lyxfunc.h: new view() member function
11233
11234         * lyxfunc.C: subsequent changes
11235
11236 2002-08-13  Angus Leeming  <leeming@lyx.org>
11237
11238         * BufferView2.C:
11239         * BufferView_pimpl.C:
11240         * buffer.C:
11241         * converter.C:
11242         * importer.C:
11243         * lyxfunc.C:
11244         * lyxvc.C:
11245         * toc.C:
11246         * vc-backend.C:
11247         changes due to the changed LyXView interface that now returns references
11248         to member variables not pointers.
11249
11250 2002-08-13  Angus Leeming  <leeming@lyx.org>
11251
11252         * WordLangTuple (word, lang_code): return references to strings,
11253         not strings.
11254
11255         * BufferView.h:
11256         * SpellBase.h:
11257         * lyxtext.h: forward-declare WordLangTuple.
11258
11259         * BufferView2.C:
11260         * ispell.C:
11261         * pspell.C:
11262         * text.C: #include "WordLangTuple.h".
11263
11264         * lyxtext.h:
11265         * text.C: (selectNextWordToSpellcheck): constify return type.
11266
11267 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11268
11269         * buffer.C:
11270         * buffer.h:
11271         * lyxtext.h:
11272         * paragraph.C:
11273         * paragraph_pimpl.h:
11274         * text.C:
11275         * text2.C:
11276         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11277         suggested by Angus.
11278         Made updateCounter always count from start of buffer, and removed
11279         second argument (par).
11280         Reverted floats number display to '#'. Perhaps I'll try again when the
11281         code base is sanitized a bit.
11282
11283 2002-08-12  Angus Leeming  <leeming@lyx.org>
11284
11285         * buffer.[Ch] (getLabelList): constify.
11286
11287 2002-08-07  André Pönitz <poenitz@gmx.net>
11288
11289         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11290
11291         * funcrequest.h: extension to keep mouse (x,y) position
11292
11293 2002-08-12  Juergen Vigna  <jug@sad.it>
11294
11295         * BufferView2.C (insertErrors): forbid undo when inserting error
11296         insets.
11297
11298         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11299
11300 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11301
11302         * ParagraphList.[Ch]: new files
11303
11304         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11305
11306         * BufferView2.C (lockInset): ParagraphList changes
11307         * toc.C: ditto
11308         * text2.C: ditto
11309         * bufferlist.C: ditto
11310         * buffer.h: ditto
11311         * buffer.C: ditto
11312
11313 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11314
11315         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11316         unused class variable counter_,
11317
11318         * paragraph.[Ch] (getFirstCounter): delete unused function
11319
11320         * counters.C: include LAssert.h
11321         (reset): add a new function with no arg, change other version to
11322         not have def. arg and to not allow empty arg.
11323
11324         * text2.C (setCounter): remove empty arg from call to Counters::reset
11325
11326 2002-08-11  John Levon  <levon@movementarian.org>
11327
11328         * Makefile.am: add WordLangTuple.h
11329
11330 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11331
11332         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11333         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11334
11335         * insets/insettext.C: InsetList changes
11336
11337         * graphics/GraphicsSupport.C (operator()): InsetList changes
11338
11339         * toc.C (getTocList): InsetList changes
11340
11341         * paragraph_pimpl.[Ch]: InsetList changes
11342
11343         * paragraph.[Ch]: InsetList changes
11344
11345         * buffer.C (inset_iterator): InsetList changes
11346         (setParagraph): ditto
11347         * buffer.h (inset_iterator): ditto
11348         * iterators.C (operator++): ditto
11349         * iterators.h: ditto
11350
11351         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11352
11353         * InsetList.[Ch]: new files, most InsetList handling moved out of
11354         paragraph.C.
11355
11356         * BufferView2.C (removeAutoInsets): InsetList changes
11357         (lockInset): ditto
11358         (ChangeInsets): ditto
11359
11360 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11361
11362         * paragraph_pimpl.h (empty): new function
11363
11364         * paragraph.[Ch] (empty): new function
11365
11366         * other files: use the new Paragraph::empty function
11367
11368 2002-08-09  John Levon  <levon@movementarian.org>
11369
11370         * lyxtext.h: remove unused refresh_height
11371
11372 2002-08-09  John Levon  <levon@movementarian.org>
11373
11374         * Makefile.am:
11375         * sgml.h:
11376         * sgml.C:
11377         * buffer.C:
11378         * paragraph.h:
11379         * paragraph.C: move sgml char escaping out of paragraph
11380
11381         * paragraph.h:
11382         * paragraph.C: remove id setter
11383
11384         * buffer.C:
11385         * paragraph.C:
11386         * paragraph_pimpl.C: remove dead tex_code_break_column
11387
11388         * bufferview_funcs.C: small cleanup
11389
11390         * lyxfunc.C: remove dead proto
11391
11392         * lyxtext.h: make some stuff private. Remove some dead stuff.
11393
11394         * lyxgluelength.C: make as[LyX]String() readable
11395
11396 2002-08-08  John Levon  <levon@movementarian.org>
11397
11398         * LyXAction.h:
11399         * LyXAction.C:
11400         * MenuBackend.C:
11401         * ToolbarDefaults.C:
11402         * lyxfunc.C:
11403         * lyxrc.C:
11404         * toc.C: lyxaction cleanup
11405
11406 2002-08-08  John Levon  <levon@movementarian.org>
11407
11408         * BufferView2.C: small cleanup
11409
11410         * lyxfind.h:
11411         * lyxfind.C: move unnecessary header into the .C
11412
11413 2002-08-08  John Levon  <levon@movementarian.org>
11414
11415         * funcrequest.h: just tedious nonsense
11416
11417         * lyx_main.h:
11418         * lyx_main.C: cleanups
11419
11420         * buffer.C:
11421         * vspace.C: remove dead header lyx_main.h
11422
11423 2002-08-07  Angus Leeming  <leeming@lyx.org>
11424
11425         * Paragraph.[Ch]:
11426         * paragraph_pimpl.h:
11427         Forward declare class Counters in paragraph.h by moving the ctrs member
11428         variable into Paragraph::Pimpl.
11429         (counters): new method, returning a reference to pimpl_->ctrs.
11430
11431         * text2.C: ensuing changes.
11432
11433 2002-08-07  John Levon  <levon@movementarian.org>
11434
11435         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11436
11437         * BufferView_pimpl.C: announce X selection on double/triple
11438           click
11439
11440         * lyx_main.C: use correct bool in batch dispatch
11441
11442         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11443
11444 2002-08-07  André Pönitz <poenitz@gmx.net>
11445
11446         * funcrequest.h: new class to wrap a kb_action and its argument
11447
11448         * BufferView.[Ch]:
11449         * BufferView_pimpl[Ch]:
11450         * LaTeX.C:
11451         * LyXAction.[Ch]:
11452         * lyxfunc.[Ch]:
11453         * lyxrc.C: subsequent changes
11454
11455
11456 2002-08-07  John Levon  <levon@movementarian.org>
11457
11458         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11459           document options change.
11460
11461 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11462
11463         * counters.[Ch]
11464         * text2.C
11465         * paragraph.[Ch]
11466         * makefile.am: move counters functionality over from
11467         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11468
11469 2002-08-06  John Levon  <levon@movementarian.org>
11470
11471         * WordLangTuple.h: new file for word + language code tuple
11472
11473         * SpellBase.h:
11474         * pspell.h:
11475         * pspell.C:
11476         * ispell.h:
11477         * ispell.C:
11478         * lyxtext.h:
11479         * text.C:
11480         * text2.C:
11481         * BufferView.h:
11482         * BufferView2.C: use WordLangTuple
11483
11484         * layout.h:
11485         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11486
11487 2002-08-06  John Levon  <levon@movementarian.org>
11488
11489         * lyx_main.C: fix cmdline batch handling
11490
11491 2002-08-06  André Pönitz <poenitz@gmx.net>
11492
11493         * lyxrc.C: set default for show_banner to true
11494
11495 2002-08-06  John Levon  <levon@movementarian.org>
11496
11497         * pspell.C: fix a crash, and allow new aspell to work
11498
11499 2002-08-06  John Levon  <levon@movementarian.org>
11500
11501         * lyxfunc.C:
11502         * kbmap.C: small cleanup
11503
11504         * vspace.h:
11505         * vspace.C: add const
11506
11507 2002-08-05  John Levon  <levon@movementarian.org>
11508
11509         * LyXAction.C: back to tabular-insert
11510
11511 2002-08-04  John Levon  <levon@movementarian.org>
11512
11513         * BufferView.h:
11514         * BufferView.C: cosmetic change
11515
11516         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11517
11518         * bufferlist.C:
11519         * buffer.h:
11520         * buffer.C:
11521         * lyxcb.h:
11522         * lyxcb.C:
11523         * lyxserver.C:
11524         * lyxvc.C:
11525         * vc-backend.C:
11526         * BufferView2.C: purge all "Lyx" not "LyX" strings
11527
11528         * lyxcursor.h:
11529         * lyxcursor.C: attempt to add some documentation
11530
11531         * lyxfunc.C:
11532         * commandtags.h:
11533         * LyXAction.C:
11534         * ToolbarDefaults.C:
11535         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11536           merge with LFUN_TABULAR_INSERT
11537
11538         * Makefile.am:
11539         * SpellBase.h:
11540         * ispell.h:
11541         * ispell.C:
11542         * pspell.h:
11543         * pspell.C: split up i/pspell implementations into separate
11544           files, many cleanups
11545
11546         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11547
11548         * text2.C: some cleanup
11549
11550         * lyxfunc.C: don't check for isp_command == "none" any more, it
11551           didn't make any sense
11552
11553 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11554
11555         * counters.[Ch]
11556         * text2.C
11557         * paragraph.[Ch]
11558         * makefile.am: move counters functionality over
11559         from text2.C/paragraph.[Ch] to counters.[Ch], and
11560         make proper C++.
11561 2002-08-02  John Levon  <levon@movementarian.org>
11562
11563         * buffer.C: s/lyxconvert/lyx2lyx/
11564
11565 2002-08-02  Angus Leeming  <leeming@lyx.org>
11566
11567         * lyxlex.C: revert John's change as it breaks reading of the user
11568         preamble.
11569
11570 2002-08-02  Angus Leeming  <leeming@lyx.org>
11571
11572         * importer.C (Import):
11573         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11574         changes due to LyXView::view() now returning a boost::shared_ptr.
11575
11576 2002-08-02  John Levon  <levon@movementarian.org>
11577
11578         * lyxlex.C: small cleanup
11579
11580 2002-08-02  John Levon  <levon@movementarian.org>
11581
11582         * text2.C (status): small cleanup, no logic change
11583
11584 2002-08-01  John Levon  <levon@movementarian.org>
11585
11586         * buffer.h:
11587         * buffer.C (writeFile): don't output alerts, caller
11588           handles this
11589
11590         * bufferlist.C:
11591         * lyx_cb.C: from above
11592
11593         * lyxfunc.C: allow to open non-existent files
11594
11595 2002-07-31  John Levon  <levon@movementarian.org>
11596
11597         * lyxserver.C: don't let incidental errors get
11598           in the way (errno)
11599
11600 2002-07-30  John Levon  <levon@movementarian.org>
11601
11602         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11603
11604 2002-07-30  John Levon  <levon@movementarian.org>
11605
11606         * lyxserver.h:
11607         * lyxserver.C: remove I/O callback too
11608
11609 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11610
11611         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11612         log.
11613
11614 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11615
11616         * many files: strip,frontStrip -> trim,ltrim,rtrim
11617
11618 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11619
11620         * PrinterParams.h: remove extern containsOnly, and include
11621         support/lstrings.h instead.
11622
11623         * LaTeX.C (scanAuxFile): modify because of strip changes
11624         (deplog): ditto
11625         * buffer.C (makeLaTeXFile): ditto
11626         * bufferparams.C (writeFile): ditt
11627         * lyxfont.C (stateText): ditto
11628         * lyxserver.C (read_ready): ditto
11629         * vc-backend.C (scanMaster): ditto
11630
11631         * BufferView_pimpl.h: ws changes
11632
11633         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11634
11635 2002-07-26  André Pönitz <poenitz@gmx.net>
11636
11637         * kb_sequence.C: remove unnedred usings
11638
11639 2002-07-26  Juergen Vigna  <jug@sad.it>
11640
11641         * lyxfind.C (LyXReplace): we have to check better if the returned
11642         text is not of theLockingInset()->getLockingInset().
11643
11644 2002-07-25  Juergen Vigna  <jug@sad.it>
11645
11646         * lyxfind.C (LyXReplace): don't replace if we don't get the
11647         right LyXText.
11648
11649         * undo_funcs.C (createUndo): remove debugging code.
11650
11651 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11652
11653         * buffer.C (parseSingleLyXformat2Token): Use default placement
11654         when reading old floats.
11655
11656         * FloatList.C (FloatList): Change the default placement of figure
11657         and tables to "tbp".
11658
11659 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * MenuBackend.C: using std::max
11662
11663 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11664
11665         * MenuBackend.C (expandToc):
11666         (expandToc2): code moved from xforms menu frontend. It is now
11667         generic and TOCs are transparent to menu frontends.
11668
11669 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11670
11671         * toc.C (getTocList): protect against buf=0
11672
11673         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11674         Menu as first parameter. Now, this calls itself recursively to
11675         expand a whole tree (this will be useful for TOC handling)
11676         (expandFloatInsert): remove 'wide' version of floats
11677
11678         * MenuBackend.h (submenuname): returns the name of the submenu.
11679         (submenu): returns the submenu itself, provided it has been
11680         created by MenuBackend::expand
11681
11682 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11685         insets which have noFontChange == true. (bug #172)
11686
11687 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11688
11689         * BufferView_pimpl.C: add connection objects and use them...
11690         (Pimpl): here.
11691
11692 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11693
11694         * MenuBackend.C (expandLastfiles):
11695         (expandDocuments):
11696         (expandFormats):
11697         (expandFloatListInsert):
11698         (expandFloatInsert):
11699         (expand): split expand in parts
11700
11701 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * lyx_gui.C: use lyx_gui::exit()
11704
11705 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11706
11707         * LyXAction.C: show the failing pseudo action
11708
11709 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11710
11711         * buffer.C (readFile): Run the lyxconvert script in order to read
11712         old files.
11713
11714 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * LyXAction.C:
11717         * commandtags.h:
11718         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11719
11720 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * LyXAction.C:
11723         * commandtags.h:
11724         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11725
11726 2002-07-22  Herbert Voss  <voss@lyx.org>
11727
11728         * lengthcommon.C:
11729         * lyxlength.[Ch]: add support for the vertical lengths
11730
11731 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * toc.[Ch]: std:: fixes
11734
11735 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11736
11737         * lyxrc.C: do not include lyx_main.h
11738
11739         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11740         for layouts
11741
11742         * lyxrc.C:
11743         * encoding.C:
11744         * bufferlist.C:
11745         * BufferView2.C: include "lyxlex.h"
11746
11747         * tabular.h:
11748         * bufferparams.h: do not #include "lyxlex.h"
11749
11750         * lyxtextclasslist.C (Add): remove method
11751         (classlist): renamed to classlist_
11752
11753         * paragraph_pimpl.C:
11754         * paragraph.C:
11755         * text2.C:
11756         * CutAndPaste.C:
11757         * bufferview_funcs.C:
11758         * bufferlist.C:
11759         * text.C:
11760         * LaTeXFeatures.C:
11761         * buffer.C:
11762         * toc.C (getTocList): use BufferParams::getLyXTextClass
11763
11764         * toc.C (getTocList): use InsetFloat::addToToc
11765
11766         * toc.[Ch]: new files, containing helper functions to handle table
11767         of contents
11768
11769         * lyxfunc.C (dispatch): no need to remove spaces around command
11770         given as a string
11771         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11772         first command of the sequence; it is not very clever, but I do not
11773         have a better idea, actually
11774
11775         * LyXAction.C (LookupFunc): make sure to remove space at the
11776         beginning and end of the command
11777
11778 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * MenuBackend.C (getMenubar): new method: return the menubar of
11781         this menu set
11782         (read): treat differently reading of menu and menubar (in
11783         particular, the menubar has no name now)
11784         (Menu::menubar): remove
11785
11786         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11787         saving is finished
11788
11789 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11790
11791         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11792         a bibitem inset in a RTL paragraph.
11793
11794 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11795
11796         * paragraph_pimpl.C: constify
11797
11798         * BufferView_pimpl.C:
11799         * LaTeX.C:
11800         * lyxfunc.C: fix dispatch in a nicer way
11801
11802 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11803
11804         * lyxfunc.C (dispatch):
11805         * BufferView_pimpl.C:
11806         * BufferView_pimpl.h:
11807         * BufferView.C:
11808         * BufferView.h: rename Dispatch() to dispatch()
11809
11810         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11811
11812         * lyxlayout.C (Read): honor DependsOn tag
11813
11814         * lyxlayout.[Ch] (depends_on): new method
11815
11816         * version.C.in: update lyx_docversion
11817
11818         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11819
11820         * paragraph.C (validate): remove from here...
11821         * paragraph_pimpl.C (validate): ... and move here
11822         (isTextAt): make it const
11823
11824         * buffer.C (getLists): ws cleanup
11825
11826 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11827
11828         * language.C (read): Use iso8859-1 encoding in latex_lang
11829         (this prevents LyX from crashing when using iso10646-1 encoding).
11830
11831 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11832
11833         * text2.C (toggleInset): if cursor is inside an inset, close the
11834         inset and leave cursor _after_ it
11835
11836 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * lyxfunc.C: move minibuffer completion handling out of here
11839
11840 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * BufferView_pimpl.C:
11843         * LaTeX.C: fix dispatch calls
11844
11845 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11846
11847         * text.C (drawChars): Fix Arabic text rendering.
11848
11849 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * LyXAction.C:
11852         * commandtags.h:
11853         * lyxfunc.C: remove message-push/pop
11854
11855         * lyxserver.C:
11856         * lyxfunc.h:
11857         * lyxfunc.C: rationalise some code by removing verboseDispatch
11858           in favour of a bool argument to dispatch()
11859
11860 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11861
11862         * lyx_main.C (init): make sure to read symlinks as absolute paths
11863
11864 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * lyxfunc.h:
11867         * lyxfunc.C: no need for commandshortcut to be a member
11868
11869 2002-07-15  André Pönitz <poenitz@gmx.net>
11870
11871         * converter.C: add support for $$s (scripts from lib/scripts dir)
11872         * lyx_main.C: white space
11873
11874 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * bufferlist.C:
11877         * lyxrc.h:
11878         * lyxrc.C: remove second exit confirmation
11879
11880 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * BufferView.h:
11883         * BufferView.C:
11884         * BufferView2.C:
11885         * BufferView_pimpl.h:
11886         * BufferView_pimpl.C:
11887         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11888
11889 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11890
11891         * MenuBackend.C (expand): add numeric shortcuts to document menu
11892
11893         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11894
11895 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11896
11897         * lyxfont.C (setLyXFamily):
11898         (setLyXSeries):
11899         (setLyXShape):
11900         (setLyXSize):
11901         (setLyXMisc):
11902         (lyxRead):
11903         * debug.C (value):
11904         * buffer.C (asciiParagraph): use ascii_lowercase
11905
11906 2002-07-15  Mike Fabian  <mfabian@suse.de>
11907
11908         * lyxlex_pimpl.C (search_kw):
11909         * lyxlex.C (getLongString):
11910         * converter.h (operator<):
11911         * converter.C (operator<):
11912         * buffer.C (parseSingleLyXformat2Token):
11913         (asciiParagraph):
11914         * ToolbarDefaults.C (read):
11915         * MenuBackend.C (checkShortcuts):
11916         (read):
11917         * LColor.C (getFromGUIName):
11918         (getFromLyXName): use the compare_ascii_no_case instead of
11919         compare_no_case, because in turkish, 'i' is not the lowercase
11920         version of 'I', and thus turkish locale breaks parsing of tags.
11921
11922 2002-07-16  Angus Leeming  <leeming@lyx.org>
11923
11924         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11925         now takes a Buffer const & argument.
11926
11927 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * BufferView.C (resize): check there's a buffer to resize
11930
11931 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * lyxfunc.C: remove dead code
11934
11935         * lyxserver.h:
11936         * lyxserver.C: use lyx_guii::set_read_callback
11937
11938 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11939
11940         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11941         an inset in a RTL paragraph.
11942
11943 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * lyxfunc.C: repaint after a font size update
11946
11947 2002-07-15  André Pönitz <poenitz@gmx.net>
11948
11949         * lyxlength.C: inBP should be able to return negative values
11950
11951 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * lyxfunc.C: use lyx_gui::update_fonts()
11954
11955 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * lyxfunc.C: use lyx_gui::update_color()
11958
11959 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11960
11961         * bufferlist.C:
11962         * lyxfunc.h:
11963         * lyxfunc.C:
11964         * lyxrc.h:
11965         * lyxrc.C: remove file->new asks for name option, and let
11966           buffer-new take an argument
11967
11968 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * BufferView_pimpl.C: remove unneeded extra repaint()
11971
11972 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11973
11974         * LyXAction.C: allow command-sequence with NoBuffer
11975
11976         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11977
11978 2002-07-10  Angus Leeming  <leeming@lyx.org>
11979
11980         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11981
11982 2002-07-09  Angus Leeming  <leeming@lyx.org>
11983
11984         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11985
11986 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * lengthcommon.h: whitespace
11989
11990         * lyxfunc.C: update scrollbar after goto paragraph
11991
11992         * lyxtext.h: factor out page break drawing, and fix it so
11993           page break/added space paints as selected nicely
11994
11995 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11996
11997         * BufferView_pimpl.C: add FIXMEs, clean up a little
11998
11999 2002-07-09  André Pönitz <poenitz@gmx.net>
12000
12001         * lyxfont.[Ch]: support for wasy symbols
12002
12003 2002-07-08  André Pönitz <poenitz@gmx.net>
12004
12005         * BufferView_pimpl.C: apply John's patch for #93.
12006
12007 2002-07-05  Angus Leeming  <leeming@lyx.org>
12008
12009         * BufferView_pimpl.C (buffer): generate previews if desired.
12010
12011         * LColor.h: add "preview" to the color enum.
12012
12013         * LColor.C (LColor): add a corresponding entry to the items array.
12014
12015         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12016         with this buffer.
12017
12018 2002-07-05  Angus Leeming  <leeming@lyx.org>
12019
12020         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12021         The body of the code is now in the method that is passed an ostream &
12022         rather than a file name.
12023         Pass an additional only_preamble parameter, useful for the forthcoming
12024         preview stuff.
12025
12026 2002-07-03  André Pönitz <poenitz@gmx.net>
12027
12028         * lyxfunc.C: simplify getStatus() a bit for math stuff
12029
12030 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12031
12032         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12033
12034 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12035
12036         * text.C (changeRegionCase): do not change case of all the
12037         document when region ends at paragraph end (bug #461)
12038
12039 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12040
12041         * paragraph.C (startTeXParParams):
12042         (endTeXParParams): add \protect when necessary
12043
12044 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12045
12046         * BufferView_pimpl.C (workAreaExpose): remove warning
12047
12048 2002-06-27  Angus Leeming  <leeming@lyx.org>
12049
12050         * Makefile.am: add lyxlayout_ptr_fwd.h.
12051
12052 2002-06-26  André Pönitz <poenitz@gmx.net>
12053
12054         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12055
12056 2002-06-25  Angus Leeming  <leeming@lyx.org>
12057
12058         * lyxfunc.C (dispatch): Comment out the call to
12059         grfx::GCache::changeDisplay. The method no longer exists now that the
12060         pixmap generation part of the graphics loader has been moved into
12061         InsetGraphics.
12062
12063 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12064
12065         * text2.C: layout as layout
12066
12067         * text.C: layout as layout
12068
12069         * tabular.C (OldFormatRead): layout as layout
12070
12071         * paragraph_pimpl.C (TeXDeeper): layout as layout
12072         (realizeFont): layout as layout
12073
12074         * paragraph.C (writeFile): layout as layout
12075         (validate): layout as layout
12076         (getFont): layout as layout
12077         (getLabelFont): layout as layout
12078         (getLayoutFont): layout as layout
12079         (breakParagraph): layout as layout
12080         (stripLeadingSpaces): layout as layout
12081         (getEndLabel): layout as layout
12082         (getMaxDepthAfter): layout as layout
12083         (applyLayout): layout as layout
12084         (TeXOnePar): layout as layout
12085         (simpleTeXOnePar): layout as layout
12086         (TeXEnvironment): layout as layout
12087         (layout): layout as layout
12088         (layout): layout as layout
12089
12090         * lyxtextclass.C (compare_name): new functor to work with
12091         shared_ptr, layout as layout
12092         (Read): layout as layout
12093         (hasLayout): layout as layout
12094         (operator): layout as layout
12095         (delete_layout): layout as layout
12096         (defaultLayout): layout as layout
12097
12098         * lyxlayout_ptr_fwd.h: new file
12099
12100         * lyxlayout.C (Read): layout as layout
12101
12102         * lyx_cb.C (MenuInsertLabel): layout as layout
12103
12104         * bufferlist.C (newFile): layout as layout
12105
12106         * buffer.C (readLyXformat2): layout as layout
12107         (parseSingleLyXformat2Token): layout as layout
12108         (insertStringAsLines): layout as layout
12109         (asciiParagraph): layout as layout
12110         (latexParagraphs): layout as layout
12111         (makeLinuxDocFile): layout as layout
12112         (simpleLinuxDocOnePar): layout as layout
12113         (makeDocBookFile): layout as layout
12114         (simpleDocBookOnePar): layout as layout
12115         (getLists): layout as layout
12116
12117         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12118
12119         * CutAndPaste.C (cutSelection): layout as layout
12120         (pasteSelection): layout as layout
12121         (SwitchLayoutsBetweenClasses): layout as layout
12122
12123         * BufferView_pimpl.C (Dispatch): layout as layout
12124         (smartQuote): layout as layout
12125
12126         * BufferView2.C (unlockInset): layout as layout
12127
12128 2002-06-24  André Pönitz <poenitz@gmx.net>
12129
12130         * lyxfunc.C: fix #487
12131
12132 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12133
12134         * lyxrc.h:
12135         * lyxrc.C:
12136         * lyxfunc.C: remove display_shortcuts, show_banner
12137
12138 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12139
12140         * Buffer_pimpl.C: oops, update on resize
12141
12142 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * buffer.C:
12145         * converter.C:
12146         * exporter.C:
12147         * lyxfunc.C:
12148         * BufferView.h:
12149         * BufferView.C: use repaint()
12150
12151         * BufferView_pimpl.h:
12152         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12153           as it's a clearer description. Remove superfluous
12154           redraws.
12155
12156 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12157
12158         * text.C: fix bug 488. Not ideal, but getting
12159           getWord() to work properly for the insets that
12160           matter is more difficult ...
12161
12162 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12163
12164         * BufferView_pimpl.C:
12165         * LyXAction.C:
12166         * commandtags.h:
12167         * lyxfunc.C: remove the six million index lyxfuncs to just
12168           one, and DTRT (bug 458)
12169
12170 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * BufferView.h:
12173         * BufferView.C:
12174         * BufferView_pimpl.h:
12175         * BufferView_pimpl.C: clean up resize() stuff,
12176           and unnecessary updateScreen()s
12177
12178 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12179
12180         * BufferView.h:
12181         * BufferView.C:
12182         * BufferView_pimpl.h:
12183         * BufferView_pimpl.C:
12184         * lyxfind.h:
12185         * lyxfind.C:
12186         * minibuffer.C: remove focus management of workarea,
12187           not needed. Use screen's greyOut()
12188
12189 2002-06-17  Herbert Voss  <voss@lyx.org>
12190
12191         * converter.C: (convert) do not post a message, when converting
12192         fails, let the calling function decide what to do in this case
12193
12194 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12195
12196         * lyxfunc.C: tidy up a little
12197
12198 2002-06-16    <alstrup@diku.dk>
12199
12200         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12201         Got rid of FORMS_H_LOCATION include. Now we are
12202         GUII.
12203
12204 2002-06-15  LyX Development team  <lyx@rilke>
12205
12206         * buffer.[Ch] (sgmlOpenTag):
12207         (sgmlCloseTag): Added support for avoiding pernicious mixed
12208         content. Return number of lines written.
12209
12210         (makeLinuxDocFile):
12211         (makeDocBookFile): Fixed calls to sgml*Tag.
12212         Simple white space clean.
12213
12214         (simpleDocBookOnePar): Simple white space clean.
12215
12216         * tabular.[Ch] (docBook): Renamed to docbook and got another
12217         argument to related with the pernicious mixed content.
12218
12219         (docbookRow): Fixed calls for docbook inset method.
12220
12221 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12222
12223         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12224         so it's X11 independent.
12225
12226         * kb*.[Ch]: ditto.
12227
12228         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12229
12230 2002-06-15  Lyx Development team  <lyx@electronia>
12231
12232         * intl.h: Renamed getTrans to getTransManager.
12233
12234 2002-06-14  Angus Leeming  <leeming@lyx.org>
12235
12236         * Makefile.am: nuke forgotten stl_string_fwd.h.
12237
12238 2002-06-12  Angus Leeming  <leeming@lyx.org>
12239
12240         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12241
12242 2002-06-13  Angus Leeming  <leeming@lyx.org>
12243
12244         * LaTeX.C:
12245         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12246
12247 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12248
12249         * kbmap.C (getiso): add support for cyrillic and greek
12250
12251 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * BufferView.h:
12254         * BufferView.C:
12255         * BufferView_pimpl.h:
12256         * BufferView_pimpl.C: move bogus scrolling logic
12257           to xforms
12258
12259 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12260
12261         * lyxfunc.C:
12262         * BufferView_pimpl.C: view->resize() change
12263
12264 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * BufferView_pimpl.C: topCursorVisible
12267           prototype change
12268
12269 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12270
12271         * Makefile.am:
12272         * lyx_gui.h:
12273         * lyx_gui.C: move to frontends/
12274
12275         * main.C:
12276         * lyx_main.h:
12277         * lyx_main.C: changes from above
12278
12279 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12280
12281         * intl.C:
12282         * intl.h:
12283         * kbmap.C:
12284         * kbsequence.C:
12285         * lyx_cb.C:
12286         * lyx_main.C: minor tidy
12287
12288 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * BufferView_pimpl.h:
12291         * BufferView_pimpl.C:
12292         * BufferView.h:
12293         * BufferView.C: make painter() const,
12294           remove dead code
12295
12296         * BufferView2.C: use screen() accessor
12297
12298         * lyx_main.h:
12299         * lyx_main.C: some minor cleanup
12300
12301 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * BufferView_pimpl.h:
12304         * BufferView_pimpl.C: remove enter/leaveView,
12305           use workHeight()
12306
12307 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12308
12309         * BufferView.h:
12310         * BufferView.C:
12311         * BufferView2.C:
12312         * BufferView_pimpl.h:
12313         * BufferView_pimpl.C: only construct screen once,
12314           rename
12315
12316         * lyxrc.C: remove pointless comment
12317
12318 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * BufferView.h:
12321         * BufferView.C: remove active() and belowMouse()
12322
12323         * BufferView_pimpl.h:
12324         * BufferView_pimpl.C: use workarea() not workarea_,
12325           and make it use a scoped_ptr instead
12326
12327 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * lyx_gui.C: add debug message on BadWindow
12330
12331 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12332
12333         * sp_spell.C: fdopen is not part of the C++ standard.
12334
12335         * paragraph.C (InsetIterator): use >= instead of ==
12336
12337 2002-06-07  Angus Leeming  <leeming@lyx.org>
12338
12339         Fixes needed to compile with Compaq cxx 6.5.
12340         * BufferView_pimpl.C:
12341         * DepTable.C:
12342         * buffer.C:
12343         * converter.C:
12344         * encoding.C:
12345         * lyx_gui.C:
12346         * lyx_main.C:
12347         * lyxtextclasslist.C:
12348         * minibuffer.C:
12349         * sp_spell.C:
12350         * tabular_funcs.C:
12351         * vc-backend.C:
12352         all c-library variables have been moved into namespace std. Wrap
12353         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12354
12355         * lyxlength.C:
12356         * tabular-old.C:
12357         * tabular.C:
12358         Add a using std::abs declaration.
12359
12360         * kbmap.h (modifier_pair):
12361         * paragraph.h (InsetTable, InsetList):
12362         * lyxfont.h (FontBits):
12363         type definition made public.
12364
12365         * bufferlist.C (emergencyWriteAll): the compiler complains that
12366         there is more than one possible lyx::class_fun template to choose from.
12367         I re-named the void specialisation as lyx::void_class_fun.
12368
12369         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12370
12371         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12372         the compiler is is unable to find tostr in write_attribute.
12373
12374 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12375
12376         * buffer.C (sgmlError): hide #warning
12377
12378 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12379
12380         * xtl/*: get rid of xtl, which is not in use anyway
12381
12382         * LyXAction.C (init):
12383         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12384         were unimplemented xtl experimentation
12385
12386 2002-06-04  André Pönitz <poenitz@gmx.net>
12387
12388         * lyxfunc.C: disable array operation on simple formulae
12389
12390 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * converter.C: constify a bit
12393
12394 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * lyx_gui.C: check xforms version correctly
12397
12398 2002-04-30  Herbert Voss  <voss@lyx.org>
12399
12400         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12401         "keep" option
12402
12403 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12404
12405         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12406           attempt to register it with a VCS)
12407
12408 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12409
12410         * lyx_main.C (init): honor variables LYX_DIR_13x and
12411         LYX_USERDIR_13x
12412
12413 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * buffer.h:
12416         * buffer.C:
12417         * lyx_main.C: fix a crash on bad command line,
12418           and give a useful exit status on error
12419
12420         * lyxfunc.C (doImport): allow -i lyx to work
12421
12422 2002-03-30  André Pönitz <poenitz@gmx.net>
12423
12424         * lyxfunc.C: mathed font changes
12425
12426 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * LaTeX.C:
12429         * importer.h:
12430         * importer.C:
12431         * lyx_sty.h:
12432         * lyx_sty.C:
12433         * lyxlex.C:
12434         * lyxrow.h:
12435         * lyxtext.h:
12436         * paragraph.h:
12437         * paragraph.C:
12438         * texrow.h:
12439         * texrow.C:
12440         * text.C:
12441         * trans_mgr.h: srcdocs, and some minor cleanups
12442
12443 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12444
12445         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12446         call getFont all the time)
12447
12448 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * switch from SigC signals to boost::signals
12451
12452 2002-05-29  André Pönitz <poenitz@gmx.net>
12453
12454         * paragraph_pimpl.C (getChar): don't call size() too often...
12455
12456 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12457
12458         * paragraph_pimpl.C (insertChar): do not try to update tables when
12459         appending (pos == size())
12460
12461         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12462         in order to reduce drastically the number of comparisons needed to
12463         parse a large document
12464
12465 2002-05-29  André Pönitz <poenitz@gmx.net>
12466
12467         * text.C:
12468         * text2.C:
12469         * lyxtextclass.C:
12470         * sp_pspell.h:
12471         * textclasslist.[Ch]:
12472         * sp_ispell.h: whitespace change
12473
12474 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12475
12476         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12477         lyxaction directly now.
12478
12479 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12480
12481         * trans.C:
12482         * lyxfont.C:
12483         * lyxvc.C: remove unused headers
12484
12485 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12486
12487         * Makefile.am:
12488         * buffer.h:
12489         * undostack.h:
12490         * undostack.C:
12491         * undo_funcs.h:
12492         * undo_funcs.C: some cleanups. Use shared_ptr
12493           and a template for the undo stacks.
12494
12495 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12496
12497         * BufferView_pimpl.h:
12498         * BufferView_pimpl.C:
12499         * kbmap.h:
12500         * kbmap.C:
12501         * kbsequence.h:
12502         * kbsequence.C:
12503         * lyxfunc.h:
12504         * lyxfunc.C:
12505         * text2.C: use key_state/mouse_state
12506
12507 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12508
12509         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12510         and LSubstring
12511
12512         * chset.C: change include order
12513         (loadFile): use boost regex and get rid of LRegex and LSubstring
12514
12515         * Makefile.am (BOOST_LIBS): new variable
12516         (lyx_LDADD): use it
12517
12518         * LaTeX.C: change include order.
12519         (scanAuxFile): use boost regex and get rid of LRegex and
12520         LSubstring
12521         (deplog): ditto
12522
12523 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12524
12525         * ColorHandler.h:
12526         * ColorHandler.C:
12527         * FontInfo.h:
12528         * FontInfo.C: moved to frontends/xforms/
12529
12530         * FontLoader.h:
12531         * FontLoader.C: moved into frontends for GUIIzation
12532
12533         * Makefile.am:
12534         * lyx_gui.C:
12535         * lyxfont.C:
12536         * lyxfunc.C: changes from above
12537
12538 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12539
12540         * LColor.C: remove spurious X include
12541
12542         * BufferView_pimpl.C:
12543         * Makefile.am:
12544         * font.h:
12545         * font.C:
12546         * text.C:
12547         * text2.C: move font metrics to frontends/
12548
12549 2002-05-24  Juergen Vigna  <jug@sad.it>
12550
12551         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12552         setting the undo_cursor.
12553
12554         * ParagraphParameters.h: include local includes first.
12555
12556 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * BufferView_pimpl.C:
12559         * BufferView_pimpl.h:
12560         * Makefile.am:
12561         * WorkArea.h:
12562         * WorkArea.C:
12563         * screen.C: move WorkArea into frontends/
12564
12565         * lyxscreen.h:
12566         * screen.C:
12567         * text.C:
12568         * BufferView.C:
12569         * BufferView2.C: move LyXScreen into frontends/
12570
12571         * lyxlookup.h:
12572         * lyxlookup.C:
12573         * lyx_gui.C: move lyxlookup into frontends/xforms/
12574
12575 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * BufferView2.C:
12578         * BufferView_pimpl.C:
12579         * FontLoader.C:
12580         * LyXView.h:
12581         * LyXView.C:
12582         * Makefile.am:
12583         * WorkArea.C:
12584         * XFormsView.h:
12585         * XFormsView.C:
12586         * buffer.C:
12587         * bufferlist.C:
12588         * bufferview_funcs.C:
12589         * converter.C:
12590         * importer.C:
12591         * lyx_cb.C:
12592         * lyx_gui.C:
12593         * lyx_main.C:
12594         * lyx_find.C:
12595         * lyxfunc.C:
12596         * lyxvc.C:
12597         * minibuffer.C:
12598         * text.C:
12599         * text2.C:
12600         * trans.C:
12601         * vc-backend.C: move LyX/XFormsView into frontends/
12602
12603 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12604
12605         * Makefile.am:
12606         * PainterBase.C:
12607         * PainterBase.h:
12608         * Painter.C:
12609         * Painter.h:
12610         * WorkArea.C:
12611         * WorkArea.h:
12612         * screen.C:
12613         * tabular.C:
12614         * text.C:
12615         * text2.C: move Painter to frontends/
12616
12617 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12618
12619         * buffer.C: comment out some some code that depend upon lyx_format
12620         < 220
12621
12622         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12623         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12624
12625         * buffer.h (NO_COMPABILITY): turn off compability
12626
12627         * ColorHandler.C: include scoped_array.hpp
12628
12629         * font.C: Use more specific smart_ptr header.
12630         * Painter.C: ditto
12631         * gettext.C: ditto
12632         * ShareContainer.h: ditto
12633         * lyx_main.h: ditto
12634         * kbmap.h: ditto
12635         * FontInfo.h: ditto
12636         * BufferView_pimpl.h: ditto
12637         * ColorHandler.h: ditto
12638
12639         * kbmap.C (defkey): change call to shared_ptr::reset
12640
12641 2002-05-21  Juergen Vigna  <jug@sad.it>
12642
12643         * buffer.C (insertErtContents): fix to insert ert asis if it is
12644         non empty. Skip it completely if it contains only whitespaces.
12645
12646 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12647
12648         * BufferView_pimpl.C:
12649         * BufferView2.C: clear selection on paste (bug 393)
12650
12651 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12652
12653         * DepTable.C: include ctime
12654
12655 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12656
12657         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12658
12659 2002-05-14  Juergen Vigna  <jug@sad.it>
12660
12661         * text.C (breakParagraph): fixed function to honor the keepempty
12662         layout in the right maner and also to permit the right breaking
12663         algorithm on empty or non empyt keepempty paragraphs.
12664
12665         * paragraph.C (breakParagraph): we have to check also if the par
12666         is really empty (!size()) for isempty otherwise we do the wrong
12667         paragraph break.
12668
12669 2002-05-10  Juergen Vigna  <jug@sad.it>
12670
12671         * buffer.[Ch] : The following are only changes to the ert
12672         compatibility read reading old LaTeX layout and font stuff and
12673         convert it to ERTInsets.
12674
12675         * buffer.h: added isErtInset().
12676
12677         * buffer.C (struct ErtComp): add a fromlayout bool to check
12678         if we're inside a LaTeX layout.
12679         (isErtInset): new helper function.
12680         (insertErtContents): look for other ert insets before this one
12681         and insert the contents there, so that we don't have subsequent
12682         ERT insets with nothing between them. This way we create only one
12683         inset with multiple paragraphs. Also check if we don't insert only
12684         spaces ' ' as they are ignored anyway afterwards in the .tex file
12685         so if we have only spaces we will ignore this latex part in the
12686         new file.
12687         (parseSingleLyXformat2Token \\layout): better compatibility when
12688         reading layout-latex stuff.
12689         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12690         language tag.
12691         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12692         stuff after reading the inset only get the information back from
12693         the stack.
12694
12695 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12696
12697         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12698
12699         * LaTeXFeatures.C (getBabelOptions): New method.
12700
12701 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * BufferView_pimpl.C (Dispatch): work around missing argument for
12704         'layout'
12705
12706 2002-05-08  Juergen Vigna  <jug@sad.it>
12707
12708         * text.C (leftMargin): handle paragraph leftindent.
12709
12710         * paragraph.C (writeFile): write the new \\leftindent tag.
12711         (validate): handle leftindent code.
12712         (TeXEnvironment): handle paragraphleftindent code again.
12713
12714         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12715
12716         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12717         for paragrap_extra indent code and new token \\leftindent.
12718         (latexParagraphs): handle the leftindent as environment.
12719
12720         * ParameterStruct.h: added leftindent support.
12721
12722         * ParagraphParameters.C (leftIndent): added support functions for
12723         the paragraph left indent.
12724
12725         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12726         more appropriate.
12727
12728 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12729
12730         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12731         inside insetERT.
12732
12733         * text.C (computeBidiTables): No bidi in insetERT.
12734
12735         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12736         in RTL documents.
12737
12738 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12739
12740         * version.C.in: pre 5
12741
12742 2002-05-02  José Matos  <jamatos@fep.up.pt>
12743         * buffer.C (makeDocBookFile): white space changes, add newline to
12744         command styles.
12745         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12746
12747         * tabular.C (docBook): fix typo.
12748
12749 2002-05-03  Juergen Vigna  <jug@sad.it>
12750
12751         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12752         change in LyXText as we can not be sure it was not freed.
12753         (drawOneRow): remove unused code.
12754
12755         * text.C (drawInset): redo the calculation of the need_break_row as
12756         it could have a row which was already freed.
12757         (draw): look at the return value of drawInset and return false if
12758         it also returned false.
12759         (paintRowText): look at the return value of draw and return false if
12760         it also returned false.
12761
12762         * lyxtext.h: added bool return type to drawInset() and draw() so that
12763         if we have a change in the row so that the rowbreak has to be redone
12764         we abort drawing as it will be called again.
12765
12766 2002-05-02  Juergen Vigna  <jug@sad.it>
12767
12768         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12769         a change in the maintext also if we're inside an inset.
12770         (Dispatch): set the cursor again after a break line and after the
12771         screen has been updated as it could be we're in a different row.
12772
12773         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12774         to set the cursor behind the pargraph with > size().
12775         (setCursor): check also for the same paragraph when checking where
12776         to put the cursor if we have a NFR inset.
12777
12778         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12779         parts of layout read further up as it still was in the wrong
12780         position.
12781
12782 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * screen.C (drawFromTo): change sine fullRebreak always return
12785         true.
12786
12787         * buffer.C (parseSingleLyXformat2Token): reindent some
12788
12789         * BufferView_pimpl.C (update): change since fullRebreak always
12790         return true.
12791         (Dispatch): git rid of the last hardcoded "Standard"s.
12792
12793 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12794
12795         * text2.[Ch] (fullRebreak): make it return void now that we always
12796         returned true.
12797
12798 2002-04-30  Juergen Vigna  <jug@sad.it>
12799
12800         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12801         ert compatibility check for "latex" layout.
12802
12803 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12804
12805         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12806         minipages: use col% instead of p%, and also use the current font.
12807         (makeLaTeXFile): Fix use babel condition.
12808         (parseSingleLyXformat2Token): Correct font when reading old floats.
12809
12810 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12811
12812         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12813         inserting list of floats.
12814
12815 2002-04-25  Herbert Voss  <voss@lyx.org>
12816
12817         * MenuBackend.C (expand): don't add the graphics extensions to the
12818         export menu
12819
12820 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12821
12822         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12823         non-existing layout, do not complain if it was the default layout
12824         of the original class (bug #342)
12825
12826 2002-04-24  Juergen Vigna  <jug@sad.it>
12827
12828         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12829         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12830
12831 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12832
12833         * buffer.C (getBibkeyList): If using \bibliography, return the
12834         option field with the reference itself. Enables us to provide natbib
12835         support when using \bibliography.
12836
12837 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12838
12839         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12840
12841         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12842         natbib is provided by the LaTeX class.
12843
12844 2002-04-23  Juergen Vigna  <jug@sad.it>
12845
12846         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12847         Wakeup functions.
12848
12849         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12850
12851 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12852
12853         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12854
12855         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12856         ensuremath around textordmasculine, textordfeminine and
12857         textdegree.
12858
12859 2002-04-19  Juergen Vigna  <jug@sad.it>
12860
12861         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12862         reinitializing the buffer otherwise row-dimensions may be wrong.
12863         (update): reset also the selection cursors if they do exits otherwise
12864         their x/y positions may be wrong.
12865
12866         * text2.C (cursorDown): don't enter the inset if we came from a row
12867         above and are one row over the inset.
12868
12869         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12870         really leaving an inset.
12871
12872 2002-04-18  Juergen Vigna  <jug@sad.it>
12873
12874         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12875         of the selected paragraph does not have the selected layout also if
12876         the last one had!
12877
12878         * text2.C (setLayout): fixed bug which did not change last selected
12879         paragraph.
12880
12881         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12882         changed the read and substituted \\end_float with \\end_inset!
12883
12884         * BufferView_pimpl.C (cursorPrevious):
12885         (cursorNext): fixed to make it work with rows heigher than the work
12886         area without moving the cursor only the draw of the row.
12887         (workAreaMotionNotify): fix jumping over high rows.
12888
12889 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12890
12891         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12892         Ressler.
12893
12894 2002-04-16  Juergen Vigna  <jug@sad.it>
12895
12896         * text2.C (setCursor): set also the irow().
12897         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12898         (cursorUp):
12899         (cursorDown): support for locking an inset if the x_fix value goes
12900         inside it. That way I can transverse insets too with cursor up/down.
12901
12902         * lyxrow.h: added irow helper function same as other (i) functions.
12903
12904         * BufferView_pimpl.C (cursorPrevious):
12905         (cursorNext): fixed for insets!
12906
12907 2002-04-15  Juergen Vigna  <jug@sad.it>
12908
12909         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12910         position otherwise it is wrong in some cases.
12911
12912         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12913         inside the inset before the call.
12914
12915 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12916
12917         * buffer.[Ch] (getBibkeyList): make it const.
12918
12919 2002-04-12  Juergen Vigna  <jug@sad.it>
12920
12921         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12922
12923         * text2.C (getCursorX): new helper function
12924         (setCursor): compute also ix_
12925         (setCursorFromCoordinates): set also ix.
12926
12927         * lyxcursor.h: added ix_ and helper functions.
12928
12929         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12930
12931         * buffer.C (insertStringAsLines): dont break paragraph if the this
12932         paragraph is inside an inset which does not permit it!
12933
12934         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12935         also with no chars on this paragraph.
12936         (paintRowText): only paint stuff if it's inside the workarea!
12937
12938         * paragraph.C (breakParagraph): honor keepempty flag and break the
12939         paragraph always below not above.
12940
12941         * BufferView2.C (unlockInset): update the paragraph layout on inset
12942         unlock as we changed paragraph in such a case.
12943
12944         * lyxfind.C (LyXFind): clear the former selection if not found!
12945
12946         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12947         again called in insertChar().
12948
12949         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12950         an inset which uses the whole row!
12951         (rightMargin): ditto.
12952         (insertChar): force a rebreak if we inserted an inset!
12953
12954 2002-03-28  Herbert Voss  <voss@lyx.org>
12955
12956         * lyxlength.[Ch]: add inBP() to get the right PS-point
12957         units (BigPoint). With inPixels we have rounding errors
12958
12959 2002-04-11  Juergen Vigna  <jug@sad.it>
12960
12961         * text2.C (setCursorFromCoordinates): set iy to the right value.
12962         (setCursor): add check if row->previous exists!
12963
12964         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12965         an old float_type as this was the case in the old code!
12966
12967         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12968
12969         * BufferView2.C (showLockedInsetCursor): use iy
12970         (fitLockedInsetCursor): ditto
12971
12972         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12973         locked insets as there we have the right value now.
12974
12975         * lyxcursor.C: added iy_ variable and iy functions to set to the
12976         baseline of cursor-y of the locked inset.
12977
12978         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12979         (setCursor): fixed for insets which need a full row.
12980
12981         * text.C (rowLastPrintable): don't ignore the last space when before
12982         an inset which needs a full row.
12983         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12984         as last character of a row when before a inset which needs a full row.
12985
12986 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12987
12988         * version.C.in: update date
12989
12990         * text2.C (fullRebreak): try to always return true and see what
12991         happens...
12992
12993 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12994
12995         * MenuBackend.C (expand): use Floating::listName
12996
12997         * FloatList.C (FloatList): add listName argument to the built-in
12998         floats
12999
13000         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13001         text associated with the float.
13002
13003 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13004
13005         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13006
13007 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13008
13009         * ShareContainer.h: add a couple of missing typenames.
13010
13011 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13012
13013         * lyxrc.C (getDescription): use _() correctly rather than N_().
13014
13015 2002-03-28  Herbert Voss  <voss@lyx.org>
13016
13017         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13018         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13019
13020 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13021
13022         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13023         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13024
13025 2002-03-29  Juergen Vigna  <jug@sad.it>
13026
13027         * lyxfunc.C (dispatch): add a missing fitCursor call.
13028
13029         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13030         it was scrolled by a cursor move, so return the bool status.
13031
13032         * BufferView.C (fitCursor): return the bool flag also to the outside
13033         world as this is needed.
13034
13035         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13036
13037         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13038         call the edit() as it is not needed (and wrong) IMO.
13039         (workAreaButtonPress): set the screen_first variable before evt.
13040         unlock the inset as this may change screen_first and then we have
13041         a wrong y position for the click!
13042
13043 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13044
13045         * MenuBackend.C (expand): another translation that I missed
13046
13047 2002-03-28  Juergen Vigna  <jug@sad.it>
13048
13049         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13050
13051         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13052
13053 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13054
13055         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13056
13057         * MenuBackend.C (expand): fix export/view/update when there is no
13058         document open.
13059
13060 2002-03-27  Herbert Voss  <voss@lyx.org>
13061
13062         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13063         and text%
13064
13065 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13066
13067         * bufferview_funcs.C (currentState): only show paragraph number
13068         for is DEVEL_VERSION is set.
13069
13070         * lyxfunc.C (dispatch): put warning in INFO channel
13071
13072         * MenuBackend.C (expand): translate the name of floats
13073
13074         * FloatList.C (FloatList): mark the float names for translation
13075
13076         * converter.C (convert): use LibScriptSearch
13077
13078 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13079
13080         * MenuBackend.C (defaults): fix default menu (we might as well get
13081         rid of it...)
13082
13083 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13084
13085         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13086         directory.
13087
13088 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13089
13090         * lyxvc.C: reorder includes.
13091
13092 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13093
13094         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13095           properly
13096
13097 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13098
13099         * CutAndPaste.C: change layouts earlier on paste
13100           to avoid crashing when calling getFont()
13101
13102 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13103
13104         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13105         irritating #error.
13106
13107 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * WorkArea.C: remove 'Pending' debug message.
13110
13111         * most files: ws cleanup
13112
13113         * buffer.[Ch]: ws changes
13114
13115         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13116
13117 2002-03-21  Juergen Vigna  <jug@sad.it>
13118
13119         * tabular.C (SetMultiColumn): collapse also the contents of the
13120         cells and set the last border right. Added a Buffer const * param.
13121
13122 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13123
13124         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13125         linking or not.
13126
13127 2002-03-19  Juergen Vigna  <jug@sad.it>
13128
13129         * text2.C (clearSelection): reset also xsel_cache.
13130
13131         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13132         where it needs to be called (John tells us to do so too :)
13133         (selectionLost): reset sel_cache.
13134
13135         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13136
13137 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13138
13139         * text2.C (setCursorIntern): put debuging code in INSETS channel
13140
13141 2002-03-19  André Pönitz <poenitz@gmx.net>
13142
13143         * lyxfunc.C: tiny whitespace change
13144
13145 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13146
13147         * ToolbarDefaults.C (init):
13148         * LyXAction.C (init):
13149         * commandtags.h:
13150         * BufferView_pimpl.C (Dispatch):
13151         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13152
13153 2002-03-19  Allan Rae  <rae@lyx.org>
13154
13155         * exporter.C (Export): removeAutoInsets before doing anything else.
13156         While I've just introduced a dependency on BufferView this really is
13157         the best place to clean the buffer otherwise you need to cleanup in
13158         a dozen places before calling export or cleanup in a dozen functions
13159         that export calls.
13160
13161         * converter.C (runLaTeX):
13162         (scanLog): Better handling of removeAutoInsets and screen updates.
13163
13164         * lyxfunc.C (dispatch): small whitespace changes
13165
13166 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13167
13168         * WorkArea.C (C_WorkAreaEvent): return a value.
13169         (event_cb): return 1 if we handled the event, 0 otherwise.
13170
13171         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13172
13173 2002-03-18  Juergen Vigna  <jug@sad.it>
13174
13175         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13176         (GetAdditionalWidth): ditto.
13177         (RightLine): ditto.
13178         (LeftLine): ditto.
13179
13180         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13181         inset if we're there actually (probably not used right now but this
13182         is the direction to go for unifying code).
13183         (paste): disable code to clear the selection.
13184
13185         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13186         inside an InsetText and move the check further up as it is in the
13187         wrong place.
13188
13189         * text2.C (pasteSelection): set a selection over the pasted text.
13190
13191 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13192
13193         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13194         and libgraphics to build on Cygwin.
13195
13196 2002-03-15  Juergen Vigna  <jug@sad.it>
13197
13198         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13199         inserting an Inset into the paragraph. I know this is not the best
13200         fix but we already use current_view in CutAndPaste so we will remove
13201         all of it's using at the same time.
13202
13203         * buffer.C (sgmlError): deactivated function till it is rewritten in
13204         the right mode, now it can create problems.
13205
13206         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13207         before accessing it.
13208
13209 2002-03-14  Juergen Vigna  <jug@sad.it>
13210
13211         * undo_funcs.C (textHandleUndo): do the right thing when updating
13212         the inset after the undo/redo.
13213
13214         * text2.C (setCursor): just some testcode for #44 not ready yet.
13215
13216         * undo_funcs.C (textHandleUndo): set the next() and previous()
13217         pointers of the paragraph to 0 before deleting otherwise we have
13218         problems with the Paragraph::[destructor].
13219
13220         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13221         on a paragraph insertion.
13222
13223 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13224
13225         * buffer.C (asciiParagraph): use += operator for char append to
13226         string.
13227
13228         * paragraph.C (getFontSettings): compare >= not just >
13229         (highestFontInRange): ditto
13230         (setFont): ditto
13231
13232 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13233
13234         * paragraph.C: change several algorithm to be more appripriate for
13235         the problem domain. This is lookip in FontList and in the InsetList.
13236
13237 2002-03-13  André Pönitz <poenitz@gmx.net>
13238
13239         * commandtags.h:
13240         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13241
13242 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13243
13244         * commandtags.h:
13245         * LyXAction.C:
13246         * lyxfunc.C:
13247         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13248
13249 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13250
13251         * Painter.C (display): anon helper function, adjust code for this
13252         change.
13253         (pixmap): remove function.
13254
13255         * Painter.h: remove private display variable.
13256
13257         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13258
13259 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13260
13261         * WorkArea.[Ch]: remove figinset_canvas cruft.
13262
13263 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13264
13265         * lyxtextclass.C (operator): add one item cache optimization.
13266
13267         * bufferlist.h: doxy changes
13268
13269         * bufferlist.C: ws changes
13270
13271         * DepTable.[Ch] (ext_exist): place const in the right spot.
13272
13273         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13274         call resizeInsets.
13275         (workAreaExpose): call resizeInsets when the with BufferView changes.
13276         (Dispatch): adjust for protectedBlank removal
13277         (specialChar): call updateInset if the insert went ok.
13278
13279         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13280         specialChar instead.
13281
13282         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13283
13284         * BufferView.h: doxy change
13285
13286         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13287
13288         * lyxtextclass.C (operator[]): remove non-const version
13289         (defaultLayout): remove non-const version
13290
13291 2002-03-12  Juergen Vigna  <jug@sad.it>
13292
13293         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13294         did resize the LyXText too.
13295
13296         * buffer.C (readLyXformat2): set layout information on newly allocated
13297         paragraphs.
13298
13299         * tabular.C (OldFormatRead): set layout information on the paragraph.
13300
13301 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13302
13303         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13304
13305 2002-03-11  Juergen Vigna  <jug@sad.it>
13306
13307         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13308         plainly wrong.
13309         (resizeCurrentBuffer): force also the insets to resize themselfes.
13310         (moveCursorUpdate): fixed up for InsetText.
13311
13312 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13313
13314         * commandtags.h:
13315         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13316         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13317         value of Dialogs::tooltipsEnabled().
13318         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13319
13320 2002-03-08  Juergen Vigna  <jug@sad.it>
13321
13322         * BufferView_pimpl.C (updateInset): update inset inside inset also
13323         if it isn't inside theLockingInset().
13324
13325 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * buffer.C (asciiParagraph): redo some of the word and line length
13328         handling.
13329         (getLists): look for Caption instead of caption.
13330
13331 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13332
13333         * buffer.C (Buffer): initialize niceFile to true
13334         (makeLaTeXFile):
13335         (makeLinuxDocFile):
13336         (makeDocBookFile): make sure niceFile is true on exit
13337
13338 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13339
13340         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13341
13342 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13343
13344         * LyXSendto.C: remove.
13345         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13346         * lyx_gui.C: remove now-redundant comment.
13347         * ColorHandler.h: remove forward declaration of class WorkArea.
13348         * lyxfunc.C: remove #include "WorkArea.h".
13349
13350 2002-03-07  Juergen Vigna  <jug@sad.it>
13351
13352         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13353         got moved away with the DEPM and also set the inset_owner always
13354         right which before could have been omitted.
13355
13356 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13357
13358         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13359         wanted layout is not found.
13360
13361 2002-03-07  Juergen Vigna  <jug@sad.it>
13362
13363         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13364
13365 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13366
13367         * paragraph.C (breakParagraph): use default layout not layout of
13368         prev paragraph.
13369         (Paragraph): clear ParagraphParameters.
13370
13371 2002-03-06  Juergen Vigna  <jug@sad.it>
13372
13373         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13374         otherwise it would not be a valid lenght. Fixed a special case in
13375         the minipage compatibility read where we end the document with a
13376         minipage.
13377
13378         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13379         was set as it could be 0 for InsetTexts first entry.
13380
13381 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13382
13383         * paragraph.C (writeFile): if layout is empty write out
13384         defaultLayoutName().
13385
13386         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13387         file without named layout we set layout to defaultLayoutName().
13388
13389 2002-03-06  Juergen Vigna  <jug@sad.it>
13390
13391         * CutAndPaste.C (copySelection): set layout for new paragraph.
13392
13393         * text.C (prepareToPrint): leave ERT inset left aligned
13394         (leftMargin): don't indent paragraphs inside ERT insets
13395
13396 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13397
13398         * paragraph.C (breakParagraph): dont call clear do the work manually
13399
13400         * paragraph.[Ch] (clear): remove function
13401
13402 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13403
13404         * paragraph.C (Paragraph): dont call clear, the work has already
13405         been done.
13406
13407         * lyxtextclass.C (operator): assert if n is empty
13408
13409         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13410         work manually instead.
13411
13412 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13413
13414         * BufferView_pimpl.C: protect selectionLost against text == 0
13415
13416 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13417
13418         * text.C (breakParagraph): fix a setting layout to '0' problem.
13419
13420 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13421
13422         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13423         final location of file, for the included files, and graphics.
13424
13425 2002-03-05  Juergen Vigna  <jug@sad.it>
13426
13427         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13428
13429 2002-03-04  Juergen Vigna  <jug@sad.it>
13430
13431         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13432
13433         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13434         last column of multicolumn cells.
13435         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13436
13437 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13438
13439         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13440         file if it doesn't go to a temporary file.
13441
13442         * buffer.C (sgmlOpenTag):
13443         (sgmlCloseTag):  remove extra newline insertion.
13444
13445 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * text.C (getRowNearY): comment out debug msg
13448
13449 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13450
13451         * text2.C: first -> first_y
13452
13453         * text.C (getRowNearY): add some attemts at a possible
13454         optimization, not working.
13455
13456         * tabular.[Ch]: add BufferParams to several function so that newly
13457         created paragraph can be initialized to he default layotu for the
13458         buffers textclass.
13459
13460         * tabular-old.C (ReadOld): add buf->params to call of Init
13461
13462         * screen.C: rename text->first to text->first_y
13463
13464         * paragraph.C (breakParagraph): always set layout in the broken
13465         paragraph
13466
13467         * lyxtextclass.C (Read): remove lowercase
13468         (hasLayout): ditto
13469         (operator): ditto
13470         (delete_layout): ditto
13471
13472         * lyxtext.h: rename first -> first_y
13473
13474         * lyxlayout.C (Read): remove lowercase
13475         (name): ditto
13476         (setName): ditto
13477         (obsoleted_by): ditto
13478
13479         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13480
13481         * buffer.C (insertErtContents): add params are to InsetERT
13482         (parseSingleLyXformat2Token): add code to check if a paragraphs
13483         layout really exist.
13484         (parseSingleLyXformat2Token): add params to several inset
13485         constructors
13486         (asciiParagraph): remove lowercase, do the layout comparisons with
13487         no_case
13488
13489         * BufferView_pimpl.C (cursorNext): first -> first_y
13490         (resizeCurrentBuffer): first -> first_y
13491         (updateScrollbar): first -> first_y
13492         (scrollCB): first -> first_y
13493         (workAreaMotionNotify): first -> first_y
13494         (workAreaButtonPress): first -> first_y
13495         (checkInsetHit): first -> first_y
13496         (cursorPrevious): first -> first_y
13497         (cursorNext): first -> first_y
13498         (Dispatch): add buffer_->params to severl inset contructors
13499
13500 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * lyxlayout.C (Read): remove some debug info that I forgot.
13503
13504         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13505         clean up the code slightly.
13506         (makeLinuxDocFile): ditto
13507         (makeDocBookFile): ditto
13508
13509         * text2.C: layout as string
13510
13511         * text.C: layout as string
13512
13513         * paragraph_pimpl.C: layout as string
13514
13515         * paragraph.[Ch]: layout as string
13516
13517         * lyxtextclasslist.[Ch]: layout as string
13518
13519         * lyxtextclass.[Ch]: layout as string
13520
13521         * lyxtext.h: layout as string
13522
13523         * lyxlayout.[Ch]: layout as string
13524
13525         * lyx_cb.C: layout as string
13526
13527         * bufferview_funcs.C: layout as string
13528
13529         * bufferparams.C: layout as string
13530
13531         * buffer.C: layout as string
13532
13533         * LyXView.[Ch]: layout as string
13534
13535         * LaTeXFeatures.[Ch]: layout as string
13536
13537         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13538
13539         * BufferView_pimpl.C: change current_layout to string, remove
13540         lyx::layout_type.
13541         (Dispatch):
13542         (smartQuote):
13543         (insertInset):
13544         (workAreaButtonRelease): layout as string
13545
13546         * BufferView2.C (unlockInset): adjust
13547
13548         * vspace.C (asLatexCommand): use an explict temp variable.
13549
13550 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13551
13552         * Makefile.am: use FRONTEND_*
13553
13554 2002-03-01  Juergen Vigna  <jug@sad.it>
13555
13556         * tabular.C (SetWidthOfMulticolCell): changed to something better
13557         I hope but still work in progress.
13558         (recalculateMulticolumnsOfColumn): renamed function from
13559         recalculateMulticolCells as it is more appropriate now.
13560         (SetWidthOfCell): calculate multicols better.
13561
13562 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13563
13564         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13565
13566         * lyxfunc.C (processKeySym): print sequence also if it is
13567         `deleted' (complete)
13568
13569         * kbsequence.C (print): print sequence even if it is deleted
13570         (complete would be a better word, actually).
13571
13572         * lyxfunc.C (dispatch): print complete options after a prefix key
13573
13574         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13575
13576 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13577
13578         * text2.C (setCharFont): eliminate setCharFont code duplication.
13579
13580 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13581
13582         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13583         LFUN_TABULAR_FEATURE (bug #177)
13584
13585 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13586
13587         * Makefile.am: remove figure.h
13588
13589 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13590
13591         * Bufferview_pimpl.C:
13592         * CutAndPasteC:
13593         * LaTeX.C:
13594         * LyXSendto.C:
13595         * buffer.C:
13596         * bufferlist.C:
13597         * converter.C:
13598         * language.C:
13599         * lyxfunc.C:
13600         * lyxvc.C:
13601         * paragraph.C:
13602         * text.C:
13603         * text2.C: remove #include "lyx_gui_misc.h".
13604
13605         * LaTeX.C: added #include <cstdio>
13606
13607 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13608
13609         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13610         that the paragraph following this one can have.
13611
13612         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13613
13614         * vspace.C (asLatexCommand): fix bogus gcc warning
13615
13616         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13617
13618 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13619
13620         * text2.C (setLayout): get rid of redundant code
13621
13622 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13623
13624         * text2.C (incDepth): make sure depth cannot be increased beyond
13625         reasonable values.
13626
13627 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13628
13629         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13630         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13631
13632         * PainterBase.h (image):
13633         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13634         a LyXImage const *.
13635
13636 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13637
13638         * BufferView.C:
13639         * BufferView.h:
13640         * BufferView_pimpl.C:
13641         * BufferView_pimpl.h:
13642         * LaTeXFeatures.C:
13643         * LyXAction.C:
13644         * LyXView.C:
13645         * Makefile.am:
13646         * UpdateList.h:
13647         * UpdateList.C:
13648         * buffer.C:
13649         * figure.h:
13650         * figureForm.C:
13651         * figureForm.h:
13652         * figure_form.C:
13653         * figure_form.h:
13654         * lyx_cb.C:
13655         * lyx_gui.C:
13656         * lyx_gui_misc.C:
13657         * lyxfunc.C:
13658         * sp_base.h:
13659         * sp_ispell.h:
13660         * sp_pspell.h:
13661         * sp_spell.C: remove fig inset, and the crap house of
13662           cards that follows it
13663
13664 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13665
13666         * Makefile.am:
13667         * lyxserver.C:
13668         * os2_defines.h:
13669         * os2_errortable.h:
13670         * nt_defines.h: move .h into support/
13671
13672         * vms_defines.h: remove
13673
13674         * WorkArea.C: add space in debug output
13675
13676         * text2.C:
13677         * paragraph.C:
13678         * buffer.C: add WITH_WARNINGS
13679
13680         * vc-backend.h:
13681         * vc-backend.C:
13682         * bufferlist.C: s/retrive/retrieve/, add docs
13683
13684         * vspace.h:
13685         * vspace.C:
13686         * kbmap.h:
13687         * lyxlength.h:
13688         * lyxgluelength.h:
13689         * length_common.h:
13690         * chset.h:
13691         * chset.C: add docs
13692
13693         * lyxgui.C: add ID to X error handler
13694
13695         * lyxtestclass.c: fix typo
13696
13697 2002-02-26  Juergen Vigna  <jug@sad.it>
13698
13699         * tabular_funcs.C (write_attribute): changed so that some default
13700         attributes are not written at all.
13701         (getTokenValue): set default values before trying to read the
13702         value so we have the return value always set as default if we don't
13703         find the token we search for.
13704
13705         * tabular.C (Write): write bools as bools not as strings!
13706
13707 2002-02-22  Juergen Vigna  <jug@sad.it>
13708
13709         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13710         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13711
13712         * text.C (leftMargin): don't add an indent for paragraphs inside
13713         tabular cells (fix #208).
13714
13715 2002-02-21  José Matos  <jamatos@fep.up.pt>
13716
13717         * tabular.C (docBook): fixed support for long tables.
13718
13719 2002-02-20  Juergen Vigna  <jug@sad.it>
13720
13721         * text2.C (getFont): get the drawing font of the Inset if this
13722         paragraph is inside an inset (only important for InsetERT for now).
13723
13724         * buffer.C (insertErtContents): use new lanugage params in ERT
13725         constructor.
13726
13727         * CutAndPaste.C: commenting out seemingly uneeded code.
13728
13729 2002-02-19  Allan Rae  <rae@lyx.org>
13730
13731         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13732         Iterators might be simple to use but they also get invalidated.
13733         (removeAutoInsets): renamed saved cursor tracking variables and added
13734         some comments to clarify what everything does.
13735
13736 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13737
13738         * Chktex.C:
13739         * LaTeX.C:
13740         * LyXSendto.C:
13741         * converter.C:
13742         * lyx_cb.C:
13743         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13744         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13745
13746         * lyxfunc.C:
13747         * vc-backend.h: remove #include "support/syscall.h"
13748
13749         * LaTeX.C:
13750         * LyXSendto.C:
13751         * converter.C: rearrange #includes in Lars' approved fashion.
13752
13753         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13754         forward declare class Timeout in the header file.
13755
13756         * XFormsView.C: changes due to the above.
13757
13758         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13759         similar to LyXView.
13760
13761         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13762         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13763
13764 2002-02-18  José Matos  <jamatos@fep.up.pt>
13765
13766         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13767         insets contents.
13768
13769 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13770
13771         * a lot of small ws changes
13772         * add a lot of using std::XXX
13773         * use std construcs some places where approp.
13774         * use some exisint stuff from lyxfunctional where approp.
13775         * Make file changes to use partial linking (lets test this now...)
13776
13777 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13778
13779         * Chktex.C:
13780         * buffer.C:
13781         remove #include "support/syscontr.h" as it's redundant. Always has been.
13782
13783         * Chktex.C:
13784         * LaTeX.C:
13785         * LyXSendto.C:
13786         * converter.C:
13787         * lyx_cb.C:
13788         * vc-backend.C:
13789         change Systemcalls::System to Systemcalls::Wait and
13790         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13791         No change of functionality, just reflects the stripped down Systemcalls
13792         class.
13793
13794 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13795
13796         * debug.[Ch]: add a GRAPHICS type to the enum.
13797
13798 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13799
13800         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13801
13802         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13803         there is an inset.
13804
13805 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13806
13807         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13808         match the changes below.
13809
13810         * text2.C (toggleInset): if there is not editable inset at cursor
13811         position, try to see if cursor is _inside_ a collapsable inset
13812         and close it.
13813
13814 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13815
13816         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13817         document menu has a nice checkbox
13818
13819 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13820
13821         * lyxlength.C (asLatexString): change PW to output as percent of
13822         \textwidth.
13823
13824         * lengthcommon.C: change '%' to 't%'
13825
13826         * lyxfunc.C (dispatch): a few comments from Martin
13827
13828 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13829
13830         * WorkArea.h:
13831         * WorkArea.C:
13832         * BufferView_pimpl.h:
13833         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13834           the X selection.
13835
13836 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13837
13838         * vspace.C (inPixels): fix compiler warning
13839
13840 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13841
13842         * lyxfunc.C (getStatus): fix status message for disabled commands.
13843
13844 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13845
13846         * BufferView_pimpl.C: fix crash on close buffer
13847         during selection (#227)
13848
13849 2002-01-27  Herbert Voss  <voss@lyx.org>
13850
13851         * buffer.C: link old Figure to new graphic inset
13852
13853 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13854
13855         * FontLoader.C (getFontinfo): Change the latex font names in order
13856         to match the names of type1inst.
13857
13858 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13859
13860         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13861
13862         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13863         (extchanged): ditto
13864         (ext_exist): ditto
13865         (remove_files_with_extension): ditto
13866         (remove_file): ditto
13867         (write): ditto
13868
13869         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13870         document is smaller than the work area height. Do not initialize
13871         static variables to 0.
13872
13873 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13874
13875         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13876
13877         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13878         LFUN_LAYOUT_PARAGRAPHS.
13879
13880         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13881         tabular. It is possible to provide a possible cell, which will
13882         typically be the actcell from the corresponding insettabular
13883
13884         * lyxfunc.C (getStatus): small cleanup; disable
13885         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13886         true
13887
13888 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13889
13890         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13891
13892         * paragraph.C (startTeXParParams):
13893         (endTeXParParams): new methods. The LaTeX code to
13894         start/end paragraph formatting
13895         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13896         empty (fixes bug #200)
13897
13898         * vspace.C (inPixels): adapt to the change below
13899         (inPixels): [later] more cleanups (remove unused variables)
13900
13901         * lyxlength.C (inPixels): change to use a width and a height as
13902         parameter.
13903
13904 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13905
13906         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13907         Replaced with \paperwidth
13908
13909         * DepTable.C (insert): add std:: qualifier
13910
13911 2002-01-18  Allan Rae  <rae@lyx.org>
13912
13913         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13914         updated also?
13915
13916         * text.C (drawInset): Turned out I didn't know enough about how
13917         rebreaking worked.  This fixes most of the redraw problems.  I see
13918         an occasional cursor trail when a line is broken now and the cursor
13919         placement can seem out by a few pixels also after a rebreak.
13920
13921 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13922
13923         * buffer.C (parseSingleLyXformat2Token): update because minipage
13924         width is now a LyXLength
13925
13926         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13927
13928         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13929         math insets
13930
13931 2002-01-17  Juergen Vigna  <jug@sad.it>
13932
13933         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13934
13935         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13936         is set correctly and the inset is updated correctly.
13937
13938 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13939
13940         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13941         the beginning of the loop.
13942
13943 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13944
13945         * lyxrc.C: improve help for use_scalable_fonts
13946
13947 2002-01-17  Allan Rae  <rae@lyx.org>
13948
13949         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13950
13951 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13952
13953         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13954         make sure to set their inset_owner to the right value (bug #171)
13955
13956 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13957
13958         * DepTable.h
13959         * DepTable.C: Implement mtime checking to reduce time spent doing
13960         CRCs.
13961
13962 2002-01-16  Juergen Vigna  <jug@sad.it>
13963
13964         * tabular.C (GetAdditionalHeight): one of error fixed.
13965
13966         * lyxrc.C (output): small fix in writing use_pspell.
13967
13968 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13969
13970         * sp_base.h: #include LString.h
13971
13972 2002-01-16  Allan Rae  <rae@lyx.org>
13973
13974         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13975         Can someone check this please?
13976
13977         * text.C (drawInset): It was possible that p.row would be removed by
13978         breakAgainOneRow upsetting a few other settings.  There may be another
13979         small tweak possible by setting need_break_row = 0 when p.row has been
13980         removed but I don't know enough about the logic here.
13981
13982 2002-01-15  Allan Rae  <rae@lyx.org>
13983
13984         * text.C (insertChar): removed conditional truism.
13985
13986         * BufferView2.C (removeAutoInsets): More tweaks.
13987         cur_par_prev could be a stray pointer.  Check for trailing empty line
13988         in case last line was cur_par and only had an error inset on it.
13989
13990 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13991
13992         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13993         absolute
13994
13995         * vc-backend.C (most methods):
13996         * exporter.C (Export):
13997         * converter.C (convert):
13998         (runLaTeX):
13999         * LyXSendto.C (SendtoApplyCB):
14000         * lyxfunc.C (dispatch):
14001         (menuNew):
14002         (open):
14003         (doImport):
14004         * lyx_cb.C (AutoSave):
14005         (InsertAsciiFile):
14006         * BufferView_pimpl.C (MenuInsertLyXFile):
14007         * buffer.C (runChktex): use Buffer::filePath().
14008
14009         * buffer.h: rename filename to filename_; rename filepath to
14010         filepath_ and make it private
14011         (filePath): new method
14012
14013         * buffer.C (writeFile): use fileName()
14014         (getLatexName):
14015
14016         * lyx_main.C (init): fix starting  of LyX when the binary is a
14017         link from so,ewhere else.
14018
14019         * minibuffer.C: include <cctype> for isprint
14020
14021 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14022
14023         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14024         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14025         name clash with InsetCollapsable's width function.
14026
14027 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14028
14029         * lastfiles.C: include <iterator>
14030
14031 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14032
14033         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14034         std::count.
14035
14036         * buffer.C (makeLaTeXFile): ditto.
14037         Also make loop operation more transparent.
14038
14039 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14040
14041         * ToolbarDefaults.C: remove trailing comma closing namespace.
14042
14043         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14044
14045         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14046         as in WorkArea.
14047
14048         * trans.C (Load): comment out unused variable, allowed.
14049
14050 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14051
14052         * minibuffer.[Ch] (append_char): new method to recieve input from the
14053         drop-down completion browser. If a key was pressed, then recieve this
14054         char and append it to the existing string.
14055         (peek_event): modify the positioning data passed to the completion
14056         browser so that it can be placed above the minibuffer rather than below.
14057 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14058
14059         * LyXAction.C (init): alloe error-next for readonly documents.
14060
14061         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14062         count.
14063
14064 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14065
14066         * bufferlist.C (readFile): create the buffer _after_ checking that
14067         the file exists.
14068
14069         * lyxfunc.C (verboseDispatch): fix handling of arguments
14070
14071         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14072
14073         * lyxrc.C: use string::erase() instead of initializing to "".
14074
14075
14076 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14077
14078         * BufferView_pimpl.h:
14079         * BufferView_pimpl.C:
14080         * WorkArea.h:
14081         * WorkArea.C:
14082         * text2.C: tell X when we have made a selection for copying
14083
14084 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14085
14086         * BufferView_pimpl.C (MenuInsertLyXFile):
14087         * lyxfunc.C (menuNew):
14088         (open):
14089         (doImport): add shortcuts to directory buttons
14090
14091         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14092         open a float)
14093
14094         * lyxfunc.C (setStatusMessage):
14095         (getStatusMessage): new methods
14096         (getStatus):use setStatusMessage instead of setErrorMessage
14097         (dispatch): when function is disabled, set error message here
14098         [instead of in getStatus previously]
14099
14100         * BufferView_pimpl.C (workAreaButtonRelease): update
14101         toolbar/menubar here too.
14102
14103 2002-01-13  Allan Rae  <rae@lyx.org>
14104
14105         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14106         Now seems indestructible.  Remaining task is to audit all other
14107         code affected by deleteEmptyParagraphMechanism.  One small quirk
14108         left is that an empty document with an error in the preamble can
14109         be made to report an error but no error box appears.  I don't know
14110         where it goes.
14111         (removeAutoInsets): Improved comments.
14112
14113 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14114
14115         * Thesaurus.h:
14116         * Thesaurus.C: update for Aiksaurus 0.14
14117
14118 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14119
14120         * text2.C (firstParagraph): removed member function, all uses
14121         replaces with ownerParagraph
14122         (redoParagraphs): here
14123         (updateInset): here
14124         (toggleAppendix): here
14125         * BufferView2.C (insertErrors): here
14126         (setCursorFromRow): here
14127
14128 2002-01-13  Allan Rae  <rae@lyx.org>
14129
14130         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14131         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14132         There is still a way to segfault this although you may have to do this
14133         multiple times: Have an InsetERT with an unknown command in it.
14134         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14135         <down-arrow>, <Enter> again, View->DVI, BANG!
14136
14137         * text2.C (setCursor):
14138         (deleteEmptyParagraphMechanism):
14139         * lyxtext.h (setCursor):
14140         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14141         Making use of the return value may help fix other bugs.
14142
14143 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14144
14145         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14146
14147         * LyXView.C (updateMenubar): call MenuBar::update here
14148         (updateToolbar): but not here
14149         (showState): do not update toolbar/menubar
14150
14151         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14152         should need to care about that.
14153
14154         * lyxfunc.C (verboseDispatch): simplify a bit
14155         (getStatus): have a version which takes a pseudoaction, and
14156         another which requires a (kb_action,string).
14157
14158         * LyXAction.C (retrieveActionArg): make it work also when action
14159         is not a pseudo-action.
14160         (getActionName): simplify a bit
14161         (helpText):
14162
14163 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14164
14165         * lyxfunc.C (verboseDispatch): new families of methods with
14166         several ways to specify a command and a bool to indicate whether
14167         the command name and shortcut should be displayed in minibuffer
14168         (eventually, we could extend that to a finer bitmask like
14169         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14170         (dispatch): the pristine dispatch command which just, well,
14171         dispatchs! Note it still sets its result to minibuffer; I'm not
14172         sure we want that.
14173
14174         * lyxfunc.h: remove setHintMessage
14175
14176         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14177
14178 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14179
14180         * BufferView_pimpl.C (specialChar): delete new inset if we have
14181         not been able to insert it.
14182
14183         * kbmap.C: revert to using int instead of kb_action, since all we
14184         are dealing with is pseudo-actions.
14185
14186         * LyXAction.C (searchActionArg): change to return int instead of
14187         kb_action, since the result is a pseudoaction.
14188
14189 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14190
14191         * buffer.C (insertErtContents): Fix (partially) the font bug.
14192
14193 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14194
14195         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14196         as the other one is broken on my machine!
14197
14198 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14199
14200         * commandtags.h:
14201         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14202
14203 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14204
14205         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14206         reflect their actual use. Provide compatibility code for older lyxrc
14207         files.
14208
14209         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14210         FL_NORMAL_STYLE.
14211         change names of popup font variables in line with the changes to lyxrc.C
14212
14213 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14214
14215         * buffer.C (asciiParagraph): avoid outputing a word twice after
14216         an inset.
14217
14218         * lyxrc.C (getDescription): document that document_path and
14219         template_path can be empty.
14220
14221 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14222
14223         * LaTeXFeatures.C (getMacros):
14224         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14225
14226         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14227
14228         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14229         getPackages.
14230         (getPackages): rename feature "floats" to "float". Use an array to
14231         iterate over 'simple' features (i.e. just a \usepackage). Add
14232         handling of "amsmath" (renamed from "amsstyle").
14233
14234 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14235
14236         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14237         features list.
14238
14239 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14240
14241         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14242         FuncStaus::FuncStatus & FuncStaus::some_method().
14243
14244 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14245
14246         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14247         of the func_satus stuff. Edited and massaged in various ways by
14248         JMarc.
14249
14250         * lyxfunc.C (getStatus): use FuncStatus
14251
14252 2002-01-08  Juergen Vigna  <jug@sad.it>
14253
14254         * text.C (nextBreakPoint): use function Inset::isChar().
14255
14256         * paragraph.C (TeXOnePar): use function
14257         Inset::forceDefaultParagraphs.
14258
14259         * buffer.C (latexParagraphs): use function
14260         Inset::forceDefaultParagraphs.
14261
14262 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14263
14264         * lyx_gui.C (init): set the style of the menu popups to
14265         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14266
14267 2002-01-07  Juergen Vigna  <jug@sad.it>
14268
14269         * text.C (setHeightOfRow): small fix
14270         (prepareToPrint): don't look at alignment if we don't have the place
14271         for doing it.
14272
14273 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14274
14275         * box.C: New file. Move the Box methods and functions out of box.h,
14276         following Lars' suggestion.
14277
14278 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14279
14280         * box.h: #include "support/LOstream.h", needed for inlined function.
14281
14282         * lyxtextclass.C:
14283         * lyxtextclasslist.C: added some using std declarations.
14284
14285 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14286
14287         * box.h: make signed dimensions to allow insets wider than
14288           the screen (bug #162)
14289
14290         * BufferView_pimpl.C: add some insetHit debug
14291
14292 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14293
14294         * vc-backend.C: add FIXME
14295
14296 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14297
14298         * lyxfunc.C (getStatus): enable code for showing math font status
14299         in toolbar/menu.
14300
14301 2002-01-07  Juergen Vigna  <jug@sad.it>
14302
14303         * text.C (nextBreakPoint): removed debug output not needed anymore.
14304
14305 2002-01-06  Juergen Vigna  <jug@sad.it>
14306
14307         * text.C (nextBreakPoint): fixed up this function we had this bug
14308         since ever but now hopefully we break row better.
14309         (insertChar): we have to check if an inset is the next char as it
14310         could now happen that a large inset is causing a break.
14311
14312 2002-01-05  Juergen Vigna  <jug@sad.it>
14313
14314         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14315         if it doesn't like to be drawed.
14316
14317 2002-01-04  Juergen Vigna  <jug@sad.it>
14318
14319         * BufferView2.C (lockInset): forgot to set a cursor.
14320
14321         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14322
14323 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14324
14325         * FormMathsPanel.C:
14326         * FormMathsPanel.h
14327         * MathsSymbols.C:
14328         * form_maths_panel.C:
14329         * form_maths_panel.h:
14330         * form_maths_panel.fd: implemented sub- and super- buttons in math
14331         panel.
14332
14333         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14334         (or ^ space) to be used as in TeX (req'd by Andr�.
14335
14336         * lyxfunc.C: Allow ^ and _ again to be used both as
14337         super/subscript (mathed) and as themselves (in text).
14338
14339 2002-01-03  Allan Rae  <rae@lyx.org>
14340
14341         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14342         "LyX" or the filename of the current buffer if it has one.  This is a
14343         modified form of John Levon's patch.
14344
14345         * XFormsView.C (setWindowTitle): also set icon title.
14346
14347         * LyXView.h (setWindowTitle): signature changed.
14348         * XFormsView.h (setWindowTitle): ditto.
14349
14350 2002-01-02  Juergen Vigna  <jug@sad.it>
14351
14352         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14353
14354 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14355
14356         * screen.C (topCursorVisible): introduce a temp var for
14357         text->cursor.row(), handle the case where this row is null. (kindo
14358         hachish)
14359
14360         * text2.C (setCursor): add a couple of asserts.
14361
14362         * paragraph.h (inset_iterator): add -> operator
14363
14364         * paragraph.[Ch] (autoDeleteInsets): remove member function
14365
14366         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14367         cursor pos correctly and handle inset deletion by itself.
14368         (insertErrors): move iterator declaration out of for expression
14369
14370         * lyxtextclass.C: add <algorithm>
14371
14372         * Makefile.am: added the new files to sources, removed layout.C
14373
14374         * layout.C: removed file
14375
14376         * layout.h: remove LYX_DUMMY_LAYOUT
14377
14378         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14379         layout.
14380
14381         * lyxlayout.[Ch]:
14382         * lyxtextclass.[Ch]:
14383         * lyxtextclasslist.[Ch]: new files
14384
14385         * include order changes to a lot of files, also changes because of
14386         the six new files.
14387
14388 2001-12-27  Juergen Vigna  <jug@sad.it>
14389
14390         * buffer.C (asciiParagraph): more fixes.
14391
14392         * tabular.C (ascii): make ascii export support export of only the
14393         data separated by a column-delimiter.
14394         (ascii): better support for ascii export.
14395
14396         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14397
14398 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14399
14400         * tabular_funcs.C: use a "using std::getline" instead of the
14401         previous fix from Angus (necessary for cxx + lyxstring)
14402
14403 2001-12-24  Juergen Vigna  <jug@sad.it>
14404
14405         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14406
14407         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14408         problems. First check a minipage also if we have some ert-contents
14409         (not only on par->size(), second set the right depth of the paragraph
14410         on the relink to the root-paragraph-list!
14411
14412         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14413         which then did not anymore update the main paragraphs on undo/redo!
14414
14415 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14416
14417         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14418         code. Support all font-changing funcs (even those which are not in
14419         menu currently). Support for reporting font settings in
14420         mathed (disabled until Andre provides a function on mathed's side).
14421
14422         * func_status.h (toggle): small helper function to set toggle
14423         state on a flag.
14424
14425 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14426
14427         * tabular_funcs.C: getline -> std::getline
14428
14429 2001-12-21  Juergen Vigna  <jug@sad.it>
14430
14431         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14432         accessed and could be 0 (I couldn't generate this but it seems
14433         Michael could!).
14434
14435 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14438         * tabular_funcs.h: here and include iosfwd
14439
14440 2001-12-20  Juergen Vigna  <jug@sad.it>
14441
14442         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14443         inside inset but undo_par was.
14444
14445 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14446
14447         * Thesaurus.C: always include <config.h> in sources.
14448
14449         * Painter.h:
14450         * lyxlookup.h:
14451         * box.h: do not include <config.h> in header files
14452
14453         * text.C (paintLastRow): remove unused variable
14454
14455         * text.C (transformChar):
14456         (insertChar):
14457         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14458
14459         * Painter.C (text):
14460         * font.C (width): rewrite to use uppercase() instead of
14461         islower/toupper.
14462
14463         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14464
14465 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14466
14467         * lyxfind.C: clean up of find failure position change
14468
14469 2001-12-20  Juergen Vigna  <jug@sad.it>
14470
14471         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14472
14473         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14474         (TeXRow): added to LaTeX a single tabular row.
14475         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14476         (Latex): simplified and finally good LT-h/f support.
14477         (various_functions): just small adaptions for LT-h/f support.
14478
14479         * tabular_funcs.[hC]: added and moved here all not classfunctions
14480         of LyXTabular.
14481
14482 2001-12-19  Juergen Vigna  <jug@sad.it>
14483
14484         * tabular.[Ch]: better support for longtabular options (not finished
14485         yet!)
14486
14487 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14488
14489         * text.C (paintLastRow): use the label font instead of the font of
14490         the last character to compute the size of *_BOX. This makes more
14491         sense and avoids a crash with empty paragraphs.
14492         Use Painter::rectangle to draw EMPTY_BOX.
14493
14494 2001-12-19  Juergen Vigna  <jug@sad.it>
14495
14496         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14497         the paragraphs if the replaced paragraph is not the first one!
14498         Tried to delete not used paragraphs but does not work yet so for
14499         now it's inside #ifdef's and by default off!
14500
14501 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14502
14503         * MenuBackend.C: include "lyx_main.h" instead of declaring
14504         lastfiles (actually was declared as LastFiles* instead of a
14505         scoped_ptr).
14506
14507 2001-12-17  Juergen Vigna  <jug@sad.it>
14508
14509         * tabular.C (AppendColumn): applied John's fix
14510
14511 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14512
14513         * BufferView.h:
14514         * BufferView.C:
14515         * BufferView_pimpl.h:
14516         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14517
14518         * Makefile.am:
14519         * box.h: new start of class for above
14520
14521         * lyxfunc.C: ignore space-only minibuffer dispatches.
14522           Show the command name when it doesn't exist
14523
14524         * minibuffer.C: don't add empty lines to the history
14525
14526         * minibuffer.C: add a space on dropdown completion
14527
14528 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14529
14530         * text.C: fix line above/below drawing in insets
14531
14532 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14533
14534         * lyxlength.C (LyXLength): Initialize private variables.
14535
14536 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14537
14538         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14539         when inserting error insets.
14540
14541 2001-12-13  Juergen Vigna  <jug@sad.it>
14542
14543         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14544         actually sometimes the before-paragraph.
14545         (setUndo): don't clear the redostack if we're not actually undoing!
14546
14547 2001-12-06  Juergen Vigna  <jug@sad.it>
14548
14549         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14550         and fixed redoing of main paragraph, so we can use it now ;)
14551
14552         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14553
14554 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14555
14556         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14557         Juergen's request
14558
14559 2001-12-13  André Pönitz <poenitz@gmx.net>
14560
14561         * undostack.[Ch]:
14562         * undo_func.C: minor cleanup
14563
14564 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14565
14566         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14567         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14568         font in urw-fonts package which is marked as -urw-fontspecific and
14569         does not work (incidentally, changing the encoding in the
14570         fonts.dir of this package to -adobe-fontspecific fixes the
14571         problem).
14572
14573         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14574         is a crash when undoing first paragraph (Juergen, please take a
14575         look). THis does not mean the undo fix is wrong, just that it
14576         uncovers problems.
14577
14578         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14579         the (Paragraph*) version when needed instead of duplicating the
14580         code.
14581
14582         * text.C (workWidth): use Inset::parOwner to find out where the
14583         inset has been inserted. This is a huge performance gain for large
14584         documents with lots of insets. If Inset::parOwner is not set, fall
14585         back on the brute force method
14586
14587         * paragraph_pimpl.C (insertInset):
14588         * paragraph.C (Paragraph):
14589         (cutIntoMinibuffer): set parOwner of insets when
14590         inserting/removing them
14591
14592         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14593
14594 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14595
14596         * commandtags.h:
14597         * LyXAction.C:
14598         * lyx_main.C:
14599         * lyxfunc.C:
14600         * mathed/formulabase.C:
14601         * mathed/math_cursor.[Ch]:
14602         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14603
14604
14605 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14606
14607         * lyxlength.[Ch] (operator!=): new function
14608
14609 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14610
14611         * text.C (workWidth): use Inset::parOwner to find out where the
14612         inset has been inserted. This is a huge performance gain for large
14613         documents with lots of insets. If Inset::parOwner is not set, fall
14614         back on the brute force method
14615
14616         * paragraph_pimpl.C (insertInset):
14617         * paragraph.C (Paragraph):
14618         (cutIntoMinibuffer): set parOwner of insets when
14619         inserting/removing them
14620
14621         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14622
14623 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14624
14625         * tabular-old.C (getTokenValue):
14626         * tabular.C (getTokenValue):
14627         (write_attribute): new versions for LyXLength
14628         (everywhere): adjust the use of widths
14629
14630         * tabular.h: change the type of widths from string to LyXLength
14631
14632 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14633
14634         * paragraph.C: fixed missing line number count when exporting
14635         Environments to LaTeX file
14636
14637         * buffer.C: added informational message for checking line numbers.
14638
14639 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14640
14641         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14642         paragraph, do the 'double space' part, but not the 'empty
14643         paragraph' one.
14644
14645         * text.C (workWidth): small optimization
14646         (getLengthMarkerHeight): use minimal size for negative lengths.
14647
14648 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14649
14650         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14651
14652         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14653
14654 2001-12-11  André Pönitz <poenitz@gmx.net>
14655
14656         * FontLoader.C:
14657         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14658
14659 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14660
14661         * text2.C: keep selection on a setFont()
14662
14663 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14664
14665         * lyx_cb.C: another bv->text misuse, from insert label
14666
14667 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14668
14669         * kbsequence.h:
14670         * kbsequence.C: re-instate nmodifier mask
14671
14672 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14673
14674         * lyx_main.h: make lyxGUI private.
14675
14676 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14677
14678         * lyxfind.C: place the cursor correctly on failed search
14679
14680 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14681
14682         * text.C (getLengthMarkerHeight): for small heights, the arrows
14683         are not always on top/bottom of the text
14684         (drawLengthMarker): smaller arrows; take the left margin in
14685         account; draw also vfills.
14686         (paintFirstRow):
14687         (paintLastRow): remove special code for vfill and standard spaces,
14688         since everything is handled in drawLengthMarker now.
14689
14690 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14691
14692         * buffer.C (insertErtContents): try to handle font and language
14693         interaction a bit better.g
14694
14695         * ColorHandler.C (updateColor): change the hash to cover the whole
14696         LColor enum, ws cleanup
14697         (getGCLinepars): ditto
14698         (getGCLinepars): only lookup in the linecache once.
14699
14700 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14701
14702         * iterators.C (operator++): Make the iterator more robust
14703
14704         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14705         (John's patch)
14706         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14707
14708 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14709
14710         * lyxtext.h:
14711         * text.C: better added space drawing
14712
14713 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14714
14715         * LyXView.C:
14716         * BufferView2.C: fix layout combo update on inset unlock
14717
14718 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * Makefile.am: don't compile unused files
14721
14722 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * lyxfunc.C:
14725         * commandtags.h:
14726         * LyXAction.C: remove old LFUN_LAYOUTNO
14727
14728 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14729
14730         * paragraph_pimpl.h:
14731         * paragraph_pimpl.C: isTextAt() doesn't need font param
14732
14733 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14734
14735         * lyxlex.h:
14736         * lyxlex.C: little cleanup
14737
14738 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14739
14740         * BufferView_pimpl.C: fix insertAscii for insets
14741
14742 2001-12-05  Juergen Vigna  <jug@sad.it>
14743
14744         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14745         set the right font on the "multi" paragraph paste!
14746
14747 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14748
14749         * trans_decl.h:
14750         * trans_mgr.[Ch]:
14751         * trans.[Ch]:
14752         * lyxgluelength.C:
14753         * lyxlength.C: remove out-commented code.
14754
14755         * BufferView_pimpl:
14756         * CutAndPaste.C:
14757         * DepTable.C:
14758         * buffer.C:
14759         * chset.C:
14760         * lastfiles.C:
14761         * lyxlex.C:
14762         * lyxlex_pimpl.C:
14763         * lyxserver.C:
14764         * screen.C:
14765         * tabular-old.C:
14766         * tabular.C:
14767         * text.C:
14768         * trans_mgr.C:
14769         * vc-backend.C: change "while(" to "while ("
14770
14771         * lyxlength.[Ch]: add zero function to check if length is zero or
14772         not
14773         * lyxgluelength.C: use it
14774
14775 2001-12-05  Allan Rae  <rae@lyx.org>
14776
14777         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14778         Works for 2.95.3, from what I understand of Garst's reports this should
14779         work for other g++ versions.  We're screwed if the abs(int) definition
14780         changed between bugfix releases of gcc.
14781
14782 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14783
14784         * text.C: fix chapter label offset !
14785
14786 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14787
14788         * lyxtext.h:
14789         * text.C: fix hfill at end of line, clean up
14790
14791 2001-12-04  Juergen Vigna  <jug@sad.it>
14792
14793         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14794         that we force an update of the inset and it's owners if neccessary.
14795
14796 2001-12-03  Juergen Vigna  <jug@sad.it>
14797
14798         * text.C (rowLast): simplified code
14799
14800 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14801
14802         * lyxfunc.C: fix show options on timeout
14803
14804 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * screen.C (topCursorVisible): scroll half a page when the cursor
14807         reached top of bottom of screen
14808
14809 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14810
14811         * minibuffer.C: deactivate on loss of focus
14812
14813 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14814
14815         * vspace.[Ch] (operator!=): add operator.
14816
14817 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14818
14819         * BufferView_pimpl.C: refuse to open an inset when
14820         there's a selection.
14821
14822 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14823
14824         * BufferView_pimpl.C: allow to click on RHS of full row insets
14825
14826 2001-11-30  Juergen Vigna  <jug@sad.it>
14827
14828         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14829         insets for undo reasons.
14830
14831 2001-11-28  André Pönitz <poenitz@gmx.net>
14832
14833         * vspace.[Ch]: cosmetical changes
14834
14835 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14836
14837         * LyXAction.h:
14838         * LyXAction.C:
14839         * lyxfunc.h:
14840         * lyxfunc.C:
14841         * kbmap.h:
14842         * kbmap.C:
14843         * lyxrc.C:
14844         * kbsequence.h:
14845         * kbsequence.C: part re-write of old kb code
14846
14847         * Painter.C:
14848         * WorkArea.C: remove Lgb_bug_find_hack
14849
14850 2001-11-30  José Matos <jamatos@fep.up.pt>
14851
14852         * buffer.C (makeDocBookFile): add a comment to point a hack.
14853         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14854         Fixed a double write of labels.
14855
14856 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14857
14858         * LaTeX.C:
14859         * LaTeX.h Fixed bug in LaTeX class where it would not
14860         re-run latex if no depfiles were changed, but the .dvi was removed.
14861
14862 2001-11-28  André Pönitz <poenitz@gmx.net>
14863
14864         * all the files from the change on 2001/11/26:
14865         use lyx::layout_type instead of LyXTextClass::size_type
14866         use lyx::textclass_type instead of LyXTextClassList::size_type
14867
14868 2001-11-29  Juergen Vigna  <jug@sad.it>
14869
14870         * text.C: added support for paragraph::isFreeSpacing()
14871
14872         * buffer.C: same as above
14873
14874         * paragraph.h: inserted isFreeSpacing() function to enable
14875         FreeSpacing inside InsetERT.
14876
14877         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14878         of the paragraph's in the cut/copy buffer to 0!
14879
14880         * text2.C (removeRow): remove the assert as it can!
14881
14882         * lyxtext.h: added helper function firstRow returning firstrow and
14883         made firstrow private again.
14884
14885         * BufferView2.C (lockInset): don't relock if we're already locked!
14886
14887         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14888         the only paragraph.
14889         (removeRow): added Assert::(firstrow)
14890
14891         * debug.C: forgot to add INSETTEXT here.
14892
14893 2001-11-28  Juergen Vigna  <jug@sad.it>
14894
14895         * sp_spell.C (initialize): changed error text to more general
14896         spellchecker command use (not only ispell!)
14897
14898         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14899
14900         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14901
14902 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14903
14904         * vspace.C: initialise lyxgluelength on failure
14905
14906 2001-11-28  Allan Rae  <rae@lyx.org>
14907
14908         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14909         declaration & definition that looks like a function declaration.
14910
14911 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * BufferView2.C (copy):
14914         (copyEnvironment): do not clear the selection when doing a copy.
14915
14916         * text.C (paintFirstRow): compilation fix
14917
14918 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14919
14920         * tabular.C (Latex): correct line count when writing latex.
14921
14922 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14923
14924         * paragraph_pimpl.h:
14925         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14926           bug a bit
14927
14928 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * text.C:
14931         * LColor.h:
14932         * LColor.C: change vfillline->added_space
14933
14934         * text.C: add markers and text for added space
14935
14936         * vspace.C: fix comment
14937
14938 2001-11-28  André Pönitz <poenitz@gmx.net>
14939
14940         * paragraph.C: whitespace changes
14941         * all the other files from the change on 2001/11/26:
14942         change *::pos_type into lyx::pos_type
14943
14944 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14945
14946         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14947         language of the document when inserting error insets.
14948
14949 2001-11-26  André Pönitz <poenitz@gmx.net>
14950
14951         * BufferView_pimpl.[Ch]:
14952         *       CutAndPaste.C:
14953         * buffer.[Ch]:
14954         * lyxcursor.[Ch]:
14955         * lyxfind.C:
14956         * lyxfunc.C:
14957         * lyxrow.[Ch]:
14958         * paragraph.[Ch]:
14959         * paragraph_pimpl.[Ch]:
14960         * sp_spell.C:
14961         * text.C:
14962         * text2.C: reduce header dependencies, introduce type for positions
14963
14964 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * <various>: change to use Alert.h
14967
14968 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14969
14970         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14971         when encountering an unknown token.
14972         (readLyXformat2): Show an error message if there were unknown tokens.
14973
14974 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * BufferView2.C:
14977         * BufferView_pimpl.C:
14978         * buffer.C:
14979         * paragraph.h:
14980         * text.C:
14981         * text2.C: use par->isInset()
14982
14983 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14984
14985         * paragraph_pimpl.h:
14986         * paragraph_pimpl.C: cleanup
14987
14988 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * text2.C (removeRow):
14991         * text.C (setHeightOfRow): remove useless (and costly) call to
14992         getRow.
14993
14994 2001-11-20  Allan Rae  <rae@lyx.org>
14995
14996         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14997         Now need Inset*::checkInsertChar() to return true for appropriate
14998         cases so that the characters in the minibuffer will actually be
14999         inserted.
15000
15001 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * text.C: change the order of the includes.
15004         (workWidth): initialize it at once.
15005         (workWidth): make maxw unsigned
15006         (setHeightOfRow): remove unused variable (inset)
15007         (selectSelectedWord): remove unused variable (inset)
15008         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15009
15010 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15011
15012         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15013         server is not running.
15014         (openConnection):
15015         (closeConnection): add debug info when server is disabled.
15016
15017         * ColorHandler.C (getGCForeground): send debug message to GUI
15018         channel.
15019
15020         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15021
15022         * kbmap.C (bind): modify because return conventions of
15023         kb_sequence::parse have changed.
15024
15025         * kbsequence.C (parse): only ignore spaces and not any stupid
15026         control character. This avoids tests like s[i] <= ' ', which are
15027         guaranteed to fail with 8bit characters and signed chars.
15028         Change return code to string::npos when there have been no error
15029         (0 was a bad idea when error is at first character)
15030
15031 2001-11-14  José Matos  <jamatos@fep.up.pt>
15032
15033         * buffer.h:
15034         * buffer.C (simpleDocBookOnePar): removed unused argument.
15035
15036 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15037
15038         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15039         insets which are part of a word. Paragraph::isLetter takes care of
15040         that now. Use Paragraph::isInset to identify insets.
15041         (selectSelectedWord): do not test for hyphenation break.
15042
15043         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15044         that protected spaces are considered as spaces.
15045
15046         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15047         Inset::isLetter.
15048
15049 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15050
15051         * lyxserver.h:
15052         * lyxserver.C: fix it. and small cleanup.
15053
15054 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15055
15056         * BufferView_pimpl.C: use inline helpers
15057
15058         * LaTeXFeatures.h:
15059         * LaTeXFeatures.C: fix typos
15060
15061         * Spacing.h:
15062         * Spacing.C: move spacing_string into class
15063
15064         * ToolbarDefaults.C: move stuff into namespace anon
15065
15066         * layout.h: update enum
15067
15068         * lyxfunc.C: use better debug
15069
15070         * minibuffer.h: fix typo
15071
15072         * debug.h:
15073         * debug.C:
15074         * WorkArea.C: add and use Debug::WORKAREA
15075
15076         * lyxtext.h:
15077         * text.C:
15078         * text2.C: code re-organisation, inline helpers
15079
15080 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15081
15082         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15083         std::vector.empty().
15084
15085 2001-11-09  Allan Rae  <rae@lyx.org>
15086
15087         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15088         '\n's after tables.  Tabular and ERT inset work now makes this no
15089         longer necessary.
15090
15091 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15092
15093         * minibuffer.h:
15094         * minibuffer.C: fix crash, improve drop-down completion
15095
15096 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15097
15098         * lyxserver.h:
15099         * lyxserver.C: invalidate fd's when doing endPipe()
15100
15101 2001-11-08  José Matos  <jamatos@fep.up.pt>
15102
15103         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15104         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15105
15106         * paragraph.h:
15107         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15108
15109 2001-11-07  José Matos  <jamatos@fep.up.pt>
15110
15111         * buffer.h:
15112         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15113         const qualifier.
15114
15115         * buffer.C (sgmlOpenTag):
15116         * buffer.C (sgmlCloseTag): removed debug info.
15117
15118         * buffer.h (sgmlOpenTag):
15119         * buffer.h (sgmlCloseTag): made public.
15120
15121 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15122
15123         * buffer.C (saveParamsAsDefaults):
15124         * lyx_cb.C (MenuLayoutSave): remove
15125
15126         * LyXAction.C (init):
15127         * commandtags.h:
15128         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15129
15130 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * buffer.C (setPaperStuff): removed from here...
15133
15134         * bufferparams.C (setPaperStuff): ... and moved there.
15135
15136 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15137
15138         * minibuffer.h:
15139         * minibuffer.C:
15140         * XFormsView.C: add support for drop-down completion
15141
15142 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15143
15144         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15145         commands.
15146
15147 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15148
15149         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15150         disabled.
15151
15152 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15153
15154         * lyx_main.C: change ref to known bugs
15155
15156 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15157
15158         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15159         to work around older babel problems.
15160
15161 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15162
15163         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15164
15165 2001-10-24  Juergen Vigna  <jug@sad.it>
15166
15167         * tabular-old.C (ReadOld): below variable changes reflected.
15168
15169         * tabular.[Ch]: added ltType struct for longtable header/footer
15170         defines and changed all instances where they are used. Added
15171         future support for double top/bottom rows.
15172
15173 2001-10-24  José Matos  <jamatos@fep.up.pt>
15174
15175         * buffer.h (docbookHandleCaption):
15176         * buffer.C (docbookHandleCaption): removed unused function.
15177         (makeDocBookFile): moved docbook supported version to v4.1.
15178
15179 2001-10-24  José Matos  <jamatos@fep.up.pt>
15180
15181         * tabular.h:
15182         * tabular.C (docbookRow): new function to export docbook code of a row.
15183         (DocBook): now honors the longtable flags.
15184
15185 2001-10-23  José Matos  <jamatos@fep.up.pt>
15186
15187         * LaTeXFeatures.h:
15188         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15189         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15190
15191         * buffer.C (makeLinuxDocFile):
15192         (makeDocBookFile): reworked the preamble, more clean, and with
15193         support for lyx defined entities. Changed the document declaration
15194         to be more XML friendly.
15195
15196         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15197         if we need to output XML that should be done with a filter.
15198
15199 2001-10-22  Juergen Vigna  <jug@sad.it>
15200
15201         * sp_pspell.h (class PSpell): add alive function needed in the
15202         controller to see if the spellchecker could be started.
15203
15204 2001-10-22  Juergen Vigna  <jug@sad.it>
15205
15206         * buffer.C (insertStringAsLines): modify the font for inserting
15207         chars in certain conditions by calling checkInsertChar(font).
15208
15209 2001-10-19  Juergen Vigna  <jug@sad.it>
15210
15211         * text.C (workWidth): use getRow instead of wrong algorithm.
15212         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15213
15214 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15215
15216         * lyxserver.h:
15217         * lyxserver.C:
15218         * lyx_main.h:
15219         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15220
15221 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * text.C (workWidth): do not search for the exact row when
15224         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15225         optimization for big documents.
15226
15227 2001-10-18  Juergen Vigna  <jug@sad.it>
15228
15229         * text.C (workWidth): new function with added Inset * parameter.
15230
15231 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15232
15233         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15234
15235         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15236         change return type of getColumnNearX.
15237
15238
15239         * text.C (changeRegionCase): use uppercase/lowercase instead of
15240         toupper/tolower.
15241         (leftMargin):
15242         (rightMargin): simplify code by factoring out the uses of
15243         textclasslist.
15244         (labelFill):
15245         (numberOfHfills):
15246         (setHeightOfRow):
15247         (appendParagraph): use Paragraph::size_type
15248
15249 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15250
15251         * vspace.C (asLatexString): add a missing break
15252
15253 2001-10-15  Herbert Voss  <voss@perce.de>
15254
15255         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15256
15257 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15258
15259         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15260         is not available.
15261
15262 2001-10-10  André Pönitz <poenitz@gmx.net>
15263
15264         * lyxfunc.C: removed greek_kb_flag.
15265
15266 2001-10-10  Herbert Voss  <voss@perce.de>
15267
15268         * lyx_main.C: delete global string help_lyxdir.
15269
15270 2001-10-09  Herbert Voss  <voss@perce.de>
15271
15272         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15273
15274         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15275
15276         * lyx_main.C: added global string help_lyxdir.
15277
15278         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15279
15280 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15281
15282         * lyxrc.C (set_font_norm_type): support iso8859-4
15283
15284 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15285
15286         * LaTeX.C (deplog): add another regex for MikTeX
15287
15288 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15289
15290         * lyxrc.C (set_font_norm_type): support iso8859-3
15291
15292 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15293
15294         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15295
15296         * LaTeXFeatures.C: remove special case of french and index
15297
15298         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15299         before \begin{document}). This solves several incompatibilities.
15300
15301 2001-10-03  Garst Reese  <reese@isn.net>
15302
15303         * lyx_cb.C: change CheckTex error msg.
15304
15305 2001-10-03  José Matos  <jamatos@fep.up.pt>
15306
15307         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15308
15309 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15310
15311         * .cvsignore: update
15312
15313         * lyx_main.C (commandLineVersionInfo): use new style version info.
15314
15315         * buffer.C (writeFile):
15316         (makeLaTeXFile):
15317         (makeLinuxDocFile):
15318         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15319
15320         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15321
15322         * version.h: update to use stuff in version.C
15323
15324         * version.C.in: new file. Contains version information determined
15325         at compile time. This is a merging of version.h and
15326         version_info.h.in.
15327
15328 2001-10-03  Juergen Vigna  <jug@sad.it>
15329
15330         * BufferView_pimpl.C (update): don't change "dirty" status in
15331         updateInset call.
15332
15333 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15334
15335         * WorkArea.C (c-tor): re-position version string slightly.
15336
15337 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15338
15339         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15340         revert to previous code.
15341
15342         WorkArea.[Ch]: (show, destroySplash): methods removed.
15343
15344         WorkArea.C: rework code so that it's an amalgam of the codes before and
15345         after the splash screen was moved to WorkArea.
15346
15347 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15348
15349         * lyxrc.C (read):
15350         * vspace.C (inPixels):
15351         (lyx_advance):
15352         * kbmap.C (bind):
15353         * buffer.C (insertStringAsLines):
15354         (asciiParagraph): fix types to be large enough
15355
15356         * lyxlex_pimpl.h: change member status from short to int
15357
15358         * layout.h: fix type of endlabeltype
15359
15360         * kbmap.C (bind):
15361         * kbsequence.C (parse): change return type to string::size_type
15362
15363         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15364         variable
15365
15366         * Bullet.C (bulletSize):
15367         (bulletEntry): do not use short ints as parameters
15368
15369         * BufferView2.C (insertLyXFile): change a char to an int.
15370
15371         * WorkArea.C (WorkArea): remove unneeded floats in computation
15372
15373 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15374
15375         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15376
15377         * paragraph.C (asString): Do not ignore newline/hfill chars when
15378         copying to the clipboard.
15379
15380 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15381
15382         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15383         after a multi-line inset.
15384
15385 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15386
15387         * paragraph.C (validate): Set NeedLyXFootnoteCode
15388
15389 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15390
15391         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15392         and decrease-error to decrease.
15393
15394 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15395
15396         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15397         it more readable (should be equivalent)
15398
15399 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15400
15401         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15402
15403 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15404
15405         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15406         of a cursor (row, etc.) after a character has been deleted
15407         (deleteEmptyParagraphMechanism): call the method above on _all_
15408         cursors held by the LyXText when a double space has been
15409         detected/deleted.
15410
15411 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15412
15413         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15414         pixmap.
15415         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15416
15417         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15418         background. Use greyOut() and the new show() methods to toggle between
15419         the foreground and background. Add code to remove the splash after
15420         its initial showing.
15421
15422         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15423         (create_forms): no longer call Dialogs::showSplash.
15424
15425 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * .cvsignore: add version_info.h
15428
15429 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15430
15431         * version_info.h.in: new file
15432
15433         * Makefile.am: add version_info.h.in
15434
15435         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15436         version_info.h instead of VERSION_INFO
15437
15438 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15439
15440         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15441         The ERT inset now returns string().
15442
15443 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15444
15445         * lyxtext.h, text.C (selectNextWord): renamed as
15446         selectNextWordToSpellcheck.
15447
15448         * text.C (selectNextWordToSpellcheck): Modified to not select
15449         words inside an ERT inset.
15450
15451 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15452
15453         * lyx_cb.C (MenuLayoutSave): change a bit the question
15454
15455         * sp_base.h: include <sys/types.h>
15456
15457 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15458
15459         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15460
15461 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15462
15463         * several files: fix typos in user-visible strings
15464
15465 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15466
15467         * text2.C (pasteSelection): do not set the selection, since it
15468         will be cleared later. Actually, the intent was to fix the way the
15469         selection was set, but I figured rmoving the code was just as good.
15470
15471 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15472
15473         * FontLoader.C (available): Check if font is available without
15474         loading the font.
15475
15476 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15477
15478         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15479
15480 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15481
15482         * lyxrc.[Ch]: added display_graphics variable and associated code.
15483
15484 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * bufferparams.C (hasClassDefaults): new method. Returns true if
15487         the buffer parameters correspond to known class defaults
15488
15489 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15490
15491         * XFormsView.C (show): set minimum size to the main window.
15492
15493 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * text2.C (copySelection):
15496         (cutSelection):
15497         * lyxfind.C (LyXReplace):
15498         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15499         LyXText::selectionAsString.
15500
15501         * paragraph.C (asString): add "label" argument to the second form
15502
15503         * text2.C (selectionAsString): add "label" argument and pass it to
15504         Paragraph::asString.
15505
15506 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15507
15508         * lyx_main.C (commandLineHelp): remove version information
15509
15510 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15511
15512         * lyx_main.C: add -version commandline option
15513
15514 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15515
15516         * paragraph.h: make the optional constructor arg required instead.
15517         some modifications to other files because of this.
15518
15519         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15520
15521         * lyxserver.C (C_LyXComm_callback): make it static
15522
15523         * lyx_main.C (error_handler): make it static
15524
15525         * lyx_gui.C (LyX_XErrHandler): make it static
15526
15527         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15528
15529         * WorkArea.C: make the extern "C" methods static.
15530
15531         * Makefile.am (lyx_LDADD): simplify
15532
15533 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15534
15535         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15536         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15537
15538         * LyXAction.C (init):
15539         * lyxfunc.C (dispatch): associated code removal.
15540
15541 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15542
15543         * lyxfont.h (isSymbolFont): shut off warning
15544
15545         * text.C (setHeightOfRow):
15546         (getVisibleRow): fix crash with empty paragraphs which have a
15547         bottom line
15548
15549 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15550
15551         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15552         code.
15553
15554 2001-09-04  José Matos  <jamatos@fep.up.pt>
15555         * buffer.C
15556         * buffer.h
15557         * tabular.C (docbook): rename docBook method to docbook.
15558
15559 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15560
15561         * Makefile.am: add dependencies to main.o.
15562
15563 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15564
15565         * FontLoader.C (available): Return false if !lyxrc.use_gui
15566
15567 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15568
15569         * FontInfo.C (query):
15570         * converter.C (view):
15571         * importer.C (Import):
15572         * exporter.C (Export): Can not -> cannot.
15573
15574 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15575
15576         * BufferView_pimpl.C: allow to create index inset even if
15577           string is empty
15578
15579 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15580
15581         * buffer.C (getLists): replace boost::tie code with an explicit pair
15582         as boost::tie can break some compilers.
15583
15584         * iterators.h: Added a std:: declaration to the return type of
15585         ParIterator::size.
15586
15587 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15588
15589         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15590           case.
15591
15592 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15593
15594         * iterators.[Ch]: New files. Provide paragraph iterators.
15595
15596         * buffer.C (changeLanguage): Use paragraph iterators.
15597         (isMultiLingual): ditto
15598
15599         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15600
15601 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15602
15603         * FontLoader.C: Support for cmr font.
15604
15605 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15606
15607         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15608         (available): New method.
15609
15610         * FontInfo.C (getFontname): Use scalable fonts even when
15611         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15612         found.
15613
15614 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15615
15616         * converter.C (Formats::view): reverted! Incorrect fix.
15617
15618 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15619
15620         * converter.C (Formats::view): only output the -paper option
15621         if the dvi viewer is xdvi, thereby fixing bug #233429.
15622
15623 2001-08-23  Herbert Voss  <voss@perce>
15624
15625         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15626
15627 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15628
15629         * Spacing.h (Spacing): Set space to Default on in the default
15630         constructor.
15631
15632 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15633
15634         * vc-backend.h (RCS::versionString): add RCS to version
15635         (CVS::versionString): add CVS to version
15636
15637         * vc-backend.C (scanMaster): do not add CVS to version.
15638         (scanMaster): do not add RCS to version
15639
15640         * lyxvc.C (versionString): new method
15641
15642         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15643
15644 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15645
15646         * Spacing.C (set): initialize fval
15647
15648 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15649
15650         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15651         " or \.
15652
15653 2001-08-16  Juergen Vigna  <jug@sad.it>
15654
15655         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15656
15657 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15658
15659         * BufferView_pimpl.C:
15660         * figureForm.C:
15661         * lyxtext.h:
15662         * text2.C: setParagraph takes linespacing now
15663
15664 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15665
15666         * LyxAction.C: add internal LFUN_CITATION_INSERT
15667
15668         * LyXView.C: actually apply fix
15669
15670         * bufferlist.C: fix open non-existent file
15671
15672         * lyxfind.C: fix indentation
15673
15674         * lyxfunc.C: remove unneeded assert, fix typo
15675
15676 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15677
15678         * MenuBackend.C: use "Floatname List"
15679
15680 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15681
15682         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15683         when converting LaTeX layout to insetERT.
15684         Generate a non-collapsed float when reading old float
15685
15686 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15687
15688         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15689         ERT insets.
15690
15691 2001-08-13  Juergen Vigna  <jug@sad.it>
15692
15693         * text.C (fill): return 0 instead of 20 as this seems to be the more
15694         correct value.
15695
15696 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15697
15698         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15699         lyxrc.font_norm.
15700
15701 2001-08-13  Juergen Vigna  <jug@sad.it>
15702
15703         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15704         casesensitive off.
15705         (SearchBackward): comment out the unlocking of the inset_owner this
15706         should not be needed!
15707
15708 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15709
15710         * Many files: Remove inherit_language, and add latex_language
15711
15712         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15713         collapsible insets.
15714
15715 2001-08-10  Juergen Vigna  <jug@sad.it>
15716
15717         * text.C (prepareToPrint): fixed hfill-width in draw!
15718
15719         * BufferView2.C (selectLastWord): save the selection cursor as this
15720         now is cleared in the function LyXText::clearSelection!
15721
15722 2001-08-08  Juergen Vigna  <jug@sad.it>
15723
15724         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15725         BACKSPACE type functions.
15726
15727         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15728         is only cutted from the document but not put in the cut-buffer, where
15729         still the old stuff should be.
15730
15731         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15732
15733         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15734
15735         * tabular.C (SetWidthOfCell): fixed special case where the width
15736         was not updated!
15737         (LeftLine): handle '|' in align_special.
15738         (RightLine): ditto
15739         (LeftAlreadyDrawed): ditto
15740         (SetWidthOfCell): ditto
15741
15742 2001-08-07  Juergen Vigna  <jug@sad.it>
15743
15744         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15745
15746 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15747
15748         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15749         * lyxlex.[hC]: ditto
15750
15751 2001-08-06  Juergen Vigna  <jug@sad.it>
15752
15753         * text.C (getVisibleRow): fix up row clearing a bit.
15754
15755 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15756
15757         * minibuffer.C: make sure the X server sees the changes in the input.
15758
15759 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15760
15761         * paragraph.C (getFont): split into...
15762         (getLabelFont): this
15763         (getLayoutFont): and this
15764         * paragraph_pimpl.C (realizeFont): calling this
15765
15766         * text2.C (getFont): split into...
15767         (getLayoutFont): this
15768         (getLabelFont): and this
15769         (realizeFont): all three calling this
15770
15771         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15772         files where used.
15773
15774 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15775
15776         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15777
15778 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15779
15780         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15781         layouts from the Quote inset insertion.
15782
15783 2001-08-03  Juergen Vigna  <jug@sad.it>
15784
15785         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15786
15787         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15788         only if status not is already CHANGED_IN_DRAW (second level).
15789
15790         * text.C (draw): don't set the need_break_row when inside an
15791         InsetText LyXText.
15792
15793 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15794
15795         * buffer.C (parseSingleLyXformat2Token): handle more latex
15796         conversion cases.
15797
15798         * bufferview_funcs.[hC]: change function names to
15799         begin with small char, adjust other files.
15800
15801 2001-08-02  André Pönitz <poenitz@gmx.net>
15802
15803         * lyxfunc.C:
15804         BufferView_pimpl.C: remove broken special code for math-greek
15805
15806 2001-08-02  Juergen Vigna  <jug@sad.it>
15807
15808         * BufferView_pimpl.C (update): redone this function so that we
15809         update the text again if there was a CHANGE_IN_DRAW.
15810
15811         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15812         (drawFromTo): added a new internal bool which is used by draw() and
15813         redraw() function.
15814         (general): some cursor drawing problems fixed.
15815
15816 2001-08-01  Juergen Vigna  <jug@sad.it>
15817
15818         * lyxfind.C (LyXFind): fixed
15819         (SearchForward): ditto
15820         (SearchBackward): ditto
15821
15822         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15823         spurius drawing of the cursor in the main area.
15824
15825         * text2.C (status): small fix which could lead to a segfault!
15826         (clearSelection): remove unneeded BufferView param.
15827
15828 2001-08-01  André Pönitz <poenitz@gmx.net>
15829
15830         * lyxfunc.C: small change due to changed mathed interface
15831
15832 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15833
15834         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15835
15836 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15837
15838         * lyxfunc.c: fail gracefully if file doesn't exist
15839
15840         * LyXSendto.C:
15841         * buffer.C:
15842         * lyxfunc.C:
15843         * BufferView_pimpl.C: IsDirWriteable() proto changed
15844
15845         * LyXView.C: fix updateWindowTitle() to store the last title
15846
15847 2001-07-31  Juergen Vigna  <jug@sad.it>
15848
15849         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15850         the font (wrong since using of Paragraph::highestFontInRange).
15851
15852         * paragraph.C (highestFontInRange): added a default_size parameter.
15853
15854         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15855         (setHeightOfRow): reformat
15856
15857 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15858
15859         * converter.[hC] + affected files: move to (inital-char)lowercase
15860         function names.
15861
15862         * ParagraphParameters.C (ParagraphParameters): remove commented code
15863
15864         * PainterBase.[Ch]: remove commented code
15865
15866         * LaTeXFeatures.h: add "bool floats" for float.sty
15867
15868         * LaTeXFeatures.C (LaTeXFeatures): init floats
15869         (require): handle float
15870         (getPackages): do it with floats
15871
15872 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15873
15874         * BufferView_pimpl.C (Dispatch): improve handling of
15875         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15876
15877         * commandtags.h: #include lyxfont.h here temporarily to avoid
15878         keybinding bug.
15879
15880         * bufferlist.h: include LString.h here.
15881
15882 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * text2.C (getStringToIndex): new method.
15885
15886 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15887
15888         * *: Reduced header file dependencies all over.
15889
15890 2001-07-30  Baruch Even  <baruch@lyx.org>
15891
15892         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15893
15894 2001-07-29  Baruch Even  <baruch@lyx.org>
15895
15896         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15897
15898 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * ParameterStruct.h (endif): add a default constructor to make
15901         sure that all variables is initialized.
15902
15903         * ParagraphParameters.C (ParagraphParameters): adjust
15904
15905 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15908         index; also, check that there is something to index, and that it
15909         does not span over several paragraphs.
15910         (doubleClick): use WHOLE_WORD_STRICT for double click.
15911
15912         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15913
15914         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15915         scheme.
15916
15917 2001-07-26  Baruch Even  <baruch@lyx.org>
15918
15919         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15920         an InsetFig figure, backwards compatible reading of old figure code.
15921
15922 2001-07-27  Juergen Vigna  <jug@sad.it>
15923
15924         * text2.C: font.realize function adaption.
15925
15926         * text.C (draw): add a warnings lyxerr text if needed.
15927
15928         * layout.C: font.realize function adaption.
15929
15930         * language.C: add inherit_language and implement it's handlings
15931
15932         * bufferview_funcs.C (StyleReset): remove language parameter from
15933         font creation (should be language_inherit now).
15934
15935         * bufferparams.C (writeFile): handle ignore_language.
15936
15937         * paragraph.C (getFontSettings): the language has to be resolved
15938         otherwise we have problems in LyXFont!
15939
15940         * lyxfont.C (lyxWriteChanges): added document_language parameter
15941         (update): removed unneeded language parameter
15942
15943         * paragraph.C (validate): fixed wrong output of color-package when
15944         using interface colors for certain fonts in certain environments,
15945         which should not seen as that on the final output.
15946
15947 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15948
15949         * BufferView_pimpl.C:
15950         * Thesaurus.h:
15951         * Thesaurus.C:
15952         * Makefile.am:
15953         * commandtags.h:
15954         * LyXAction.C: add thesaurus support
15955
15956         * lyxfind.h:
15957         * lyxfind.C: add "once" parameter, for thesaurus, to not
15958           move to the next match
15959
15960 2001-07-26  Juergen Vigna  <jug@sad.it>
15961
15962         * lyxfont.C (realize): honor ignore_language too!
15963         (resolved): ditto.
15964
15965         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15966
15967         * text.C (draw): one place more for ignore_language to not draw
15968         itself!
15969
15970 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15971
15972         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15973
15974 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15975
15976         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15977         the minipage conversion problem.
15978
15979 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15980
15981         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15982         insert an inset.
15983
15984 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15985
15986         * BufferView.h: don't forward declare WorkArea
15987
15988         * BufferView.C: don't include WorkArea.h
15989
15990 2001-07-25  André Pönitz <poenitz@gmx.net>
15991
15992         * commandtags.h:
15993         * LyXAction.C:
15994         * lyxfunc.C:  new LFUN 'math-space'
15995
15996         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15997
15998 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15999
16000         * text2.C (toggleInset): call open/close
16001
16002 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16003
16004         * lyxfunc.C (dispatch): add debug for the disabled case
16005
16006         * font.C (buttonText): make similar to rectText
16007
16008         * buffer.C (readInset): comment out parsing of insetlist and
16009         insttheorem
16010
16011         * PainterBase.C (rectText): small correction
16012
16013         * BufferView_pimpl.C: comment out insettheorem and insetlist
16014         * LyXAction.C: ditto
16015         * commandtags.h: ditto
16016
16017 2001-07-24  Juergen Vigna  <jug@sad.it>
16018
16019         * text.C (draw): honor the ignore_language.
16020
16021         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16022
16023 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16024
16025         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16026         char inset.
16027
16028 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16029
16030         * lyxtext.h: remove unused (and unimplemented) methods
16031
16032 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16033
16034         * text.C (getVisibleRow): honor background color
16035
16036         * PainterBase.h:
16037         * Painter.h: remove default color argument for fillRectangle
16038
16039         * text.C (backgroundColor): new method
16040
16041 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16042
16043         * text.C (getVisibleRow): adjust
16044
16045         * font.[Ch] (rectText): new method, metrics
16046         (buttonText): new method, metrics
16047
16048         * PainterBase.[hC]: make rectText and buttonText always draw and take
16049         fewer paramteres.
16050
16051 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16052
16053         * ToolbarDefaults.C (read):
16054         * MenuBackend.C (read): allow escaping in all strings
16055
16056         * BufferView_pimpl.C (insertAndEditInset): new method.
16057         (Dispatch): use insertAndEditInset whenever appropriate.
16058
16059         * BufferView_pimpl.C (insertNote): removed
16060
16061         * BufferView_pimpl.C (smartQuote): new method, moved from
16062         BufferView; if an insetquote cannot be inserted, insert a '"'
16063         character instead.
16064
16065         * BufferView2.C: remove insertCorrectQuote();
16066
16067         * lyxfunc.C (getStatus): Add support for all remaingin
16068         inset-insert lfuns.
16069
16070         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16071
16072         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16073         command (necessary to pass " as parameter of self-insert.
16074
16075         * text.C (selectWordWhenUnderCursor):
16076         (selectWord): add word_location parameter
16077         (selectWordWhenUnderCursor): same + remove special code for word
16078         boundary.
16079         (selectNextWord): use kind() to guess type of insetspecialchar,
16080         not latex().
16081
16082         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16083         (insertErtContents): create ert insets as collapsed.
16084         (readInset): better compatibility code for Info inset.
16085
16086 2001-07-20  Juergen Vigna  <jug@sad.it>
16087
16088         * lyxfunc.C (dispatch): use always LyXFind now!
16089
16090         * text2.C (init): add a reinit flag so that the LyXText can be
16091         reinited instead of deleted and reallocated (used in InsetText).
16092
16093         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16094
16095         * text.C: ditto
16096
16097         * text2.C: ditto
16098
16099 2001-07-18  Juergen Vigna  <jug@sad.it>
16100
16101         * text.C (selectNextWord): handle insets inside inset by calling
16102         always the bv->text functions so that we can go up the_locking_inset!
16103
16104         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16105         in strange locations when inside an inset!
16106
16107         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16108         handling to include insets.
16109
16110         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16111
16112 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16113
16114         * LyXAction.C (init):
16115         * commandtags.h:
16116         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16117         LIGATURE_BREAK, since the name is so stupid.
16118
16119 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16120
16121         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16122         InsetInfos.
16123
16124         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16125
16126         * sp_form.[Ch]: remove.
16127
16128         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16129
16130         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16131         InsetInfo.
16132
16133         * src/buffer.C (readInset): ditto.
16134
16135 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16136
16137         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16138         menuSeparator(), endOfSentenceDot(), ldots() and
16139         hyphenationPoint(), which are therefore removed.
16140         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16141
16142         * LyXAction.C (init):
16143         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16144
16145         * paragraph.C (getWord): removed.
16146
16147         * BufferView_pimpl.C (Dispatch): use last word or selection for
16148         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16149
16150         * lyx_main.C (queryUserLyXDir): do not ask before creating
16151         user_dir, except if it has been named explicitely.
16152
16153 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16154
16155         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16156         a document of zero size.
16157
16158 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16159
16160         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16161         approriately in the c-tor and in require().
16162         (getPackages): output the appropriate LaTeX for natbib support.
16163
16164         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16165         variables "use_natbib" and "use_numerical_citations" when reading the
16166         LyX file.
16167         (readInset): read the various natbib cite commands.
16168         (validate): white-space change.
16169
16170         * bufferparams.[Ch]: new variables "bool use_natbib" and
16171         "bool use_numerical_citations".
16172         (writeFile): output them in the LyX file.
16173
16174 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16175
16176         * lyxfunc.C (getStatus): add support for all the inset insertion
16177         commands.
16178
16179         * text2.C (insertInset):
16180         * paragraph.C (insetAllowed):
16181         * BufferView_pimpl.C (insertInset): update to take in account the
16182         renaming of insertInsetAllowed
16183
16184         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16185
16186         * text2.C (getInset): new method. returns inset at cursor position.
16187
16188         * BufferView_pimpl.C (Dispatch): changes because of this.
16189
16190         * LyXAction.C (init): rename open-stuff to inset-toggle.
16191
16192         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16193
16194         * text2.C (toggleInset): renamed from openStuff; use
16195         Inset::open().
16196
16197 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16198
16199         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16200
16201         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16202
16203 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16204
16205         * buffer.C (readLyXformat2): Add filename to the error dialog
16206
16207 2001-07-18  Juergen Vigna  <jug@sad.it>
16208
16209         * tabular.C (GetCellNumber): put an assert here instead of the check!
16210
16211 2001-07-17  Juergen Vigna  <jug@sad.it>
16212
16213         * BufferView_pimpl.C (toggleSelection): adapted too.
16214
16215         * text.C (selectNextWord): adapted for use with insets.
16216         (selectSelectedWord): ditto
16217
16218 2001-07-17  Juergen Vigna  <jug@sad.it>
16219
16220         * sp_spell.C (PSpell): fix initialitation order.
16221
16222 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16223
16224         * paragraph.C: spacing
16225
16226 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16227
16228         * sp_spell.C: repair language selection for pspell
16229
16230 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16231
16232         * lyxfunc.h: change more methods to begin with lower char.
16233
16234 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16235
16236         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16237         for unknown layouts.
16238
16239 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16240
16241         * buffer.C (readLyXformat2): Generate an error dialog if there are
16242         unknown layouts.
16243
16244 2001-07-16  Juergen Vigna  <jug@sad.it>
16245
16246         * sp_spell.C: always compile ISpell part.
16247
16248         * lyxrc.C: added use_pspell entry and it's handling.
16249
16250 2001-07-13  Juergen Vigna  <jug@sad.it>
16251
16252         * sp_spell.C: removed double includes.
16253
16254 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16255
16256         Consistent use of Lsstream.h:
16257         * Lsstream.h: added using std::stringstream for consistencies sake.
16258
16259         * buffer.C: removed using std::stringstream
16260
16261         * lyxfont.C (stateText):
16262         * paragraph.C (asString):
16263         * text.C (selectNextWord, selectSelectedWord):
16264         * text2.C (setCounter):
16265         * vspace.C (asString, asLatexString):
16266         std::ostringstream -> ostringstream.
16267
16268 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16269
16270         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16271         * commandtags.h: add LFUN_HELP_ABOUTLYX
16272         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16273
16274 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16275
16276         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16277         cursorToggle()
16278         * lyx_gui_misc.C: remove spellchecker
16279         * lyxfunc.C: showSpellchecker
16280         * sp_base.h: added
16281         * sp_ispell.h: added
16282         * sp_pspell.h: added
16283         * sp_spell.C: added
16284         * sp_form.[Ch]: removed
16285         * spellchecker.[Ch]: removed
16286
16287 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16288
16289         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16290         is set.
16291         (simpleTeXSpecialChars): Simply print the input character without
16292         any special translation if pass_thru is set.
16293
16294         * layout.h: Added bool pass_thru to layout class for being able to
16295         implement pass through of a paragraph for Literate Programming.
16296
16297         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16298         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16299         * layout.C (Read): add "passthru" to list of layout tags and add
16300         code to set the pass_thru boolean when it is read.
16301
16302 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16303
16304         * trans_decl.h: remove allowed from KmodInfo
16305
16306         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16307         remove allowed code
16308         (Load): adjust
16309
16310         * paragraph_pimpl.C (erase): use boost::prior
16311
16312         * Painter.C (text): use data() instead of c_str() when length is
16313         also provided.
16314         * WorkArea.C (putClipboard): ditto
16315         * font.h (width): ditto
16316
16317         * BufferView2.C: use it-> instead of (*it). for iterators
16318         * texrow.C: ditto
16319         * paragraph_pimpl.C: ditto
16320         * paragraph.C: ditto
16321         * minibuffer.C: ditto
16322         * language.C: ditto
16323         * kbmap.C: ditto
16324         * encoding.C: ditto
16325         * counters.C: ditto
16326         * converter.C: ditto
16327         * chset.C: ditto
16328         * Variables.C: ditto
16329         * TextCache.C: ditto
16330         * MenuBackend.C: ditto
16331         * LyXAction.C: ditto
16332         * LColor.C: ditto
16333         * FloatList.C: ditto
16334         * DepTable.C: ditto
16335         * ColorHandler.C (LyXColorHandler): ditto
16336
16337 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16338
16339         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16340
16341         * text2.C (openStuff): reintroduce this method (which had been
16342         nuked in NEW_INSETS frenzy).
16343
16344         * lyxfunc.C (Dispatch): when an action has not been handled, use
16345         its name in the error message, not its number.
16346
16347         * paragraph.C (inInset): change method name to begin with lowercase.
16348
16349         * undo_funcs.C:
16350         * text2.C: updates because of this.
16351
16352 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16353
16354         * ToolbarDefaults.C (add): add spaces in error message
16355
16356 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16357
16358         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16359         (readLyXformat2): rename return_par to first_par, use lyxlex's
16360         pushToken and remove the manual push handling.
16361         (parseSingleLyXformat2Token): add another ert comp. variable:
16362         in_tabular, rename return_par to first_par. handle newlines better
16363
16364 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16365
16366         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16367
16368 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16369
16370         * text2.C (getParFromID): removed
16371
16372         * buffer.C (getParFromID): new method moved form lyxtext.
16373         * BufferView2.C (insertErrors): adjust
16374         (setCursorFromRow): adjust
16375         * BufferView_pimpl.C (restorePosition): adjust
16376         * lyxfunc.C (Dispatch): adjust
16377         * undo_funcs.C (textUndo): adjust
16378         (textRedo): adjust
16379         (textHandleUndo): adjust
16380         (textHandleUndo): adjust
16381
16382 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16383
16384         * buffer.C: up' the LYX_FORMAT
16385
16386         * lyxfont.h: turn NO_LATEX on as default
16387
16388         * buffer.C (insertErtContents): new methods of tex style compability.
16389         (parseSingleLyXformat2Token): use it several places.
16390         * tabular.C (OldFormatRead): and here
16391
16392 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16393
16394         * text2.C: remove some commented code.
16395         reindent file.
16396
16397         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16398         * trans.C: changes because of the above.
16399
16400 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16401
16402         * text2.C (setCounter): Fix counters bug with bibliography layout.
16403
16404 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16405
16406         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16407         own member functions
16408         (simpleTeXSpecialChars): ditto
16409
16410 2001-07-06  Juergen Vigna  <jug@sad.it>
16411
16412         * a lot of files: changed the access to LyXText::status and the
16413         call of undo-functions.
16414
16415         * undo.[Ch]: added a inset_id to the undo informations.
16416
16417         * undo_funcs.[Ch]: added and moved here all undo functions.
16418
16419         * lyxtext.h: give the status enum a weight, made status_ a private
16420         variable and made accessor functions for it, removed the whole bunch
16421         of undo-functions as they are now in their own file, make some
16422         functions publically available. Added function ownerParagraph with
16423         int parameter.
16424
16425         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16426         made InInset() a const function, added getParFromID() function.
16427
16428         * buffer.[Ch]: added const version for inset_iterator functions,
16429         added getInsetFromID() function.
16430
16431         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16432         changed undo functions for new version.
16433
16434 2001-07-05  Juergen Vigna  <jug@sad.it>
16435
16436         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16437         unknow mechanism does not call the proper constructor but only this
16438         one also if I request the other!?
16439
16440 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16441
16442         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16443
16444         * text2.C (LyXText): use initialization lists.
16445
16446         * lyxtext.h (Selection): initialize set_ and mark_
16447         (init): remove method
16448
16449 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16450
16451         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16452
16453 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * screen.[Ch]: change method names to begin with lowercase
16456
16457         * BufferView_pimpl.C (updateScrollbar): simplify further and
16458         hopefully make it a bit faster.
16459
16460 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16461
16462         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16463         calling directly xforms functions.
16464
16465         * Painter.C (Painter):
16466         * lyx_cb.C (MenuWrite):
16467         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16468         fl_display.
16469
16470         * lyx_gui.C: remove bogus guiruntime extern declaration.
16471
16472 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16473
16474         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16475         in NEW_INSETS
16476         (redoDrawingOfParagraph): ditto
16477         (redoParagraphs): ditto
16478         (cutSelection): don't create a object for CutAndPaste use the
16479         static method directly
16480         (pasteSelection): ditto
16481
16482         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16483         LyXview (+ rename)
16484
16485 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16486
16487         * modifications to some other files because of this.
16488
16489         * Makefile.am (lyx_SOURCES): add XFormsView
16490
16491         * XFormsView.[Ch]: new files
16492
16493         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16494         the main window. Move the gui dependent stuff to XFormsView
16495
16496 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16497
16498         * tabular.C (GetCellInset): update cur_cell also in the row/col
16499         version of this function.
16500
16501         * lyxfunc.C: no need to include figure_form.h here.
16502
16503         * FontLoader.h:
16504         * lyxfunc.h:
16505         * lyxscreen.h:
16506         * text2.C:
16507         * lyxvc.C: no need to include forms.h here.
16508
16509 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16510
16511         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16512
16513         * lyxfunc.C (Dispatch):
16514         * Spacing.C (set):
16515         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16516         constructor argument.
16517
16518 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16519
16520         * paragraph.C (Paragraph): dont't clear, and just set layout.
16521         (makeSameLayout): use params's copy contructor.
16522
16523         * ParagraphParameters.[Ch] (makeSame): delete method
16524
16525 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16526
16527         * Variables.[Ch]: fix indentation, rename set to isSet
16528
16529 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16530
16531         * lyxfunc.C (Dispatch): fix typo
16532
16533 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16534
16535         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16536         upper_bound.
16537
16538         * bufferlist.C: include assert.h for emergencyWrite().
16539
16540 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16541
16542         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16543           give up at last (bug #425202) !
16544
16545 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16546
16547         * lyx_gui_misc.C:
16548         * sp_form.h:
16549         * sp_form.C:
16550         * spellchecker.h:
16551         * spellchecker.C: strip spellchecker options and bring up
16552           preferences tab instead
16553
16554 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16555
16556         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16557         the istringstream constructor
16558
16559 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16560
16561         * paragraph.C (getLayout): fix return value
16562
16563         * paragraph.h: do not declare getLayout as inline.
16564
16565         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16566
16567 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16568
16569         * lyxcursor.h (operator<): new func
16570         (operator>): new func
16571         (operator>=): new func
16572         (operator<=): new func
16573
16574         * text.C (changeCase): use selection.start and selection.end
16575         (changeRegionCase): require from to be <= to. Require par to be a
16576         valid paragraph.
16577
16578         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16579
16580 2001-06-27  Juergen Vigna  <jug@sad.it>
16581
16582         * text.C (cursorLeftOneWord): changed to return the cursor and added
16583         overlay with BufferView * parameter which calls this one.
16584         (getWord): added
16585         (selectWord): use new getWord function.
16586         (changeCase): renamed from changeWordCase as and extended to work
16587         also on selections.
16588
16589         * lyxtext.h: added enum word_location
16590
16591         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16592         changeCase as this operates now also on selections.
16593
16594 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16595
16596         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16597
16598         * many files: send debug output to Debug::INFO instead of
16599         Debug::ANY.
16600
16601         * converter.C (View):
16602         (Convert):
16603         (Move): send debug output to Debug::FILES instead of console.
16604
16605 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16606
16607         * lyxfunc.C (getStatus): use func_status
16608
16609         * func_status.h: new header, describing the results of
16610         LyXFunc::getStatus;
16611
16612         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16613         LFUN_MATH_HALIGN.
16614
16615 2001-06-25  The LyX Project  <jug@sad.it>
16616
16617         * buffer.C (sgmlOpenTag):
16618         (sgmlCloseTag):
16619         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16620
16621 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16622
16623         * text2.C: remove some dead code
16624
16625         * tabular.C (GetCellInset): store the last cell checked (gotten)
16626
16627         * tabular.h: add the helper for the speedup
16628
16629         * lyxtext.h: remove some dead code
16630
16631 2001-06-26  The LyX Project  <Asger>
16632
16633         * paragraph.C: Change export to LaTeX of alignment to
16634         \begin{center} and family for better roundtrip work with reLyX.
16635
16636         * Tune the math drawing a bit.
16637
16638 2001-06-25  The LyX Project  <Asger>
16639
16640         * LColor.C (LColor): New color for math background. New color
16641         for buttons.
16642
16643 2001-06-25  The LyX Project  <jug@sad.it>
16644
16645         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16646
16647         * lyxfunc.C (Open):
16648         * bufferlist.C (newFile): do not restrict to files ending with
16649         .lyx
16650
16651         * BufferView_pimpl.C (MenuInsertLyXFile):
16652
16653 2001-06-24  The LyX Project  <jug@sad.it>
16654
16655         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16656         of compare_no_case
16657
16658 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16659
16660         * lyxtext.h: rename most methods to begin with a small char.
16661         Lots of changes because of this.
16662
16663         * paragraph.C (Paragraph): do not call fitToSize
16664         (erase): call Pimpl::erase
16665         (insertChar): call Pimpl::insertChar
16666         (insertInset): call Pipl::insertInset
16667         (breakParagraph): do not call fitToSize
16668         (breakParagraphConservative): do not call fitToSize
16669         (fitToSize): remove method
16670
16671         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16672
16673 2001-06-24  The LyX Project  <Asger>
16674
16675         * Fix Qt compilation^2
16676
16677 2001-06-24  The LyX Project  <jug@sad.it>
16678
16679         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16680         depthHook(getDepth()-1).
16681
16682         * paragraph.h:
16683         * ParagraphParameters.h:
16684         * ParameterStruct.h: change type of depth to unsigned int ==
16685         depth_type. Many adaptations to other files before of that.
16686
16687 2001-06-24  The LyX Project  <Asger>
16688
16689         * Fix Qt compilation.
16690
16691 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16692
16693         * paragraph.h: renamed several methods to begin with small letter.
16694         several changes to many parts of the code because of this.
16695
16696 2001-06-23  The LyX Project  <jug@sad.it>
16697
16698         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16699         rewritten to discard all double spaces when KeepEmpty is off
16700         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16701         to only handle newlines but not fiddle with spaces and friends.
16702
16703         * lyxfunc.C (MenuNew): when doing 'new from template', use
16704         template_path as default directory
16705
16706 2001-06-23  The LyX Project  <Asger>
16707
16708         * Clean-up of header file includes all over
16709         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16710
16711 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16712
16713         * paragraph.h: renamed from lyxparagraph.h
16714
16715 2001-06-23  Asger  <lyx@violet.home.sad.it>
16716
16717         * Buffer.h: Removed Buffer::resize
16718         * BufferList.h: Removed BufferList::resize
16719         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16720         the document lazily when we change the width, or the font settings.
16721
16722 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16723
16724         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16725
16726 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16727
16728         * buffer.h: remove out of date comment
16729
16730 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16731
16732         * lyxscreen.h:
16733         * screen.C: fix "theoretical" GC leak
16734
16735 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16736
16737         * LaTeX.C (scanAuxFile):
16738         (deplog): remove trailing \r when reading stream (useful under
16739         win32)
16740
16741 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16742
16743         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16744         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16745         and BufferView::theLockingInset(Inset*), so should use them and not
16746         access bv_->text->the_locking_inset directly.
16747
16748         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16749
16750 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16751
16752         * Makefile.am:
16753         * tex-defs.h: remove old unused file
16754
16755 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16756
16757         * BufferView_pimpl.C: fix typo, remove minibuffer message
16758           when buffer has loaded
16759
16760 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * lyxfunc.C (Dispatch): use stringstream
16763         (MenuNew): use stringstream
16764         (Open): use stringstream
16765
16766         * importer.C (Import): use stringstream
16767
16768         * bufferview_funcs.C (CurrentState): use stringstream
16769
16770         * LaTeX.C (run): use stringstream
16771
16772         * BufferView_pimpl.C (savePosition): use stringstream
16773         (restorePosition): use stringstream
16774         (MenuInsertLyXFile): use stringstream
16775
16776 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16777
16778         * BufferView.C:
16779         * Bullet.C:
16780         * ColorHandler.C:
16781         * FontInfo.C:
16782         * FontLoader.C:
16783         * LColor.C:
16784         * LaTeXFeatures.C:
16785         * Painter.C:
16786         * gettext.C:
16787         * lyx_gui_misc.C:
16788         * lyxserver.C:
16789         * vspace.C: removed // -*- C++ -*- as first line.
16790
16791         * lyxfind.h:
16792         * version.h: added // -*- C++ -*- as first line.
16793
16794 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16795
16796         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16797
16798         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16799         of string
16800
16801 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16802
16803         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16804         of floats.
16805
16806 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16807
16808         * gettext.C: include LString.h even when --disable-nls is on.
16809
16810 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16811
16812         * converter.h (Get): changed argument type from int to
16813         FormatList::size_type to avoid unnecessary conversion.
16814
16815         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16816         before using it.
16817
16818 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16819
16820         * gettext.h: include LString.h even when --disable-nls is on.
16821
16822 2001-06-07  Juergen Vigna  <jug@sad.it>
16823
16824         * text.C (BreakAgain): subst spaces with tabs.
16825
16826         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16827         (resizeInsetsLyXText): set force on resizeLyXText.
16828
16829 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * gettext.h (gettext_init):
16832         (locale_init): use a real definition instead of a macro
16833
16834 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16835
16836         * Bufferview_pimpl.C:
16837         * LColor.h:
16838         * LColor.C: further lcolor tidies
16839
16840 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16841
16842         * BufferView_pimpl.C (updateScrollbar): simplify.
16843
16844         * BufferView2.C: don't include insets/insetinfo.h, change
16845         prototype for insertInset and call the Pimpl version. let
16846         updateInset call Pimpl version.
16847
16848         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16849         gotoInset to BufferView::Pimpl
16850
16851 2001-06-01  Juergen Vigna  <jug@sad.it>
16852
16853         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16854         inside a LockingInset (is the update needed at all?).
16855
16856 2001-05-31  Juergen Vigna  <jug@sad.it>
16857
16858         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16859         here not the old one otherwise how should we compare it afterwards
16860         if it's the same!
16861
16862 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16863
16864         * lyxfont.C:
16865         * tabular.C:
16866         * tabular-old.C:
16867         * FontInfo.C: bring C functions into global namespace when
16868         necessary
16869
16870 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16871
16872         * LString.h: make sure config.h has been loaded before LString.h.
16873
16874         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16875         (one for each char read by EatLine!).
16876
16877         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16878         variables.
16879
16880 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16881
16882         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16883         to the same as the par we break from
16884
16885 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16886
16887         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16888
16889         * MenuBackend.C (expand): also create menu entries for wide
16890         versions of the floats.
16891
16892         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16893
16894         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16895
16896         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16897         frontends/Makefile.am
16898
16899         * text2.C: adjust
16900         * text.C: adjust
16901
16902
16903         * tabular.C (getTokenValue): add std::
16904
16905         * tabular-old.C (getTokenValue): add std::
16906         (getTokenValue): ditto
16907         (getTokenValue): ditto
16908
16909         * screen.C (ToggleSelection): adjust
16910
16911         * lyxtext.h: put selection cursors inside a Selection struct.
16912
16913         * lyxfunc.C (moveCursorUpdate): adjust
16914
16915         * lyxfont.C (latexWriteStartChanges): add std::
16916
16917         * lyxfind.C: adjust
16918
16919         * font.h: delete with(char const *, LyXFont const &)
16920
16921         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16922
16923         * FontInfo.C (getFontname): add std::
16924
16925         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16926         (workAreaButtonPress): adjust
16927         (tripleClick): adjust
16928         (update): adjust
16929         (moveCursorUpdate): adjust
16930         (Dispatch): adjust
16931
16932         * BufferView2.C (gotoInset): adjust
16933
16934 2001-05-30  Juergen Vigna  <jug@sad.it>
16935
16936         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16937         to check pspell I add this as default as I now have new pspell
16938         libraries and they seem to use this.
16939
16940 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16941
16942         * text2.C (CutSelection): make the cursor valid before the call to
16943         ClearSelection.
16944
16945 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16946
16947         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16948         relied on 0 terminated strings and other horrors. Bug found due to
16949         the new assert in lyxstring!
16950
16951         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16952         KP_ keys.
16953
16954 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16955
16956         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16957         to latinkeys.bind.
16958
16959         * lyxfunc.C (processKeySym): change method of getting to the
16960         self-insert char.
16961
16962         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16963         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16964         * BufferView_pimpl.[Ch]: here as private methods.
16965
16966 2001-05-28  Juergen Vigna  <jug@sad.it>
16967
16968         * text.C (SetHeightOfRow): added the update() call again as it is
16969         needed to initialize inset dimensions!
16970
16971 2001-05-16  Juergen Vigna  <jug@sad.it>
16972
16973         * text2.C (SetCharFont): Add new function with BufferView * and
16974         bool toggleall parameters for setting insets internal fonts.
16975         (SetFont): Freeze the undo as we may change fonts in Insets and
16976         all this change should be inside only one Undo!
16977
16978         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16979         setting font's in insets as for them we have the SetFont function!
16980
16981 2001-05-15  Juergen Vigna  <jug@sad.it>
16982
16983         * text2.C (ClearSelection): to be sure we REALLY don't have any
16984         selection anymore!
16985
16986         * tabular.C (TeXCellPreamble): fixed the left border problem for
16987         multicolumn cells.
16988
16989 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16990
16991         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16992         dependancy file
16993
16994 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16995
16996         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16997         LFUN_BREAKPARAGRAPH.
16998
16999         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17000         help test to "internal only", similar for LFUN_INSERT_URL
17001
17002         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17003         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17004         auto_region_delete and deadkeys.
17005
17006 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17007
17008         * LColor.h:
17009         * LColor.C: remove some dead entries, tidy a little
17010
17011 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17012
17013         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17014         commented code.
17015         (Dispatch): implement LFUN_ESCAPE
17016
17017         * commandtags.h: add LFUN_ESCAPE
17018
17019         * LyXAction.C (init): add entry for LFUN_ESCAPE
17020
17021         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17022         Remove commented code.
17023         (insertNote): moved here
17024         (open_new_inset): moved here
17025
17026         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17027         BufferView_pimpl
17028
17029 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17030
17031         * kbmap.C (findbinding): clean it up and make it work correctly.
17032
17033         * lyx_main.C (init): do not pass argc and argv as parameters
17034
17035 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17036
17037         * buffer.C: fix path for OS/2 & Win32
17038
17039         * lyx_gui.C:
17040         * lyx_main:
17041         * lyx_main.C: Added os:: class.
17042
17043         * os2_defines.h: update
17044
17045 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17046
17047         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17048         better by trying again with reduced state.
17049
17050 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17051
17052         * lyxrc.C (read): print error about invalid key sequence only when
17053         debugging (because not all latinX keysyms are known to some X
17054         servers)
17055
17056         * kbsequence.C (getiso): add a few std:: qualifiers
17057         (getiso): comment out extra return statement.
17058
17059 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17060
17061         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17062         handling.
17063         (Dispatch): enhance the accent inset a bit. (not perfect)
17064
17065 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17066
17067         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17068
17069 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17070
17071         * bufferlist.C (emergencyWrite): fix assert() call
17072
17073 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17074
17075         * text.C (InsertChar): Added trivial patch to only send the "you
17076         can not do multiple spaces this way" message once during a
17077         session.
17078
17079 2001-05-08  Baruch Even  <baruch@lyx.org>
17080
17081         * Makefile.am: Changed order of libraries to get LyX to link properly
17082         with the gnome frontend.
17083
17084 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17085
17086         * LaTeXFeatures.h: add a std:: qualifier
17087
17088 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17089
17090         * paragraph.C (String): use stringstream
17091
17092 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17093
17094         * paragraph.C (writeFile): remove footflag arg
17095
17096         * buffer.C (makeLaTeXFile): use stringstream
17097         (latexParagraphs): remove footnot gurba
17098
17099         * LaTeXFeatures.C (getPackages): use stringstream
17100         (getMacros): likewise
17101         (getTClassPreamble): likewise
17102         (getFloatDefinitions): new method
17103
17104         * paragraph.C (writeFile): reindent
17105         (Erase): reindent
17106
17107         * WorkArea.h: revert the xpos + etc changes.
17108
17109         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17110
17111         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17112
17113         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17114         (pasteSelection): likewise
17115         * text2.C (CreateUndo): likewise
17116
17117 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17118
17119         * minibuffer.C (peek_event): temporarily reduce the functionality
17120         of the minibuffer (to allow args on lfuns)
17121
17122         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17123         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17124
17125         * buffer.C (readInset): add compability reading of old float
17126         lists, add reading of new style float list.
17127         (readInset): avoid reevaluation of inscmd.getCmdName()
17128         (getLists): reindent
17129
17130         * MenuBackend.C (MenuItem): implement parsing of
17131         md_floatlistinsert and md_floatinsert.
17132         (expand::LastFiles): move initalizaton of iterators out of loop,
17133         avoid reevaluation.
17134         (expand::Documents): introduce typdedef vector<string> Strings,
17135         and use it.
17136         (expand::ExportFormats): introduce typedef vector<Format const *>
17137         Formats, and use it.
17138         (expand): implement FloatListInsert and FloatInsert.
17139
17140         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17141         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17142         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17143
17144         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17145         handling.
17146         (Dispatch::LFUN_FLOAT_LIST): implement
17147
17148 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17149
17150         * LaTeX.C (run): Fix problem with --export code.
17151
17152 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17153
17154         * BufferView.[Ch] (workarea): removed.
17155         (getClipboard) new method; wrapper for workarea()->getClipboard()
17156
17157         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17158         bug.
17159
17160         * WorkArea.h (width, height, xpos, ypos): These methods all
17161         returned the dimensions of the work_area sub-area of WorkArea,
17162         resulting in a position error if the WorkArea were resized. Now
17163         return the dimensions of the entire WorkArea.
17164
17165         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17166
17167 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17168
17169         * LaTeX.C (deplog): correct the syntax of regex reg1
17170
17171 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17172
17173         * undo.C: remove !NEW_INSETS cruft
17174
17175 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17176
17177         * text2.C: remove !NEW_INSETS cruft
17178
17179         * text.C: remove !NEW_INSETS cruft
17180
17181         * tabular.C: remove !NEW_INSETS cruft
17182
17183         * spellchecker.C: remove !NEW_INSETS cruft
17184
17185         * lyxtext.h: remove !NEW_INSETS cruft
17186
17187         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17188
17189         * lyxfunc.C: remove !NEW_INSETS cruft
17190
17191         * lyxfind.C: remove !NEW_INSETS cruft
17192
17193         * lyx_cb.C: remove !NEW_INSETS cruft
17194
17195         * figureForm.C: remove  !NEW_INSETS cruft
17196
17197         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17198
17199         * buffer.[Ch]: remove !NEW_INSETS cruft
17200
17201         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17202
17203         * CutAndPaste.C: remove !NEW_INSETS cruft
17204
17205         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17206
17207         * BufferView2.C: remove !NEW_INSETS cruft
17208
17209         * BufferView.h: remove !NEW_INSETS cruft
17210
17211 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17212
17213         * Lsstream.h: include LString.h before the sstream headers to
17214         fix problem with gcc 2.95.3 and lyxstring
17215
17216 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17217
17218         * lyx_main.C: add using directives when needed for C functions
17219         declared in std:: namespace.
17220
17221 2001-04-27  Juergen Vigna  <jug@sad.it>
17222
17223         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17224         (SetHeightOfRow): comment out the update call should not be needed!
17225
17226 2001-04-13  Juergen Vigna  <jug@sad.it>
17227
17228         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17229         (LyXTabular): tried to minimize operator= operations (and realized
17230         hopfully Lars wish).
17231
17232 2001-04-27  Juergen Vigna  <jug@sad.it>
17233
17234         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17235
17236 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17237
17238         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17239
17240         * buffer.C (readInset): hack to make listof algorithm work
17241
17242         * BufferView_pimpl.C: hack to make listof algorithm work
17243
17244 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17245
17246         * LyXAction.C: removed all !NEW_INSETS cruft
17247         (init): moved lfun_item in method
17248
17249         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17250
17251 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17252
17253         * BufferView2.C (theLockingInset): white space.
17254
17255 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17256
17257         * minibuffer.C: include <iostream>
17258
17259         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17260
17261         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17262
17263         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17264
17265         * text.[Ch] (TransposeChars): new method
17266
17267 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17268
17269         * call message directly through LyXView instead of through LyXFunc
17270         * BufferView2.C: adjust
17271         * BufferView_pimpl.C: adjust
17272         * FontLoader.C: adjust
17273         * buffer.C: adjust
17274         * bufferview_funcs.C: adjust
17275         * converter.C: adjust
17276         * figureForm.C: adjust
17277         * importer.C: adjust
17278         * lyx_cb.C: adjust
17279         * lyx_gui_misc.C: adjust
17280         * lyxfunc.C: adjust
17281         * lyxvc.C: adjust
17282         * text2.C: adjust
17283         + more files in subdirs
17284
17285         * lyxparagraph.h (size): move up int file
17286         (GetLayout): ditto
17287
17288         * adjust all uses of Assert to lyx::Assert.
17289
17290         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17291         lyxfunctional in namespace lyx
17292         * layout.C (hasLayout): ditto
17293         (GetLayout): ditto
17294         (GetLayout): ditto
17295         (delete_layout): ditto
17296         (NumberOfClass): ditto
17297         * converter.C (GetFormat): ditto
17298         (GetNumber): ditto
17299         (Add): ditto
17300         (Delete): ditto
17301         (SetViewer): ditto
17302         * bufferlist.C (getFileNames): ditto
17303         (emergencyWriteAll): ditto
17304         (exists): ditto
17305         (getBuffer): ditto
17306         * MenuBackend.C (hasSubmenu): ditto
17307         (hasMenu): ditto
17308         (getMenu): ditto
17309         * BufferView_pimpl.C (getInsetByCode): ditto
17310
17311 2001-04-18  Juergen Vigna  <jug@sad.it>
17312
17313         * vspace.C (asLatexString): fixed the 100% problem.
17314
17315 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17316
17317         * lyxfunc.C (Dispatch):
17318         * minibuffer.C:
17319         * minibuffer.h: add a few std:: qualifiers
17320
17321 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17322
17323         * minibuffer.[Ch]: reimplement so that commands is initiated and
17324         run from lyxfunc, simplified som handling, and made the completion
17325         and history code for complete. wip.
17326
17327         * lyxfunc.C (processKeySym): call message
17328         (miniDispatch): new temporary method
17329         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17330         (LFUN_MESSAGE): implement
17331         (LFUN_MESSAGE_PUSH): implement
17332         (LFUN_MESSAGE_POP): implement
17333         (initMiniBuffer): the initial/defualt minibuffer message.
17334
17335         * lyxfont.[Ch]: inline some more getters
17336
17337         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17338
17339         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17340
17341         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17342         (AutoSave): use LFUN_MESSAGE
17343         (Reconfigure): ditto
17344
17345         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17346
17347         * figureForm.C: use LFUN_MESSAGE
17348
17349         * converter.C (runLaTeX): use LFUN_MESSAGE
17350
17351         * bufferview_funcs.C: use LFUN_MESSAGE
17352         (Melt): ditto
17353         (changeDepth): ditto
17354
17355         * bufferparams.h: use boost::
17356
17357         * bufferlist.h: inherit privately from noncopyable
17358
17359         * bufferlist.C (loadLyXFile): remove some commented code.
17360
17361         * buffer.C (runChktex): use LFUN_MESSAGE
17362
17363         * ShareContainer.h: inherit privately from noncopyable
17364
17365         * ParagraphParameters.[hC] (depth): inline it.
17366
17367         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17368         methods.
17369         (message): new method
17370         (messagePush): ditto
17371         (messagePop): ditto
17372         (show): init minibuffer
17373         (showState): direct call
17374
17375         * LaTeX.[Ch]: inherit privately from noncopyable
17376         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17377         instead of WriteStatus.
17378
17379         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17380
17381         * BufferView_pimpl.C (buffer): don't init minibuffer
17382         (workAreaButtonPress): use LFUN_MESSAGE
17383         (workAreaButtonRelease): ditto
17384         (savePosition): ditto
17385         (restorePosition): ditto
17386         (MenuInsertLyXFile): ditto
17387         (workAreaExpose): don't init minibuffer
17388         (update): remove commented code, simplify
17389
17390         * BufferView2.C (openStuff): use LFUN_MESSAGE
17391         (toggleFloat): ditto
17392         (menuUndo): ditto
17393         (menuRedo): ditto
17394         (copyEnvironment): ditto
17395         (pasteEnvironment): ditto
17396         (copy): ditto
17397         (cut): ditto
17398         (paste): ditto
17399         (gotoInset): ditto
17400         (updateInset): remove some commented code
17401
17402         * lastfiles.h: inherit privately from noncopyable
17403         * layout.h: ditto
17404         * lyx_gui.h: ditto
17405         * lyx_main.h: ditto
17406         * lyxlex.h: ditto
17407         * lyxlex_pimpl.h: ditto
17408
17409         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17410         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17411         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17412
17413         * LyXAction.h: inherit privately from noncopyable, add methods
17414         func_begin, func_end, returning iterators to the func map.
17415
17416         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17417         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17418         (func_begin): new method
17419         (func_end): new method
17420
17421         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17422         and not)
17423         (copySelection): ditto
17424         (pasteSelection): ditto
17425
17426         * BufferView.C: whitespace change
17427         * BufferView.h: inherit privately from noncopyable
17428
17429 2001-04-16  Allan Rae  <rae@lyx.org>
17430
17431         * tabular-old.C (l_getline):
17432         * spellchecker.C (sc_check_word):
17433         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17434         an unrecognised preprocessor directive.  So ensure they're wrapped.
17435
17436 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17437
17438         * src/exporter.C (Export): Give an error message when path to file
17439         contains spaces.
17440
17441 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17442
17443         * LaTeX.C (deplog): Always check that foundfile exists.
17444
17445 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17446
17447         * lyx_main.h:
17448         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17449
17450 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17451
17452         * tabular.[Ch] (getLabelList): implement new method
17453
17454         * minibuffer.h: comment ouf setTiimer
17455
17456         * minibuffer.C (ExecutingCB): constify res
17457         (peek_event): constify s
17458         (Set): constify ntext
17459         (Init): constify nicename
17460
17461         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17462
17463         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17464         (savePosition): use two params to Minibuffer::Set
17465         (restorePosition): ditto
17466
17467 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17468
17469         * lyx_main.C: include language.h
17470
17471         * Makefile.am (lyx_main.o): add language.h
17472
17473 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17474
17475         * exporter.C:
17476         * paragraph.C:
17477         * screen.C:
17478         * tabular.C:
17479         * CutAndPaste.C: include gettext.h
17480
17481         * lyxfont.h: remove old hack with ON and OFF.
17482
17483         * lyxparagraph.h:
17484         * lyxfont.h: do not include language.h...
17485
17486         * BufferView2.C:
17487         * LaTeXFeatures.C:
17488         * Painter.C:
17489         * bufferview_funcs.C:
17490         * font.C:
17491         * lyxfont.C:
17492         * text.C:
17493         * text2.C:
17494         * trans_mgr.C:
17495         * paragraph.C: ... but do it here instead
17496
17497 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17498
17499         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17500
17501         * tabular.C: small reformat
17502
17503         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17504         NEW_INSETS version
17505         (GetChar): ditto
17506         (BreakParagraph): ditto
17507         (SetOnlyLayout): ditto
17508         (SetLayout): ditto
17509
17510         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17511         with one arg less.
17512
17513         * lastfiles.C: removed most using decl, add std:: where needed
17514
17515         * buffer.C: ws changes
17516
17517         * MenuBackend.C (class compare_format): put into anon namespace
17518         (expand): constify label, names, action, action2
17519         (expand):
17520
17521         * text.C (SingleWidth): constify font
17522         (IsBoundary): constify rtl2
17523         (GetVisibleRow): constify ww
17524
17525         * LaTeX.C (deplog): constify logfile
17526
17527         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17528         start_x, end_x
17529         (workAreaExpose): constify widthChange, heightChange
17530
17531         * lyxrow.C (par): moved
17532         (height): moved
17533         (next): moved
17534         * lyxrow.h: as inlines here
17535
17536         * lyxfont.h (shape): moved from lyxfont.C
17537         (emph): moved from lyxfont.C
17538
17539         * lyxfont.C (LyXFont): use initialization list for all
17540         constructors
17541         (shape): move to lyxfont.h as inline
17542         (emph): move to lyxfont.h as inline
17543
17544
17545 2001-04-04  Juergen Vigna  <jug@sad.it>
17546
17547         * vspace.C: had to include stdio.h for use of sscanf
17548
17549 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17550
17551         * BufferView.h:
17552         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17553         independent of xforms.
17554
17555 2001-04-02  Juergen Vigna  <jug@sad.it>
17556
17557         * spellchecker.C: fixed namespace placing!
17558
17559 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17560
17561         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17562         the LyXParagraph * is 0.
17563
17564 2001-03-29  Juergen Vigna  <jug@sad.it>
17565
17566         * vspace.C: added support for %, c%, p%, l%.
17567         (stringFromUnit): added helper function.
17568         (asLatexString): changed to give right results for the %-values.
17569
17570         * buffer.C: convert the widthp in a width%.
17571
17572 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17573
17574         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17575         figureForm.[Ch].
17576
17577         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17578         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17579
17580         * lyx_cb.[Ch]: see above.
17581
17582         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17583         form1.[Ch].
17584
17585         * form1.[Ch]:
17586         * lyx.[Ch]: replaced by figure_form.[Ch].
17587
17588         * lyx_gui.C:
17589         * lyx_gui_misc.C:
17590         * lyxfunc.C: changed headers associated with above changes.
17591
17592 2001-03-27  Juergen Vigna  <jug@sad.it>
17593
17594         * BufferView_pimpl.C: set the temporary cursor right!
17595
17596 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17597
17598         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17599
17600 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17601
17602         * LString.h: removed "using std::getline"!
17603
17604         * BufferView_pimpl.C (Dispatch): changes due to changes in
17605         InsetInclude::Params.
17606
17607         * buffer.C (tag_name): removed redundant break statements as they were
17608         producing lots of warnings with my compiler.
17609
17610 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17611
17612         * LString.h: add "using std::getline" when using the real <string>.
17613
17614 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17615
17616         * buffer.C: removed bitset usage.
17617         PAR_TAG moved to an anonymous name space.
17618         (tag_name): new funtion, also in the anonymous namespace.
17619         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17620         (makeDocBookFile): clean code. Completed transition from string arrays
17621         to string vectors.
17622         (SimpleDocBookOnePar): code clean.
17623
17624 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17625
17626         * tabular.C: add some comments.
17627
17628 2001-03-22  Juergen Vigna  <jug@sad.it>
17629
17630         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17631         compatibility read a bit and fixed bug with minipage in different
17632         depth.
17633
17634 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17635
17636         * buffer.C (pop_tag): removed.
17637         (push_tag): removed.
17638         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17639         array replaced with vector. Added support for CDATA sections.
17640         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17641         at any nest level.
17642         (makeDocBookFile): XML conformant declaration of CDATA section,
17643         fixed bug related to <emphasis> in the first paragraph char.
17644         (sgmlOpenTag): exclude empty tags.
17645         (sgmlCloseTag): ditto.
17646
17647         * buffer.h (pop_tag): removed.
17648         (push_tag): removed.
17649
17650 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17651
17652         * language.h (Languages): added size_type and size().
17653
17654 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17655
17656         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17657         response on compability reading of minipages. One probliem is that
17658         the old usage of minipages was flertydig
17659
17660         * several files here and in subdirs: don't use static at file
17661         scope use anon namespaces instead.
17662
17663 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17664
17665         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17666         LaTeX output. This is necessary for Literate document
17667         processing.
17668
17669 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17670
17671         * buffer.C: insert hfill when needed.
17672
17673         * tabular.C (l_getline): use string::erase, small whitespace change.
17674
17675         * BufferView_pimpl.C: try the anon namespace.
17676         * WorkArea.C: ditto
17677
17678 2001-03-16  Juergen Vigna  <jug@sad.it>
17679
17680         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17681         otherwise it won't open options-dialogs.
17682
17683         * buffer.C: honor pextraWidth(p) on converting minipages.
17684
17685         * tabular.C (l_getline): changed the functions to strip trailing \r.
17686
17687 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17688
17689         * BufferView_pimpl.C:
17690         * minibuffer..C: added "using SigC::slot" declaration.
17691
17692 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17693
17694         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17695
17696         * text2.C: ditto
17697
17698         * text.C: ditto
17699
17700         * paragraph.C: ditto
17701
17702         * lyxtext.h: NO_PEXTRA
17703
17704         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17705
17706         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17707         * ParameterStruct.h: ditto
17708         * ParagraphParameters.h: ditto
17709         * lyxparagraph.h: ditto
17710
17711 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17712
17713         * buffer.C: add compability for minipage alignment.
17714         (latexParagraphs): remove unwanted pextra check.
17715
17716         * several files: remove CXX_WORKING_NAMESPACES
17717
17718         * buffer.C (pop_tag): tie is in namespace boost
17719
17720         * BufferView.h: noncopyable is in namespace boost
17721         * lyxlex.h: ditto
17722         * lyx_main.h: ditto
17723         * lyx_gui.h: ditto
17724         * layout.h: ditto
17725         * lastfiles.h: ditto
17726         * bufferlist.h: ditto
17727         * ShareContainer.h: ditto
17728         * LyXView.h: ditto
17729         * LyXAction.h: ditto
17730         * LaTeX.h: ditto
17731
17732 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17733
17734         * Merging changes from BRANCH_MVC back into HEAD.
17735
17736         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17737
17738 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17739
17740         * BufferView_pimpl.C: change from intl.C
17741
17742         * combox.h:
17743         * combox.C:
17744         * Makefile.am: move combox.*
17745
17746         * form1.h:
17747         * form1.C:
17748         * lyx_gui.C:
17749         * intl.h:
17750         * intl.C: remove dialog (covered by prefs)
17751
17752 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17753
17754         * lyxfunc.C (Dispatch): removed redundant break statement.
17755
17756 2001-03-14  Juergen Vigna  <jug@sad.it>
17757
17758         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17759
17760 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17761
17762         * buffer.C: add hack to fix compability reading of minipages.
17763
17764 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17765
17766         * buffer.C (getLists): Cleanup.
17767
17768 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17769
17770         * lyxfont.C (update): don't honor toggleall on font size.
17771
17772 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17773
17774         * bmtable.c:
17775         * bmtable.h:
17776         * Makefile.am: moved to frontends/xforms/
17777
17778         * lyx_gui_misc.C:
17779         * lyxfunc.C:
17780         * BufferView_pimpl.C: changes for moved mathpanel
17781
17782 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17783
17784         * gettext.h: fix gettext_init() in --disable-nls
17785
17786 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17787
17788         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17789
17790 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17791
17792         * lyx.C:
17793         * lyx.h: strip external form
17794
17795 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17796
17797         * BufferView_pimpl.C: add comment, destroySplash()
17798
17799 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17800
17801         * BufferView_pimpl.C:
17802         * LyXAction.C:
17803         * buffer.C:
17804         * commandtags.h:
17805         * lyxfunc.C: use re-worked insetinclude
17806
17807 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17808
17809         * buffer.C: add using std::stringstream.
17810
17811         * lyx_cb.C: readd using std::ios.
17812
17813         * buffer.C: add using std::map.
17814
17815         * BufferView_pimpl.C: add using std::vector.
17816
17817         * ShareContainer.h: add std:: to swap.
17818
17819         * buffer.h: add some typedefs
17820         * buffer.C (getLists): use them
17821         (getLists): renamed from getTocList.
17822         add a counter for the different float types and use it in the
17823         generated string.
17824         (getLists): use the same counter for the NEW_INSETS and the "non"
17825         NEW_INSETS
17826
17827         * lyx_cb.h: remove unused items, includes, using etc.
17828
17829         * ShareContainer.h: remove some commented code, add more comments
17830         and "documentation".
17831
17832 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17833
17834         * buffer.C (getTocList): make the list also when NEW_INSETS is
17835         defined.
17836
17837         * buffer.h: remove TocType
17838
17839         * buffer.C (getTocList): change to return a map<string,
17840         vector<TocItem> >, implement for dynamic number of list.
17841
17842         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17843         * text2.C (PasteSelection): adjust
17844         * CutAndPaste.C (pasteSelection): adjust
17845
17846         * FloatList.C (FloatList): update from the new_insets branch.
17847         * Floating.[Ch]: ditto
17848         * LaTeXFeatures.C: ditto
17849         * buffer.C: ditto
17850         * lyxlex_pimpl.C: ditto
17851
17852         * paragraph.C (Last): remove when NEW_INSETS is defined.
17853
17854         * other file: changes because of the above.
17855
17856 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17857
17858         * lyxparagraph.h: rename next to next_, previous to previous_,
17859         make them private for NEW_INSETS. Rename Next() to next(),
17860         Previous() to previous().
17861
17862         * other files: changes because of the above.
17863
17864 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17865
17866         * BufferView.h:
17867         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17868         problem.
17869
17870 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17871
17872         * main.C (main): pass lyx_localedir to gettext_init().
17873
17874         * gettext.h: remove locale_init and gettext_init macros
17875
17876         * gettext.C (locale_init): new function
17877         (gettext_init): new function
17878
17879         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17880         setlocale().
17881
17882 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17883
17884         * Moved credits to frontends:
17885         * credits.[Ch]: removed
17886         * credits_form.[Ch]: removed
17887         * lyx_gui_misc.C: remove credits stuff
17888         * Makefile.am:
17889
17890 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17891
17892         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17893
17894         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17895         unneeded destructor.
17896
17897         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17898         a standalone pointer again.
17899
17900         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17901
17902 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17903
17904         * Makefile.am:
17905         * filedlg.h:
17906         * filedlg.C:
17907         * LyXAction.C:
17908         * ToolbarDefaults.C:
17909         * bufferlist.C:
17910         * commandtags.h:
17911         * form1.C:
17912         * form1.h:
17913         * lyx_cb.C:
17914         * lyx_cb.h:
17915         * lyxfunc.h:
17916         * lyxfunc.C:
17917         * BufferView_pimpl.C: use new file dialog in GUII
17918
17919         * lyx_cb.h:
17920         * lyx_cb.C: remove LayoutsCB to Toolbar
17921
17922 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17923
17924         * ShareContainer.h (get): add std:: qualifier
17925
17926 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17927
17928         * ShareContainer.h: define a proper ShareContainer::value_type
17929         type (and use typename to please compaq cxx)
17930
17931 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17932
17933         * lyxparagraph.h: move serveral local vars to
17934         ParameterStruct/ParagraphParameters., use ShareContainer in
17935         FontTable., make vars in FontTable private and add getter and
17936         setter.
17937
17938         * paragraph.C: changes because of the above.
17939
17940         * lyxfont.h: remove copy constructor and copy assignment. (the
17941         default ones is ok), move number inside FontBits. move inlines to
17942         lyxfont.C
17943
17944         * lyxfont.C: add number to initializaton of statics, move several
17945         inlines here. constify several local vars. some whitespace
17946         cleanup. Dont hide outerscope variables.
17947
17948         * Spacing.h: add two new constructors to match the set methods.
17949
17950         * ShareContainer.h: new file, will perhaps be moved to support
17951
17952         * ParameterStruct.h: new file
17953
17954         * ParagraphParameters.h: new file
17955
17956         * ParagraphParameters.C: new file
17957
17958         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17959         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17960
17961         * BufferView_pimpl.C: ParagraphParameter changes.
17962         * buffer.C: Likewise.
17963         * bufferview_funcs.C: Likewise.
17964         * text.C: Likewise.
17965         * text2.C: Likewise.
17966
17967 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17968
17969         * lyxfind.C (LyXReplace): do not redefine default argument in
17970         implementation.
17971         (IsStringInText): ditto
17972         (SearchForward): ditto
17973         (SearchBackward): ditto
17974
17975 2001-03-06  Juergen Vigna  <jug@sad.it>
17976
17977         * lyxfind.C (IsStringInText): put parentes around expressions.
17978
17979 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17980
17981         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17982
17983 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17984
17985         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17986
17987         * stl_string_fwd.h: add comment
17988
17989         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17990
17991         * tabular.h:
17992         * tabular.C: remove unused DocBook methods
17993
17994         * intl.C:
17995         * language.C:
17996         * paragraph.C:
17997         * buffer.C:
17998         killed DO_USE_DEFAULT_LANGUAGE
17999
18000 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18001
18002         * lyx_gui.C: do not include language.h.
18003
18004         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18005         arguments in function implementation.
18006
18007 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18008
18009         * BufferView_pimpl.C: add <ctime>
18010
18011 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18012
18013         * BufferView_pimpl.C: add using std::find_if
18014
18015 2001-02-27  José Matos  <jamatos@fep.up.pt>
18016
18017         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18018         by OnlyPath.
18019
18020 2001-02-11  José Matos  <jamatos@fep.up.pt>
18021
18022         * buffer.C (makeDocBookFile): command styles now have a parameter as
18023         "title" by default.
18024
18025 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18026
18027         * layout_forms.[Ch]: removed
18028         * lyx_cb.[Ch]: out character
18029         * lyx_gui.C: out character
18030         * lyx_gui_misc.C: out character
18031         * bufferview_funcs.C: : out character,
18032         added toggleall as parameter in ToggleAndShow
18033
18034 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18035
18036         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18037
18038         * text2.C (SetCurrentFont): Disable number property at boundary.
18039
18040 2001-02-26  Juergen Vigna  <jug@sad.it>
18041
18042         * lyxfunc.C (getStatus): added a string argument override function so
18043         that this is correctly called from LyXFunc::Dispatch if it contains a
18044         do_not_use_argument which is used!
18045         (Dispatch): added check for "custom" export and call appropriate func.
18046
18047 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18048
18049         * lyxrc.C: Add language_command_local, language_use_babel and
18050         language_global_options.
18051
18052         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18053
18054         * buffer.C (makeLaTeXFile): Use language_use_babel and
18055         language_global_options.
18056
18057 2001-02-23  Juergen Vigna  <jug@sad.it>
18058
18059         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18060         which works with LyXText and putted it inside BufferView. Here now we
18061         only call for that part the BufferView::Dispatch() function.
18062
18063         * BufferView.C (Dispatch): added.
18064
18065         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18066         functions which needs to use a LyXText over from LyXFunc.
18067         (MenuInsertLyXFile): added
18068         (getInsetByCode): added
18069         (moveCursorUpdate): added
18070         (static TEXT): added
18071
18072 2001-02-22  Juergen Vigna  <jug@sad.it>
18073
18074         * BufferView_pimpl.C (update): call a status update to see if LyXText
18075         needs it.
18076
18077 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18078
18079         * vc-backend.C (revert): implement for CVS
18080         (getLog): implement for CVS
18081
18082 2001-02-20  Juergen Vigna  <jug@sad.it>
18083
18084         * text2.C (ClearSelection): added BufferView param for inset_owner call
18085
18086         * lyxfunc.C (TEXT): added this function and use it instead of
18087         directly owner->view()-text of getLyXText().
18088
18089 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18090
18091         * src/layout_forms.C: out preamble
18092         * src/layout_forms.h: out preamble
18093         * src/lyx_cb.C: out preamble
18094         * src/lyx_cb.h: out preamble
18095         * src/lyx_gui.C: out preamble
18096         * src/lyx_gui_misc.C: out preamble
18097         * src/lyxfunc.C: connect with guii preamble
18098
18099 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18100
18101         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18102
18103 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18104
18105         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18106         whether to run bibtex.
18107
18108 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18109
18110         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18111
18112 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18113
18114         * Makefile.am (lyx_SOURCES): removed bibforms.h
18115
18116         * vspace.h: doxygen
18117
18118         * text.C (GetVisibleRow): make several local vars const
18119
18120         * tabular.C: small cleanup.
18121
18122         * lyxserver.C (callback): use compare instead of strncmp
18123
18124         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18125         inlines to after class or to paragraph.C
18126
18127         * lyxfont.h: remove friend operator!=
18128
18129         * converter.h: move friend bool operator< to non friend and after
18130         class def.
18131
18132         * combox.h: small cleanup
18133
18134         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18135         to inlines after class def.
18136
18137         * buffer.C (pop_tag): use string operations instead of strcmp
18138
18139         * bmtable.c: doxygen, small cleanup
18140
18141         * LaTeX.h: remove friend operator==
18142
18143 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18144
18145         * screen.C:
18146         * lyxrc.[Ch]:
18147         * lyxfunc.C:
18148         * lyxfont.[Ch]:
18149         * lyx_cb.C:
18150         * intl.[Ch]:
18151         * commandtags.h:
18152         * buffer.C:
18153         * WorkArea.[Ch]:
18154         * LyXAction.C:
18155         * BufferView_pimpl.C:
18156         * BufferView.[Ch]: remove cruft
18157
18158 2001-02-14  Juergen Vigna  <jug@sad.it>
18159
18160         * lyxfunc.C: removed #if 0 unused code
18161
18162         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18163
18164         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18165
18166         * text2.C (SetSelection): added a BufferView * parameter
18167
18168 2001-02-13  Juergen Vigna  <jug@sad.it>
18169
18170         * lyxfunc.C (Dispatch): fixed protected blank problem.
18171         * BufferView2.C (protectedBlank): added LyxText * parameter.
18172
18173         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18174         (AppendColumn): same as above for column_info.
18175
18176         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18177         (moveCursorUpdate): use a LyXText param for support of InsetText.
18178
18179         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18180         (tripleClick): ditto
18181
18182         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18183
18184         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18185
18186         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18187
18188         * text2.C (SetSelection): set correct update status if inset_owner
18189         (ToggleFree): ditto
18190
18191 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18192
18193         * tabular.C: remove some commented code.
18194
18195 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18196
18197         * BufferView_pimpl.C: call hideSplash()
18198
18199         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18200
18201         * include_form.h:
18202         * bibforms.h: remove
18203
18204         * lyxfunc.C:
18205         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18206           add LFUN_CHILD_CREATE
18207
18208         * counters.h: fix tiny typo
18209
18210         * lyx_cb.C:
18211         * lyx.h:
18212         * lyx_gui.C:
18213         * lyx.C: move splash to frontends/xforms/
18214
18215         * lyx_gui_misc.C: move Include and Bibform to frontends
18216
18217         * lyxvc.h: clarify comment
18218
18219         * vspace.C: tiny housekeeping
18220
18221 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18222
18223         * text.C (PrepareToPrint): RTL Fix.
18224
18225         * paragraph.C (GetUChar): New method.
18226         (String):  Use GetUChar.
18227
18228         * buffer.C (asciiParagraph): Use GetUChar.
18229
18230 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18231
18232         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18233
18234 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18235
18236         * buffer.h:
18237         * buffer.C: rename to getLogName(), handle
18238           build log / latex log nicely
18239
18240 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18241
18242         * MenuBackend.C:
18243         * MenuBackend.h: remove support for reference menuitem type.
18244
18245 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18246
18247         * BufferView_pimpl.C: housekeeping
18248         * BufferView_pimpl.h:
18249         * LyXView.h:
18250         * Makefile.am:
18251         * Timeout.C:
18252         * Timeout.h:
18253         * minibuffer.h: move Timeout GUI-I
18254
18255 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18256
18257         * lyxrc.C (read): Update converters data-structures.
18258
18259 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18260
18261         * LaTeX.h (operator!=): add operator != for Aux_Info
18262
18263 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18264
18265         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18266
18267         * LaTeXLog.C: deleted, useful code moved to Buffer
18268
18269         * buffer.h:
18270         * buffer.C: new function getLatexLogName()
18271
18272         * lyx_gui_misc.C:
18273         * lyx_gui.C:
18274         * lyxvc.C:
18275         * lyxvc.h:
18276         * lyxfunc.C: use frontends for LaTeX and VC logs
18277
18278 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18279
18280         * LaTeX.h: yet another std:: that Allan forgot.
18281
18282         * Variables.C (set): renamed from isset(), because this clashes
18283         with some HP-UX macros (grr).
18284
18285 2001-02-06  Allan Rae  <rae@lyx.org>
18286
18287         * LaTeX.h: Another bug fix.  Missing std:: this time.
18288
18289 2001-02-04  Allan Rae  <rae@lyx.org>
18290
18291         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18292         floats problem. I've left it commented out because it's not quite
18293         correct.  It should also test that the current object is a table or
18294         figure inset.  But I haven't gotten around to figuring out how to do
18295         that.  I *think* it'll be something like: "table" == inset.type()
18296
18297         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18298         bool.
18299
18300 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18301
18302         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18303         all the citation/databases/styles in the auxilary file.
18304         (run): Rerun latex if there was a babel language error.
18305
18306 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18307
18308         * text.C (Backspace): Preserve the font when changing newline char
18309         with a space.
18310         (BreakParagraph): If the cursor is before a space, delete the space.
18311
18312         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18313
18314 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18315
18316         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18317         new argument (code).
18318         (ChangeCitationsIfUnique): New method.
18319
18320         * paragraph.C (GetPositionOfInset): Handle bibkey.
18321
18322 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18323
18324         * BufferView_pimpl.h: change type of Position::par_pos to
18325         LyXParagraph::size_type.
18326
18327 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18328
18329         * BufferView_pimpl.C (savePosition, restorePosition): Write
18330         messages to minibuffer.
18331
18332 2001-01-28  José Matos  <jamatos@fep.up.pt>
18333
18334         * buffer.C (makeDocBookFile): adds support for document language.
18335         A silly restriction on the name of LatexCommand types where removed.
18336         Added support for CDATA sections, allows to chars unescaped, used
18337         among others in code, to avoid escape < and >.
18338
18339 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18340
18341         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18342         saved positions instrad of a stack. Furthermore, a position is
18343         stored using paragraph id/paragraph position.
18344
18345         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18346         Remove LFUN_REF_BACK.
18347
18348 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18349
18350         * converter.C (dvipdfm_options): New method.
18351
18352 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18353
18354         * vspace.C (isValidLength): Fix for empty input string.
18355
18356 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18357
18358         * LyXAction.C (init): change description of LFUN_FIGURE to
18359         "Insert Graphics"
18360
18361 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18362
18363         * LaTeX.C: add using directive
18364
18365 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18366
18367         * MenuBackend.C (expand): Fix the sorting of the formats.
18368
18369 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18370
18371         * lyx_main.C: tiny error message fix
18372
18373 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18374
18375         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18376         calling fl_initialize(). This fixes the problem with ',' as
18377         decimal separator in text files.
18378
18379 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18380
18381         * trans.C (process): Fix the keymap bug.
18382
18383 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18384
18385         * LaTeX.C (scanAuxFiles): New method. Provides support for
18386         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18387         (scanLogFile) Scan for "run BibTeX" messages.
18388
18389         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18390         OT1 font encoding. Also, load the aecompl package if the ae
18391         package is loaded.
18392
18393         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18394
18395 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18396
18397         * texrow.C (increasePos): turn two error messages into debug
18398         messages.
18399
18400 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18401
18402         * LaTeX.C (scanAux): Handle the \@input macro.
18403         (runBibTeX): Use scanAux().
18404
18405         * language.C (latex_options_): New field.
18406
18407         * LaTeXFeatures.C (getMacros): Add language macros.
18408
18409         * buffer.C (makeLaTeXFile): Small fix.
18410
18411 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18412
18413         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18414
18415         * text2.C: add a using directive.
18416
18417 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18418
18419         * BufferView2.C:
18420         * lyx_gui_misc.h:
18421         * lyxfr1.C:
18422         * lyxfunc.C: kill LyXBell.
18423
18424 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18425
18426         * text.C (IsBoundary): Remove the error message
18427
18428         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18429
18430         * lyxrc.C (setDefaults): Correct initialization value for
18431         font_norm_type.
18432
18433 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18434
18435         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18436         gotoError().
18437
18438         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18439         and GotoNextNote().
18440
18441         * src/LyXAction.C: Added reference-next.
18442
18443         * text.C (InsertChar): Use contains instead of strchr.
18444
18445         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18446
18447 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18448
18449         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18450         alignment commands (when needed).
18451
18452         * text.C (InsertChar): Add ':' to number separator chars.