]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
77cc8d1df840d23aaa92bc5cd131c3c3a7305073
[lyx.git] / src / ChangeLog
1 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * buffer.C: version upgrade to 245.
4         * bufferparams.C: remove \quotes_times (bug 2090).
5         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
6         quotation marks as default.
7
8 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
9
10         * CutAndPaste.C (nrOfParagraphs): remove (unused)
11         * CutAndPaste.C (cutSelection): Remove debug message
12         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
13         undo information and only copy if this is a real cut
14         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
15         call
16         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
17         (bug 2059)
18         * CutAndPaste.C (eraseSelection): prevent cursor corruption
19         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
20         superflous cur.selection() setting
21         * CutAndPaste.[Ch] (grabSelection): take a const cursor
22         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
23
24 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
25
26         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
27         change anything.
28
29 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
30
31         * BufferView_pimpl.C: comment layout change
32
33 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * LyXAction.C:
36         * lfuns.h:
37         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
38         by bibliography managers (bug 2071).
39
40 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * BufferView_pimpl.C (update): choose arguments to update call so
43         that single-par update works most times
44         * text3.C (dispatch): carefully tune updating separately for
45         whole-screen and current-paragraph
46         * rowpainter.C (paintText): 1) replace painting by caching for
47         the two extra paragraphs, because we can;
48         2) suppress greying out of areas below/above drawn area in case of
49         single-par refresh
50         * lyxfunc.C (dispatch): remove superfluous update
51         * LyXAction.[Ch]: introduce SingleParUpdate
52
53 2005-10-05  Angus Leeming  <leeming@lyx.org>
54
55         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
56         always initialised before use.
57
58         * text.C (setHeightOfRow): squash warning about comparison
59         of signed and unsigned types.
60
61 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
62
63         * text.C (cursorX): two fixes involving RtL text drawing
64
65 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
68         items, not only large ones (part of bug 2057)
69
70 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
73         argument, use "newcommand".
74
75 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
76
77         * cursor.C (setSelection): do not open collapsable insets;
78         the insets do by themselves now (autoopen).
79
80 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
81
82         * buffer.C: format is up to 244.
83
84 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
85
86         * text.C (redoParagraph): fix calcultation of inset width wrt 
87         leftMargin (bug 1957).
88
89         * text3.C (dispatch): leave inset to the right when hitting ESC 
90         (bug 2034).
91
92 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * text2.C: 
95         * text.C: 
96         * factory.C:
97         * messages.C: include <boost/current_function.hpp> 
98
99 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
102         when command is internal. (bug 1941)
103
104 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
105
106         * text2.C (cursorRight): do not honor boundary when at the end of
107         a paragraph. (bug 2010 again)
108
109 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
110
111         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
112
113 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
114
115         * rowpainter.C (paintText): fix RtL space width display bug (2029)
116
117 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * text2.C (setCursor): remove the unused 'boundary' parameter for
120         the CursorSlice version; adapt the LCursor version.
121
122         * lyxrc.C (write): 
123         * paragraph_pimpl.C (markErased): 
124         * cursor.C (bruteFind2, bruteFond3): fix warnings.
125
126 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
129         as is already done for "chapter".
130
131 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
134         textclass; do not record undo if nothing is changed.
135
136 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
137
138         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
139
140 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
141
142         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
143
144 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
147         combox, it is necessary to search for the topmost paragraph in the
148         cursor stack (bug 1926)
149
150 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
151
152         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
153         end of paragraph. (bug 2010)
154
155 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
156
157         * text.C (leftMargin): check for inInset == 0
158
159 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
160
161         * text.C (leftMargin): test for insetbase's new neverIndent()
162         bool instead of listing each and every inset that does not
163         wish par indendation.
164
165 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * buffer_funcs.C (setCounter): put the code to compute enum label
168         here (where it belongs).
169
170         * counters.C (enumLabel): move code to buffer_funcs.C.
171
172 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
173
174         * outputparams.[Ch]: store local_font instead of local_language
175         * paragraph.C (simpleTeXOnePar): adapt to the change above
176
177 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
178
179         * buffer_funcs.C:
180         * counters.[Ch]: clean up special code for Hebrew.
181
182 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
183
184         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
185         than 2.
186
187 2005-09-08  Angus Leeming  <leeming@lyx.org>
188
189         * ispell.C:
190         * lyxrc.C: correct grammar describing invocation of the
191         spellchecker.
192
193 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
194
195         * text.C (read): remove unused variable.
196         (readParToken): remove static Change variable (never good in
197         recursive settings...); add it as a parameter instead.
198
199         * paragraph_pimpl.C (acceptChange): make debug info conditional.
200
201         * metricsinfo.C (PainterInfo): add new member erased_.
202
203         * rowpainter.C (RowPainter): add erased_ member, initialized from
204         PainterInfo. 
205         (paintInset): pass erased_ to Inset::draw.
206
207         * lyxfunc.C (lookupChange): new function. Tells whether change 
208         tracking is disabled at a given postion.
209         (getStatus): disable some actions when in deleted text with change
210         tracking. 
211
212 2005-08-03  John Levon  <levon@movementarian.org>
213         
214         * tabular.C (appendColumn, setMultiColumn): adapt to change to
215         InsetText::clear().
216
217         * paragraph_pimpl.C (markErased): add bool argument and handle it.
218         Also make sure to mark insets recursively.
219         (rejectChange, erase): be recursive
220
221         * paragraph.C (markErased): add bool argument.
222 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
223
224         * lyxfind.C (findNextChange): tiny cleanup.
225
226         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
227         change tracking with the cursor in an inset; make sure the first
228         change is not skipped.
229
230 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
231
232         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
233         tabularStackDirty to work around bug 1919 (tabular needs
234         to know whether its own cell paste buffer or the one of 
235         texted is newer.
236         * CutAndPaste.C: mark tabular_stack_ clean after copy.
237
238 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
239
240         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
241
242 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
243
244         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
245         use old deleteion algorithm when changetracking is on.
246
247 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
248
249         * messages.C (get): add debug output.
250
251 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
252
253         * text.C (cursorX): fix bug 1965: cursor movement at
254         line end broken in RtL.
255         (drawSelection): fix bug 1970: drawing of single-line 
256         selection broken for RtL.
257
258 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         bug 465.
261
262         * dociterator.h (clear, push_back, pop_back): change from
263         protected to public.
264
265         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
266         and changed to just return the value of the item depth; take a
267         ParIterator as argument; take the itemdepth at outer nesting level
268         in account if necessary; cleanup and comment the code.
269         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
270         and changed to just return true if reset is needed; take a
271         ParIterator as argument; cleanup and comment the code.
272         (setCounter): adapt to above changes.
273
274 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * text3.C (dispatch): make debug message optional
277
278 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
281         inset. (bug 1963)
282
283 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
284
285         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
286
287 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
288
289         * text.C (insertChar):
290         * text2.C (deleteEmptyParagraphMechanism): take care whether 
291         a blank has been deleted (in change tracking mode) (bug 1254).
292
293 2005-07-20  John Levon  <levon@movementarian.org>
294
295         * text2.C (insertStringAsLines): remove old dubious code,
296         fixing bug 1939.
297
298 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299
300         * MenuBackend.C (expandToc): use Floating::listName() as title of
301         the floats submenus.
302
303 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
304
305         * toc.[Ch]: Do not use translatable strings (bug 1870).
306
307 2005-07-20  John Levon  <levon@movementarian.org>
308
309         * tabular.C: fix 1748 - setting multicolumn adds
310           left line to the first cell
311
312 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
313
314         bug 1920
315         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
316         pars in one go.
317
318 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
319
320         * messages.C: supress some lyxerr messages
321
322 2005-07-18  Juergen Vigna  <jug@lyx.org>
323
324         * text.C (drawSelection): honor boundary when asking for cursorX.
325
326 2005-07-17  José Matos  <jamatos@fc.up.pt>
327
328         * tabular.C (recalculateMulticolumns): fix handling of one column
329         tables.
330
331 2005-07-17  Juergen Vigna  <jug@lyx.org>
332
333         * text.C (Delete, backspace): fixed so that paragraph with the
334         same layout can be merged by Delete/Backspace.
335
336 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
337
338         * text.C (readParToken): fix spelling.
339
340 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
341
342         * text2.C: fix counter update for DEPM problem reported by
343         Georg Baum
344
345 2005-07-17  Juergen Vigna  <jug@lyx.org>
346
347         * BufferView_pimpl.C (setBuffer): save/restore the
348         cursor/selection when switching buffers
349
350         * buffer.h: 
351         * buffer.C (saveCursor): add saveDocumentIterators to save the
352         cursor when switching buffer.
353
354 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
355
356         * debug.C: fix typo
357         * buffer.C: clarify message
358         
359 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
360
361         * dociterator.C (DocIterator): fix initialization order
362
363 2005-07-17  Juergen Vigna  <jug@lyx.org>
364
365         * text2.C (cursorHome): 
366         * text.C (drawSelection, cursorX): 
367         * dociterator.C (textRow): add boundary to getRow() call
368
369         * paragraph.C (getRow): implementation of below
370
371         * paragraph.h: add parameter boundary for getRow() function
372
373 2005-07-17  José Matos  <jamatos@fc.up.pt>
374
375         * buffer.C:
376         * bufferparams.[Ch]:
377         * tex-strings.[Ch]: new file format, remove support for a4.sty,
378         a4wide.sty and a4widemargins.
379
380 2005-07-17  Juergen Vigna  <jug@lyx.org>
381
382         * text2.C (cursorLeft): fix one of error
383
384 2005-07-17  Juergen Vigna  <jug@lyx.org>
385
386         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
387                    cursorEnd):
388         more fixes for boundary handling
389
390         * text3.C (dispatch): don't reset cursor if boundary has changed
391         on cursor movement.
392
393 2005-07-16  Juergen Vigna  <jug@lyx.org>
394
395         * text2.C (getColumnNearX): hopefully got it right now,
396         check if we are on column 0 for special case.
397
398 2005-07-16  Juergen Vigna  <jug@lyx.org>
399
400         * text2.C (getColumnNearX): handle special case Newline Inset
401
402         * text.C (singleWidth): Just remove bogus check
403
404 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
405
406         * funcrequest.C (split): avoid reading uninitialized char c
407
408 2005-07-16  José Matos  <jamatos@fc.up.pt>
409
410         * buffer.C:
411         * converter.C:
412         * lyxrc.C:
413         * paper.h:
414         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
415         single papersize variable.
416
417 2005-07-16  Juergen Vigna  <jug@lyx.org>
418
419         * text3.C (dispatch): honor boundary when checking if a cursor
420         movement has been done
421
422         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
423         (setCursor, setCursorIntern): fix cursor movement with boundary
424
425 2005-07-16  Juergen Vigna  <jug@lyx.org>
426
427         * text.C (currentState): output the actual Boundary
428
429 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * factory.C (createInset): fix bad logic for tabular creation
432
433 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
434
435         * lyx_main.C (init): change some reLyX reference to tex2lyx
436
437 2005-07-16  Juergen Vigna  <jug@lyx.org>
438
439         * dociterator.C (DocIterator): initialize boundary
440
441 2005-07-16  Juergen Vigna  <jug@lyx.org>
442
443         * text2.C (getColumnNearX): Consider rows without trailing blank.  
444
445 2005-07-16  André Pönitz  <poenitz@gmx.net>
446
447         * lyxfont.h: Change order of declarations to give the compiler
448         a better chance to inline things
449
450         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
451         questions on unsaved docs for better scritability
452
453 2005-07-16  André Pönitz  <poenitz@gmx.net>
454
455         * paragraph.h (getChar): remove asserts as the same kind of security
456         can be achieved by using a suitable standard library implementation
457         and the function was in the critical path (25.9% in profiler)
458
459 2005-07-16  Juergen Vigna  <jug@lyx.org>
460
461         * cursor.C (bruteFind2):
462         * bufferview_funcs.C (coordOffset): 
463         * text.C (cursorX,cursorY): Handle cursor position after last char
464         in row before a inset which uses a whole row.
465
466 2005-07-15  José Matos <jamatos@lyx.org>
467
468         * output_plaintext.[Ch] (writeFileAscii): control reference title
469         printing.
470         (asciiParagraph): noparbreak was already deal and was incorrectly
471         used.
472
473 2005-07-15  Juergen Vigna <jug@lyx.org>
474
475         * lyxfunc.C (dispatch): save and restore the cursor after a
476         textclass switch.
477
478 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
479
480         * text.C (backspace): bug 806 for empty keepempty paragraphs we
481         change the layout to default before letting DEPM do its thing.
482
483         * paragraph_funcs.C (breakParagraph): dont reset the layout on
484         keepEmpty paragraphs
485
486         * text.C (setCursorFromCoordinates): add a debug statement
487
488         * text2.C (getColumnNearX): bug 1825 make sure that we don't
489         return a pos that is not on the row
490
491         * output_latex.C (TeXDeeper): get rid of potential dereferencing
492         of past the end iterator
493
494 2005-07-14  André Pönitz  <poenitz@gmx.net>
495
496         * undo.C (recordUndoFullBuffer): implement undo for
497         textclass switches
498
499 2005-07-14  André Pönitz  <poenitz@gmx.net>
500
501         * cursor.C (setSelection): open insets when selection is set there
502         to avoid crashs with cold coord cache
503
504 2005-07-14  André Pönitz  <poenitz@gmx.net>
505
506         * trans_mgr.C (insert): move cursor to the right after inserting
507         a char.
508
509 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
510
511         * BufferView_pimpl.C (update): dampen some of the debug blabbering
512         * factory.C (readInset): ditto
513         * text.C, text2.C: ditto
514
515 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * buffer.C: format incremented to 242. There is no file format per
518         se, but the "frenchb" language has been removed from lib/language
519         and has to be translated to "french" by lyx2lyx.
520
521 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
522
523         * cursor_slice.h, dociterator.h: add some documentation
524         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
525
526 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
527
528         * text.C (leftMargin): do not add identation to display() style
529         insets, because they are always centered (bug 1293).
530
531 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
532
533         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
534         formatted_time methods in support/lyxtime.
535
536 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
537
538         * toc.[Ch]: new method getGuiName, which is used by the frontends 
539         to set the toc combo (fixes bug 1870). Make TOC string translatable.
540
541 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
542
543         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
544         StableDocIterator const &)
545         * undo.C (recordUndo): use the above instead of cell.size() comparison
546         (fixes bug 1808; instructed by Andr�.
547
548 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
549
550         * cursor_slice.h: 
551         * dociterator.h: Fix the assert when copying rows/cols in math
552
553 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
554
555         * BufferView_pimpl.C:
556         * LyXAction.C:
557         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
558
559         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
560         (findInset): new functions, refactored from goto Inset that return 
561         the position of a certain inset without setting the buffer's cursor
562         (by Jean-Marc); 
563         (gotoInset): rewrite to call findInset and then set the cursor
564         (by Jean-Marc).
565
566 2005-06-16  Angus Leeming  <leeming@lyx.org>
567
568         * lyxrc.C (output, read): wrap all input and output of paths with
569         calls to os::internal_path and os::external_path, respectively.
570         (output): wrap bind_file inside quotes.
571
572         * format.C (view): enable the viewer to use the '$$s' placeholder.
573
574 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
575
576         * LColor.[Ch] (getFromLaTeXName): new
577
578 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
579
580         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
581
582 2005-06-14  Angus Leeming  <leeming@lyx.org>
583
584         * lyx_main.C (init): ensure that the LyX binary dir is the first
585         element in the PATH on non-POSIX builds.
586
587 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
588
589         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
590
591 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
592
593         * rowpainter.C (paintInset, paintHebrewComposeChar)
594         (paintArabicComposeChar, paintChars): add a LyXFont argument.
595         (paintChars): use getFontSpan to reduce calls to getFont to a
596         minimum; use Paragraph::lookupChange instead of isXXXText.
597         (paintForeignMark): rename LyXFont argument.
598         (paintFromPos): pass a LyXFont object to the various paintXXX
599         methods.
600
601         * FontIterator.C (FontIterator, operator++): use
602         Paragraph::getFontSpan
603
604         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
605         version that returns the font span as a pair.
606
607 2005-06-09  Angus Leeming  <leeming@lyx.org>
608
609         * converter.C (convert): Don't forget "outfile = real_outfile" as
610         the final step in a conversion where the input and output file names
611         are the same. Otherwise, future conversion steps won't work...
612
613 2005-06-09  Angus Leeming  <leeming@lyx.org>
614
615         * lyxsocket.C: remove stub code as it isn't needed by
616         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
617
618 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
619
620         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
621         effectively disabled -x
622
623 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
624
625         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
626         when it actually makes sense.
627
628 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
629
630         * BufferView_pimpl.C: revert to showCursor in connection with
631         Lars's front-end stack
632
633 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
634
635         * text.C (redoParagraph): move cursor right after a bibitem
636         has been inserted.
637
638         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
639
640 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * buffer_funcs.C (bufferErrors): fix computation of the end of an
643         error range.
644
645 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
646
647         * BufferView.[Ch] (update):
648         * BufferView_pimpl.[Ch] (update, metrics):
649         * dimension.h (operator==):
650         * lyxfunc.C (dispatch):
651         * metricsinfo.h (ViewMetricsInfo):
652         * rowpainter.C (paintText):
653         * lyxtext.h:
654         * text.C (redoParagraph):
655         * text3.C (dispatch): Make LyX only repaint current paragraph in
656         case of character insert --> speedup. Also fix cursor draw
657         artifacts
658
659 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
662         avoid a crash (bug 1891)
663
664 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         Fix bug 1892:
667
668         * text2.C (getStringToIndex): constify cur argument.
669
670         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
671         argument has been given
672         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
673         try to invoke LFUN_INSET_APPLY).
674
675         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
676         if no inset was created by doInsertInset
677         (doInsertInset): return true if an inset has been inserted.
678
679 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * vspace.C (asGUIName): new method. A version of the space
682         suitable for showing on screen.
683
684 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
685
686         * MenuBackend.C:
687         * lyxrc.C: rename "ASCII" to "Plain Text"
688
689 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
690
691         * buffer_funcs.C (expandLabel): take a Buffer as argument;
692         translate the labelstring.
693         (setCounter): translate labelstring as needed.
694
695         * output_docbook.C (makeCommand): fix expandLabel invokation
696
697 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
698
699         * BufferView.C: fix dialog title
700
701 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
702
703         * lyx_main.C (priv_exec): fix logic error with help from Angus
704         * lyx_main.C (parse_execute): set is_gui = false and remove now
705         obsolete comment about a segfault
706
707 2005-05-18  Angus Leeming  <leeming@lyx.org>
708
709         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
710
711 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * tabular.[hC]: added setCellInset to fix tabular paste.
714
715 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
716
717         * buffer.C (save): check if destination is writable before trying
718         to copy a file
719
720 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
721
722         * BufferView_pimpl.C (update): fix processEvents -caused update
723         recursion bug
724
725 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * buffer_funcs.C (setCounter): fix test for numbering of
728         environments.
729
730         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
731         depth correctly; use optional argument when it exists
732
733         * lyxtextclass.C: remove unused MaxCounterTags enum
734         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
735         (max_toclevel, min_toclevel): new methods.
736
737         * MenuBackend.C (expandToc2): fix case where depth is smaller than
738         the smallest depth in toc.
739
740         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
741         layouts that should not appear in a table of contents.
742
743 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
744
745         * cursor.h (undispatched, noUpdate): add comments from Andr�
746 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
747
748         * lfuns.h:
749         * LyXAction.C:
750         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
751
752 2005-05-07  André Pönitz  <poenitz@gmx.net>
753
754         * cursor.[Ch] (leaveInset): new function
755
756 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
757
758         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
759
760 2005-05-04  Angus Leeming  <leeming@lyx.org>
761
762         * lyxfunc.C (getStatus): disable the spell checker dialog if
763         none of USE_[AIP]SPELL are defined.
764
765 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
766
767         * tabular.C (setWidthOfCell): remove obsolete comment
768
769 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
770
771         * paragraph.C (bibitem):
772         * buffer_funcs.C (setCounter):
773         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
774
775 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
776
777         * text3.C (getStatus): immediately return after setOnOff
778
779         * rowpainter.C: fix drawing of appendix start
780
781 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
782
783         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
784         SwitchBetweenClasses and remove the unused return value.
785         Handle character styles, too
786
787 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
788
789         * factory.C (createInset): handle undefined character styles
790
791 2005-05-02  Angus Leeming  <leeming@lyx.org>
792
793         * buffer.C: protect the #include of utime.h with a preprocessor
794         guard.
795
796 2005-05-02  Angus Leeming  <leeming@lyx.org>
797
798         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
799         function so that auto-saving works, albeit in a blocking manner.
800
801         * Makefile.am: make compilation of the client sub directory, of
802         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
803         on conditionals set at configure time.
804
805         * SpellBase.[Ch]: no longer an abstract base class. Instead,
806         it can be compiled in its own right but has no-op functionality.
807
808         * aspell.C, pspell.C: remove preprocessor guards. The files should
809         be compiled only if the necessary functionality exists.
810
811         * lyxserver.C, lyxsocket.C: disable on Windows.
812
813 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
814
815         * text.C (leftMargin): Fix the parindent use bug (1764)
816         by dirty trick
817
818 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
819
820         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
821         argument.
822
823 2005-04-25  Angus Leeming  <leeming@lyx.org>
824
825         * Bidi.[Ch]:
826         * coordcache.[Ch]:
827         * ispell.C:
828         * lyxserver.C:
829         * mover.C:
830         * pch.h:
831         include <config.h> in .C files, not .h ones.
832         add licence blurb.
833         protect headers inside preprocessor guards.
834
835 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
836
837         * FuncStatus.h (StatusCodes): document
838
839 2005-04-21  André Pönitz  <poenitz@gmx.net>
840
841         * FuncStatus.h (enabled, onoff): document
842
843 2005-04-19  Angus Leeming  <leeming@lyx.org>
844
845         * BufferView_pimpl.C (cursorToggle): no longer test whether
846         any child processes have been reaped before calling
847         handleCompletedProcesses().
848
849 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
850
851         * text3.C (dispatch): fix, finally fix, the language problem in
852         new lyxtexts, without disabling on-the-fly font changes (Helge's
853         bug report)
854
855 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
856
857         * text3.C (dispatch): set cursor on double/triple click events
858         (bug 1811)
859
860 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
861
862         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
863         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
864
865         * rowpainter.C (paintFirst): simplify the code a little bit. In
866         particular, remove the test for secnumdepth.
867         * text.C (setHeightOfRow): only allocate space for chapter number
868         when updateCounters provided an actual label, instead of looking
869         at secnumdepth directly.
870
871         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
872
873         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
874         paragraphs when secnumdepth is large enough or, for environments,
875         when they are not the first in a sequence.
876
877 2005-04-17  Angus Leeming  <leeming@lyx.org>
878
879         * buffer.C (makeLaTeXFile): replace code to manipulate a path
880         containing space and '~' characters with a call to latex_path().
881
882 2005-04-17  Angus Leeming  <leeming@lyx.org>
883
884         * converter.C (convert): protect all args of convertDefault.sh
885         script with quotes.
886
887 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * text3.C (dispatch): change the layout to "Caption" after inserting
890         a float.
891
892 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
893
894         * text3.C (dispatch): fix language problem in newly created
895         textinsets (and main text) in non-english docs
896
897 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
898
899         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
900         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
901         * text3.C (getStatus): disable LFUN_INSET_MODIFY
902
903 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
904
905         * lyxtext.h:
906         * text.C (metrics):
907         * text2.C (getFont):
908         * rowpainter.C (getFont): Fix metrics bug introduced by inset
909         fonts fix
910
911 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
912
913         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
914         output of \item arguments without trailing text.
915
916 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
917
918         * FontIterator.C (operator*): avoid a copy of the font.
919
920 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
921
922         * rowpainter.C (getFont): fix language bug from previous fix
923
924 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
925
926         * rowpainter.C (RowPainter, getFont): fix font inside inset
927         (bugs 1766, 1809)
928
929 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
930
931         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
932         preventing inserted font, deco, delim insets jumping to start of
933         surrounding inset.
934
935 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
936
937         * lyxfunc.C (dispatch): translate message before sending it to the
938         minibuffer.
939
940 2005-03-29  Angus Leeming  <leeming@lyx.org>
941
942         * lyx_main.C (priv_exec): call os::internal_path on each file passed
943         to LyX on the command line.
944
945 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
946
947         * vc-backend.C: use QuoteName to protect file names wherever
948         necessary.
949
950 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
951
952         * buffer.[Ch]:
953         * BranchList.h: fix bugs 1844,1845: document settings don't
954         stick
955
956 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * lyxrc.C (setDefaults, read, output, getDescription): add support
959         for tex_allows_spaces.
960
961         * exporter.C (Export): allows files in directory containing spaces
962         if tex_allows_spaces is true.
963
964         * buffer.C (makeLaTeXFile): if the document path contains spaces,
965         output it in double quotes.
966
967 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
968
969         * rowpainter.C: use default text height for drawing change tracker
970         strikeout lines.
971
972 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
973
974         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
975
976 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
979         directory is missing.
980
981 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
982
983         * text2.C: fixed the fix, extended to other case.
984
985 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
986
987         * text2.C: fix for cursor up/down stuck in math [bug 1792]
988
989 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
990
991         * text2.C (cursorUp): get rid of a crash
992         * text.C (x2pos): add an assert
993
994 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * lyxfunc.C (getStatus): fix warning when assertions are disabled
997
998         * text3.C:
999         * lyxfunc.C:
1000         * dociterator.C: include <boost/current_function.hpp>, which is
1001         needed when assertions are disabled.
1002
1003 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1004
1005         * text2.C: fix for stuck cursor when traversing two
1006         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1007
1008 2005-02-25  Andreas Vox  <avox@arcor.de>
1009
1010         * output_docbook.C (makeParagraph): suppress trailing newline
1011         after a run of paragraphs
1012
1013 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1014
1015         * paragraph.C: fix for confused change tracker when pasting
1016         text that begins with a lineseparator. [bug 1827]
1017         (setChange(0, Change::INSERTED);)
1018
1019         * paragraph_funcs.C: fix for lost changes on triple-paste
1020         in change tracking mode [bug 1827] (par.setChange()).
1021
1022 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1023
1024         * text2.C (updateCounters, setCounter, expandLabel): move to
1025         buffer_funcs.
1026
1027         * buffer_funcs.C (updateCounters): turn into a free standing
1028         function and add a buffer parameter. Remove dead code for tracking
1029         labelstring change.
1030         (setCounter): change into a free-standing function which gets a
1031         dociterator as argument. Use this iterator to fix captions in a
1032         simple way. When no float is found above the caption, use the
1033         labelstring of the caption layout as default.
1034
1035         * text.C (breakParagraph, backspace):
1036         * text2.C (init, setLayout, changeDepth):
1037         * text3.C (dispatch):
1038         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1039         updateCounters.
1040
1041         * dociterator.C (forwardPar): make it much faster by calling
1042         forwardPos() only when really necessary.
1043
1044         * output_docbook.C (makeCommand): adapt to expandLabel move.
1045
1046         * cursor.C: remove unused variable
1047
1048 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1049
1050         * paragraph_funcs.C: fix crash when pasting insets in change
1051         tracking mode [bug 1277] (honour change type in moveItem).
1052
1053 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1054
1055         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1056
1057 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * BufferView.C (setCursor): change to use a DocIterator.
1060         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1061         (putSelectionAt): adapt to BufferView::setCursor change.
1062
1063         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1064         moved here from LyXText and rewritten to use proper cursor
1065         methods. Fixes bug 1787, 616 and 835.
1066
1067         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1068         when inside an inset (part of bug 781).
1069         (dispatch): adapt to change of BufferView::setCursor.
1070         (getStatus, dispatch): handle LFUN_GOTOERROR,
1071         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1072
1073         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1074         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1075         * text3.C (gotoNextInset, gotoInset): removed.
1076
1077 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1080
1081 2005-02-15  Angus Leeming  <leeming@lyx.org>
1082
1083         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1084         can be used meaningfully in a comparison.
1085
1086 2005-02-13  André Pönitz  <poenitz@gmx.net>
1087
1088         * bufferview_funcs.C (coordOffset): improve cursor drawing
1089
1090 2005-02-13  André Pönitz  <poenitz@gmx.net>
1091
1092         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1093         * Cursor.C (dispatch): use fixIfBroken
1094         * lyxfunc.C (getStatus): use fixIfBroken
1095
1096 2005-02-15  Angus Leeming  <leeming@lyx.org>
1097
1098         * lyx_main.C (error_handler):
1099         * lyxfunc.C:
1100         * lyxrc.C (setDefaults):
1101         s/GetEnv/getEnv/.
1102         #include "environment.h".
1103
1104         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1105
1106 2005-02-15  Angus Leeming  <leeming@lyx.org>
1107
1108         * lyxserver.C (startPipe): squash MSVC warning "local variable
1109         'fd' used without having been initialized".
1110
1111 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1112
1113         * BufferView_pimpl.C: revert accidental commit.
1114
1115 2005-02-14  André Pönitz  <poenitz@gmx.net>
1116
1117         * dociterator.[Ch]: new member forwardPosNoDescent(),
1118         which doesn't enter nested insets.
1119         * text2.C (setFont): use forwardPosNoDescent() instead
1120         of ForwardPos() (fixes crash on font change).
1121
1122 2005-02-13  Angus Leeming  <leeming@lyx.org>
1123
1124         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1125         only if lyxrc.path_prefix is not empty.
1126
1127 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1128
1129         * bufferparams.C (readGraphicsDriver): prevent crash
1130
1131 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1132
1133         * text2.C (setCounter): check for inInset() == 0
1134
1135 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1136
1137         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1138         but use update() to get correct screen display; use convert
1139         instead of istringstream.
1140         (getStatus): handle LFUN_GOTO_PARAGRAPH
1141
1142         * lyxfunc.C (dispatch, getStatus): do not handle
1143         LFUN_GOTO_PARAGRAPH here.
1144
1145 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1146
1147         * text3.C (dispatch): size() -> depth()
1148
1149         * text2.C: remove some debug output
1150
1151         * paragraph.C: ws changes only
1152
1153         * lyxfunc.C (getStatus): size() -> depth()
1154
1155         * dociterator.h (clear, push_back, pop_back, internalData,
1156         operator[], resize, empty): new functions
1157         Make StableDocIterator and operator== be friends. Don't inherit
1158         from std::vector use a privat class variable slices_ instead.
1159         Modify to fit.
1160
1161         * dociterator.C: update because of not inheriting from std::vector
1162         anymore. Call explictly to slices_ instead. Use depth() instead of
1163         size() and top() instead of back()
1164
1165         * cursor.C: chagne size() -> depth and back() -> top(). Also
1166         remove some direct operator[](i) calls in favour of foo[i]
1167         (getFont): remove some dead code
1168
1169         * bufferview_funcs.C (coordOffset): size() -> depth()
1170
1171         * buffer.C: ws changes only
1172
1173         * CutAndPaste.C (eraseSelection): back() -> top()
1174
1175         * BufferView_pimpl.C (selectionRequested): back() -> top()
1176
1177         * BufferView.C (setCursor): size() -> depth()
1178
1179 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1180
1181         * text3.C (cursorPrevious): return true if depm changed something
1182         (cursorNext): ditto
1183         (dispatch): rename sl to oldTopSlice, remove moving use the new
1184         NoUpdate func attrib instead. Make sure that needsUpdate is set
1185         for function that have NoUpdate, but where depm might have changed
1186         the buffer anyway.
1187
1188         * text2.C (cursorLeft): make us return true if depm changed
1189         something
1190         (cursorRight): ditto
1191         (cursorUpParagraph): ditto
1192         (curosrDownParagraph): ditto
1193         (cursorUp, cursorDown): ditto, make sure to read comments in code
1194         (deleteEmptyParagraphMechanism): remove an assert, also return
1195         true if just a single char was deleted.
1196
1197         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1198         cursor that we modify, to avoid modifying an active cursor before
1199         we call setCursor. This allows depm to run. Also return true if
1200         depm deleted something.
1201
1202         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1203         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1204         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1205         something was changed in the buffer because of them (ie. depm run)
1206
1207         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1208         debug messages. Make update by default be false. Make sure that
1209         the result of update is retained throught several calls down to
1210         dispatch.
1211
1212         * LyXAction.h: add a new func_attrib: NoUpdate
1213
1214         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1215         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1216         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1217         and LFUN_WORDLEFT
1218         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1219
1220 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1221
1222         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1223         bv_->owner(), bv_->buffer() by direct references to the private
1224         members.
1225         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1226         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1227         (fitCursor): center() is in BufferView::Pimpl.
1228         (getStatus, trackChanges, dispatch): no need for a temporary buf
1229         variable
1230         (fitCursor, workAreaDispatch): use workarea().workheight()
1231
1232 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1233
1234         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1235
1236 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1237
1238         * buffer.C: format up to 241.
1239         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1240         break if pasting into ERT
1241         * lyxfunc.C (getStatus): suppress mathpanel and
1242         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1243
1244 2005-02-01  Angus Leeming  <leeming@lyx.org>
1245
1246         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1247
1248 2005-02-01  Angus Leeming  <leeming@lyx.org>
1249
1250         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1251         calling fs::is_directory().
1252
1253 2005-01-31  Angus Leeming  <leeming@lyx.org>
1254
1255         * lyx_main.C (priv_exec): specify explicitly the relative location
1256         of the top level build directory when run in-place.
1257
1258 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1259
1260         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1261         LyXText containing the cursor, not the top-level one.
1262
1263         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1264         true.
1265         (insertStringAsLines): rename par to pit; use temporary variable
1266         par to hold a Paragraph; do not store par.layout() in a variable,
1267         since the pointer may die when breaking paragraphs; pass pars to
1268         breakParagraph() instead of Buffer::paragraphs().
1269
1270 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1271
1272         * lyxlex_pimpl.h: #include <fstream>.
1273
1274         * BufferView.[Ch] (getLyXText): add a const version.
1275
1276         * BufferView_pimpl.C: add debug aids.
1277
1278         * RowList_fwd.h:
1279         * buffer.h:
1280         * lyxrow.h:
1281         * paragraph_funcs.h: add commentary explaining what the class does.
1282
1283
1284         * coordcache.[Ch]: add lots of commentary.
1285         (startUpdating, doneUpdating): debug aids.
1286         (arrays, insets, parPos, getParPos): accessors to private data.
1287
1288         * cursor_slice.[Ch] (text): add a const version.
1289         * dociterator.[Ch] (text, innerText): add const versions.
1290
1291         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1292         bool.
1293
1294         * paragraph.C (getRow, pos2ros): add asserts.
1295
1296         * paragraph.h: add commentary. Lots of.
1297
1298         * paragraph.[Ch] (metrucs, draw): removed.
1299
1300         * cursor.C:
1301         * rowpainter.[Ch]: const-correct changes.
1302
1303         * text.C: various obvious clean-ups. Removal of ancient cruft.
1304         Bug fixes, even.
1305
1306 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1307
1308         * vc-backend.C (find_file): rewrite to use boost.filesystem
1309         (scanMaster): ditto
1310
1311         * main.C (main): set default name check for boost.filesystem to
1312         no check
1313
1314         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1315         (open): ditto
1316         (doImport): ditto
1317         (actOnUpdatedPrefs): ditto
1318
1319         * lyx_main.C (init): rewrite to use boost.filesystem
1320         (queryUserLyXDir): ditto
1321
1322         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1323         (getContentsOfAsciiFile): ditto
1324
1325         * lastfiles.C (readFile): rewrite to use boost.filesystem
1326
1327         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1328
1329         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1330         (loadLyXFile): ditto
1331
1332         * buffer.C (Buffer): adjust for destroydir
1333         (getLogName): rewrite to use boost.filesystem
1334         (setFileName): ditto
1335         (save): use fs::copy_file (from fs_extras)
1336
1337         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1338
1339         * LaTeX.C (run): rewrite to use boost.filesystem
1340         (scanAuxFiles): ditto
1341         (handleFoundFile): ditto
1342
1343 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1344
1345         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1346
1347         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1348
1349 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1350
1351         * lyxlayout.[Ch]: change some vars from float to double
1352
1353         * buffer.C (readFile): make a local var const
1354
1355         * Several files: use convert<> instead of atoi,strToXXX and friends
1356
1357 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1358
1359         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1360         holds the contents of packages.lst. New functions getAvailable
1361         and isAvailable to parse and check that list, resp.
1362
1363         * LyXAction.C:
1364         * lfuns.h:
1365         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1366
1367         * bufferparams.[Ch]: new param output_changes.
1368
1369         * Buffer.C: increase file format to 240.
1370         Use output_changes and isVailable.
1371
1372         * changes.[Ch]:
1373         * paragraph.C:
1374         * paragraph_pimpl.C: Use output_changes and isVailable.
1375
1376 2005-01-23  Angus Leeming  <leeming@lyx.org>
1377
1378         * output_latex.C: #include "insetbibitem.h", rather than
1379         forward declare function bibitemWidest.
1380
1381 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1382
1383         * lyx_main.C (init): make it compile on the Mac.
1384
1385 2005-01-20  Angus Leeming  <leeming@lyx.org>
1386
1387         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1388         (setLyXMisc): (char string literal) != (char string literal) is
1389         performing a comparison on the addresses. Convert one operand
1390         explicitly to string to guarantee expected behaviour.
1391         From MSVC warning.
1392
1393 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1394
1395         * buffer.C:
1396         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1397
1398         * output_plaintext.C: remove unneeded #include gzstream.h.
1399
1400 2005-01-20  Angus Leeming  <leeming@lyx.org>
1401
1402         * SpellBase.h: rename some of the elements of the Result enum.
1403
1404         * aspell_local.h:
1405         * ispell.h:
1406         * pspell.h:
1407         * aspell.C (check):
1408         * ispell.C (check):
1409         * pspell.C (check): ditto
1410
1411 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1412
1413         * buffer.C: add #include <fstream>.
1414
1415         * lyx_main.C (init): Compile fix.
1416
1417         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1418
1419 2005-01-20  Angus Leeming  <leeming@lyx.org>
1420
1421         * mover.h: change commentary to reflect the changed meaning of
1422         the $$s placeholder.
1423
1424 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1425
1426         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1427
1428         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1429
1430 2005-01-20  Angus Leeming  <leeming@lyx.org>
1431
1432         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1433         printing diagnostic data by not dereferecing an iterator past the
1434         end.
1435
1436 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1437
1438         * buffer.C (readHeader): use "&&" rather than "and".
1439
1440         * lyxserver.h (inPipeName, outPipeName): make these const.
1441
1442 2005-01-19  Angus Leeming  <leeming@lyx.org>
1443
1444         * lyx_main.C (error_handler, init): protect SIGHUP with
1445         #ifdef SIGHUP guards.
1446
1447 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1450
1451 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * text.C (setHeightOfRow): add a margin at the top and bottom of
1454         the document (bug 1761)
1455
1456 2005-01-17  Angus Leeming  <leeming@lyx.org>
1457
1458         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1459         with "python ". Workaround for a brain-dead Windows.
1460
1461 2005-01-16  Angus Leeming  <leeming@lyx.org>
1462
1463         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1464         for MacOSX and Windows to use prependEnvPath.
1465         Strip out the hard-coded block to add elements to the PATH for
1466         MacOSX and replace it with a call to prependEnvPath using the
1467         contents of LyXRC::path_prefix.
1468         (queryUserLyXDir): strip out the code to run reconfigure, instead
1469         returning a boolean indicating the necessity to do so.
1470         (reconfigureUserLyXDir): contains the code to reconfigure the
1471         user support directory. Is now called after the various LyXRC data
1472         files have been read.
1473
1474         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1475
1476 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1477
1478         * converter.[Ch] (convert): take a new parameter try_default. Use
1479         a default converter (imagemagick) if try_default is true.
1480
1481 2005-01-13  Angus Leeming  <leeming@lyx.org>
1482
1483         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1484         os::cygwin_path_fix.
1485         (write): output LyXRC::cygwin_path_fix as necessary.
1486
1487 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1488
1489         * lyxrc.h:
1490         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1491
1492 2005-01-12  Angus Leeming  <leeming@lyx.org>
1493
1494         * lyx_main.C (init): set the PATH variable to include the
1495         directory containing the LyX binary when running on Mac or Windows.
1496
1497 2005-01-12  Angus Leeming  <leeming@lyx.org>
1498
1499         * lyx_main.C (init): remove cruft that purports to set the locale
1500         dir. It doesn't and is not needed anyway.
1501
1502 2005-01-10  Angus Leeming  <leeming@lyx.org>
1503
1504         * Makefile.am: remove the lyx_main.C special casing.
1505
1506         * BufferView_pimpl.C:
1507         * bufferlist.C:
1508         * exporter.C:
1509         * lyx_cb.C:
1510         * lyx_main.C:
1511         * lyxfunc.C:
1512         * messages.C: use support/package.h to provide the paths to the
1513         various directories used by LyX.
1514
1515 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1516
1517         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1518         layout if pasting into an empty paragraph)
1519
1520 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1521
1522         * tex-accent.C: add <string>
1523
1524 2005-01-06  José Matos  <jamatos@lyx.org>
1525
1526         * ParagraphParameters.C (write): put every parameter in its own line.
1527         * paragraph.C (write): reduce number of consecutive empty lines exported.
1528         * buffer.C (LYX_FORMAT): increase file format to 239.
1529
1530 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1531
1532         * everywhere: change support/tostr.h -> support/convert.h
1533
1534         * tabular.C: make all write_attributes templates, tostr -> convert
1535
1536         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1537         (emptyTag): and -> &&, and fix type for ret from getChar
1538         (getFirstWord): fix type for ret from getChar
1539         (onlyText): and -> &&
1540         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1541         getChar
1542
1543         * toc.C (goTo, action):
1544         * text3.C (dispatch):
1545         * text.C (currentState):
1546         * tex-accent.C (DoAccent):
1547         * sgml.C:
1548         * lyxrc.C:
1549         * lyxfunc.C (menuNew):
1550         * lyxfinc.C (replace):
1551         * counters.C (laberItem):
1552         * bufferview_funcs.C (font2string):
1553         * bufferparams.C (writeFile):
1554         * buffer.C (readFile):
1555         * Spacing.C (set):
1556         * MenuBackend.C: tostr -> convert
1557
1558         * LaTeX.C (runMessage): fix format
1559         (scanAuxFiles): tostr -> convert
1560
1561         * BufferView_pimpl.C (savePosition): fix format
1562         (restorePosition): ditto
1563         (dispatch): ditto
1564
1565 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1566
1567         * Spacing.[Ch]: New method getValueAsString().
1568
1569         * Spacing.[Ch]:
1570         * bufferparams.C:
1571         * ParagraphParameters.C:
1572         * lyxlayout.C:
1573         * text.C:
1574         * text3.C: store/read spacing value as string.
1575
1576         * rowpainter.C: change float value (spacing_val) to double.
1577
1578         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1579         broken custom document spacing).
1580
1581 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1582
1583         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1584         namespace, also more use of temp references and const
1585
1586         * cursor.[Ch] (getStatus): move to lyxfunc.C
1587
1588         * bufferparams.C: reformat slightly
1589
1590         * bufferview_funcs.C (font2string): constify arg
1591
1592         * changes.C:
1593         * converter.C:
1594         * counters.C:
1595         * bufferlist.C:
1596         * buffer_funcs.C: (many funcs): constify arg on function
1597         definitions, also make more local vars const, also add ASSERTS on
1598         pointer args.
1599
1600         * buffer.C (LYX_FORMAT): put const in correct place
1601         (many funcs): constify arg on function definitions, also make
1602         more local vars const
1603
1604         * aspell_local.h: remove "struct" from typdef setup
1605
1606         * aspell.C (check): make word_ok const
1607         (nextMiss): simplify slightly
1608         (error): ditto
1609
1610 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1611
1612         * lyxrc.[Ch]: store all float values as strings.
1613         use int (not float) for lyxrc.dpi.
1614
1615 2005-01-04  Angus Leeming  <leeming@lyx.org>
1616
1617         * lyx_cb.C (Reconfigure):
1618         * lyx_main.C (queryUserLyXDir):
1619         to run the <system_lyxdir>/configure correctly on Windows, prefix
1620         the path to the script with "sh " when generating the string that
1621         is passed to system().
1622
1623 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1624
1625         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1626
1627 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1628
1629         * lyxlength.C (asLatexString): get rid of setprecision
1630
1631 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1632
1633         * text2.C (setLayout): remove unused variable endpit.
1634         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1635
1636         * paragraph.C (onlyText): remove unused variable style.
1637
1638         * cursor.C (bruteFind): remove unused variables beg and end.
1639
1640         * Makefile.am (dist_noinset_DATA): not needed anymore
1641
1642         * cheaders/*: remove.
1643
1644 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1645
1646         * text3.C: fix LFUN_MATH_MODE.
1647
1648 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649
1650         * buffer_funcs.C (countWords): new function. Counts words between
1651         two iterators.
1652
1653         * BufferView_pimpl.C (getStatus, dispatch): handle
1654         LFUN_WORDS_COUNT.
1655
1656         * LyXAction.C (init):
1657         * lfuns.h: add LFUN_WORDS_COUNT.
1658
1659 2004-12-19  Angus Leeming  <leeming@lyx.org>
1660
1661         * buffer.C (save): s/slashify_path/internal_path/.
1662
1663 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1664
1665         * lyxfind.C (findChange): do not search for end of pars, because
1666         the change tracker cannot handle this (fixes bug 1719).
1667
1668 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * paragraph.[Ch] (autoBreakRows): remove
1671
1672         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1673
1674         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1675         avoid using the paragraph one
1676
1677         * text2.C (LyXText, insertStringAsLines): adjust
1678
1679 2004-12-16  Angus Leeming  <leeming@lyx.org>
1680
1681         * bufferlist.C:
1682         * lyx_main.C:
1683         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1684
1685 2004-12-14  Angus Leeming  <leeming@lyx.org>
1686
1687         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1688
1689         * bufferlist.C (emergencyWrite):
1690         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1691         GetEnvPath("HOME").
1692
1693 2004-12-14  Angus Leeming  <leeming@lyx.org>
1694
1695         * main.C: (main): no longer pass pointers to os::init.
1696
1697 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1698
1699         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1700         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1701
1702 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * lyxfunc.C:
1705         * text3.C: remove selection_possible global flag
1706
1707 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1708
1709         * text2.C (getSelectionSpan): remove
1710         (changeDepth, changeDepthAllowed): adjust
1711
1712 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1713
1714         * Makefile.am (BOOST_LIBS): use boost variables
1715
1716 2004-12-03  José Matos  <jamatos@lyx.org>
1717
1718         * buffer.C: format up to 238.
1719
1720 2004-12-03  José Matos  <jamatos@lyx.org>
1721
1722         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1723
1724 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1725
1726         * cursor.C (goUpDown): remove call to idxUpDown2
1727
1728 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1729
1730         * tabular.[Ch]: use size_t-like types for cell, row and column
1731         indices
1732
1733 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1734
1735         * lyxfunc.C (getStatus): do not lose previous information when
1736         calling BufferView::getStatus; do not set a default "Command
1737         disabled" message at the beginning, but just before returning.
1738
1739 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1740
1741         * cursor.h (getStatus): add better comment from src/cursor.C
1742
1743 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1744
1745         * text3.C (getStatus): return false when the lfun is not handled
1746
1747 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1748
1749         * broken_headers.h: remove
1750
1751         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1752
1753 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1754
1755         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1756         offset_ref accessors
1757
1758         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1759         top_y_, merge fitcursor with update
1760         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1761         coord scheme
1762         (metrics): introduce
1763         (workAreaDispatch): adapt to new coord scheme
1764         (redoCurrentBuffer): remove
1765
1766         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1767
1768         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1769         CurStatus enum.
1770
1771         * coordcache.[Ch]: add paragraph cache and helpers
1772
1773         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1774         adjust everywhere
1775
1776         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1777         (targetX, setTargetX): introduce
1778
1779         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1780         baseline -> ascent, as the rest of lyx
1781
1782         * lyxtext.h: remove redoParagraphs, updateParPositions,
1783         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1784         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1785         have ascent/descent (ascent is ascent of first par)
1786
1787         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1788         step of BufferView
1789
1790         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1791
1792         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1793
1794         * pariterator.C: fix infinite loop introduced in par->pit renaming
1795
1796         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1797         in insets and LyXText, draw two off-screen paragraphs using
1798         NullPainter, and adapt to new coord scheme
1799
1800         * text.C:
1801         * text2.C:
1802         * text3.C: adapt lfun handlers to the new coord scheme, which
1803         means: there's only guaranteed coord information for onscreen pars
1804         plus one above and one below. This implies that one can do search
1805         from y coordinates in the range [-1,workHeight]
1806
1807 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1808
1809         * rename a lot of InsetOld to InsetBase
1810
1811 2004-11-25  Angus Leeming  <leeming@lyx.org>
1812
1813         * BufferView_pimpl.C:
1814         * lyx_cb.C:
1815         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1816
1817 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1818
1819         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1820         call BufferView::getStatus if LCursor::getStatus did nothing
1821         (setStatusMessage, getStatusMessage): removed.
1822
1823         * FuncStatus.C (message): new methods. Used to provide an error
1824         message indicating why a command is disabled.
1825         (clear, |=, FuncStatus): update for message.
1826
1827 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1828
1829         * lyxfunc.C (dispatch): always call sendDispatchMessage
1830
1831 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1832
1833         * BufferView.C:
1834         * BufferView_pimpl.C:
1835         * CutAndPaste.C:
1836         * FontIterator.C:
1837         * buffer.C:
1838         * cursor.C:
1839         * cursor_slice.[Ch]:
1840         * dociterator.[Ch]:
1841         * lyxfind.C:
1842         * paragraph_funcs.C:
1843         * pariterator.C:
1844         * rowpainter.C:
1845         * text.C:
1846         * text2.C:
1847         * text3.C:
1848         * undo.C: par->pit renaming
1849
1850 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1851
1852         * tabular.C (cellstruct): use initialization, store a shared_ptr
1853         to insettext instead of the insettext directly, adjust to fit.
1854         (operator=):  new function
1855         (swap): new function
1856         (rowstruct): use initialization
1857         (columnstruct): use initialization
1858         (ltType): use initialization
1859
1860
1861         * lyxlength.h (swap): new function
1862
1863         * LColor.[Ch] (operator=): use the common semantics
1864
1865 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1866
1867         * lyxfind.C (findNextChange): update the bufferview after setting
1868         the selection.
1869
1870 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1871
1872         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1873         number of InsetOptArgs has already been inserted.
1874
1875         * output_latex.C (latexOptArgInsets): new method. This outputs all
1876         the optarg insets, up to the limit defined in the layout file.
1877         (optArgInset): removed
1878         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1879
1880 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1881
1882         * paragraph.C (isLetter): remove special spellchecker-related
1883         code; return true also for digits
1884         (isWord, isKomma): remove
1885
1886         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1887         * lyxfind.C (MatchString()): use isLetter instead of isWord
1888
1889 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1890
1891         * pariterator.h (operatir=): comment out un-implemented member
1892         function.
1893
1894         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1895         static cast.
1896
1897 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1898
1899         * lyxfont.h: include LColor.h to satisfy concept checks.
1900
1901 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1902
1903         * pariterator.h: add typdefs for value_type, difference_type,
1904         pointer and reference to satisfy concept checks. Also add default
1905         constructor for same reason.
1906
1907         * pariterator.C (operator++): add post-increment operator to
1908         satisfy concept checks.
1909
1910         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1911         checks.
1912
1913         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1914
1915         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1916         checks. Also rename base_type to BaseType to follow naming
1917         standard better.
1918
1919         * FloatList.h: include Floating.h to satisfy concept checks.
1920
1921 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * lyxfunc.C (getStatus): when the origin of the request is menu or
1924         toolbar, and the LyXView does not have focus, do as if there was
1925         no buffer (bug 1720)
1926
1927         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1928         FuncRequest to individual entries of LFUN_SEQUENCE
1929
1930 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1931
1932         * output_latex.C (TeXOnePar): override runparams.moving_arg
1933         according to the needprotect value of the current paragraph (bug
1934         1739)
1935
1936         * paragraph.C (simpleTeXOnePar): no need to override
1937         runparams.moving_args here
1938
1939 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1940
1941         * vspace.C: fix off-by-one-error, related to fix #1682
1942
1943 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1944
1945         * lengthcommon.C: a more general fix for bug 1682
1946
1947 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1948
1949         * text.C (backspace): fix crash
1950
1951 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1952
1953         * format.[Ch] (getFormatFromFile): new method
1954         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1955
1956 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1957
1958         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1959
1960 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1961
1962         * lyxfunc.C (dispatch): remove the verbose argument
1963         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1964         instead
1965
1966         * kbmap.C (defkey): set the origin of func to KEYBOARD
1967
1968         * MenuBackend.C (MenuItem):
1969         * ToolbarBackend.C (add): set the origin of func to UI
1970
1971         * funcrequest.[Ch]: add origin member, which indicates which part
1972         of LyX requests an action
1973
1974 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1975
1976         * converter.C (move): don't lie in the error message
1977         * converter.h (isReachable, move): document
1978
1979 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1980
1981         * buffer.C: remove unused using lyx::support::atoi
1982         * paragraph_funcs.C: ditto
1983
1984 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1985
1986         * bufferlist.C (exists): use bind and equal_to instead of
1987         compare_memfun
1988         (getBuffer): ditto
1989         * lyxtextclasslist.C (NumberOfClass): ditto
1990
1991         * cursor.C (insert): use for_each instead of explicit for loop
1992
1993         * bufferlist.C (getFileNames): use std::transform and
1994         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1995
1996         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1997         for loop
1998
1999         * buffer.C (changeLanguage): use for_each instead of explicit for
2000         loop
2001         (hasParWithID): implement using getParFromID
2002
2003         * LaTeXFeatures.C: ws change only
2004
2005         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2006         to cleanup a bit.
2007
2008         * BufferView_pimpl.C (trackChanges): use for_each instead of
2009         expilicit for loop
2010
2011 2004-11-04  André Pönitz  <poenitz@gmx.net>
2012
2013         * undo.h:
2014         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2015
2016         * dociterator.C (asDocIterator): use hard assert again.
2017
2018 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2019
2020         * lyxlength.C (asLatexString): rewrite so that it does not use
2021         snprintf anymore
2022
2023 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2024
2025         * text3.C (specialChar, dispatch): make sure cursor moves to the
2026         right after inserting an inset
2027
2028 2004-11-02  José Matos  <jamatos@lyx.org>
2029
2030         * output_docbook.C (docbook):
2031         * paragraph.C (getID):
2032         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2033         garantee that the output is always legal.
2034
2035         * tabular.C (docbook):
2036         * outputprams.[Ch]: remove mixed contents.
2037
2038 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2039
2040         * text2.C (setCounter): prevent endless loop
2041
2042 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2043
2044         * exporter.C (copyFile): use the mover instead of support::copy()
2045         * exporter.C (Export): pass format and latex name to copyFile()
2046         * exporter.h (addExternalFile): document
2047         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2048
2049 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2050
2051         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2052
2053 2004-10-30  José Matos  <jamatos@lyx.org>
2054
2055         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2056         text and no inset or font change. This allows to use CDATA
2057         sections just for the whole paragraph.
2058
2059 2004-10-30  José Matos  <jamatos@lyx.org>
2060
2061         * paragraph.C (getFirstWord): remove unused variable.
2062
2063 2004-10-30  José Matos  <jamatos@lyx.org>
2064
2065         * paragraph.C (getFirstWord): the content should always be escaped
2066         there.
2067         (simpleDocBookOnePar):
2068         * output_docbook.C (makeEnvironment): replace reference to CDATA
2069         to style pass_thru.
2070
2071 2004-10-30  José Matos  <jamatos@lyx.org>
2072
2073         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2074
2075 2004-10-30  José Matos  <jamatos@lyx.org>
2076
2077         * output_docbook.C (makeParagraphs):
2078         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2079         standard paragraph has only a given type of content drop the wrapper.
2080
2081 2004-10-29  José Matos  <jamatos@lyx.org>
2082
2083         * output_docbook.C (makeEnvironment):
2084         * sgml.C (openTag):
2085         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2086
2087 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2088
2089         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2090         (cleanID): sanitize any id.
2091
2092 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2093
2094         * buffer.C, lyxlex_pimpl.C:
2095         * lyxlex_pimpl.C (setFile):
2096         s/getExtFromContents/getFormatFromContents/
2097
2098 2004-10-28  José Matos  <jamatos@lyx.org>
2099
2100         * output_docbook.C (makeEnvironment): move id to broadest possible
2101         scope.
2102
2103         * sgml.C (openTag): apply substitution of <> for all attributes.
2104
2105 2004-10-28  José Matos  <jamatos@lyx.org>
2106
2107         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2108         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2109         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2110
2111         * sgml.[Ch]: new version for open and closeTag for paragraph and
2112         for strings. Now they handle the ids of paragraphs.
2113
2114 2004-10-26  Angus Leeming  <leeming@lyx.org>
2115
2116         * Makefile.am: add mover.[Ch].
2117
2118         * converter.C (convert, move): use the new Movers to move external
2119         files to the temp directory.
2120
2121         * lyx_main.C (init): ensure that the global system_movers data
2122         is initialised.
2123
2124         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2125         preferences file.
2126
2127         * mover.[Ch]: new files, defining a Mover as a utility to move an
2128         external file between directories and, if necessary, manipulate this
2129         file using a helper script.
2130
2131 2004-10-25  José Matos  <jamatos@lyx.org>
2132
2133         * output_docbook.C (makeCommand): merge two if's that tested the
2134         same condition.
2135
2136 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2137
2138         * sgml.C (escapeString): fix warning in a better way
2139
2140 2004-10-25  José Matos  <jamatos@lyx.org>
2141
2142         * sgml.C (escapeString): import the require boosts header file for
2143         tie, and avoid a signed unsigned comparison.
2144
2145 2004-10-25  José Matos  <jamatos@lyx.org>
2146
2147         * sgml.h: add #include <string>
2148
2149 2004-10-25  José Matos  <jamatos@lyx.org>
2150
2151         * sgml.[Ch] (escapeString): new function to escape all the string.
2152
2153 2004-10-24  José Matos  <jamatos@lyx.org>
2154
2155         * paragraph.[Ch] (getFirstWord): new function to get the first
2156         word. Useful for description.
2157         (simpleDocBookOnePar): remove depth argument, add another that
2158         says where to start the paragraph.
2159
2160         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2161         use the new functions to fix cleanly the support for descriptions.
2162
2163 2004-10-24  José Matos  <jamatos@lyx.org>
2164
2165         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2166         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2167         * output_linuxdoc.C (linuxdocParagraphs):
2168         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2169         add buffer as argument.
2170
2171 2004-10-24  José Matos  <jamatos@lyx.org>
2172
2173         * output_docbook.C (makeEnvironment, searchEnvironment): place
2174         CDATA inside paragraphs and fix scope for listitems.
2175
2176 2004-10-24  José Matos  <jamatos@lyx.org>
2177
2178         * output_docbook.C: remove using statement for stack.
2179
2180 2004-10-23  José Matos  <jamatos@lyx.org>
2181
2182         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2183         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2184         docbook. The new scheme is recursive and makes use of iterators, the
2185         same as latex export works.
2186         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2187         directly with the paragraph contents. This code was moved up to
2188         output_docbook.C (docbookParagraphs).
2189         * sgml.C (openTag, closeTag): removed unneeded newlines.
2190         (closeEnvTags) removed.
2191
2192 2004-10-23  André Pönitz  <poenitz@gmx.net>
2193
2194         * undo.C (textUndoOrRedo):
2195         * dociterator.C (asDocIterator): work around crash
2196
2197         * cursor.C (getStatus): replace ASSERT by more verbose error message
2198           and manual correction of the problem. Should increase stability
2199           while providing more sensible information.
2200
2201 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2202
2203         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2204
2205         * bufferlist.C (previous, next): new methods
2206
2207         * lfuns.h:
2208         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2209
2210 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2211
2212         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2213         entities to preamble.
2214
2215 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2216
2217         * messages.C (Pimpl): strip off translation context information
2218
2219 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2220
2221         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2222         the cursor is correct (bug 1694)
2223
2224 2004-10-13  José Matos  <jamatos@lyx.org>
2225
2226         * output_docbook.C (docbookParagraphs): fix closing tags in the
2227         end of the document.
2228
2229 2004-10-09  José Matos  <jamatos@lyx.org>
2230
2231         * buffer.C: format up to 237.
2232         * bufferparams.C (write): use tostr to convert booleans to strings.
2233
2234 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2235
2236         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2237
2238 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2239
2240         * LaTeX.C: implement use of babel language in xindy.
2241
2242 2004-10-05  José Matos  <jamatos@lyx.org>
2243
2244         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2245         Add new translators to help reading and writing the lyx file.
2246
2247 2004-10-05  José Matos  <jamatos@lyx.org>
2248
2249         * ParagraphParameters.C (read):
2250         * text.C (readParToken): replace nexToken by more appropriate lex
2251         methods.
2252
2253 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2254
2255         * LaTeX.C (runMakeIndex):
2256         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2257         (usually 'makeindex') configurable.
2258
2259         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2260         with a variable rather than with a number.
2261
2262 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2263
2264         * output_latex.C (TeXOnePar): make sure font setting is the first
2265         thing that gets output (and the last at the end). Should fix bug
2266         1404.
2267
2268 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2269
2270         * pch.h: use proper signal include
2271
2272         * LaTeX.h: Use preferred calling of Boost.Signal
2273         * buffer.h: ditto
2274
2275 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2276
2277         * pch.h: dont include <boost/function/function0.hpp>
2278
2279         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2280
2281         * paragraph_pimpl.h: remove usage of ShareContainer
2282
2283         * paragraph_pimpl.C: remove initialization of ShareContainer.
2284
2285 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286
2287         Fix bug #1666
2288
2289         * BufferView.C (putSelectionAt): change the semantics when
2290         backwards == true: now, this just swaps cursor and anchor wrt the
2291         forward case
2292
2293         * BufferView.h (putSelectionAt): add some documentation
2294
2295         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2296         make sure backwardChar is done at least once (to avoid getting
2297         stuck)
2298         (findNextChange): use putSelectionAt in the forward direction
2299         (operator()): use Paragraph::isWord
2300
2301 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2302
2303         * Spacing.C (set): c_str fix
2304
2305 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2306
2307         * lyx_cb.C (Reconfigure): quote the name of configure script in
2308         case it contains spaces
2309
2310 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * client: new dir
2313
2314         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2315         (BOOST_LIBS): use top_buildir when looking for the file
2316
2317 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2318
2319         * pch.h: do not use include boost/format.hpp, multiple symbols
2320                 will result (gcc bug)
2321
2322
2323 2004-08-23  José Matos  <jamatos@lyx.org>
2324
2325         * bufferparams.C (readToken): fix reading of the author field.
2326
2327 2004-08-20  José Matos  <jamatos@lyx.org>
2328
2329         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2330
2331 2004-08-20  José Matos  <jamatos@lyx.org>
2332
2333         * lyxlex.[Ch] (findToken): remove function.
2334
2335         * ParagraphParameters.C (findToken):
2336         * bufferparams.C (findToken): replace call for previous function
2337         with local copy. This local function has one more argument, the
2338         read string argument.
2339
2340 2004-08-16  José Matos  <jamatos@lyx.org>
2341
2342         * ParagraphParameters.C (write):
2343         * Spacing.C (writeFile):
2344         * bufferparams.C (writeLaTeX):
2345         * lyx_cb.C (Reconfigure):
2346         * paragraph.C (write):
2347         * tabular.C (write): remove unnecessary space at end of line.
2348
2349
2350 2004-08-16  José Matos  <jamatos@lyx.org>
2351
2352         * text.C (readParagraph): remove debug message.
2353
2354 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2355
2356         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2357         crash
2358
2359         * output_plaintext.C (asciiParagraph): set depth correctly
2360
2361         * outputparams.h: add member depth
2362
2363         * paragraph_funcs.C (ownerPar): remove.
2364
2365         * text2.C (setCounter): remove first_pit; comment out some
2366         non-working code that uses ownerPar
2367
2368         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2369         uses ownerPar
2370
2371 2004-08-16  José Matos  <jamatos@lyx.org>
2372
2373         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2374         For the same level of importance use the same chanel to report problems.
2375         (read): add code to deal with \begin_body and \end_body.
2376
2377
2378 2004-08-15  José Matos  <jamatos@lyx.org>
2379
2380         * lyxlex.C (getString): fix comment, buffer::readBody is now
2381         buffer:readDocument.
2382
2383         * tex-strings.C (string_papersize): Default -> default,
2384         Custom -> custom, for consistency with other options.
2385
2386 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2387
2388         * pch.h: new file
2389
2390         * Makefile.am: support pch
2391
2392 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2393
2394         * text.C (readParToken): remove the static LyXFont variable and
2395         pass it as a parameter instead. This fixes a nasty bug where an
2396         inset will be inserted with a bad font in some situations
2397         (readParagraph): adapt
2398
2399         * text2.C (setCounter): reduce number of calls to pars_[pit]
2400
2401         * text.C (singleWidth): add an assert, fix a test
2402
2403         * rowpainter.C (paintText): reduce number of calls to singleWidth
2404
2405         * paragraph.C (isHfill):
2406         (isNewline): ws only
2407
2408 2004-08-14  André Pönitz  <poenitz@gmx.net>
2409
2410         * text.C:
2411         * text2.C:
2412         * rowpainter.C:
2413         * lyxtext.h (several functions): use a Paragraph & argument
2414         instead of par_type
2415
2416 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2417
2418         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2419
2420         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2421
2422         * text.C (singleWidth): remove useless test
2423
2424 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2425
2426         * tabular.h: remove bogus comments
2427
2428         * tabular.C (getDescentOfRow):
2429         (isPartOfMultiColumn): add assertions
2430
2431         * lyxlength.C (inPixels): remove #warning
2432
2433 2004-08-14  André Pönitz  <poenitz@gmx.net>
2434
2435         * paragraph.h: inline getChar()
2436
2437         * BufferView.h: remove unused declarations
2438
2439 2004-08-14  José Matos  <jamatos@lyx.org>
2440
2441         * Buffer.[Ch] (readDocument): new name for old readBody.
2442         * Buffer.C: new file format, new keywords: \begin_document,
2443         \begin_header, \begin_body, \end_body.
2444
2445         * bufferparams.C (readToken): replace all calls to lex.nextToken
2446         by lex.next(). Do the same to eatLine except where really needed.
2447
2448         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2449         line when writing to the lyx file.
2450
2451         * output_plaintext.C (asciiParagraph): fix Bibliography style
2452         handling.
2453
2454         * text.C (read): fix end of file handling.
2455
2456 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2457
2458         * MenuBackend.C (Menu::operator[]): new method to access
2459         individual menu items
2460         (Menu::hasFunc): new method. search for an item that corresponds
2461         to a given func
2462         (MenuBackend::specialMenu): new method
2463         (MenuBackend::expand): if a special menu has been set, skip
2464         entries whose func() appears in this menu
2465
2466 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2467
2468         * text3.C: use Debug::DEBUG a bit more
2469
2470         * text.C (leftMargin): try to simplify a tiny bit change var x to
2471         l_margin. Dont output the wide margins always.
2472         (rightMargin): no margin in inner texts
2473
2474         * rowpainter.h (nestMargin): new func
2475         (changebarMargin): new func
2476         (rightMargin): new func
2477
2478         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2479         now functions.
2480         (paintLast): ditto
2481
2482         * factory.C (createInset): modify setDrawFrame
2483
2484         * cursor.C: use Debug::DEBUG a bit more
2485
2486 2004-08-14  André Pönitz  <poenitz@gmx.net>
2487
2488         * coordcache.[Ch]:
2489         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2490         cache for all insets in (at least partially) visible (top-level)
2491         paragraphs.
2492
2493         * BufferView_pimpl.C: reset external coord cache before every update.
2494         This means the coord cache only contains valid entries.
2495
2496 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2497
2498         bug 1096
2499         * BufferView_pimpl.C (getInsetByCode): move function out of class
2500         and change in to a template in anon namespace. Also fix to do what
2501         suits us better.
2502
2503 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2504
2505         bug 1305
2506         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2507         of char
2508         (breakParagraph): rename par to par_offset and use a local
2509         reference. Add code to keep the language over a rebreak.
2510         (breakParagraphConservative): rename par to par_offset, use a
2511         local reference
2512         (mergeParagraph): ditto
2513         (outerHook): ditto
2514         (isFirstInSequence): ditto
2515         (outerFont): rename pit to par_offset
2516
2517         * paragraph.C: ws change
2518         * paragraph.h: ditto
2519         * text3.C: ditto
2520         * text.C: ditto
2521
2522 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2523
2524         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2525         treatment for ']'
2526
2527         * paragraph.C (simpleTeXOnePar): when we have a \item with
2528         optional argument, enclose the argument with curly brackets (in
2529         case it contains a closing square bracket)
2530
2531         * text2.C (editXY):
2532         * text2.C (editXY):
2533         * text3.C (checkInsetHit): constify
2534
2535 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2536
2537         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2538         documents (bug 1629)
2539
2540 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2541
2542         Fix toggling of collapsable insets with the mouse (bug 1558)
2543
2544         * lyxfunc.C (dispatch): adapt to LCursor changes
2545
2546         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2547         make sure that dispatch is not invoked twice
2548
2549         * cursor.C (needsUpdate): new method
2550         (dispatch): return void
2551         (result): new method, to access the DispatchResult of the cursor.
2552
2553 2004-08-13  José Matos  <jamatos@lyx.org>
2554
2555         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2556
2557 2004-08-13  André Pönitz  <poenitz@gmx.net>
2558
2559         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2560
2561         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2562           multiple cells
2563
2564 2004-08-12  André Pönitz  <poenitz@gmx.net>
2565
2566         * text3.C: take out the 'cursor right' form insertInset and only
2567         do it in those places when it is really needed. Fixes crash on
2568         C-m...
2569
2570 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2571
2572         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2573
2574         * BufferView_pimpl.C (setBuffer): initialize the current font of
2575         the underlying LyXText
2576
2577 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2578
2579         * kbsequence.C (print): use UI native formatting for menu
2580         shortcuts
2581
2582         * text.C (insertChar): call Paragraph::insertChar with a font
2583         argument (cosmetic)
2584
2585         * paragraph.C (insertInset, insertChar): the version that takes a
2586         LyXFont argument is now a wrapper around the other one (the
2587         opposite used to be true).
2588
2589         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2590         argument. Font setting is done in Paragraph now.
2591
2592 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2593
2594         * outputparams.h: add new members intitle and lang.
2595
2596         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2597         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2598
2599 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2600
2601         * text3.C (dispatch): remove special handling of button 4 and 5,
2602         it is now taken care of in the frontend code.
2603
2604 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2605
2606         * Spacing.h: add <string> (STLPort compile fix)
2607
2608 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2609
2610         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2611
2612 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2613
2614         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2615         to bool.
2616
2617         * converter.C (showMessage): inherit from unary_function, make
2618         operator() const.
2619
2620         * buffer.C (writeFile): initialize retval
2621
2622         * InsetList.h: rename private variable list to list_
2623         * InsetList.[Ch]: adjust accordingly.
2624
2625 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2626
2627         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2628         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2629         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2630         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2631         * ParagraphParameters.C, LaTeXFeatures.C: replace
2632         "support/std_sstream.h" with <sstream>
2633
2634 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2635
2636         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2637         * lyxsocket.C (LyXServerSocket): ditto
2638         (serverCallback): ditto
2639
2640 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2641
2642         * LaTeXFeatures.C: check release date when loading jurabib.
2643
2644 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * lyxserver.C (startPipe): call register_socket_callback
2647         (endPipe): call unregister_socket_callback
2648
2649 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2650
2651         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2652         (LyXServerSocket): register the callback
2653         (LyXServerSocket): unregister the callback
2654         (fd): delete function
2655         (serverCallback): improve error checking and setup the callbacks.
2656         (dataCallback): change arg to fd.
2657         (writeln): new func (copied fro the client socket) used for server
2658         write to client.
2659         (LyXDataSocket): simplify
2660         (~LyXDataSocket): close ann unregiser callback
2661         (server): delete function
2662         (fd): delete function
2663         (readln): small changes, improve some std::string usage
2664         (writeln): constify a bit
2665
2666 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2669         Qt frontend
2670
2671 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2672
2673         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2674         after it has been populated
2675
2676 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2677
2678         * text2.C (insertInset): move cursor when inserting inset.
2679
2680 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2681
2682         * kbmap.C (findbindings): a couple of new methods. returns a
2683         container of kb_sequence objects. The real work is done by the
2684         private recursive version
2685         (printbindings): uses findbindings to print out a bracketed list
2686         of bindings (renamed from findbinding).
2687
2688         * MenuBackend.C (binding): use kb_keymap::findbindings
2689
2690         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2691
2692 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2693
2694         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2695
2696 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2697
2698         * paragraph.C (isWord): return true on insets that report
2699         isLetter().
2700
2701         * text.C (getWord): use Paragraph::isWord to decide what is in a
2702         word and what is not; fix bug 1609.
2703
2704 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2705
2706         * tex-strings.C: add "none" to string_paperpackages[], fixes
2707         off-by-one-error in the paperpackage selection.
2708
2709         * lyxlex.[Ch]:
2710         * tex-strings.[Ch]: char const * string[n]
2711         -> char const * const string[]
2712
2713 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2714
2715         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2716         command, return early.
2717
2718 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2719
2720         * debug.h: add DEBUG to enum and fix size of ANY.
2721
2722         * debug.C: add support for Debug::DEBUG
2723         (showTags): cast errorTags.level to unsigned int
2724
2725         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2726         (redoCurrentBuffer): ditto
2727         (updateScrollbar): ditto
2728         * cursor.C (dispatch): ditto
2729         * text2.C (setLayout): ditto
2730         (setFont): ditto
2731         (updateCounters): ditto
2732         (editXY): ditto
2733         (deleteEmptyParagraphMechanism): ditto
2734
2735 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2736
2737         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2738         annotations to cleanup the Makefile slightly.
2739
2740 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2741
2742         * lyxrc.C: do not set user_email to a default value but use empty
2743         instead. The entry used to be translated, which does not work
2744         since at the point where lyxrc is constructed there is no
2745         translation service available
2746
2747         * messages.C (getLocaleDir): remove and use directly
2748         lyx_localedir() instead
2749
2750 2004-06-02  Angus Leeming  <leeming@lyx.org>
2751
2752         Fix crash caused by dereferencing null pointer 'exportdata' in
2753         OutputParams by creating a new ExportData variable on the heap,
2754         storing it in a boost::shared_ptr.
2755         The crash was triggered when generating an Instant Preview
2756         of an external inset.
2757
2758         * Makefile.am: add outputparams.C
2759
2760         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2761         (c-tor): allocate memory to it.
2762
2763         * exporter.C (c-tor): associated changes.
2764
2765 2004-06-01  Angus Leeming  <leeming@lyx.org>
2766
2767         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2768         contains data before calling isInset(0). (Bug 1513.)
2769
2770 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2771
2772         * exporter.C (checkOverwrite): new method
2773         * exporter.C (copyFile): new method
2774         * exporter.C (Export): copy referenced files to the document dir
2775         * exporter.[Ch]: new class ExportedFile
2776         * exporter.[Ch]: new class ExportData. Contains currently the
2777         names of referenced external files
2778         * outputparams.h: add exportdata member.
2779
2780 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2781
2782         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2783         version.C-tmp
2784
2785 2004-05-19  Angus Leeming  <leeming@lyx.org>
2786
2787         * LaTeXFeatures.C:
2788         * ToolbarBackend.C:
2789         * bufferparams.C:
2790         * lyxfunc.C: small changes due to the introduction of namespace
2791         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2792
2793 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2794
2795         * text3.C (dispatch): supress update when only moving the cursor
2796         * cursor.C (selHandle): remove commented code
2797
2798 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2799
2800         * paragraph.C (startTeXParParams): correct column count
2801         * CutAndPaste.C (pasteSelection): remove const_cast
2802         * output_docbook.C (docbookParagraphs): remove const_cast
2803         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2804         const_cast and return ParagraphList::const_iterator
2805         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2806         * output_plaintext.C (writeFileAscii): remove const_cast
2807         * paragraph.[Ch] (simpleTeXOnePar): make const
2808         * paragraph_funcs.C (outerPar): use const iterators
2809         * paragraph_pimpl.C (validate): use const iterators
2810         * text.C (setHeightOfRow): use const iterators
2811
2812 2004-05-17  Angus Leeming  <leeming@lyx.org>
2813
2814         * lfuns.h:
2815         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2816
2817         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2818         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2819         if the citation engine has changed.
2820
2821 2004-05-14  José Matos  <jamatos@lyx.org>
2822
2823         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2824         if the textclass does not provide it. Have it different for sgml and
2825         xml.
2826         support the language of document.
2827         * output_docbook.C (docbookParagraphs):
2828         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2829         first anchor as the id of the paragraph, remove special case code.
2830         * sgml.C (escapeChar): escape only < & >.
2831
2832 2004-05-14  Angus Leeming  <leeming@lyx.org>
2833
2834         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2835         dependencies on src/frontends/controllers/biblio.h. Define a
2836         CiteEngine_enum wrapper class to enable the enum to be forward
2837         declared.
2838
2839 2004-05-12  Angus Leeming  <leeming@lyx.org>
2840
2841         * buffer.C: up LYX_FORMAT to 234.
2842         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2843         use_numerical_citations with a single biblio::CiteEngine cite_engine
2844         variable.
2845         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2846
2847 2004-05-13  José Matos  <jamatos@lyx.org>
2848
2849         * converter.h:
2850         * converter.C (Converter, readFlags): add xml member.
2851         * outputparams.h: add XML flavor.
2852         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2853
2854 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2855
2856         * lyxfunc.C (dispatch):
2857         (getStatus): fix handling of LFUN_SEQUENCE
2858
2859 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2860
2861         * debug.C (showLevel): do not forget the end-of-line marker
2862
2863 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2864
2865         * kbmap.C (read): do not stop parsing a bind file when an error
2866         occurs (bug 1575)
2867
2868 2004-04-29  Angus Leeming  <leeming@lyx.org>
2869
2870         * cursor.C:
2871         * factory.C:
2872         * pariterator.C:
2873         * text2.C: wrap a bunch of #warning statements
2874         inside #ifdef WITH_WARNINGS blocks.
2875
2876 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2877
2878         * buffer.C: increment format to 233.
2879
2880 2004-04-28  Angus Leeming  <leeming@lyx.org>
2881
2882         * BufferView_pimpl.C:
2883         * lyxfunc.C:
2884         * text3.C:
2885         s/updateToolbar()/updateToolbars()/
2886         s/Toolbar.h/Toolbars.h/
2887
2888 2004-04-28  Angus Leeming  <leeming@lyx.org>
2889
2890         * BufferView.[Ch] (c-tor):
2891         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2892         No longer passes these data to the WorkArea generator.
2893
2894 2004-04-28  Angus Leeming  <leeming@lyx.org>
2895
2896         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2897
2898 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2899
2900         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2901
2902 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2903
2904         * output_latex.C (TeXEnvironment): make sure that there is a line
2905         break before \end{foo} for the last paragraph of a document
2906         (TeXOnePar): if the paragraph is at the end of the document (or
2907         inset) and the language has to be reset, then make sure that the
2908         line break is _before_ the language command, not after (fixes bug
2909         1225); also make sure that the language reset command is the first
2910         thing after the paragraph (to ensure proper nesting of
2911         environments and thus fix bug 1404)
2912
2913 2004-04-21  John Levon  <levon@movementarian.org>
2914
2915         * ToolbarBackend.h:
2916         * ToolbarBackend.C: make "name" be a programmatic name
2917         and a gui_name field.
2918
2919         * lyxfunc.C: display the minibuffer on M-x
2920
2921 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2922
2923         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2924         (bug 1526)
2925
2926 2004-04-19  Angus Leeming  <leeming@lyx.org>
2927
2928         * BufferView_pimpl.C (setBuffer): changed preview interface.
2929
2930         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2931         possible values.
2932
2933 2004-04-19  John Levon  <levon@movementarian.org>
2934
2935         * BufferView_pimpl.C:
2936         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2937
2938 2004-04-05  Angus Leeming  <leeming@lyx.org>
2939
2940         * text.C (redoParagraphs): add call to updateCounters(), thereby
2941         fixing the missing "Figure #:" label from the caption of a
2942         figure float.
2943
2944 2004-04-13  Angus Leeming  <leeming@lyx.org>
2945
2946         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2947         cursor is clicked out of an inset.
2948
2949 2004-04-13  Angus Leeming  <leeming@lyx.org>
2950
2951         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2952         than an InsetOld one.
2953
2954 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2955
2956         * format.[Ch]: add editor to Format
2957         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2958         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2959
2960 2004-04-08  André Pönitz  <poenitz@gmx.net>
2961
2962         * metricsinfo.h: remove PainterInfo::width member
2963
2964 2004-04-08  Angus Leeming  <leeming@lyx.org>
2965
2966         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2967         "\providecommand" rather than "\newcommand", thereby preventing
2968         clashes with packages that define "\boldsymbol" themselves.
2969         Eg, beamer.
2970
2971 2004-04-08  Angus Leeming  <leeming@lyx.org>
2972
2973         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2974         thereby squashing an unnecessary warning.
2975
2976 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2977
2978         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2979         setBuffer()
2980
2981 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2982
2983         * BufferView.C (setCursor): call redoParagraph (some insets could
2984         have been opened)
2985         (putSelectionAt): remove the 'double update' trick
2986
2987         * BufferView_pimpl.C (fitCursor): call refreshPar
2988         (workAreaDispatch): remove an uneeded update call
2989         (dispatch): remove some manual update calls
2990
2991         * cursor.[Ch]: remove cached_y_, updatePos
2992         (selHandle): set noUpdate when appropriate
2993
2994         * lyxfunc.C (dispatch): track if we need an update
2995
2996         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2997
2998         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2999         (paintSelection): cheap optimization, do not call cursorX when not
3000         needed
3001         (paintPars): change signature
3002         (refreshPar): add
3003         (paintText): adjust
3004         (paintTextInset): adjust
3005
3006         * text.C: adjust
3007
3008 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3009
3010         * lengthcommon.C: compilation fix: remove explicit array size from
3011         unit_name[] and friends
3012
3013 2004-04-05  Angus Leeming  <leeming@lyx.org>
3014
3015         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3016
3017         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3018         present only for the preferences dialog.
3019         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3020
3021 2004-04-05  Angus Leeming  <leeming@lyx.org>
3022
3023         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3024         to enable the frontends to export changes to lyxrc correctly.
3025
3026         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3027
3028 2004-04-07  André Pönitz  <poenitz@gmx.net>
3029
3030         * cursor.[Ch] (selClear, adjust): remove math
3031
3032         * cursor_slice.C: more agressive assert
3033
3034         * lyxfunc.C:
3035         * BufferView_pimpl.C: rework mouse event dispatch
3036
3037         * dociterator.C:
3038         * paragraph.C:
3039         * text2.C:
3040         * text3.C: adjust
3041
3042 2004-04-05  André Pönitz  <poenitz@gmx.net>
3043
3044         * cursor.[Ch] (valign, halign...): remove unneeded functions
3045
3046 2004-04-05  Angus Leeming  <leeming@lyx.org>
3047
3048         * lyxlength.[Ch] (unit_name et al.): const-correct.
3049
3050 2004-04-05  Angus Leeming  <leeming@lyx.org>
3051
3052         * BufferView_pimpl.C:
3053         * buffer.C:
3054         * counters.C:
3055         * cursor.C:
3056         * lyxfunc.C
3057         * paragraph.C:
3058         * pariterator.C:
3059         * text.C:
3060         * text2.C:
3061         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3062
3063 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3064
3065         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3066
3067 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3068
3069         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3070         * BufferView_pimpl.[Ch] (getStatus)
3071         * BufferView.[Ch] (getStatus): add
3072         * lyxfunc.C (getStatus): move lfuns handled in
3073         BufferView::dispatch to te function above
3074         * Cursor.C (setSelection): set selection() = true
3075
3076 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3077
3078         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3079
3080 2004-03-31  Angus Leeming  <leeming@lyx.org>
3081
3082         * lyxfunc.C (dispatch): Fall through to the generic
3083         Dialogs::show("preamble").
3084
3085 2004-03-31  Angus Leeming  <leeming@lyx.org>
3086
3087         * lyxfunc.C (dispatch): Fall through to the generic
3088         Dialogs::show("spellchecker").
3089
3090 2004-03-31  Angus Leeming  <leeming@lyx.org>
3091
3092         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3093         preferences dialog.
3094
3095 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3096
3097         * BufferView.C
3098         * cursor.[Ch]
3099         * dociterator.[Ch]:
3100         * insetiterator.[Ch]:
3101         * lyxfind.C:
3102         * lyxfunc.C:
3103         * pariterator.[Ch]:
3104         * text2.C:
3105         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3106
3107 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3108
3109         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3110         insets where we are putting the cursor.
3111
3112 2004-03-31  Angus Leeming  <leeming@lyx.org>
3113
3114         * lfuns.h:
3115         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3116
3117         * lyxrc.[Ch] (read, write): overloaded member functions taking
3118         a std::[io]stream arguments.
3119
3120         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3121
3122 2004-03-31  Angus Leeming  <leeming@lyx.org>
3123
3124         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3125         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3126
3127         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3128         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3129
3130 2004-03-31  Angus Leeming  <leeming@lyx.org>
3131
3132         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3133         the LFUN_ALL_INSETS_TOGGLE code.
3134
3135 2004-03-30  Angus Leeming  <leeming@lyx.org>
3136
3137         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3138         has died. Fall through to the generic Dialogs::show("document").
3139
3140 2004-03-30  Angus Leeming  <leeming@lyx.org>
3141
3142         * lfuns.h:
3143         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3144         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3145
3146         * lyxfunc.C (getStatus, dispatch): define the actions for these
3147         lfuns. Little more than a cut and pste job from ControlDocument.C
3148
3149         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3150
3151 2004-03-30  Angus Leeming  <leeming@lyx.org>
3152
3153         * lfuns.h:
3154         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3155         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3156
3157         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3158         open/closed state of ollapsable insets. Usage:
3159
3160         all-inset-toggle <state> <name>, where
3161         <state> == "open" || "closed" || "toggle" and
3162         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3163
3164         * lyxtext.h, text2.C (toggleInset): removed.
3165
3166         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3167         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3168         now passes LFUN_INSET_TOGGLE to the found inset.
3169
3170         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3171         is now invoked as "all-insets-toggle toggle branch".
3172
3173 2004-03-30  Angus Leeming  <leeming@lyx.org>
3174
3175         * dociterator.C:
3176         * insetiterator.C:
3177         * pariterator.[Ch]: added/corrected header blurb.
3178
3179 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3180
3181         * dociterator.[Ch]: add an inset_ member
3182         (backwardPos): implemented
3183         (backwardPos, forwardPos): use inset_ when the stack is empty.
3184         (doc_iterator_begin, doc_iterator_end): implemented
3185         * pariterator.[Ch]: adjust, add begin, end
3186         * insetiterator.[Ch]: adjust, add begin, end
3187         * cursor.C:
3188         * document.C:
3189         * BufferView.C:
3190         * BufferView_pimpl.C:
3191         * CutAndPaste.C: adjust
3192
3193 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3194
3195         * buffer.C: increment file format to 232.
3196         * LaTeXFeatures.C: add bibtopic package.
3197         * bufferparams.[Ch]: param \use_bibtopic.
3198
3199         * lyxrc.[Ch]: add lyxrc bibtex_command
3200         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3201
3202         * buffer.C: increment file format to 231.
3203
3204 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3205
3206         * dociterator.C: implement forwardPar
3207         * iterators.[Ch]: remove, replaced by
3208         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3209         * BufferView.C:
3210         * BufferView_pimpl.C:
3211         * CutAndPaste.C:
3212         * buffer.C:
3213         * bufferview_funcs.C:
3214         * cursor.C:
3215         * lyxfind.C
3216         * lyxfunc.C
3217         * paragraph_funcs.C
3218         * toc.C:
3219         * Makefile.am: adjust
3220
3221 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3222
3223         * CutAndPaste.C (pasteSelection): fix 2 crashes
3224         (eraseSelection): fix a crash
3225         * paragraph_funcs.C: remove a warning
3226
3227 2004-03-28  Angus Leeming  <leeming@lyx.org>
3228
3229         * lfuns.h:
3230         * LyXAction.C (init): new LFUN_PRINT.
3231
3232         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3233
3234 2004-03-27  Angus Leeming  <leeming@lyx.org>
3235
3236         * lfuns.h:
3237         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3238
3239         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3240
3241 2004-03-27  Angus Leeming  <leeming@lyx.org>
3242
3243         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3244         insetlist always contains non-null pointers to insets.
3245
3246 2004-03-26  Angus Leeming  <leeming@lyx.org>
3247
3248         * src/BufferView_pimpl.C:
3249         * src/CutAndPaste.C:
3250         * src/buffer.C:
3251         * src/iterators.C:
3252         * src/output_plaintext.C:
3253         * src/outputparams.h:
3254         * src/paragraph_funcs.C:
3255         * src/rowpainter.C:
3256         * src/text.C:
3257         * src/text2.C:
3258         * src/frontends/controllers/ControlErrorList.C:
3259         * src/frontends/gtk/FileDialogPrivate.C:
3260         * src/frontends/gtk/GPainter.C:
3261         * src/frontends/gtk/GToolbar.C:
3262         * src/frontends/qt2/QRef.C:
3263         * src/mathed/math_scriptinset.C: squash compiler warnings.
3264
3265 2004-03-26  Angus Leeming  <leeming@lyx.org>
3266
3267         * ispell.C (LaunchIspell::start):
3268         * lyx_cb.C (AutoSaveBuffer::start):
3269         invoke run(DontWait) rather than runNonBlocking().
3270
3271 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3272
3273         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3274
3275 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3276
3277         * kbsequence.C (print): adjust
3278
3279         * kbmap.C (printKeySym): rename and change signature
3280         (printKey): use LyXKeySym::print()
3281
3282 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3283
3284         * undo.C: add using std::advance to compile for stlport
3285
3286 2004-03-24  Angus Leeming  <leeming@lyx.org>
3287
3288         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3289         it leads to a crash when no buffer is present.
3290
3291 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3292             Martin Vermeer  <martin.vermeer@hut.fi>
3293
3294         * lyxfunc.C (dispatch):
3295         * bufferparams.C (readToken): use the new LColor::setColor
3296
3297         * LColor.[Ch] (setColor): new version that takes two strings as
3298         argument and creates a new color entry if necessary
3299
3300 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3301
3302         * buffer.C (makeLaTeXFile): if the main latex file that is
3303         processed is usually a subdocument of some master, then pretend
3304         for a while that it is actually the master
3305
3306 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3307
3308         * buffer.C (getLabelList):
3309         (getBibkeyList): use getMasterBuffer()
3310         (getMasterBuffer): new method. Returns the main document in the
3311         case where one is using included documents.
3312
3313 2004-03-25  André Pönitz  <poenitz@gmx.net>
3314
3315         * Makefile.am:
3316         * iterators.[Ch]:
3317         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3318
3319         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3320
3321         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3322         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3323
3324         * ParameterStruct.h: merge with ParagraphParameters
3325
3326         * lyxtext.h: remove LyXText::parOffset() and getPar()
3327
3328         * text3.C: Remove all 'manual' update calls. We do now one per user
3329         interaction which is completely sufficient.
3330
3331         * Bidi.C:
3332         * BufferView.[Ch]:
3333         * BufferView_pimpl.C:
3334         * FontIterator.[Ch]:
3335         * MenuBackend.C:
3336         * ParagraphParameters.[Ch]:
3337         * buffer.C:
3338         * buffer.h:
3339         * bufferlist.C:
3340         * cursor.[Ch]:
3341         * cursor_slice.[Ch]:
3342         * dociterator.[Ch]:
3343         * errorlist.[Ch]:
3344         * factory.C:
3345         * lfuns.h:
3346         * lyxfind.C:
3347         * lyxfunc.C:
3348         * output_docbook.[Ch]:
3349         * output_latex.[Ch]:
3350         * output_linuxdoc.[Ch]:
3351         * output_plaintext.[Ch]:
3352         * paragraph.[Ch]:
3353         * paragraph_funcs.[Ch]:
3354         * paragraph_pimpl.[Ch]:
3355         * rowpainter.C:
3356         * tabular.[Ch]:
3357         * text.C:
3358         * text2.C:
3359         * toc.C:
3360         * undo.[Ch]: adjust
3361
3362         * frontends/controllers/ControlDocument.C:
3363         * frontends/controllers/ControlErrorList.C:
3364         * frontends/controllers/ControlSpellchecker.C:
3365         * insets/inset.C:
3366         * insets/inset.h:
3367         * insets/insetbase.h:
3368         * insets/insetbibitem.C:
3369         * insets/insetbox.C:
3370         * insets/insetbranch.C:
3371         * insets/insetcaption.C:
3372         * insets/insetcharstyle.C:
3373         * insets/insetcharstyle.h:
3374         * insets/insetcollapsable.C:
3375         * insets/insetcollapsable.h:
3376         * insets/insetert.C:
3377         * insets/insetfloat.C:
3378         * insets/insetfoot.C:
3379         * insets/insetmarginal.C:
3380         * insets/insetnote.C:
3381         * insets/insetoptarg.C:
3382         * insets/insettabular.C:
3383         * insets/insettext.C:
3384         * insets/insettext.h:
3385         * insets/insetwrap.C:
3386         * mathed/math_mboxinset.C:
3387         * mathed/math_nestinset.C:
3388         * mathed/math_scriptinset.C:
3389         * mathed/math_scriptinset.h:
3390         * support/types.h:
3391
3392 2004-03-24  Angus Leeming  <leeming@lyx.org>
3393
3394         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3395         deal with any child processes that have finished but are waiting to
3396         communicate this fact to the rest of LyX.
3397
3398 2004-03-24  Angus Leeming  <leeming@lyx.org>
3399
3400         64-bit compile fixes.
3401
3402         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3403         (c-tor): pass lyx::pos_types rather than ints.
3404
3405         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3406         lyx::pos_type.
3407
3408         * text.C (Delete): compile fix.
3409         (getPar): ensure that function declaration is the same as that in
3410         the header file.
3411
3412 2004-03-23  Angus Leeming  <leeming@lyx.org>
3413
3414         * ispell.C (LaunchIspell):
3415         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3416         a boost::shred_ptr rather than a std::auto_ptr.
3417
3418 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3419
3420         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3421         handle LFUN_FILE_INSERT_*
3422
3423         * lyxrc.C (setDefaults, getDescription, output, read):
3424         * lyxrc.h: remove ps_command
3425
3426 2004-03-22  Angus Leeming  <leeming@lyx.org>
3427
3428         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3429         Ensure that error_handler is processed once only and that all data
3430         is saved before attempting to output any warning messages.
3431
3432         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3433
3434 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3435
3436         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3437
3438 2004-03-19  André Pönitz  <poenitz@gmx.net>
3439
3440         * cursor.[Ch] (reset): take main text inset as argument
3441
3442         * BufferView: adjust
3443         * BufferView_pimpl.C: adjust
3444
3445         * paragraph.[Ch]: fix completely broken operator=()
3446
3447 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3448
3449         * LColor.C (getFromLyXName): make sure that the color name is used
3450         as lowercase.
3451
3452 2004-03-17  Angus Leeming  <leeming@lyx.org>
3453
3454         * lfuns.h:
3455         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3456
3457         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3458         dialog and to kill a forked process.
3459
3460 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3461
3462         * text2.C (setCursorFromCoordinates): fix font problem
3463
3464 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3465
3466         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3467         bogus "rebuild cursor" code
3468
3469 2004-03-11  André Pönitz  <poenitz@gmx.net>
3470
3471         * buffer.[Ch]: use InsetText instead of LyXText as container for
3472         the main lyx text.
3473
3474         * dociterator.[Ch]: drop the BufferView * member which is not needed
3475         anymore after the change to buffer.C
3476
3477         * paragraph_funcs.C:
3478         * text.C:
3479         * text2.C:
3480         * BufferView.[Ch]:
3481         * BufferView_pimpl.[Ch]:
3482         * cursor.[Ch]:
3483         * cursor_slice.[Ch]: adjust
3484
3485         * text3.C: fix bug in mathDispatch
3486
3487 2004-03-08  André Pönitz  <poenitz@gmx.net>
3488
3489         * undo.[Ch]: use 'StableDocumentIterator' as base for
3490         the Undo struct.
3491
3492 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3493
3494         * LaTeXFeatures.C:
3495         * bufferparams.[Ch]: add jurabib support and param.
3496
3497         * LaTeX.C: add FIXME/comment.
3498
3499 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3500
3501         * buffer.C: increment file format to 230.
3502
3503 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3504
3505         * cursor.C (dispatch): avoid infinite loops
3506
3507 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3508
3509         * rowpainter.C (paintSelection): fix x coordinates
3510
3511 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3512
3513         * text.C (rowBreakPoint): fix breaking before displayed insets
3514
3515 2004-03-01  André Pönitz  <poenitz@gmx.net>
3516
3517         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3518
3519         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3520
3521         * Makefile.am:
3522         * BufferView.C:
3523         * BufferView_pimpl.C:
3524         * buffer.C:
3525         * lyxfind.C:
3526         * lyxfunc.C:
3527         * text.C:
3528         * text2.C:
3529         * text3.C: adjust
3530
3531 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3532
3533         * lyxtext.h:
3534         * text.C:
3535         * text2.C:
3536         * rowpainter.C:
3537         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3538         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3539
3540 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3541
3542         * Bidi.[Ch] (computeTables): const correctness
3543         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3544         fill_hfill, fill_label_hfill and x from Row
3545         * lyxtext.h: prepareToPrint returns a RowMetrics
3546         * rowPainter.C: adjust
3547         * text.C (prepareToPrint): use width, not textWidth. adjust
3548         (redoParagraphInternal, cursorX): adjust
3549         * text2.C (getColumnNearX): adjust
3550         (init): put a default value to the top LyXText::width
3551
3552 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3555
3556 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3557
3558         * lyxtext.h: add FontIterator class
3559
3560         * text.C (FontIterator, operator*, operator->, operator++): add
3561         (rowBreakPoint, setRowWidth): adjust (fixing a
3562         rebreaking bug)
3563
3564 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3565
3566         * BufferView_pimpl.C (workAreaDispatch): allow also
3567         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3568
3569 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3570
3571         * text.C (rowBreakPoint): fix a bug showing with very large insets
3572
3573 2004-02-25  André Pönitz  <poenitz@gmx.net>
3574
3575         * text3.C:
3576         * cursor.[Ch]: move some mathed specific code to mathed
3577
3578 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3579
3580         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3581         use_tempdir in preferences
3582         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3583         tempfile creation
3584         * lyx_main.C: ensure that tempdir is valid
3585         * lyxlex.h: correct typo
3586         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3587         * paragraph.[Ch] (isMultiLingual): make const
3588         * cursor.[Ch] (openable): make const
3589
3590 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3591
3592         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3593
3594 2004-02-20  André Pönitz  <poenitz@gmx.net>
3595
3596         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3597
3598         * cursor.[Ch]: prepare for localized getStatus()
3599
3600         * lyxtext.h:
3601         * tabular.C:
3602         * text.C:
3603         * text2.C:
3604         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3605
3606 2004-02-20  André Pönitz  <poenitz@gmx.net>
3607
3608         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3609
3610 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3611
3612         * text2.C (setCursorFromCoordinates): switch to absolute coords
3613         (cursorUp): adjust
3614         (cursorDown): adjust
3615         * text3.C (dispatch): adjust
3616
3617 2004-02-16  André Pönitz  <poenitz@gmx.net>
3618
3619         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3620           insets/ChangeLog)
3621
3622         * cursor_slice.[Ch]: remove unneeded acessor function
3623
3624         * lyxtext.h: rename rtl() to isRTL()
3625
3626         * rowpainter.C:
3627         * tabular.C:
3628         * text.C:
3629         * text2.C:
3630         * text3.C: adjust
3631
3632 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3633
3634         * rowpainter.C (paintSelection): coord fix
3635
3636 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3637
3638         * Spacing.C: compile fix
3639
3640 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3641
3642         * cursor.C (dispatch): restore current_ before returning
3643
3644 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3645
3646         * text2.C (cursorUp, cursorDown): fix coords
3647         (moveUp): fix crash
3648
3649 2004-02-12  André Pönitz  <poenitz@gmx.net>
3650
3651         * lyxtext.h:
3652         * text.C:
3653         * text2.C:
3654         * text3.C: add LCursor & parameter to most cursor movement functions
3655           remove usage of LyXText::cursorRow() and cursorPar()
3656
3657         * cursor.[Ch]: add textRow() needed members
3658
3659         * BufferView.C:
3660         * BufferView_pimpl.C:
3661         * paragraph.[Ch]:
3662         * BufferView.C:
3663         * BufferView_pimpl.C: adjust
3664
3665 2004-02-11  André Pönitz  <poenitz@gmx.net>
3666
3667         * lyxfunc.C:
3668         * BufferView.[Ch]:
3669         * BufferView_pimpl.C: shift undo/redo handling
3670
3671         * cursor.[Ch]: fix mathed crash
3672
3673         * lyxfind.C:
3674         * lyxtext.h: move selectionAsText to LCursor
3675
3676         * output_latex.C:
3677         * paragraph.C:
3678         * text.C:
3679         * text2.C:
3680         * text3.C: adjust
3681
3682         * rowpainter.C: fix excessive drawing
3683
3684 2004-02-06  André Pönitz  <poenitz@gmx.net>
3685
3686         * BufferView.[Ch]:
3687         * BufferView_pimpl.[Ch]:
3688         * text3.C: move some text specific LFUN handling
3689
3690 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3691
3692         * text3.C (checkInsetHit): adjust coords
3693         * text2.C (getColumnNearX): adjust coords
3694         (edit): adjust coords
3695         * text.C (getRowNearY): add two asserts
3696
3697 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3698
3699         * converter.C:
3700         * format.C: add using std::distance to compile on gcc 2.95/stlport
3701
3702 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3703
3704         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3705
3706 2004-02-04  André Pönitz  <poenitz@gmx.net>
3707
3708         * BufferView.[Ch] (insertInset):
3709         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3710
3711         * text2.C:
3712         * text3.C: adjust
3713
3714 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3715
3716         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3717         on the default clause of the switch
3718         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3719         wasn't catched by LCursor::dispatch
3720
3721 2004-02-03  André Pönitz  <poenitz@gmx.net>
3722
3723         * BufferView.C:
3724         * cursor.[Ch]: some additional asserts
3725
3726         * undo.[Ch]: remove LyXText dependency in interface
3727
3728         * lyxfunc.C: adjust
3729
3730         * lyxtext.h (firstPar, lastPar): remove dead functions
3731
3732         * text.C:
3733         * text2.C:
3734         * text3.C:
3735         * paragraph.[Ch]: adjust
3736
3737 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3738
3739         * lyxfind.C (find): fix argument order in call to ::find
3740
3741 2004-02-02  André Pönitz  <poenitz@gmx.net>
3742
3743         * cursor.[Ch]: remove direct access to anchor
3744
3745         * text.C: remove findText() hack
3746
3747 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3748
3749         * iterators.[Ch] (lockPath): remove in favour of...
3750         * BufferView.[Ch] (setCursor): this addition
3751         * BufferView.C (putSelectionAt): adjust
3752         * undo.C (performUndoOrRedo): adjust
3753         * lyxfunc.C (dispatch): adjust
3754
3755 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3756
3757         * iterators.C (lockPath): add a missing slice
3758         * undo.C (performUndoOrRedo): remove redundant positioning code
3759
3760 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * vc-backend.C (scanMaster): ";" -> ';'
3763
3764 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3765
3766         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3767         std::binary_function
3768
3769         * lyxtextclass.C (compare_name): rename to...
3770         (LayoutNamesEqual): ...this
3771
3772         * lyxlex_pimpl.C (compare_tags): inherit from
3773         std::binary_function, put back into anon namespace
3774
3775         * lyxfind.C (MatchString): inherig from std::binary_function
3776         (findChange): use empty() istead of !size()
3777
3778         * format.C (FormatNamesEqual): new functor
3779         (getFormat): use it
3780         (getNumber): use it
3781         (add): use it
3782         (erase): use it
3783         (setViewer): use it
3784
3785         * converter.C (compare_Converter): rename to...
3786         (ConverterEqual): ...this, and fixup a bit.
3787         (getConverter): use it, and make function const
3788         (getNumber): use it, and make function const
3789         (add): use it
3790         (erase): use it:
3791
3792         * bufferlist.C: add using boost::bind
3793
3794         * MenuBackend.C (MenuNamesEqual): new functor
3795         (hasMenu): use it, and make function const
3796         (hasSubmenu): use nested bind to get rid of compare_memfun.
3797
3798 2004-01-30  André Pönitz  <poenitz@gmx.net>
3799
3800         * BufferView_pimpl.C:
3801         * cursor.C:
3802         * cursor.h:
3803         * cursor_slice.[Ch]:
3804         * lyxfunc.C:
3805         * lyxtext.h:
3806         * paragraph_funcs.C:
3807         * paragraph_funcs.h:
3808         * rowpainter.C:
3809         * text.C:
3810         * text2.C:
3811         * text3.C: move some of the edit(x,y) handling to the insets
3812         some coordinate changes.
3813
3814 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3815
3816         * text.C: add using statements for std::advance and std::distance
3817
3818         * paragraph.C: add using statement for std::distance
3819
3820         * lyxfind.C: add using statement for std::advance
3821
3822         * cursor.C (region): remove std:: from swap
3823         (openable): use nucleus in stead of operator->
3824
3825         * BufferView.C: add using statements for std::distance and std::swap
3826
3827 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * iterators.C: Remove the pimple, move the needed structures to
3830         the header file. Create accessor for the positions stack.
3831         (asPosIterator): remove function
3832
3833         * PosIterator.C (PosIterator): move constructors to top of file
3834         (PosIterator): reimplement the constructor taking a ParIterator in
3835         terms of setFrom.
3836         (setFrom): new function
3837         (operator!=): inline it
3838
3839 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3840
3841         * lyxfind.C (replaceAll): use std::advance
3842
3843         * iterators.h: inherit from std::iterator.
3844
3845         * PosIterator.C (advance, distance): remove
3846         * PosIterator.h: interit from std::iterator.
3847
3848 2004-01-26  André Pönitz  <poenitz@gmx.net>
3849
3850         * BufferView.[Ch]:
3851         * BufferView_pimpl.[Ch]:
3852         * InsetList.[Ch]:
3853         * PosIterator.[Ch]:
3854         * buffer.h:
3855         * bufferview_funcs.C:
3856         * cursor.[Ch]:
3857         * cursor_slice.h:
3858         * factory.[Ch]:
3859         * iterators.[Ch]:
3860         * lyxfind.C:
3861         * lyxfunc.C:
3862         * lyxtext.h:
3863         * output_docbook.C:
3864         * output_latex.C:
3865         * output_linuxdoc.C:
3866         * output_plaintext.C:
3867         * paragraph.[Ch]:
3868         * paragraph_funcs.[Ch]:
3869         * paragraph_pimpl.[Ch]:
3870         * rowpainter.C:
3871         * tabular.C:
3872         * tabular.h:
3873         * text.C:
3874         * text2.C:
3875         * text3.C: more IU:  dumps most of the rest of the mathcursor
3876     implementation into cursor.[Ch]; "globalize" a bit of it.
3877
3878 2004-01-25  Angus Leeming  <leeming@lyx.org>
3879
3880         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3881
3882 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3883
3884         * LaTeXFeatures.h: add nice_ and nice() const
3885         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3886
3887 2004-01-20  André Pönitz  <poenitz@gmx.net>
3888
3889         * BufferView.[Ch]:
3890         * BufferView_pimpl.C:
3891         * PosIterator.C:
3892         * bufferview_funcs.C:
3893         * cursor.[Ch]:
3894         * cursor_slice.[Ch]:
3895         * factory.C:
3896         * iterators.C:
3897         * lyx_cb.C:
3898         * lyxfind.C:
3899         * lyxfunc.C:
3900         * lyxtext.h:
3901         * rowpainter.C:
3902         * text.C:
3903         * text2.C:
3904         * text3.C:
3905         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3906           LCursor and mathcursor parts to LCursor and InsetBase.
3907
3908 2004-01-15  André Pönitz  <poenitz@gmx.net>
3909
3910         * cursor_slice.[Ch]: add a few covienience functions
3911
3912         * funcrequest.[Ch]: remove BufferView * member
3913
3914         * BufferView_pimpl.C:
3915         * cursor.C:
3916         * factory.[Ch]:
3917         * lyxfind.[Ch]:
3918         * lyxfunc.C:
3919         * lyxtext.h:
3920         * text3.C:
3921         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3922
3923 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3924
3925         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3926         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3927
3928 2004-01-13  André Pönitz  <poenitz@gmx.net>
3929
3930         * textcursor.[Ch]:
3931         * lyxtext.h: hide cursor and selection anchor behind accessor function
3932
3933         * BufferView.C:
3934         * BufferView_pimpl.[Ch]:
3935         * PosIterator.C:
3936         * bufferview_funcs.C:
3937         * cursor.h:
3938         * lyxfind.C:
3939         * lyxfunc.C:
3940         * text.C:
3941         * text2.C:
3942         * text3.C:
3943         * undo.C: adjust
3944
3945         * cursor.h:
3946         * cursor_slice.[Ch]: some integer type changes for inset unification
3947
3948         * lyxcursor.[hC]: remove, it's CursorSlice now.
3949
3950         * Makefile.am:
3951         * BufferView_pimpl.[Ch]:
3952         * bufferview_funcs.C:
3953         * cursor_slice.C:
3954         * lyxtext.h:
3955         * text.C:
3956         * text2.C:
3957         * text3.C:
3958         * textcursor.[Ch]: adjust
3959
3960 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3961
3962         * text2.C (undoSpan): add and use
3963         * text.C (breakParagraph): use undoSpan (fix bug 578)
3964         * lyxtext.h: adjust
3965
3966 2004-01-08  Angus Leeming  <leeming@lyx.org>
3967
3968         * BufferView_pimpl.C (MenuInsertLyXFile):
3969         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3970         * lyxfunc.C (menuNew, open, doImport):
3971         FileFilterList change to the FileDialog open and save functions.
3972
3973 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * ShareContainer.h: make isEqual and isUnique adaptable
3976
3977         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3978
3979 2004-01-07  Angus Leeming  <leeming@lyx.org>
3980
3981         * LyXAction.C:
3982         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3983
3984         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3985
3986         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3987         functions replacing find, replace and replaceAll.
3988
3989         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3990         LFUN_WORDFIND(FORWARD|BACKWARD).
3991
3992 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3993
3994         * text.C (breakParagraph): remove an outdated #warning
3995
3996 2004-01-07  André Pönitz  <poenitz@gmx.net>
3997
3998         * lyxfind.C: somewhat clearer logic
3999
4000         * text.C: prevent crash in cursorX on unitialized row cache
4001
4002 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4003
4004         * lyxcursor.[Ch] (operator>): add
4005         * textcursor.C (selStart, selEnd): use std::min and std::max
4006
4007 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4008
4009         * Chktex.C: include boost/format.hpp
4010
4011 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4012
4013         * InsetList.C: replace functor MathcIt with adaptable functor
4014         InsetTablePosLess
4015         (insetIterator): modify accordingly
4016
4017         * BranchList.h: move the BranchNamesEqual functor here from...
4018         * BranchList.C: ... to here
4019
4020         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4021         SameName and match.
4022         (add): replace a finding loop with std::find_if.
4023
4024 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4025
4026         * output_docbook.C: moving LatexParam functionality into
4027         .layout files
4028
4029 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4030
4031         * buffer.C: increment format to 229.
4032
4033 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4034
4035         * LaTeXFeatures.C:
4036         * lyx_sty.[Ch]: remove minipageindent_def
4037
4038         * LyXAction.C:
4039         * factory.C:
4040         * lfuns.h:
4041         * lyxfunc.C:
4042         * text3.C: remove LFUN_INSET_MINIPAGE
4043
4044 2003-12-28  Angus Leeming  <leeming@lyx.org>
4045
4046         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4047
4048 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4049
4050         * text2.C (setParagraph): fix off-by-one crash
4051
4052 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4053
4054         * output_docbook.C: header stuff for AGU
4055
4056 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4057
4058         * text2.C (redoCursor): remove
4059         * text.C:
4060         * text3.C:
4061         * BufferView_pimpl.C: remove calls to redoCursor and
4062         setCursor(cursor.par(), cursor.pos()) all around
4063
4064 2003-12-15  Angus Leeming  <leeming@lyx.org>
4065
4066         * buffer.C: up the format to 228.
4067
4068 2003-12-15  André Pönitz  <poenitz@gmx.net>
4069
4070         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4071         slices
4072
4073         * Makefile.am:
4074
4075         * BufferView_pimpl.C:
4076         * cursor.[Ch]:
4077         * lyxcursor.[Ch]:
4078         * rowpainter.[Ch]:
4079         * lyxtext.h:
4080         * text.C:
4081         * text2.C:
4082         * text3.C: adjust
4083
4084 2003-12-15  Angus Leeming  <leeming@lyx.org>
4085
4086         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4087         than getFromGUIName to manipulate the color.
4088
4089 2003-12-14  Angus Leeming  <leeming@lyx.org>
4090
4091         * BranchList.[Ch]: minimize the API.
4092         (Branch::getBranch, getColor): now return a 'const &'.
4093         (Branch::setSelected) now returns a bool set to true if the
4094         selection status changes.
4095         (BranchList::clear, size, getColor, setColor, setSelected,
4096         allBranches, allSelected, separator): removed.
4097         (BranchList::find): new functions, returning the Branch with
4098         the given name.
4099         (BranchList::add, remove): return a bool indicating that
4100         the operation was successful.
4101
4102         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4103         new InsetBranch::isBranchSlected member function.
4104
4105         * LColor.[Ch]: mimimize the API.
4106         (fill): renamed as addColor and made private.
4107         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4108         versions of these functions taking a string arg have been removed.
4109
4110         * bufferparams.C (readToken):
4111         * lyxfunc.C (dispatch):
4112         * lyxrc.C (read): changes due to the altered BranchList and
4113         LColor APIs.
4114
4115         * factory.C (createInset, readInset): changes due to altered
4116         InsetBranch c-tor.
4117
4118 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4119
4120         * factory.C:
4121         * lyxfunc.C: remove insetminipage. "minipage-insert"
4122         now produces a frameless minipage box inset.
4123
4124 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4125
4126         * textcursor.[Ch] (selStart,selEnd): add new methods
4127         remove selection::start, end, use LyXCursor::operator<
4128         * lyxcursor.[Ch] (operator<): add
4129         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4130         * BufferView.[Ch] (unsetXSel): add
4131         * text2.C (clearSelection): use unsetXSel,adjust
4132         * text.C: adjust
4133         * text3.C: adjust
4134         * rowpainter.C: adjust
4135         * bufferview_funcs.C (put_selection_at): adjust
4136
4137 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4138
4139         * BufferView_pimpl.C: small coord. correction
4140
4141 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4142
4143         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4144         dragging over the splash screen.
4145
4146 2003-12-11  Angus Leeming  <leeming@lyx.org>
4147
4148         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4149         as it is now handled in LyXText::dispatch.
4150
4151         * text3.C (doInsertInset): remove a level of nesting.
4152
4153 2003-12-11  Angus Leeming  <leeming@lyx.org>
4154
4155         * factory.C (createInset): changes due to the changed interface to
4156         InsetCommandMailer::string2params.
4157
4158 2003-12-10  Angus Leeming  <leeming@lyx.org>
4159
4160         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4161         'dialog-show-new-inset <inset name>'
4162
4163 2003-12-10  Angus Leeming  <leeming@lyx.org>
4164
4165         * buffer.C: up the format to 227.
4166
4167         * factory.C: the box inset is now identified simply by 'Box'.
4168
4169 2003-12-10  Angus Leeming  <leeming@lyx.org>
4170
4171         * buffer.C: up the format to 226.
4172
4173         * factory.C: the note inset is now identified simply by 'Note'.
4174
4175 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4176
4177         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4178         when a pit is enough. Standarize a couple of loops.
4179
4180 2003-12-05  Angus Leeming  <leeming@lyx.org>
4181
4182         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4183         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4184         data to the re-worked "log" dialog.
4185
4186 2003-12-03  André Pönitz  <poenitz@gmx.net>
4187
4188         * PosIterator.C:
4189         * iterators.C:
4190         * lyxtext.h:
4191         * output_latex.C:
4192         * paragraph_funcs.C:
4193         * text.C:
4194         * text2.C: use Inset::getText instead of Inset::getParagraph
4195
4196 2003-12-03  André Pönitz  <poenitz@gmx.net>
4197
4198         * buffer.[Ch]:
4199         * lyxtext.h:
4200         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4201         InsetText::read() as LyXText::read()
4202
4203 2003-12-02  Angus Leeming  <leeming@lyx.org>
4204
4205         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4206         type. Add a comment in the implementation that the function uses
4207         the stream's bad() function rather than fail() as the std::streams
4208         would do.
4209
4210 2003-12-02  André Pönitz  <poenitz@gmx.net>
4211
4212         * lyxlex.[Ch]: make interface more similar to std::stream
4213
4214         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4215
4216 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4217
4218         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4219
4220 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4221
4222         * vspace.[Ch]: remove VSpace::NONE
4223
4224 2003-12-01  André Pönitz  <poenitz@gmx.net>
4225
4226         * buffer.[Ch]:
4227         * lyxtext.h: move ParagraphList member to LyXText
4228         rename LyXText::ownerParagraphs to LyXText::paragraph
4229
4230         * CutAndPaste.C:
4231         * bufferview_funcs.C:
4232         * iterators.[Ch]:
4233         * lyx_cb.C:
4234         * paragraph.C:
4235         * rowpainter.C:
4236         * tabular.C:
4237         * text.C:
4238         * text2.C:
4239         * text3.C: adjust
4240
4241         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4242
4243         * undo.C: fix cursor positioning
4244
4245 2003-12-01  John Levon  <levon@movementarian.org>
4246
4247         * BufferView_pimpl.C: fix a crash on exit with
4248         a buffer open
4249
4250 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4251
4252         * BranchList.C: fix setSelected() method.
4253
4254 2003-11-28  André Pönitz  <poenitz@gmx.net>
4255
4256         * ParagraphParameters.[Ch]:
4257         * ParameterStruct.h: remove space above/below from Paragraph to
4258          InsetVSpace
4259
4260         * BufferView_pimpl.C:
4261         * factory.C:
4262         * lyxfunc.C:
4263         * lyxtext.h:
4264         * output_latex.C:
4265         * paragraph.C:
4266         * paragraph_funcs.C:
4267         * rowpainter.[Ch]:
4268         * text.C:
4269         * text2.C:
4270         * text3.C: adjust
4271
4272 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4273
4274         * factory.C: Syntax change for CharStyles
4275
4276 2003-11-28  André Pönitz  <poenitz@gmx.net>
4277
4278         * BufferView.[Ch]:
4279         * BufferView.[Ch]:
4280         * buffer.[Ch]:
4281         * buffer.[Ch]: move LyXText member
4282
4283 2003-11-28  André Pönitz  <poenitz@gmx.net>
4284
4285         * BufferView.[Ch]: make LyXText * text a private member
4286
4287         * BufferView_pimpl.C:
4288         * cursor.C:
4289         * iterators.C:
4290         * lyx_cb.C:
4291         * lyxfind.C:
4292         * lyxtext.h:
4293         * rowpainter.[Ch]:
4294         * text.C:
4295         * text2.C:
4296         * undo.C: adjust
4297
4298         * output_plaintext.C: cleanup
4299
4300 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4301
4302         * buffer.C:
4303         * lyxtextclass.[Ch]: parametrize SGML document header
4304
4305 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4306
4307         * converter.[Ch]:
4308         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4309         getFlavor().
4310
4311 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4312
4313         * text2.C (setFont): rework using PosIterator (no more recursive)
4314         (setCharFont): no more needed
4315         (setLayout): no more selection cursors fiddling (done by redoCursor)
4316         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4317         destroy remaining ones)
4318
4319 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4320
4321         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4322         * lyxtext.h: ditto
4323         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4324         selection cursors
4325         * lyxfunc.C: adjust
4326         * text3.C: adjust + re-allow multi par depth changes
4327         * textcursor.C: simplify a bit
4328
4329 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4330
4331         * src/buffer.C:
4332         * src/lyxlayout.C:
4333         * src/lyxlayout.h:
4334         * src/lyxtext.h:
4335         * src/output_docbook.C:
4336         * src/output_latex.C:
4337         * src/paragraph.C:
4338         * src/paragraph.h:
4339         * src/sgml.C:
4340         * src/sgml.h:
4341         * src/text2.C: Introducing a number of tags parametrizing various
4342         XML formats that we may want to support
4343
4344 2003-11-25  André Pönitz  <poenitz@gmx.net>
4345
4346         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4347
4348         * lyxtext.h (leftMargin/rightMargin): simplify interface
4349
4350         * rowpainter.C:
4351         * text.C:
4352         * text2.C:
4353         * text3.C: adjust
4354
4355 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4356
4357         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4358         master file to any child files. Fixes bug 546.
4359
4360 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4361
4362         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4363
4364 2003-11-24  André Pönitz  <poenitz@gmx.net>
4365
4366         * rowpainter.C: simplification
4367
4368         * text2.C (updateCounters): remove call to redoParagraph on
4369         changed labels as this is far too expensive.
4370
4371 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4372
4373         * converter.C (convert): fix a crash: this function gets
4374         called with buffer == 0 from importer code.
4375
4376 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4377
4378         * text3.C (cursorPrevious): make sure that we do not compare
4379         iterators form different containers.
4380         (cursorNext): ditto
4381
4382         * rowpainter.C (paintSelection): make sure that we do not compare
4383         iterators from different containers.
4384
4385         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4386         iterators from different ParagraphList containers.
4387         [NEXT] ditto
4388
4389         * text2.C (LyXText): change order of initialization slightly
4390         (operator=): new function. copy all variables except cache_par_
4391         (moveUp): make sure that we do not compare iterators from
4392         different ParagraphList constainers.
4393         (moveDown): ditto
4394
4395         * text.C (firstPar): new function
4396         (lastPar): new function
4397         (endPar): new function
4398
4399         * lyxtext.h: move things around and group public functions, public
4400         variables, private functions, private variables
4401
4402 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4403
4404         * factory.C: change call to InsetERT constructor to avoid
4405         additional invocation of method status
4406         * text2.C (toggleInset): remove redundant update() call
4407         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4408         instead of a Bufferview pointer
4409
4410 2003-11-21  André Pönitz  <poenitz@gmx.net>
4411
4412         * rowpainter.C: simplification
4413
4414 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4415
4416         * text3.C (dispatch): make possible to extend a word/row selection
4417         with the mouse
4418
4419 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4420
4421         * lyxtext.h: x0_,y0_ -> xo_,yo_
4422         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4423         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4424         * rowpainter.C (paintRows): paint full paragraphs
4425
4426 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4427
4428         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4429         screen coordinates)
4430
4431 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4432
4433         * lyxtext.h: add x0_, y0_
4434         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4435         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4436
4437 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4438
4439         * text2.C (setCursorIntern): move the x_target update here *
4440         * text3.C: change some bv() to true/false in calls to
4441         cursorUp/Down/Right/Left
4442         * cursor.C: use helper function.
4443
4444 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4445
4446         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4447         * paragraph_funcs.[Ch]: correct comment
4448         * rowpainter.C: do not paint selections away from bv->cursor()
4449         Fix a long standing selection painting bug.
4450         * text3.C: generalize mouse-selection code to LyXTexts other that
4451         top one
4452         * textcursor.C: do not use y coords if we can use par offsets
4453
4454 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4455
4456         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4457         cursor position after e.g. inset insert)
4458
4459 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4460
4461         * lyxfind.C (replace): adjust to locking removal + some
4462         code simplification
4463
4464 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4465
4466         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4467         of the path
4468
4469 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4470
4471         * lyxlayout.[Ch]:
4472         * output_docbook.C: XML sanitation: new layout
4473         parameters InnerTag and CommandDepth
4474
4475 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4476
4477         * BufferView_pimpl.C:
4478         * factory.C:
4479         * text3.C: Fix the insertion and modification of button-style
4480         insets
4481
4482 2003-11-13  André Pönitz  <poenitz@gmx.net>
4483
4484         * InsetList.[Ch]: remove deleteLyXText
4485
4486         * paragraph.[Ch]: cache beginOfBody position
4487
4488         * Bidi.C:
4489         * text.C:
4490         * text2.C:
4491         * text3.C: remove superfluous update() calls
4492
4493         * vspace.C: cleanup
4494
4495 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4496
4497         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4498         * BufferView.C (fitLockedInsetCursor): remove
4499         * cursor.[Ch] (getDim): add
4500         * text.C (getRowNearY): add faster version
4501         * text3.C: remove some update calls
4502
4503 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4504
4505         * LaTeXFeatures.C:
4506         * LyXAction.C:
4507         * MenuBackend.C:
4508         * MenuBackend.h:
4509         * dispatchresult.h:
4510         * factory.C:
4511         * lfuns.h:
4512         * lyxfunc.C:
4513         * lyxtextclass.C:
4514         * lyxtextclass.h:
4515         * text3.C: The Character Style /XML short element patch.
4516
4517 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4518
4519         * text3.C:
4520         * factory.C: Small step to solving 'unable to insert some insets'
4521         problem
4522
4523 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4524
4525         * cursor.[Ch] (updatePos): new function for updating the y
4526         position of the tip inset
4527         * bufferview_funcs.C (put_selection_at):
4528         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4529
4530 2003-11-11  André Pönitz  <poenitz@gmx.net>
4531
4532         * text.C: remove big comment on invalid Paragraph pointers as it is
4533         not valid anymore
4534
4535 2003-11-11  André Pönitz  <poenitz@gmx.net>
4536
4537         * text_funcs.[Ch]: merge with ...
4538
4539         * text.C: ... this
4540
4541         * lyxtext.h:
4542         * text2.C:
4543         * text3.C: adjust
4544
4545         * Makefile.am: remove text_funcs.[Ch]
4546
4547 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4548
4549         * cursor.C (getPos): return absolute cached y coord
4550
4551         * BufferView_pimpl.C (fitCursor): new simplistic code
4552         (workAreaDispatch): add a fitCursor call
4553
4554 2003-11-10  André Pönitz  <poenitz@gmx.net>
4555
4556         * BufferView.[Ch]:
4557         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4558
4559 2003-11-10  André Pönitz  <poenitz@gmx.net>
4560
4561         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4562         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4563         indicate that the cursor needs to leave an inset
4564
4565         * lyxtext.h: remove inset locking
4566
4567         * cursor.[Ch]: re-implement functionality provided by inset locking
4568
4569         * BufferView.[Ch]:
4570         * BufferView_pimpl.[Ch]:
4571         * LyXAction.C:
4572         * bufferview_funcs.[Ch]:
4573         * factory.C:
4574         * funcrequest.[Ch]:
4575         * iterators.C:
4576         * lyx_cb.C:
4577         * lyxfind.C:
4578         * lyxfunc.C:
4579         * text.C:
4580         * text2.C:
4581         * text3.C:
4582         * undo.C: adjust
4583
4584 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4585
4586         * PosIterator.[Ch]: replace the stack with a vector, add inset
4587         accesor
4588         * iterators.[C]: adjust
4589
4590 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4591
4592         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4593         replaced
4594         * paragraph_funcs.C (readParToken): put the correct id in the
4595         error item, not the id of the top paragraph
4596
4597 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4598
4599         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4600         * bufferview_funcs.C (put_selection_at): use the above
4601
4602 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4605
4606 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4607
4608         * output_linuxdoc.h:
4609         * output_plaintext.h:
4610         * output.h:
4611         * output_docbook.h: add #include statements
4612
4613 2003-11-05  José Matos  <jamatos@lyx.org>
4614
4615         * output_docbook.[Ch]:
4616         * output_latex.[Ch]:
4617         * output_linuxdoc.[Ch]:
4618         * output_plaintext.[Ch]: New files for output formats.
4619         * output.[Ch]: New file for helper functions.
4620
4621         * buffer.[Ch]:
4622         * paragraph_funcs.[Ch]: output functions moved to new files.
4623
4624         * outputparams.h: rename of latexrunparams.h
4625
4626         * LaTeX.[Ch]:
4627         * buffer.[Ch]:
4628         * bufferlist.[Ch]:
4629         * converter.[Ch]:
4630         * exporter.C:
4631         * paragraph.[Ch]:
4632         * paragraph_funcs.[Ch]:
4633         * paragraph_pimpl.[Ch]:
4634         * tabular.[Ch]: rename ascii to plaintext
4635         and LatexRunParams to OutputParams.
4636
4637 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4638
4639         * iterators.[Ch] (text): require bv argument
4640         * undo.C (recordUndo):
4641         * lyxfunc.C (dispatch):
4642         * bufferview_funcs.C (put_selection_at): adjust
4643
4644 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4645
4646         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4647
4648 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4651         nestings
4652
4653 2003-11-04  André Pönitz  <poenitz@gmx.net>
4654
4655         * cursor.[Ch]: restructure
4656
4657         * BufferView.[Ch]:
4658         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4659
4660         * iterators.[Ch] (asCursor): remove
4661
4662         * lfuns.h: remove LFUN_INSET_EDIT
4663
4664         * lyxfunc.C:
4665         * tabular.C:
4666         * text.C:
4667         * text2.C:
4668         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4669
4670 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4671
4672         * lyxfind.[Ch]: complete overhaul
4673         * BufferView_pimpl.C:
4674         * lyxfunc.C: adjust
4675         * paragraph.[Ch] (insert): add
4676
4677 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * BufferView.[Ch]:
4680         * lyxtext.h:
4681         * text.C: remove dead spellcheck code
4682
4683 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * dispatchresult.h: add a val setter
4686
4687         * cursor.C (dispatch): use a tempvar for data_[i]
4688
4689 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * PosIterator.[Ch]: compile fix
4692
4693 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4694
4695         * text.C (cursorPar): deactivate the cursor cache
4696
4697 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4698
4699         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4700
4701 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * text3.C (dispatch): adjust for new DisptchResult semantics.
4704
4705         * lyxfunc.C (dispatch): handle update when return from
4706         Cursor::dispatch, adjust for new DispatchResult semantics.
4707
4708         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4709         DispatchResult(true) mean to not update. Add class functions for
4710         setting dispatched and update, as well as reading.
4711
4712         * cursor.C (dispatch): don't handle update here
4713
4714 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4715
4716         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4717         * trans_mgr.C: adjust
4718
4719         * paragraph_funcs.C (readParToken): exception safety
4720
4721         * lyxvc.h: store the vcs pointer in a scoped_ptr
4722         * lyxvc.C: adjust
4723
4724         * lyxsocket.C (serverCallback): exception safety
4725
4726         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4727
4728         * ispell.C (clone): make it return a auto_ptr
4729
4730         * factory.C (createInset): exception safety
4731         (readInset): exception safety
4732
4733         * bufferlist.C (newBuffer): exception safety
4734
4735         * Thesaurus.C (Thesaurus): use initialization for aik_
4736
4737         * MenuBackend.C (expandToc): exception safety.
4738
4739 2003-11-03  André Pönitz  <poenitz@gmx.net>
4740
4741         * buffer.C:
4742         * buffer.h:
4743         * bufferview_funcs.C: remove getInsetFromId()
4744
4745         * lyxcursor.[Ch]:
4746         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4747
4748         * lyxfunc.C:
4749         * text2.C:
4750         * text3.C: adjust
4751
4752 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4753
4754         * PosIterator.C (distance, advance): new
4755         * bufferview_funcs.[Ch] (put_selection_at): new
4756         * iterators.[Ch] (lockPath): new
4757
4758 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4759
4760         * iterators.[Ch] (asPosIterator): added
4761         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4762         * PosIterator.[Ch]: added
4763
4764 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4765
4766         * text3.C:
4767         * lyxfunc.C:
4768         * cursor.C (dispatch):
4769         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4770
4771         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4772         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4773         contructor, add a class function dispatched. Remove operator>=
4774
4775 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * debug.C: only use the default constructor for debugstream
4778         (lyxerr) here.
4779
4780         * main.C (main): include debug.h and setup the lyxerr streambuf
4781         here.
4782
4783 2003-10-31  José Matos  <jamatos@lyx.org>
4784
4785         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4786
4787         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4788         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4789         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4790         * paragraph_pimpl.C (simpleTeXSpecialC):
4791         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4792         add LatexRunParams argument.
4793
4794         * exporter.C (Export): change call accordingly.
4795
4796         * latexrunparams.h: add new member to take care of the other backends.
4797 2003-10-30  José Matos  <jamatos@lyx.org>
4798
4799         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4800         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4801         factorise code for paragraph output.
4802         * buffer.[Ch]:
4803         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4804         move functions.
4805
4806 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * text3.C (dispatch):
4809         * lyxfunc.C (dispatch):
4810         * cursor.C (dispatch):
4811         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4812
4813         * dispatchresult.h: make the dispatch_result_t ctor explicit
4814
4815 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4816
4817         * sgml.[Ch]:
4818         * buffer.C: small refactoring of docbook stuff
4819
4820 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4821
4822         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4823         meaning.
4824
4825 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4826
4827         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4828         operator dispatch_result_t, and operators for == != and >=
4829
4830         * cursor.C (dispatch): adjust for operator dispatch_result_t
4831         removal. comment out call to update
4832
4833         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4834
4835 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4836
4837         * text3.C:
4838         * text2.C:
4839         * text.C:
4840         * lyxtext.h:
4841         * lyxfunc.C:
4842         * cursor.C:
4843         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4844         (dispatch):
4845
4846         * dispatchresult.h: new file, DispatchResult broken out of
4847         insets/insetbase.h
4848
4849         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4850
4851 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4852
4853         * text.C (rowBreakPoint): put a hack inside #if 0
4854
4855 2003-10-28  André Pönitz  <poenitz@gmx.net>
4856
4857         * lyxtext.h:
4858         * metricsinfo.C:
4859         * paragraph_funcs.C:
4860         * rowpainter.C:
4861         * text.C:
4862         * text2.C: general cleanup (lots of small stuff)
4863
4864 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * text2.C (cursorEnd): simple fix to the "end key goes to one
4867         before the end on last row" bug
4868
4869 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4870
4871         * text.C (backspace): fix the "zombie characters"
4872
4873 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4874
4875         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4876
4877 2003-10-27  André Pönitz  <poenitz@gmx.net>
4878
4879         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4880
4881         * factory.C: handle new InsetPagebreak, InsetLine
4882
4883         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4884         and move handling into new InsetPagebreak, InsetLine
4885
4886         * BufferView_pimpl.C:
4887         * LyXAction.C:
4888         * ParagraphParameters.C:
4889         * ParameterStruct.h:
4890         * lyxfunc.C:
4891         * lyxtext.h:
4892         * paragraph.C:
4893         * paragraph.h:
4894         * paragraph_funcs.C:
4895         * paragraph_pimpl.C:
4896         * rowpainter.C:
4897         * text.C:
4898         * text2.C:
4899         * text3.C: adjust
4900
4901 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4902
4903         * text.C:
4904         * lyxrow_funcs.[Ch]:
4905         * Bidi.C:
4906         * paragraph.C:
4907         * lyxtext.h:
4908         * rowpainter.C:
4909         * text2.C:
4910         * text3.C: remove lastPos uses in favour of Row::endpos
4911
4912 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * undo.C (performUndoOrRedo): fix two crashes by setting a
4915         cursor by hand and reordering some calls. Use bv->lockInset instead
4916         of inset->edit because the latter loses cursor information
4917
4918 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4919
4920         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4921         by Martin
4922         (rowBreakPoint): fix width. change point to point + 1.
4923         Add a missing check.
4924
4925 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4926
4927         * MenuBackend.C:
4928         * lyxfunc.C: fix (at least partly) the problems
4929         with the Nav menu and headers inside branch insets
4930         reported by Kayvan
4931
4932 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4933
4934         * paragraph.C (getChar): add strong asserts
4935
4936         * lyxrow_funcs.C (lastPos): remove hideous hack
4937
4938         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4939         (fill): adjust to that (avoid an infinite loop)
4940
4941 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4942
4943         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4944
4945 2003-10-23  André Pönitz  <poenitz@gmx.net>
4946
4947         * RowList_fwd.h: change list<> to vector<> to gain speed
4948         after suggestion from Alfredo
4949
4950 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4951
4952         * lyxtext.h: move the bidi stuff from here...
4953         * text.C: and here
4954         * text2.C: and here
4955         * Bidi.[Ch]: ... to here
4956
4957 2003-10-23  André Pönitz  <poenitz@gmx.net>
4958
4959         * lyxtext.h:
4960         * text.C (isLastRow, isFirstRow): new functions
4961
4962         * paragraph.h: new width cache member
4963
4964         * rowpainter.C: replace RowList::iterator with Row & where possible
4965
4966         * lyxfunc.C: replace several view()->text with a single call
4967
4968         * toc.C: fix 'unused' warning
4969
4970 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4973         when woring with stream::pos_type
4974         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4975
4976 2003-10-22  André Pönitz  <poenitz@gmx.net>
4977
4978         * lyxtext.h:
4979         * text.C: use Row & instead of RowList::iterator
4980
4981         * lyxrow.h: rename end() to endpos()
4982
4983         * rowpainter.C:
4984         * text.C:
4985         * text2.C: adjust
4986
4987 2003-10-22  Angus Leeming  <leeming@lyx.org>
4988
4989         * buffer.[Ch] (fully_loaded): new member function, returning true
4990         only when the file has been loaded fully.
4991         Used to prevent the premature generation of previews and by the
4992         citation inset to prevent computation of the natbib-style label.
4993
4994         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4995         templates are all set up.
4996
4997         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4998
4999 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5000
5001         * text.C: fixed an "oops" in the "is a bit silly"
5002         bug fix
5003
5004 2003-10-21  André Pönitz  <poenitz@gmx.net>
5005
5006         * FuncStatus.[Ch]: small stuff, whitespace
5007
5008         * lyxfont.[Ch]: operator<<() for debug reasons
5009
5010         * lyxfunc.C:
5011         * lyxrow_funcs.C:
5012         * lyxtext.h: whitespace, spelling
5013
5014         * paragraph.C: naming of variables
5015
5016         * text.C:
5017         * text2.C: small stuff
5018
5019
5020 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5021
5022         * text.C: (1) finish off the inset display() work;
5023         (2) fix the "is a bit silly" bug (accessing char
5024         past end of par).
5025
5026 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5027
5028         * text.C: re-introduce display() for insets, fixing the
5029         various bugs (stretch of line above, math inset
5030         positioning, ...)
5031
5032 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5033
5034         * text.C (rightMargin): remove spurious semicolon
5035
5036         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5037         1415)
5038
5039 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5040
5041         * text3.C: fix one crash due to wrong cursor def
5042
5043 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5044
5045         * vc-backend.C (scanMaster): make the regex static
5046
5047         * LaTeX.C (scanAuxFile): make the regexs static
5048
5049         * text3.C (doInsertInset, dispatch, dispatch):
5050         * text2.C (cursorUp, cursorDown):
5051         * text.C (selectNextWordToSpellcheck):
5052         * BufferView_pimpl.C (dispatch):
5053         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5054
5055 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5056
5057         * lyxsocket.C: include <cerrno>
5058
5059 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5060
5061         * lyxfunc.C (dispatch): remove textcache stuff
5062
5063         * bufferlist.C (release): remove textcache stuff
5064         (closeAll): ditto
5065
5066         * TextCache.C: delete file
5067         * TextCache.h: delete file
5068
5069         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5070
5071         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5072         delete of the bv_->text.
5073         (resizeCurrentBuffer): remove texcache stuff
5074         (workAreaResize): ditto
5075
5076 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5077
5078         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5079         action.
5080
5081 2003-10-16  André Pönitz  <poenitz@gmx.net>
5082
5083         * lyxrow.[Ch]:
5084         * paragraph.h:
5085         * rowpainter.C:
5086         * text.C:
5087         * text2.C:
5088         * text3.C: speed up by storing y positions per paragraph plus per-row
5089         offset instead of having a 'full' y position in the row.
5090
5091 2003-10-15  André Pönitz  <poenitz@gmx.net>
5092
5093         * iterators.[Ch]:
5094         * iterators.[Ch]:
5095         * undo.[Ch]: make undo aware of inner insets
5096
5097 2003-10-14  Angus Leeming  <leeming@lyx.org>
5098
5099         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5100         static member functions LyX::ref() and LyX::cref.
5101         (lastfiles): new accessor functions for the new lastfiles_ member var.
5102         (addLyXView, views_): add a new LyXView to the list of views_.
5103         (updateInset): loop over all LyXViews to call their own updateInset
5104         member function, returning a pointer to the Buffer owning the inset.
5105
5106         * BufferView_pimpl.C (loadLyXFile):
5107         * MenuBackend.C (expandLastfiles):
5108         * bufferlist.C (MenuWrite, QuitLyX):
5109         lastfiles is no longer a global variable.
5110         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5111
5112         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5113         static function. Access through LyX::cref().emergencyCleanup().
5114
5115 2003-10-14  André Pönitz  <poenitz@gmx.net>
5116
5117         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5118
5119         * undo.[Ch]: restoring part of 'undo in insets'
5120
5121         * Makefile.am:
5122         * undo_funcs.[Ch]: merge with undo.[Ch]
5123
5124         * tabular.C: small cleansing stuff
5125
5126 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5127
5128         * paragraph_funcs.C (readParToken): report unknown insets as error
5129         boxes. Use the outer paragraph as location (also for unknown
5130         tokens).
5131
5132         * factory.C (readInset): do not abort on reading an unknown inset.
5133         Eat it and return 0.
5134
5135 2003-10-13  Angus Leeming  <leeming@lyx.org>
5136
5137         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5138
5139         * lyxrc.C: displayTranslator is now a function,
5140         declared in GraphicsTypes.h.
5141
5142 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5143
5144         * format.C: new placeholder $$a to pass the socket address.
5145
5146         * bufferlist.[Ch]: new function getBufferFromTmp.
5147
5148         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5149           files in the temporary dir.
5150
5151 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5152
5153         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5154
5155         * Makefile.am: add lyxsocket.[Ch].
5156
5157         * lyx_main.C (error_handler): handle SIGPIPE.
5158
5159 2003-10-13  André Pönitz  <poenitz@gmx.net>
5160
5161         * BufferView_pimpl.C:
5162         * lyxtext.h:
5163         * text.C:
5164         * text2.C:
5165         * text3.C:
5166         * undo_funcs.[Ch]: use paroffset_type instead of
5167           ParagraphList::iterators to prevent multiple conversion
5168           (and get a more robust interface)
5169
5170 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5171
5172         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5173         * lyxtext.h: ditto
5174         * text3.C (dispatch): ditto
5175
5176 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5179         move the onlyfile, use onlyfile instead of foundfile in a couple
5180         of places.
5181
5182         * DepTable.C (update): flush the error stream a bit more
5183
5184 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * lyxserver.C (callback): adjust
5187
5188         * lyxfunc.C (getStatus): add a missing brace in commented code
5189         (ensureBufferClean): reindent
5190         (dispatch): delete version taking a string
5191
5192 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * LaTeX.C (deplog): move found file handlig from here...
5195         (handleFoundFile): .. to new function here.
5196         (deplog): make sure to discover several files mentioned on the
5197         same log line.
5198
5199 2003-10-10  André Pönitz  <poenitz@gmx.net>
5200
5201         * lyxfunc.C:
5202         * lyxtext.h:
5203         * tabular.C:
5204         * text.C:
5205         * text2.C:
5206         * text3.C: fix some of the tabular crashes
5207
5208 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5209
5210         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5211
5212         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5213
5214 2003-10-09  André Pönitz  <poenitz@gmx.net>
5215
5216         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5217
5218         * BufferView.C:
5219         * BufferView_pimpl.C:
5220         * bufferview_funcs.C:
5221         * lyx_cb.C:
5222         * lyxcursor.C:
5223         * lyxfind.C:
5224         * lyxfunc.C:
5225         * lyxtext.h:
5226         * text.C:
5227         * text2.C:
5228         * text3.C:
5229         * text_funcs.[Ch]:
5230         * textcursor.[Ch]:
5231         * undo_funcs.C: adjust
5232
5233 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5234
5235         * text2.C (incrementItemDepth): new function, use a backtracking
5236         algorithm to discover the correct item depth.
5237         (resetEnumCounterIfNeeded): new function, use a backtracking
5238         algorithm to discover if counter reset is needed.
5239         (setCounter): use them. Simplify a bit. Add different labels for
5240         different item depths for itemize.
5241
5242         * paragraph.C (Paragraph): remove initialization of enumdepth
5243         (operator=): ditto
5244
5245         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5246         enumerate and itemize. Change the type of itemdepth to signed char.
5247
5248 2003-10-08  André Pönitz  <poenitz@gmx.net>
5249
5250         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5251           thing assignable.
5252         * text.C:
5253         * text2.C: adjust
5254
5255         * tabular.[Ch]: fix crash after 'row-insert'
5256
5257 2003-10-08  Angus Leeming  <leeming@lyx.org>
5258
5259         Fix doxygen warnings.
5260
5261         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5262         Remove CutAndPaste:: prefix from header file declaration.
5263
5264         * LColor.h (fill): remove LColor:: prefix from declaration.
5265
5266         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5267         use lyx::depth_type rather than Paragraph::depth_type so that
5268         header file and .C file match.
5269
5270         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5271
5272         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5273         * aspell.C: \file aspell_local.C -> \file aspell.C
5274         * gettext.C: \file gettext.C -> \file src/gettext.C
5275         * gettext.h: \file gettext.h -> \file src/gettext.h
5276         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5277         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5278         * text.C: \file text.C -> \file src/text.C
5279
5280         * toc.C: move comment so that doxygen is not confused.
5281
5282 2003-10-07  Angus Leeming  <leeming@lyx.org>
5283
5284         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5285
5286 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5287
5288         * aspell.C:
5289         * aspell_local.h: add forgotten std::string's.
5290
5291 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5292
5293         * LaTeXFeatures.C:
5294         * LyXAction.C:
5295         * factory.C:
5296         * lfuns.h:
5297         * lyxfunc.C:
5298         * text3.C: The Box patch. Fancybox support, minipage, parbox
5299
5300 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5301
5302         * CutAndPaste.h:
5303         * DepTable.h:
5304         * FloatList.h:
5305         * LaTeXFeatures.h:
5306         * ParagraphParameters.h:
5307         * TextCache.h:
5308         * Thesaurus.h:
5309         * bufferlist.h:
5310         * exporter.h:
5311         * importer.h:
5312         * lastfiles.h:
5313         * lyxfind.h:
5314         * lyxfont.h:
5315         * lyxlex.h:
5316         * lyxtextclasslist.h:
5317         * messages.h:
5318         * paragraph.h:
5319         * paragraph_pimpl.C:
5320         * textcursor.h: add <string> and other small fixes to make Lars'
5321         std::string patch compile with STLport.
5322
5323 2003-10-06  Angus Leeming  <leeming@lyx.org>
5324
5325         * LColor.h: Add missing #include <string>.
5326
5327 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5328
5329         * All most all file in all subdirs: Make <string> be the prefered
5330         way of getting to std::string, add using declarations.
5331
5332 2003-10-06  André Pönitz  <poenitz@gmx.net>
5333
5334         * metricsinfo.C: initialize LyXFont before changing attribute.
5335         (fixes the 'math in \emph is upright' bug)
5336
5337 2003-10-06  André Pönitz  <poenitz@gmx.net>
5338
5339         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5340
5341 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5342
5343         * graph.C:
5344         * paragraph_pimpl.C: Small fixes to build using STLport
5345
5346 2003-10-02  André Pönitz  <poenitz@gmx.net>
5347
5348         * lyxfunc.C:
5349         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5350
5351 2003-10-01  André Pönitz  <poenitz@gmx.net>
5352
5353         * factory.C: assert early
5354
5355 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * lyx_main.C: remove the global debug object
5358
5359         * debug.h: adjust for new debugstream
5360
5361         * debug.C: adjust for new debugstream and keep the global debug
5362         object here.
5363
5364 2003-09-22  Angus Leeming  <leeming@lyx.org>
5365
5366         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5367         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5368         an incomplete class LyXFont.
5369
5370 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5371
5372         * factory.C: bug fix in branches
5373
5374 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5375
5376         * lyxfunc.C (processKeySym): adjust
5377         (dispatch): adjust
5378         (dispatch): change arg name from ev to func, adjust
5379         (sendDispatchMessage): ditto
5380
5381         * lyx_main.C (defaultKeyBindings): adjust keybindings
5382         (deadKeyBindings): ditto
5383
5384         * kbsequence.C (addkey): return a FuncRequest
5385
5386         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5387
5388         * kbmap.C (bind): take a FuncRequest as arg, adjust
5389         (read): adjust
5390         (lookup): adjust
5391         (defkey): change to take a FuncRequest as arg, adjust
5392         (findbinding): take a FuncRequest as arg, adjust.
5393
5394         * funcrequest.h (operator=): added
5395
5396         * funcrequest.C (FuncRequest): default kb_action changed from
5397         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5398
5399         * buffer.C (dispatch): simplify
5400         (dispatch): adjust to take a FuncRequest as arg, adjust
5401
5402         * boost.C (assertion_failed): change assertion message slightly
5403
5404         * ToolbarBackend.C (read): simplify
5405
5406         * MenuBackend.C (binding): adjust call to findbinding, add a
5407         message if no binding is found.
5408         (read): simplify
5409         (expandToc): correct by adding a empty FuncRequest
5410
5411         * LyXAction.C: include <boost/assert.hpp>
5412         (isPseudoAction): delete function
5413         (LookupFunc): change name to...
5414         (lookupFunc): this. change return type to FuncRequest.
5415         (getActionName): take kb_action as arg, simplify
5416         (funcHasFlag): add an assert, simplify.
5417
5418 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5419
5420         * toc.C (action): return a FuncRequest, simplify
5421
5422         * lyxfunc.C (processKeySym): adjust
5423         (getStatus): delete version that takes an int.
5424         (getStatus): adjust
5425         (dispatch): delete version that takes action as int
5426         (dispatch): adjust
5427         (sendDispatchMessage): simplify and adjust
5428
5429         * funcrequest.C (getArg): take unsigned int as arg
5430
5431         * ToolbarBackend.C (read): adjust
5432         (add): delete version that takes func as a string.
5433         (getIton): take a FuncRequest as arg
5434
5435         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5436         action.
5437
5438         * MenuBackend.C (MenuItem): add a new construct that only takes a
5439         Kind, simplify the constructor use for submenus.
5440         (add): adjust
5441         (expandLastfiles): adjust
5442         (expandDocuments): adjust
5443         (expandFormats): adjust
5444         (expandFloatListInsert): adjust
5445         (expandFloatInsert): adjust
5446         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5447
5448         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5449         Remove class variables lyx_pseudo_map and lyx_arg_map
5450
5451         * LyXAction.C (searchActionArg): delete function
5452         (getPseudoAction): delete function
5453         (retrieveActionArg): delete function
5454         (LookupFunc): make it return kb_action, simplify.
5455         (getActionName): simplify
5456
5457         * factory.C (createInset): fix new bug
5458
5459 2003-09-19  Angus Leeming  <leeming@lyx.org>
5460
5461         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5462         masterFilename_ parameter in the include inset.
5463
5464         * factory.C (createInset): changes due to the changes to InsetInclude.
5465
5466 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5467
5468         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5469
5470 2003-09-18  Angus Leeming  <leeming@lyx.org>
5471
5472         * buffer.C:
5473         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5474         Inset::fillWithBibKeys.
5475         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5476
5477 2003-09-18  Angus Leeming  <leeming@lyx.org>
5478
5479         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5480         variables.
5481         (ctor): pass and store a 'Buffer const &'
5482         (buffer): new member function.
5483
5484         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5485         '*this' to the LaTeXFeatures ctor.
5486
5487 2003-09-18  Angus Leeming  <leeming@lyx.org>
5488
5489         * LColor.h:
5490         * lyxfont.C:
5491         * lyxfont.h:
5492         * lyxtext.h:
5493         * text.C: rename EnumLColor as LColor_color.
5494
5495 2003-09-18  Angus Leeming  <leeming@lyx.org>
5496
5497         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5498         remove #include "insets/insetbase.h" from cursor.h.
5499
5500 2003-09-18  Angus Leeming  <leeming@lyx.org>
5501
5502         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5503         InsetOld_code to remove #include "inset.h".
5504
5505         * iterators.C: add #include "insets/inset.h"
5506
5507 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5508
5509         * BufferView.C: remove more locking stuff that apparently doesn't
5510         do anything sensible.
5511
5512 2003-09-16  André Pönitz  <poenitz@gmx.net>
5513
5514         * paragraph.[Ch]:
5515         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5516           performance boost.
5517
5518 2003-09-16  Angus Leeming  <leeming@lyx.org>
5519
5520         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5521
5522         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5523         arg/return type.
5524
5525         * paragraph.h: remove #include "lyxfont.h". Forward declare
5526         LyXFont_size.
5527
5528 2003-09-16  Angus Leeming  <leeming@lyx.org>
5529
5530         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5531         of support/textutils.h.
5532         (isWord): move the contents of support/textutils.h's IsWordChar here.
5533
5534         * buffer.C:
5535         * lyxfind.C:
5536         * rowpainter.C:
5537         * text.C:
5538         * text2.C: add #include "paragraph.h".
5539
5540         * rowpainter.C:
5541         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5542
5543 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * main.C:
5546         * lyx_main.C:
5547         * lyx_cb.C:
5548         * buffer.C:
5549         * LaTeX.C: use namespace alias for lyx::support::os
5550
5551 2003-09-16  Angus Leeming  <leeming@lyx.org>
5552
5553         * bufferparams.C:
5554         * bufferview_funcs.C:
5555         * factory.C:
5556         * lyxfunc.C:
5557         * paragraph_pimpl.C:
5558         * rowpainter.C:
5559         * text.C: add #include "LColor.h".
5560
5561 2003-09-16  Angus Leeming  <leeming@lyx.org>
5562
5563         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5564         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5565         return LyXFont &.
5566         Store the FontBits::color variable as an int rather than as an
5567         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5568         file.
5569
5570         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5571         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5572         string calls together.
5573
5574         * lyxrc.C: add #include "LColor.h".
5575
5576 2003-09-15  Angus Leeming  <leeming@lyx.org>
5577
5578         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5579         a cow_ptr.
5580
5581 2003-09-15  Angus Leeming  <leeming@lyx.org>
5582
5583         * LColor.h: add an EnumLColor wrapper for LColor::color.
5584
5585         * lyxfont.[Ch] (color, setColor, realColor):
5586         * lyxtext.h, text.C (backgroundColor):
5587         pass EnumLColor args to/from the functions, rather than LColor::color
5588         ones.
5589
5590         * lyxfont.h:
5591         * lyxtext.h: forward declare EnumLColor.
5592
5593         * lyx_main.C: add #include "LColor.h".
5594
5595 2003-09-15  Angus Leeming  <leeming@lyx.org>
5596
5597         * .cvsignore: add lyx-gtk.
5598
5599 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * Chktex.C
5602         * LaTeX.C
5603         * LaTeXFeatures.C
5604         * ParagraphParameters.C
5605         * Spacing.C
5606         * buffer.C
5607         * bufferparams.C
5608         * bufferview_funcs.C
5609         * chset.C
5610         * counters.C
5611         * funcrequest.C
5612         * lyxfont.C
5613         * lyxgluelength.C
5614         * lyxlength.C
5615         * paragraph.C
5616         * paragraph_funcs.C
5617         * text3.C
5618         * vc-backend.C: remove usage of STRCONV
5619
5620 2003-09-15  Angus Leeming  <leeming@lyx.org>
5621
5622         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5623         explicitly define the color passed to the painter.
5624
5625 2003-09-15  Angus Leeming  <leeming@lyx.org>
5626
5627         * bufferparams.C (BufferParams): reorder member initializers to avoid
5628         compiler warning.
5629
5630 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5631
5632         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5633         * text.C (updateRowPositions): remove an unusual nop
5634
5635 2003-09-12  André Pönitz  <poenitz@gmx.net>
5636
5637         * BufferView_pimpl.C:
5638         * Bullet.C:
5639         * layout.h:
5640         * lyxfunc.C:
5641         * lyxlayout.[Ch]:
5642         * lyxtextclass.C:
5643         * rowpainter.C:
5644         * text.C:
5645         * text2.C:
5646         * Counters.[Ch]: finish the 'automatic counters' job
5647
5648 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5649
5650         * aspell.C: include <boost/assert.cpp> (compile fix)
5651
5652 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5653
5654         * boost.C (assertion_failed): use lyx::support::abort instead of
5655         assert.
5656
5657 2003-09-10  Angus Leeming  <leeming@lyx.org>
5658
5659         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5660         with their _fwd progeny.
5661
5662 2003-09-09  Angus Leeming  <leeming@lyx.org>
5663
5664         134 files throughtout the source tree: replace 'using namespace abc;'
5665         directives with the appropriate 'using abc::xyz;' declarations.
5666
5667 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5668
5669         * boost.C (emergencyCleanup): moved here from LAssert.c
5670         (assertion_failed): new function, called by BOOST_ASSERT
5671
5672         * several files: change Assert to BOOST_ASSERT
5673
5674 2003-09-09  Angus Leeming  <leeming@lyx.org>
5675
5676         * buffer.[Ch]: Add an Impl class and move Buffer's member
5677         variables into it. As a result move several header files out of
5678         buffer.h.
5679
5680         Add header files to lots of .C files all over the tree as a result.
5681
5682 2003-09-09  Angus Leeming  <leeming@lyx.org>
5683
5684         * buffer.[Ch]: make Buffer's member variables private. Add
5685         accessor functions.
5686
5687         Lots of changes all over the tree as a result.
5688
5689 2003-09-08  Angus Leeming  <leeming@lyx.org>
5690
5691         * graph.C: #include <config.h>.
5692
5693 2003-09-08  Angus Leeming  <leeming@lyx.org>
5694
5695         * BranchList.C:
5696         * BufferView.C:
5697         * BufferView_pimpl.C:
5698         * CutAndPaste.C:
5699         * DepTable.C:
5700         * LaTeX.C:
5701         * LaTeXFeatures.C:
5702         * LyXAction.C:
5703         * MenuBackend.C:
5704         * TextCache.C:
5705         * aspell.C:
5706         * buffer.C:
5707         * bufferlist.C:
5708         * changes.C:
5709         * chset.C:
5710         * converter.C:
5711         * counters.C:
5712         * debug.C:
5713         * graph.C:
5714         * ispell.C:
5715         * lyx_cb.C:
5716         * lyxfind.C:
5717         * lyxfunc.C:
5718         * lyxlex_pimpl.C:
5719         * lyxrc.C:
5720         * lyxrow.C:
5721         * paragraph.C:
5722         * rowpainter.C:
5723         * texrow.C:
5724         * text.C:
5725         * text2.C:
5726         * toc.C: remove redundant using directives.
5727
5728 2003-09-07  Angus Leeming  <leeming@lyx.org>
5729
5730         * LaTeXFeatures.h: remove #include "support/types.h".
5731         * ToolbarBackend.h: remove #include <algorithm>.
5732         * changes.h: remove #include <ctime>.
5733         * debug.h: remove #include <iosfwd>.
5734         * graph.h: remove #include "support/std_string.h".
5735         * lyx_main.h: remove #include <csignal>.
5736         * lyxlex_pimpl.h: remove #include <fstream>.
5737         * sgml.h: remove #include <algorithm>, <utility>.
5738         * toc.h: remove #include "support/std_ostream.h".
5739         Add #include <iosfwd>.
5740
5741 2003-09-07  Angus Leeming  <leeming@lyx.org>
5742
5743         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5744
5745         * converter.h: forward declare LatexRunParams.
5746         * encoding.h: remove #include "lyxrc.h".
5747         * lyxtext.h: remove #include "LColor.h".
5748         * lyxtextclass.h: remove #include "support/types.h".
5749         * trans.h: remove #include "tex-accent.h".
5750         * trans_mgr.h: remove #include "tex-accent.h".
5751         * insets/inset.h: remove #include "support/types.h", <vector>.
5752         * insets/insetcollapsable.h: remove #include "LColor.h".
5753         * insets/insetinclude.h: remove #include "dimension.h".
5754         * insets/insetlatexaccent.h: remove #include "dimension.h".
5755         * insets/insetoptarg.h:: remove #include "insettext.h".
5756         * insets/insettext.h: remove #include "dimension.h",
5757         <boost/shared_ptr.hpp>
5758
5759         * insets/renderers.h: add #include "dimension.h".
5760         * insets/updatableinset.h: add #include "support/types.h".
5761
5762         * many .C files: Associated changes.
5763
5764 2003-09-06  Angus Leeming  <leeming@lyx.org>
5765
5766         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5767         one, inside testInvariant.
5768
5769         * PrinterParams.C: new file.
5770         * PrinterParams.[Ch]: move the function bodies out of line.
5771
5772 2003-09-06  Angus Leeming  <leeming@lyx.org>
5773
5774         * ParagraphParameters.h: forward declare ParameterStruct rather than
5775         including its header file.
5776         (depth): moved out-of-line.
5777
5778 2003-09-06  Angus Leeming  <leeming@lyx.org>
5779
5780         * BufferView_pimpl.h:
5781         * kbmap.h:
5782         * kbsequence.h:
5783         * lyxfunc.h: forward declare LyXKeySym rather than
5784         #include "frontends/LyXKeySym.h".
5785
5786         * BufferView_pimpl.C:
5787         * kbmap.C:
5788         * kbsequence.C:
5789         * lyxfunc.C: associated changes.
5790
5791 2003-09-06  Angus Leeming  <leeming@lyx.org>
5792
5793         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5794         As a result, can remove the #include "insets/inset.h" from BufferView.h
5795
5796 2003-09-06  Angus Leeming  <leeming@lyx.org>
5797
5798         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5799         As a result, can remove the #include "insets/inset.h" from BufferView.h
5800
5801 2003-09-06  Angus Leeming  <leeming@lyx.org>
5802
5803         * buffer_funcs.C:
5804         * buffer.h:
5805         * bufferlist.C:
5806         * BufferView.C:
5807         * bufferview_funcs.C:
5808         * BufferView_pimpl.C:
5809         * CutAndPaste.C:
5810         * lyx_cb.C:
5811         * lyxfunc.C:
5812         * paragraph.h:
5813         * ParagraphParameters.C:
5814         * tabular.C:
5815         * text3.C:
5816         * toc.C:
5817         * undo_funcs.C:
5818         * frontends/controllers/ControlDocument.C:
5819         * insets/insetcaption.C: rearrange the #includes into some sort of
5820         coherent order.
5821
5822         * buffer.h: remove #includes ErrorList.h, undo.h
5823
5824 2003-09-06  Angus Leeming  <leeming@lyx.org>
5825
5826         * support/types.h: add a 'depth_type' typedef, used to store the
5827         nesting depth of a paragraph.
5828
5829         * paragraph.h:
5830         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5831         defining explicitly.
5832
5833         * buffer.h:
5834         * paragraph_funcs.h:
5835         * ParagraphParameters.h:
5836         * sgml.h: use lyx::depth_type rather than Paragraph or
5837         ParameterStruct's depth_type.
5838
5839         * buffer.h
5840         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5841
5842         * BufferView.C:
5843         * BufferView_pimpl.C:
5844         * CutAndPaste.C:
5845         * ParagraphParameters.C:
5846         * buffer_funcs.C:
5847         * bufferlist.C:
5848         * bufferview_funcs.C:
5849         * lyx_cb.C:
5850         * lyxfunc.C:
5851         * tabular.C:
5852         * text3.C:
5853         * toc.C:
5854         * undo_funcs.C:
5855         * frontends/LyXView.C:
5856         * frontends/controllers/ControlDocument.C:
5857         * frontends/controllers/ControlErrorList.C:
5858         * insets/insetbibitem.C:
5859         * insets/insetbranch.C:
5860         * insets/insetcaption.C:
5861         * insets/insetcollapsable.C:
5862         * insets/insetenv.C:
5863         * insets/insetert.C:
5864         * insets/insetfloat.C:
5865         * insets/insetfoot.C:
5866         * insets/insetfootlike.C:
5867         * insets/insetnewline.C:
5868         * insets/insetquotes.C:
5869         * insets/insettabular.C:
5870         * insets/insettext.C:
5871         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5872
5873         * frontends/controllers/ControlChanges.C: #include "changes.h".
5874
5875 2003-09-06  Angus Leeming  <leeming@lyx.org>
5876
5877         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5878         than #including paragraph.h.
5879
5880         * ParagraphList.h:
5881         * RowList.h: deleted. Superfluous.
5882
5883         * CutAndPaste.h:
5884         * iterators.h:
5885         * lyxcursor.h:
5886         * lyxtext.h:
5887         * text_funcs.h:
5888         * undo.h:
5889         * undo_funcs.h:
5890         * insets/inset.h:
5891         * insets/insettext.h: use ParagraphList_fwd.h rather than
5892         ParagraphList.h.
5893
5894         * paragraph.h: don't forward declare ParagraphList.
5895
5896         * buffer.h:
5897         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5898         rather than ParagraphList.h. paragraph.h is still needed for the
5899         Paragraph::depth_type parameters.
5900
5901         * textcursor.h: enable it to compile stand-alone in light of the
5902         above changes.
5903
5904         * bufferview_funcs.C:
5905         * iterators.C:
5906         * lyxfunc.C:
5907         * lyxrow_funcs.C:
5908         * paragraph.C:
5909         * rowpainter.C:
5910         * text.C:
5911         * text2.C:
5912         * text3.C:
5913         * text_funcs.C:
5914         * textcursor.C:
5915         * undo.C:
5916         * frontends/controllers/ControlParagraph.C:
5917         * frontends/controllers/ControlTabular.C:
5918         * insets/insetmarginal.C:
5919         * insets/insetminipage.C:
5920         * insets/insetnote.C:
5921         * insets/insetoptarg.C: add header files needed to compile again.
5922
5923 2003-09-06  Angus Leeming  <leeming@lyx.org>
5924
5925         * RowList_fwd.h: new file, forward-declaring Row rather than
5926         #including lyxrow.h.
5927
5928         * lyxrow_funcs.h:
5929         * lyxtext.h:
5930         * paragraph.h:
5931         * insets/insettext.h: use it instead of RowList.h
5932
5933         * bufferview_funcs.C:
5934         * lyxfunc.C:
5935         * lyxrow_funcs.C:
5936         * paragraph.C:
5937         * rowpainter.C:
5938         * text.C:
5939         * text2.C:
5940         * text3.C: #include "RowList.h".
5941
5942 2003-09-05  Angus Leeming  <leeming@lyx.org>
5943
5944         * factory.C (createInset):
5945         * vspace.C (c-tor): replace sscanf call with an istringstream.
5946         * ispell.C: re-add missing HP/UX headers.
5947         * lyxserver.C: re-add missing  os2 headers.
5948
5949 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5950
5951         * BranchList.C:
5952         * graph.C:
5953         * ispell.C:
5954         * lastfiles.C:
5955         * lyx_cb.C:
5956         * lyxserver.C:
5957         * texrow.C:
5958         * text3.C: re-add missing system headers, needed for 2.95.2.
5959
5960 2003-09-05  Angus Leeming  <leeming@lyx.org>
5961
5962         Changes most place everywhere due to the removal of using directives
5963         from support/std_sstream.h.
5964
5965 2003-09-05  Angus Leeming  <leeming@lyx.org>
5966
5967         Replace LString.h with support/std_string.h,
5968         Lsstream.h with support/std_sstream.h,
5969         support/LIstream.h with support/std_istream.h,
5970         support/LOstream.h with support/std_ostream.h.
5971
5972         Changes resulting throughout the tree.
5973
5974 2003-09-05  Angus Leeming  <leeming@lyx.org>
5975
5976         * sgml.h: ensure that the header file can be compiled stand-alone.
5977         * *.C: strip out redundant #includes. (320 in total.)
5978
5979 2003-09-04  Angus Leeming  <leeming@lyx.org>
5980
5981         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5982         here (from getPackages).
5983
5984         * debug.[Ch]: add a new EXTERNAL tag.
5985
5986 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5987
5988         * text2.C (cursorEnd): simplify
5989         (setCursor): adjust
5990         (getColumnNearX): adjust
5991
5992         * text.C (computeBidiTables): adjust
5993         (fill): adjust
5994
5995         * rowpainter.C (paintChars): adjust
5996         (paintSelection): adjust
5997         (paintChangeBar): adjust
5998         (paintText): adjust
5999
6000         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6001         lastPos instead.
6002         (numberOfSeparators): adjust
6003
6004 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6005
6006         * LyXAction.C:
6007         * box.[Ch]:
6008         * lfuns.h:
6009         * lyxfunc.C:
6010         * text3.C: Restricts the mouse click functionality
6011         of insets like bibtex, include, toc and floatlist to the visible
6012         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6013         up the dialogs. Cursor has to be in front of the inset (i.e.
6014         start of row) for this to function.
6015
6016 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6017
6018         * bufferview_funcs.C (currentState): output row information
6019
6020 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6021
6022         * bufferview_funcs.C (currentState): output paragraph position
6023
6024 2003-09-04  Angus Leeming  <leeming@lyx.org>
6025
6026         * FloatList.h: move out #include "Floating.h".
6027         * LaTeX.h: move out #include "DepTable.h".
6028         * LyXAction.h: move out #include "funcrequest.h".
6029         * buffer.h: move out #include "author.h", "iterators.h".
6030         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6031         * lyx_main.h: move out #include "errorlist.h".
6032         * lyxfunc.h: move out #include "FuncStatus.h".
6033         * lyxtext: move out #include "lyxcursor.h".
6034         * paragraph_pimpl.h: move out #include "counters.h".
6035
6036 2003-09-03  Angus Leeming  <leeming@lyx.org>
6037
6038         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6039         preamble_snippets list, enabling us to add snippets to the preamble
6040         only if the snippet was not there already.
6041
6042 2003-09-04  Angus Leeming  <leeming@lyx.org>
6043
6044         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6045
6046 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6049         update
6050
6051 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6052
6053         * BranchList.C: point fix, earlier forgotten
6054
6055 2003-09-02  Angus Leeming  <leeming@lyx.org>
6056
6057         * box.C (contains): renamed from 'contained' after a fantastic
6058         amount of hot air.
6059
6060 2003-09-02  John Levon  <levon@movementarian.org>
6061
6062         * BufferView.C:
6063         * lyxcursor.h:
6064         * lyxcursor.C:
6065         * lyxfunc.C:
6066         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6067
6068 2003-09-02  John Levon  <levon@movementarian.org>
6069
6070         * text2.C: simplification of cursorEnd(), including partial
6071         fix for bug 1376
6072
6073 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6074
6075         * buffer.C (readFile): add a space
6076
6077 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6078
6079         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6080
6081 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * buffer.C (readFile): new function, take a filename and a
6084         ParagraphList::iterator
6085         (readFile): adjust
6086         (readFile): adjust, make it private. don't use setStream, make
6087         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6088         always contain the filename.
6089
6090         * BufferView.C (insertLyXFile): simplify and make it work for
6091         gzipped files.
6092
6093 2003-08-30  John Levon  <levon@movementarian.org>
6094
6095         * Makefile.am: fix dist (from Kayvan)
6096
6097 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * most files: change to use const Buffer refs
6100
6101 2003-08-27  André Pönitz  <poenitz@gmx.net>
6102
6103         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6104         on top of ownerPar().
6105
6106 2003-08-27  John Levon  <levon@movementarian.org>
6107
6108         * funcrequest.C: properly initialise POD members
6109
6110 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6111
6112         * lyxtext.h (top_y): move top_y from here
6113         * text.C:
6114         * text2.C:
6115         * text3.C:
6116         * BufferView.[Ch]:
6117         * BufferView_pimpl.[Ch]: to here
6118         * frontends/screen.C:
6119         * insets/insettabular.C:
6120         * insets/insettext.C: adjust
6121         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6122
6123 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6124
6125         * BufferView.[Ch]:
6126         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6127
6128 2003-08-26  André Pönitz  <poenitz@gmx.net>
6129
6130         * paragraph_func.[Ch] (outerPar): new function
6131
6132         * paragraph.C:
6133         * paragraph_funcs.C:
6134         * paragraph_funcs.h:
6135         * paragraph_pimpl.C:
6136         * text2.C: remove Inset::par_owner
6137
6138 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6139
6140         * lyxrow_funcs.C:
6141         * lyxtext.h:
6142         * text.C:
6143         * text2.C: eliminates the needFullRow/display() stuff
6144         altogether, putting the logic in metrics/draw in the insets.
6145
6146 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6147
6148         * text2.C (redoParagraphInternal, redoParagraphs):
6149         * text.C (redoParagraph): add a call to updateRowPositions at the
6150         end of each 'metrics-like' call. Remove all others.
6151         (getRow): remove the 'y-computing' version.
6152         (getRowNearY): do not compute nor return the real y. Solve the
6153         'y < 0' problem and simplify.
6154
6155 2003-08-22  Angus Leeming  <leeming@lyx.org>
6156
6157         * *.[Ch]: clean-up of licence and author blurbs.
6158         Also move config.h out of a few .h files and into a few .C files.
6159
6160 2003-08-22  André Pönitz  <poenitz@gmx.net>
6161
6162         * lyxrow.[Ch]: add x_ and *fill_ members
6163
6164         * lyxtext.h:
6165         * text.C:
6166         * rowpainter.C:
6167         * text2.C: adjust/remove prepareToPrint() calls
6168
6169 2003-08-22  André Pönitz  <poenitz@gmx.net>
6170
6171         * lyxrow.[Ch]: add  end_ member
6172
6173         * lyxrow_funcs.C: use LyXRow::end_
6174
6175         * lyxtext.h (singleWidth): add LyXFont parameter
6176
6177         * rowpainter.C:
6178         * text2.C: adjust LyXText::singleWidth() calls
6179
6180         * text.C (redoParagraph): simplify row breaking logic
6181
6182
6183 2003-08-19  André Pönitz  <poenitz@gmx.net>
6184
6185         * funcrequest.C: initialize button_ member
6186
6187         * text3.C:
6188         * rowpainter.[Ch]: interface consolidation
6189
6190 2003-08-18  André Pönitz  <poenitz@gmx.net>
6191
6192         * BufferView.C:
6193         * BufferView_pimpl.C:
6194         * lyxfind.C:
6195         * paragraph_funcs.C:
6196         * rowpainter.C:
6197         * text3.C: remove LyXScreen::draw() and fitCursor calls
6198
6199         * BranchList.h: remove spurious semicolons
6200
6201         * MenuBackend.C: fix branchlist related crash
6202
6203 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6204
6205         * BranchList.[Ch]:
6206         * InsetList.[Ch]:
6207         * LColor.[Ch]:
6208         * LyXAction.C:
6209         * Makefile.am:
6210         * MenuBackend.[Ch]:
6211         * bufferparams.[Ch]:
6212         * factory.C:
6213         * lfuns.h:
6214         * lyxfunc.C:
6215         * text3.C: implements the 'branch inset'
6216         idea. This allows the output of various versions of a document
6217         from a single source version, selectively outputing or suppressing
6218         output of parts of the text.
6219         This implementation contains a 'branch list editor' in a separate
6220         tab of the document settings dialog. Branches are user definable
6221         and have a "display colour" to distinguish them on-screen.
6222
6223         ColorHandler was somewhat cleaned up.
6224         (1) make possible a dynamically growing LColor list by allowing
6225         the graphic context cache to grow along (vector);
6226         (2) eliminate an IMHO unnecessary step in colour allocation.
6227
6228 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6229
6230         * BufferView_pimpl.C: compile fix
6231
6232 2003-08-15  André Pönitz  <poenitz@gmx.net>
6233
6234         * rowpainter.C: remove extra metrics calls
6235
6236         * lyxtext.h: merge the two constructors into a single one,
6237           pass reference to owner's par list
6238
6239         * BufferView_pimpl.C:
6240         * text.C:
6241         * text2.C: adjust
6242
6243 2003-08-15  André Pönitz  <poenitz@gmx.net>
6244
6245         * lyxrow_funcs.[Ch]:
6246         * lyxtext.h:
6247         * paragraph.h:
6248         * paragraph_funcs.C:
6249         * rowpainter.C:
6250         * text.C:
6251         * text2.C:
6252         * text3.C:
6253         * text_funcs.C: split LyXText::rowlist_ into individual
6254         Paragraph::rows_ chunks
6255
6256         * BufferView.[Ch]:
6257         * BufferView_pimpl.[Ch]:
6258         * lyxfind.C:
6259         * lyxtext.h:
6260         * text3.C: remove toggleSelection()
6261
6262 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6263
6264         * bufferlist.C: beautify two alerts (shorter text of buttons)
6265         * buffer.C: Remove redundant ' ' from message
6266         * tabular.h:
6267         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6268         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6269         rename VALIGN_CENTER to VALIGN_MIDDLE
6270
6271 2003-08-11  André Pönitz  <poenitz@gmx.net>
6272
6273         * lyxtext.h (getPar):
6274         * text.C: new function
6275
6276 2003-08-11  André Pönitz  <poenitz@gmx.net>
6277
6278         * Makefile.am:
6279         * tracer.[Ch]: remove unneeded files
6280
6281         * InsetList.[Ch]: remove resizeInsetsLyXText()
6282
6283         * lyxtext.h:
6284         * text.C:
6285         * text2.C:
6286         * text3.C: merge insertParagraphs() and appendParagraph()
6287         remove breakAgain(), update()
6288
6289         * BufferView_pimpl.[Ch]:
6290         * bufferview_funcs.[Ch]:
6291         * lyxfunc.C:
6292         * paragraph.[Ch]:
6293         * rowpainter.C:
6294         * tabular.C: adjust after text & InsetList changes.
6295
6296 2003-08-08  André Pönitz  <poenitz@gmx.net>
6297
6298         * text.C (insertChar, backspace): replace rowlist fiddling
6299         with rebreak of full par
6300
6301         * lyxtext.h:
6302         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6303         checkParagraph, updateInset): removed
6304
6305 2003-08-07  André Pönitz  <poenitz@gmx.net>
6306
6307         * paragraph.C:
6308         * text3.C: merge some LFUN handlers, remove dead code
6309
6310 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6311
6312         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6313
6314 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6315
6316         * text2.C (DEPM): fix part of bug 1255 and 1256
6317
6318 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6319
6320         * BufferView_pimpl.C (workAreaDispatch): change to use
6321         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6322         that are no mouse related.
6323
6324 2003-08-05  André Pönitz  <poenitz@gmx.net>
6325
6326         * BufferView.[Ch]:
6327         * BufferView_pimpl.[Ch]:
6328         * bufferview_funcs.C:
6329         * text2.C:
6330         * text3.C: rip out "deep update"
6331
6332         * textcursor.[Ch] (last_sel_cursor): remove unused member
6333
6334 2003-08-04  André Pönitz  <poenitz@gmx.net>
6335
6336         * BufferView.[Ch]:
6337         * BufferView_pimpl.[Ch]:
6338         * ParagraphParameters.C:
6339         * bufferview_funcs.C:
6340         * lyx_cb.C:
6341         * lyxfind.C:
6342         * lyxfunc.C:
6343         * text.C:
6344         * text2.C:
6345         * text3.C: replace "complicated" BufferView::update(...) calls with
6346         simpler ones.
6347
6348         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6349
6350 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6351
6352         * Makefile.am (lyx_SOURCES): add paper.h
6353
6354 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6355
6356         * Makefile.am: move things around so that both lyx-qt and
6357         lyx-xforms can be built (according to --with-frontend). Then lyx
6358         is a symbolic link to lyx-[firstfrontend]
6359
6360 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6361
6362         * Always use std::endl with lyxerr
6363
6364 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6365
6366         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6367
6368 2003-08-01  André Pönitz  <poenitz@gmx.net>
6369
6370         * BufferView.[Ch]:
6371         * BufferView_pimpl.[Ch]:
6372         * lyxfunc.C:
6373         * text3.C: merge BufferView::repaint() and BufferView::update()
6374
6375 2003-08-01  José Matos  <jamatos@lyx.org>
6376
6377         * buffer.[Ch]: file_format is no longer a buffer data element.
6378
6379 2003-08-01  André Pönitz  <poenitz@gmx.net>
6380
6381         * BufferView.C:
6382         * lyxtext.h:
6383         * text.C:
6384         * text2.C: make redoParagraph more independent of current cursor
6385
6386         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6387         * text.C:
6388         * text2.C: remove unneeded members
6389
6390 2003-07-30  André Pönitz  <poenitz@gmx.net>
6391
6392         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6393
6394         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6395           create a single function...
6396
6397         * paragraph_funcs.C (moveItem): ... here.
6398
6399         * text.C:
6400           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6401
6402 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6403
6404         * LColor.[Ch]: Add comment and greyedout logical colors.
6405
6406 2003-07-30  André Pönitz  <poenitz@gmx.net>
6407
6408         * tabular.C: don't use Assert too heavily. This crashes where it
6409           shouldn't
6410
6411 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6412
6413         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6414         is disabled (bug 1232)
6415
6416 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6417
6418         * factory.C: limited 'arg' scope
6419
6420 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6421
6422         * factory.C: fixed Note submenu issues
6423
6424 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6425
6426         * factory.C: submenu for Note/Comment/Greyedout
6427
6428 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6429
6430         * lyx_main.C (LyX):
6431         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6432
6433 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6434
6435         * LaTeXFeatures.C:
6436         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6437         greyedout. Patch provided by Jürgen Spitzmüller.
6438
6439 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6440
6441         * kbmap.C (read): fix error message when reading bind files
6442
6443 2003-07-29  Angus Leeming  <leeming@lyx.org>
6444
6445         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6446         certainly does not do what it purports to do. I am doing it, and
6447         us, a favour by killing it.
6448
6449 2003-07-28  José Matos  <jamatos@lyx.org>
6450
6451         * buffer.C (readBody, do_writeFile):
6452         * paragraph.C(readParagraph): \end_document replaces \the_end.
6453
6454 2003-07-29  André Pönitz  <poenitz@gmx.net>
6455
6456         * BufferView.[Ch]:
6457         * BufferView_pimpl.[Ch]:
6458         * lyxfunc.C:
6459         * text2.C:
6460         * text3.C:
6461         * textcursor.[Ch]: remove toggleToggle & Co
6462
6463 2003-07-28  José Matos  <jamatos@fep.up.pt>
6464
6465         * buffer.C (readParagraph):
6466         * params_func (readParToken, readParagraph):
6467         * paragraph.C (write): \layout -> \begin_layout.
6468
6469 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * lyxlex_pimpl.C (setFile): clean up slightly.
6472
6473         * bufferparams.h: add compressed var
6474
6475         * buffer_funcs.C (readFile): adjust for LyXLex change
6476         (newFile): ditto + simplify
6477
6478         * buffer.C (writeFile): handle writing of compressed files
6479
6480         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6481         Check if the file is compressed and set a bufferparm if so.
6482
6483         * Makefile.am (lyx_LDADD): remove explicit -lz
6484
6485 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6486
6487         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6488         makeDocBookFile): put the real LyX version in the first line of
6489         the file
6490
6491         * version.h:
6492         * version.C.in: remove lyx_docversion
6493
6494         * tabular.C (write_attribute): add a template-based version to
6495         write enums properly
6496
6497 2003-07-28  André Pönitz  <poenitz@gmx.net>
6498
6499         * lyxtext.h:
6500         * text.C:
6501         * text2.C:
6502         * text3.C: use doubles again for x-coordinates. They are needed.
6503
6504 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * messages.C (getLocaleDir): use lyx_localedir()
6507
6508         * lyxlex_pimpl.C (setFile): compress stuff
6509
6510         * buffer.C (writeFile): add some compression stuff
6511         (do_writeFile): new func, dont call expliti close... will this
6512         breake anything?
6513
6514         * Makefile.am (lyx_LDADD): add -lz
6515
6516 2003-07-28  José Matos  <jamatos@fep.up.pt>
6517
6518         * buffer.C: increment file format.
6519         * paragraph_funcs (readParagraph, readParToken):
6520         * paragraph.C (readParagraph): add \end_layout.
6521
6522 2003-07-27  Angus Leeming  <leeming@lyx.org>
6523
6524         * Makefile.am: remove special casing for configure-time setting of
6525         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6526
6527         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6528         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6529
6530 2003-07-26  André Pönitz  <poenitz@gmx.net>
6531
6532         * paragraph_func.[Ch]:
6533         * paragraph.C (realizeFont): inline it whereever it is used
6534
6535         * rowpainter.C:
6536         * text.C:
6537         * text2.C:
6538         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6539
6540
6541 2003-07-26  André Pönitz  <poenitz@gmx.net>
6542
6543         *       lyxtext.h:
6544         * text.C:
6545         * text2.C: get rid of LyXText::need_break_row
6546
6547 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * toc.[Ch]: put namespace toc inside namespace lyx
6550
6551         * MenuBackend.C (expandToc2): adjust for lyx::toc
6552         (expandToc): ditto
6553
6554         * lyxfunc.C (dispatch): adjust for lyx::find
6555
6556         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6557         lyx::find instead. Reorganize a bit.
6558         (LyXReplace): rename to replace
6559         (LyXFind): rename to find
6560
6561         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6562         (dispatch): ditto
6563
6564 2003-07-26  André Pönitz  <poenitz@gmx.net>
6565
6566         * text.C (setHeightOfRow): restrict scope of temporary variable
6567
6568         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6569           code (never has been used?)
6570
6571 2003-07-27  Asger Alstrup  <alstrup@local>
6572
6573         * text.C (fill): Optimise algorithm to exploit that we can reuse
6574         the LyXFont for many characters.
6575         (setHeightOfRow): Same thing.
6576         (rowBreakPoint): Same thing.
6577
6578 2003-07-26  Asger Alstrup  <alstrup@local>
6579
6580         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6581
6582         * text.C (singleWidth): Spurious font copying in hot-spot
6583         singleWidth avoided. Reorder tests for arabic for efficiency.
6584
6585         * text.C (fill): handle empty paragraphs better.
6586
6587 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6588
6589         * ispell.C:
6590         * encoding.h: add includes
6591
6592         * lyxrc.C: remove reading of bind files
6593
6594         * lyx_main.C (init): setup bindings and menus only if we have a
6595         gui.
6596
6597         * kbmap.C (read): new method. Do the actual reading of bind
6598         files.
6599
6600         * converter.C (dvipdfm_options):
6601         * bufferparams.C:
6602         * lyxrc.C (read):
6603         (output): adapt PAPER_* enums.
6604
6605         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6606
6607         * bufferparams.h: remove paper-related enums from there
6608
6609         * paper.h: New file. A trivial header file to hold paper-related
6610         enums. It should later expand to contain many paper-related
6611         horrors access.
6612
6613         * lyxrc.C: declare extern displayTranslator
6614
6615 2003-07-27  José Matos  <jamatos@fep.up.pt>
6616
6617         * tabular.[Ch] (linuxdoc): add support for tables and figures
6618         (linuxdoc).
6619
6620 2003-07-27  José Matos  <jamatos@fep.up.pt>
6621
6622         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6623         consistency in both functions.
6624         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6625
6626 2003-07-26  Asger Alstrup  <alstrup@local>
6627
6628         * rowpainter.C (paintRows): Change algorithm to work directly on
6629         the insets rather than asking every character in the document
6630         whether its an inset.
6631
6632 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6633
6634         * buffer.C (openFileWrite): factorize some code
6635
6636 2003-07-26  Angus Leeming  <leeming@lyx.org>
6637
6638         * lyx_cb.C:
6639         * lyx_main.[Ch]: replace occurances of system_tempdir with
6640         os::getTmpDir().
6641
6642 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6643
6644         * rename Inset to InsetOld
6645
6646 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6647
6648         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6649         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6650         which I think is a bit clearer. EDIT is gone, since it was
6651         premature optimisation, and broken for mathed anyway.
6652         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6653         with cursor positioning in insets as well (math insets still do not
6654         work, but that's a different story anyway.) It mysteriously
6655         crashes sometimes with undo in the first paragraph, but I'm fairly
6656         confident that this is a compiler bug.
6657
6658 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * paragraph.C (Paragraph): adjust for new clone return type
6661         (operator==): ditto
6662         (copyIntoMinibuffer): ditto
6663
6664 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6665
6666         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6667         by not having a special case, and always doing a full rebreak of
6668         the document after undo.
6669
6670 2003-07-23  Angus Leeming  <leeming@lyx.org>
6671
6672         * factory.C (createInset): InsetExternal::setParams now takes a
6673         Buffer const * arg.
6674
6675 2003-07-23  Angus Leeming  <leeming@lyx.org>
6676
6677         * factory.C (createInset): changed interface to the external and
6678         graphics mailers' string2params functions.
6679
6680 2003-07-23  Angus Leeming  <leeming@lyx.org>
6681
6682         * factory.C (createInset): pass a
6683         Buffer const * parameter to InsetExternalMailer's string2params.
6684
6685 2003-07-22  John Levon  <levon@movementarian.org>
6686
6687         * Thesaurus.h: include the right aiksaurus header
6688
6689 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6690
6691         * MenuBackend.C (expand): check menu shortcuts unconditionally
6692
6693 2003-07-21  Angus Leeming  <leeming@lyx.org>
6694
6695         * factory.C (createInset): pass a
6696         buffer_path parameter to InsetGraphicsMailer's string2params.
6697
6698 2003-07-21  Angus Leeming  <leeming@lyx.org>
6699
6700         * BufferView_pimpl.C (buffer):
6701         * buffer.C (d-tor):
6702         * lyx_main.C (LyX):
6703         * lyxfunc.C (dispatch):
6704         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6705         rather than the grfx shortcut.
6706
6707 2003-07-21  André Pönitz  <poenitz@gmx.net>
6708
6709         * rowpainter.C: remove unused variables
6710
6711         * tabular_funcs.C:
6712         * tabular_funcs.h: move to tabular.C
6713         * Makefile.am: adjust
6714
6715         * tabular.[Ch]: basic optical cleaning
6716
6717         * author.h: pass references, not values
6718
6719 2003-07-18  André Pönitz  <poenitz@gmx.net>
6720
6721         * lyxtext.h:
6722         * metricsinfo.C:
6723         * metricsinfo.h:
6724         * rowpainter.C:
6725         * text.C:
6726         * text2.C:
6727         * text3.C: two-phase drawing for InsetText and InsetTabular
6728         some float -> int changes.
6729
6730 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6731
6732         * lyx_main.C: fix the fix
6733
6734 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6735
6736         * lyx_main.C: fix a crash in batch mode if no files specified
6737         * converter.C: ws
6738
6739 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6740
6741         * format.[Ch] (papersize): moved to BufferParams
6742         * converter.[Ch] (dvips_options): moved to BufferParams
6743         (dvipdfm_options): moved to anon namespace
6744         * bufferparams.[Ch]: added above functions.
6745
6746 2003-07-17  André Pönitz  <poenitz@gmx.net>
6747
6748         * lyxtext.h:
6749         * rowpainter.C:
6750         * text2.C: don't call inset->update() anymore
6751
6752         * metricsinfo.[Ch]: add convenience constructor
6753
6754 2003-07-16  André Pönitz  <poenitz@gmx.net>
6755
6756         * lyxcursor.[Ch]:
6757         * lyxfunc.[Ch]:
6758         * text.C:
6759         * text2.C: replace the LyXCursor::irow_ member with
6760          on-demand computation of the value
6761
6762 2003-07-16  John Levon  <levon@movementarian.org>
6763
6764         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6765
6766 2003-07-15  André Pönitz  <poenitz@gmx.net>
6767
6768         * text.C:
6769         * text2.C: remove no more needed refresh_row
6770
6771 2003-07-15  André Pönitz  <poenitz@gmx.net>
6772
6773         * lyxtext.h:
6774         * rowpainter.C:
6775         * text2.C:
6776         * text3.C: refresh_status tristate -> need_update bool
6777
6778 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6779
6780         * lyxtext.h (init): remove reinit argument (act as if always true)
6781         * text2.C: adjust to that
6782
6783 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6784
6785         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6786         * text3.C: use it to delete selections in some cases
6787         (bugs 441, 673, 702, 954).
6788
6789 2003-07-14  André Pönitz  <poenitz@gmx.net>
6790
6791         * rowpainter.[Ch]: reduce interface
6792
6793 2003-07-14  André Pönitz  <poenitz@gmx.net>
6794
6795         * BufferView_pimpl.C:
6796         * text2.C: adjust after removing unused BufferView * argument
6797
6798 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6799
6800         * text2.C (init): fix a crash fired on resize
6801
6802 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6803
6804         * buffer.[Ch]: added new closing signal
6805         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6806         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6807         BufferView::Pimpl via the closing the signal
6808
6809 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6810
6811         * buffer.[Ch]: take out all bv-related from buffer
6812         * BufferView.C:
6813         * BufferView_pimpl.[Ch]: connect to new signals
6814         * CutAndPaste.C: removed useless asserts
6815         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6816         * lyxvc.[Ch]:
6817         * vc-backend.[Ch]:
6818         * lyxfunc.C: moved view-related funciontality from vc here
6819         * paragraph.C: removed outdated comments
6820         * text.C: ws
6821
6822 2003-07-10  André Pönitz  <poenitz@gmx.net>
6823
6824         * BufferView_pimpl.C:
6825         * tabular.h:
6826         * tabular_funcs.C:
6827         * text.C:
6828         * text2.C: remove InsetText::InnerCache, clean up consequences
6829
6830 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6831
6832         * ispell.C: fix two typos in error messages
6833
6834 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6835
6836         * Extend Note inset to other forms of annotation like Comment
6837         and Greyedout. Right button click gives dialog.
6838
6839         Files modified or added (+):
6840
6841         * insetnote.[Ch]
6842         * FormNote.[Ch]      +
6843         * ControlNote.[Ch]   +
6844         * form_note.fd       +
6845         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6846         frontends/controllers
6847         * xforms/Dialogs.C
6848         * factory.C
6849
6850 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6851
6852         * aspell.C: add missing namespace lyx::support
6853
6854 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6855
6856         * BufferView.[Ch] (newFile): Add
6857         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6858         * LaTeX.[Ch] (message): added this signal and use it
6859         * buffer.[Ch] (busy, message): added these signals and use them
6860         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6861         * converter.C:
6862         * exporter.C:
6863         * format.C:
6864         * importer.C: use buffer signals instead of direct bv calling
6865         * lyx_cb.[Ch] (ShowMessage): removed
6866         * lyx_main.C:
6867         * lyxfunc.C:
6868         * paragraph_funcs.C:
6869         * text2.C: use buffer signals
6870
6871 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * introduce namespace lyx::graphics
6874
6875 2003-07-02  André Pönitz  <poenitz@gmx.net>
6876
6877         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6878
6879 2003-07-01  André Pönitz  <poenitz@gmx.net>
6880
6881         * text.C:
6882         * text2.C:
6883         * text3.C:
6884         * text_funcs.[Ch]:
6885         * textcursor.h:
6886         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6887           text*.C to text_func.C
6888
6889 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6890
6891         * introduce namespace lyx::support
6892
6893 2003-06-30  André Pönitz  <poenitz@gmx.net>
6894
6895         * Chktex.C:
6896         * funcrequest.C:
6897         * lyxtext.h:
6898         * text.C: re-enable --with-included-string
6899
6900 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * textcursor.C: add <config.h>
6903
6904         * text.C (getWord): remove const from word_location arg
6905
6906         * lyxvc.C (getLogFile): fix const type order
6907
6908         * lyxtext.h: remove const from word_location arg, add arg name
6909
6910         * lyxlayout.h: currect type on labeltype.
6911
6912         * importer.C: correct \file
6913
6914         * converter.C (intToFormat): use std:: on ret val, ws changes
6915
6916         * bufferlist.h: correct \file
6917
6918         * buffer.C (makeLinuxDocFile): fix const type order
6919         (makeDocBookFile): ditto
6920         (fillWithBibKeys): use std:: on stdlib args.
6921
6922         * CutAndPaste.C: fix authors.
6923         (availableSelections): use std:: on return vector
6924
6925 2003-06-27  André Pönitz  <poenitz@gmx.net>
6926
6927         * BufferView_pimpl.C:
6928         * bufferview_funcs.C:
6929         * lyxcursor.C:
6930         * lyxcursor.h:
6931         * lyxfunc.C:
6932         * lyxtext.h:
6933         * rowpainter.C:
6934         * text.C:
6935         * text2.C:
6936         * text3.C: remove LyXCursor::row_ member
6937
6938         * lyxtext.h:
6939         * text.C: rename fullRebreak() to partialRebreak() and implement
6940           a fullRebreak() that really bereks fully
6941
6942         * textcursor.h: new struct for cursor-related data
6943
6944 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6945
6946         * lyx_main.C (LyX): get full path of document loaded on the
6947         command line
6948
6949 2003-06-26  André Pönitz  <poenitz@gmx.net>
6950
6951         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6952           remove unused/broken operator>,<,>=.
6953
6954         *       text.C: remove only use of broken operator<= in an Assert().
6955
6956 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6957
6958         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6959         moved errorlist_.clear to showErrorList
6960
6961 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6962
6963         * converter.C (scanLog, runLaTeX):
6964         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6965         move the bv->showErrorList call to the callers
6966         * lyxfunc.C: i.e. here...
6967         * text2.C: and here
6968         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6969         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6970         namespace, the second to...
6971         * buffer_funcs (BufferFormat, parseErrors): added
6972         * errorlist.C (ErrorList(TeXErrors const &)): removed
6973
6974 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6975
6976         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6977
6978 2003-06-24  "Garst R. Reese" <reese@isn.net>
6979
6980         * debug.C: fix typo
6981
6982 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6983
6984         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6985
6986         * version.C.in: change docversion to 1.4
6987
6988 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6989
6990         * buffer.C: fix a bug just introduced
6991
6992 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6993
6994         * buffer.[Ch]: added the parseError signal and use it, removed
6995         sgmlError
6996         * BufferView.[Ch] (addError): moved to ...
6997         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6998         to the Buffer::parseError signal to catch (guess what) parse errors
6999         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7000
7001 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7002
7003         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7004         ability to create a buffer and to return an existing one from
7005         the list. Moved these functions to...
7006         * buffer_funcs.[Ch]: added
7007         * BufferView.[Ch] (loadLyXFile): added
7008         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7009         job removed from bufferlist::loadLyXFile.
7010         * buffer.C (setReadOnly): make it work without view
7011         (i.e added an if (users))
7012
7013 2003-06-19  Angus Leeming  <leeming@lyx.org>
7014
7015         * lfuns.h:
7016         * LyXAction.C (init):
7017         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7018         with LFUN_DIALOG_SHOW <name> <data>.
7019
7020 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7021
7022         * CutAndPaste.C (availableSelections): small compilation fix for
7023         ancient (gcc 2.9x) compilers
7024
7025 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * text3.C (cursorNext): add tmp var
7028
7029         * text2.C (updateCounters): for function calling out of for clause
7030         (replaceSelectionWithString): ditto
7031         (insertStringAsParagraphs): ditto
7032         (getColumnNearX): add tmp var
7033         (setCursorFromCoordinates): add tmp var
7034         (cursorDownParagraph): add tmp var
7035         (deleteEmptyParagraphMechanism): add tmp var
7036
7037         * text.C (insertChar): add tmp var
7038
7039         * rowpainter.C (paintDepthBar): add tmp var
7040
7041         * CutAndPaste.C (availableSelections): potentially check all
7042         paragraphs in a cut to fill the shown strings.
7043
7044 2003-06-18  André Pönitz  <poenitz@gmx.net>
7045
7046         * kbmap.[Ch]: use vector<> instead of list<>
7047
7048 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7049
7050         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7051         pasteSelection with index
7052
7053         * text2.C (pasteSelection): modify, call pasteSelection with index
7054
7055         * paragraph.C (asString): reimplement version with no interval to
7056         call the one with interval.
7057
7058         * lyxtext.h: add index arg to pasteSelection
7059
7060         * MenuBackend.C (MenuItem): handle PasteRecent
7061         (Menu::read::Menutags): add md_pasterecent
7062         (read): handle it
7063         (expandPasteRecent): new function
7064         (expand): use it
7065
7066         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7067
7068         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7069         the limited stack
7070         (availableSelections): new function
7071
7072 2003-06-17  Angus Leeming  <leeming@lyx.org>
7073
7074         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7075
7076 2003-06-17  Angus Leeming  <leeming@lyx.org>
7077
7078         * lfuns.h:
7079         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7080
7081         * lyxfunc.C (dispatch): invoke it.
7082
7083 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7084
7085         * iterators.C (operator++, ParPosition): reintroduce some
7086         const_cast for the benefit of older compilers.
7087
7088 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7089
7090         * text3.C (dispatch): do not modify clipboard when doing
7091         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7092         LFUN_DELETE_SKIP on a selection selection
7093
7094 2003-06-16  André Pönitz  <poenitz@gmx.net>
7095
7096         * BufferView.C:
7097         * buffer.C:
7098         * buffer.h:
7099         * paragraph.C:
7100         * tabular.[Ch]: IU of clone() and getLabelList();
7101
7102 2003-06-13  André Pönitz  <poenitz@gmx.net>
7103
7104         * tabular.h: compactification
7105
7106 2003-06-12  André Pönitz  <poenitz@gmx.net>
7107
7108         * tabular.C:
7109         * tabular.h:
7110         * tabular_funcs.h: some renaming plus whitespace
7111
7112 2003-06-12  André Pönitz  <poenitz@gmx.net>
7113
7114         * BufferView.C:
7115         * BufferView_pimpl.C:
7116         * CutAndPaste.C:
7117         * buffer.C:
7118         * iterators.[Ch]:
7119         * lyxfunc.C:
7120         * text.C:
7121         * toc.C: Return a Paragraph & for ParIterator::operator*()
7122
7123 2003-06-11  John Levon  <levon@movementarian.org>
7124
7125         * lyx_main.C:
7126         * ToolbarBackend.h:
7127         * ToolbarBackend.C: add "Toolbars" section and
7128         put the flags there
7129
7130 2003-06-10  Angus Leeming  <leeming@lyx.org>
7131
7132         * lfuns.h:
7133         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7134
7135         * lyxfunc.C (dispatch): invoke it.
7136
7137 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * main.C: protect <ios> with HAVE_IOS
7140         (main): protect sync_with_stdio with HAVE_IOS
7141
7142 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7143
7144         * text2.C (cutSelection): adjust
7145         (pasteSelection): adjust
7146
7147         * messages.C: handle get of empty string
7148
7149         * main.C (main): use sync_with_stdio(false)
7150
7151         * lyxfunc.C (dispatch): adjust
7152
7153         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7154         (WriteAs): remove unneeded BufferView arg.
7155
7156         * bufferparams.h: use correct types on papersize, papersize2 and
7157         paperpackage.
7158
7159         * bufferparams.C (readToken): adjust for type
7160         (writeLaTeX): add missing cases to switch.
7161
7162         * bufferlist.C (quitWriteBuffer): adjust
7163         (close): adjust
7164
7165         * buffer.C (asciiParagraph): remove some commented code.
7166
7167         * CutAndPaste.C: remove current_view extern variable.
7168         (cutSelection): add BufferParams arg.
7169         (eraseSelection): add BufferParams arg.
7170         (pasteSelection): add Buffer const & arg
7171
7172 2003-06-07  John Levon  <levon@movementarian.org>
7173
7174         * buffer.C:
7175         * paragraph_funcs.C:
7176         * paragraph_pimpl.C:
7177         * text.C:
7178         * text2.C:
7179         * paragraph.h:
7180         * paragraph.C: allow InsetERT to freely space lines,
7181         and some consolidation of code
7182
7183 2003-06-06  José Matos  <jamatos@fep.up.pt>
7184
7185         * buffer.C (makeDocBookFile): fix bug #821
7186
7187 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7188
7189         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7190
7191 2003-06-04  Angus Leeming  <leeming@lyx.org>
7192
7193         * buffer.C: bump format to 224.
7194
7195 2003-06-05  André Pönitz  <poenitz@gmx.net>
7196
7197         * text2.C (redoParagraphs): remove two const_cast<>
7198
7199 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7200
7201         * ParagraphList.h: remove last remnants of NO_STD_LIST
7202
7203 2003-06-03  Angus Leeming  <leeming@lyx.org>
7204
7205         * factory.C (createInset): small change to the way InsetExternal's params
7206         are set.
7207
7208 2003-06-04  André Pönitz  <poenitz@gmx.net>
7209
7210         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7211
7212         * paragraph_pimpl.h:
7213         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7214
7215         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7216
7217         * undo_funcs.C: make some simple cases of undo work again
7218
7219 2003-06-03  John Levon  <levon@movementarian.org>
7220
7221         * ispell.C: HPUX doesn't have sys/select.h
7222         (from Albert Chin)
7223
7224 2003-06-03  John Levon  <levon@movementarian.org>
7225
7226         * CutAndPaste.C: update tabular and include inset
7227         buffer references
7228
7229         * buffer.h:
7230         * paragraph.h:
7231         * paragraph.C: remove owningBuffer(), don't pass Buffer
7232         to clone()
7233
7234         * factory.C: insetGraphicsParams changed
7235
7236 2003-06-02  John Levon  <levon@movementarian.org>
7237
7238         * LyXAction.C:
7239         * factory.C:
7240         * lfuns.h:
7241         * lyxfunc.C:
7242         * text3.C: remove insetparent
7243
7244 2003-06-02  John Levon  <levon@movementarian.org>
7245
7246         * buffer.h:
7247         * buffer.C: fix inset_iterator.end(), move out of line
7248         (bug 1149)
7249
7250 2003-06-01  John Levon  <levon@movementarian.org>
7251
7252         * text3.C: use a proper cut/paste when doing inset
7253         insert (from Jürgen Spitzmüller)
7254
7255 2003-06-01  John Levon  <levon@movementarian.org>
7256
7257         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7258
7259 2003-05-30  André Pönitz  <poenitz@gmx.net>
7260
7261         * rowpainter.C: unify second drawing phase
7262
7263 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * trans_mgr.C: remove one case of current_view
7266
7267         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7268
7269         * paragraph_funcs.h: remove paragraph.h include
7270
7271         * paragraph.h: delete NO_STD_LIST stuff
7272
7273         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7274
7275         * buffer.h: remove paragraph.h include
7276
7277         * ParagraphList.C: delete file
7278
7279         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7280
7281         * toc.C (getTocList): adjust
7282
7283         * paragraph_pimpl.C (validate): adjust
7284
7285         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7286
7287         * paragraph.C (Paragraph): adjust
7288         (getPositionOfInset): use const_iterator, adjust
7289         (bibitem): use const_iterator, adjust
7290         (setInsetOwner): adjust
7291
7292         * iterators.C (operator++): adjust
7293
7294         * InsetList.[Ch]: Replace selfmade iterator with standard
7295         vector::iterator also introduce const_iterator. Remove getPos,
7296         getInset and setInset from InsetTable. Adjust accordingly.
7297
7298         * BufferView.C (lockInset): adjust
7299         (ChangeInsets): adjust
7300
7301         * tabular.[Ch]: delete commented same_id functions
7302
7303 2003-05-28  John Levon  <levon@movementarian.org>
7304
7305         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7306
7307 2003-05-28  André Pönitz  <poenitz@gmx.net>
7308
7309         * metricsinfo.[Ch]: remove 'fullredraw' member
7310
7311 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7312
7313         * lyxtextclass.C (operator): remove caching.
7314
7315 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7316
7317         * text3.C: adjust
7318
7319         * text2.C (cursorBottom): adjust
7320         (setCounter): use ParagraphList::find, adjust
7321
7322         * text.C (workWidth): use ParagraphList::find, adjust
7323
7324         * lyxcursor.C (LyXCursor): adjust
7325
7326         * buffer.C (inset_iterator): adjust
7327
7328         * ParagraphList.h: make iterator(value_type) private, make
7329         ParagraphList a friend of iterator.
7330
7331         * ParagraphList.C (find): new function
7332
7333         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7334
7335 2003-05-27  André Pönitz  <poenitz@gmx.net>
7336
7337         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7338
7339 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7340
7341         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7342
7343 2003-05-26  John Levon  <levon@movementarian.org>
7344
7345         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7346
7347 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * remove same_id from function signatures, adjust.
7350
7351 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7354
7355         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7356
7357         * paragraph.C (Paragraph): get rid of same_ids parameter
7358
7359         * ParagraphList.C (insert): adjust
7360         (push_back): adjust
7361
7362 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * paragraph_funcs.C (breakParagraph): adjust
7365         (breakParagraphConservative): adjust
7366
7367         * buffer.C (readParagraph): adjust
7368
7369         * ParagraphList.C (insert): take a reference instead of a pointer
7370         (insert): adjust
7371
7372         * paragraph.[Ch] (id): new function
7373
7374         * bufferlist.C (newFile): adjust
7375
7376         * ParagraphList.C (ParagraphList): adjust
7377         (assign): adjust
7378         (push_back): take a reference instead of a pointer.
7379
7380         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7381
7382         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7383         instead.
7384
7385         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7386         set else use old code.
7387
7388         * ParagraphList.C: remove all NO_NEXT code and only compile this
7389         code of NO_STD_LIST is set.
7390
7391 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7392
7393         * BufferView_pimpl.C:
7394         * TextCache.C:
7395         * TextCache.h:
7396         * bufferlist.C:
7397         * errorlist.h:
7398         * format.C:
7399         * format.h:
7400         * graph.C:
7401         * lyxfunc.C:
7402         * lyxrc.C:
7403         * graphics/GraphicsConverter.C:
7404         * graphics/PreviewLoader.C: header adjustment
7405
7406 2003-05-23  Angus Leeming  <leeming@lyx.org>
7407
7408         * LaTeXFeatures.[Ch] (useBabel): new method.
7409         * bufferparams.C (writeLaTeX): use it.
7410
7411 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * ParagraphList.h (set): remove unused function.
7414
7415 2003-05-23  André Pönitz  <poenitz@gmx.net>
7416
7417         * BufferView.C:
7418         * BufferView_pimpl.C:
7419         * buffer.C:
7420         * buffer.h:
7421         * lyxfunc.C:
7422         * undo_funcs.C: setUndo reworked
7423
7424         * iterators.[Ch]: add access to topmost ParagraphList
7425
7426         * lyxtext.[Ch] (workWidth): add a const
7427
7428 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7429
7430         * texrow.[Ch] (increasePos): remove function
7431         * exporter.C (export): removed unused var and outdated comment
7432
7433 2003-05-23  Angus Leeming  <leeming@lyx.org>
7434
7435         * latexrunparams.h: rename fragile as moving_arg.
7436         * paragraph.C (simpleTeXOnePar): ditto.
7437         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7438
7439 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7440
7441         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7442         (createUndo): ditto
7443         (textUndoOrRedo): comment out a currently unused var.
7444
7445         * paragraph.h (NO_NEXT): enable NO_NEXT
7446
7447         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7448
7449         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7450
7451         * exporter.C (Export): adjust for removeAutoInsets removal.
7452
7453         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7454
7455         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7456
7457         * BufferView.[Ch] (removeAutoInsets): delete function
7458
7459 2003-05-22  Angus Leeming  <leeming@lyx.org>
7460
7461         * latexrunparams.h: add a free_spacing variable.
7462
7463         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7464         to pass moving_arg, as the data is stored in runparams.fragile.
7465
7466         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7467         to Inset::latexOptional or to simpleTeXOnePar.
7468
7469         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7470         free_spacing arg to Inset::latexOptional.
7471
7472         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7473         free_spacing arg.
7474
7475 2003-05-22  Angus Leeming  <leeming@lyx.org>
7476
7477         * latexrunparams.h: add fragile and use_babel variables.
7478
7479         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7480         * buffer.C (makeLaTeXFile): store this returned value in
7481         runparams.use_babel, thus passing it to the inset::latex methods.
7482
7483         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7484         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7485
7486         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7487         longer has a fragile arg, as it is stored in runparams.fragile.
7488
7489         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7490         moving_arg parameter as the data is stored in runparams.fragile.
7491
7492         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7493         a fragile parameter as the data is stored in runparams.fragile.
7494
7495 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7498
7499 2003-05-22  Angus Leeming  <leeming@lyx.org>
7500
7501         * latexrunparams.h: add a 'bool nice' which defaults to false.
7502
7503         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7504         now encapsulated within runparams.
7505
7506         * bufferlist.C (updateIncludedTeXfiles):
7507         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7508
7509 2003-05-22  Angus Leeming  <leeming@lyx.org>
7510
7511         * latexrunparams.h: new file containing struct LatexRunParams.
7512         * Makefile.am: add new file.
7513
7514         * LaTeX.[Ch] (c-tor, run):
7515         * buffer.[Ch] (makeLaTeXFile):
7516         * bufferlist.[Ch] (updateIncludedTeXfiles):
7517         * converter.C (convert, scanLog):
7518         * converter.[Ch] (runLaTeX):
7519         * exporter.C (Export):
7520         * paragraph.[Ch] (simpleTeXOnePar):
7521         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7522         * paragraph_funcs.[Ch] (latexParagraphs):
7523         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7524         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7525         pass around a LatexRunParams parameter.
7526
7527 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7528
7529         * paragraph.[Ch]: remove unused constructor
7530
7531         * ParagraphList.C (erase): new function, taking two iterators
7532
7533 2003-05-22  André Pönitz  <poenitz@gmx.net>
7534
7535         * undo_funcs.C: remove duplicated code
7536
7537         * iterator.[Ch]: operator=
7538
7539 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7540
7541         * tabular.C (SetMultiColumn): ws changes
7542
7543         * rowpainter.C (paintFirst): get rid of a ->previous
7544
7545         * lyx_cb.C (getPossibleLabel): parlist simplification
7546
7547         * BufferView.C (ChangeInsets): simplify slightly.
7548
7549 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7550
7551         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7552         * lfuns.h: new LFUN_SPACE
7553         * lyxfunc.C: protected space has a new lfun
7554         * paragraph_funcs.C: read new space insets
7555         * text3.C:
7556         * factory.C: handle new space insets
7557
7558 2003-05-22  André Pönitz  <poenitz@gmx.net>
7559
7560         * BufferView.C:
7561         * BufferView_pimpl.C:
7562         * buffer.[Ch]:
7563         * lyxfunc.C:
7564         * undo_funcs.C: return a ParIterator from getParFromID.
7565
7566         * iterators.[Ch]: add two const's
7567
7568 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * toc.C (getTocList): adjust
7571
7572         * iterators.[Ch]: rework for parlist
7573
7574         * buffer.C (par_iterator_begin): adjust
7575         (par_iterator_end): adjust
7576
7577         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7578
7579         * BufferView.C (removeAutoInsets): adjust
7580         (ChangeInsets): adjust
7581
7582 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7583
7584         * text.C (top_y): fix bug 1110
7585
7586 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7587
7588         * errorlist.[Ch]: added
7589         * buffer.C:
7590         * BufferView.[Ch]:
7591         * BufferView_pimpl.C:
7592         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7593         instead
7594
7595 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * Makefile.am: ensure that lyx is relinked upon changes to the
7598         various "convenience" libs.
7599
7600 2003-05-20  Angus Leeming  <leeming@lyx.org>
7601
7602         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7603         files are compiled in alphabetical order again.
7604
7605         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7606
7607 2003-05-19  Angus Leeming  <leeming@lyx.org>
7608
7609         * gettext.[Ch]: remove "char const * _(char const *)".
7610
7611 2003-05-19  André Pönitz  <poenitz@gmx.net>
7612
7613         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7614
7615         * Makefile.am:
7616         * BufferView.C:
7617         * DepTable.h:
7618         * LaTeXFeatures.C:
7619         * buffer.C:
7620         * lyxfont.C:
7621         * lyxlex.h:
7622         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7623
7624 2003-05-19  André Pönitz  <poenitz@gmx.net>
7625
7626         * buffer.C:
7627         * lyxlayout.[Ch]:
7628         * lyxtextclass.[Ch]:
7629         * paragraph.C:
7630         * paragraph_funcs.[Ch]:
7631         * text2.C:
7632         * text3.C: more insetenv work
7633
7634 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7635
7636         * ParagraphParameters.C (params2string): small bug fixed
7637
7638 2003-05-16  André Pönitz  <poenitz@gmx.net>
7639
7640         * debug.C:
7641         * bufferview_funcs.C: patch from Kornel Benko to prevent
7642           crash when _(...) is called twice in a statement
7643
7644 2003-05-16  André Pönitz  <poenitz@gmx.net>
7645
7646         * BufferView.C:
7647         * lyxfunc.C:
7648         * text.C:
7649         * text2.C:
7650         * text3.C:
7651         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7652
7653 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7654
7655         * lyx_main.C (init): remove spurious static_cast
7656
7657 2003-05-14  André Pönitz  <poenitz@gmx.net>
7658
7659         * BufferView.C: fix format string
7660
7661 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7662
7663         * BufferView.[Ch] (insertErrors): removed
7664         * BufferView.[Ch] (showErrorList): added
7665         * buffer.C (runChkTeX):
7666         * converter.C (scanLog): call showErrorList instead of inserterrors
7667
7668 2003-05-13  André Pönitz  <poenitz@gmx.net>
7669
7670         * BufferView_pimpl.C:
7671         * buffer.C:
7672         * bufferview_func.C:
7673         * MenuBackend.C:
7674         * lyxfunc.C:
7675         * lyxrc.C:
7676         * tex-accent.C:
7677         * text3.C:
7678         * toc.C:
7679         * tabular_funcs.h: tostr() from its own header
7680
7681         * ParagraphParameters.C:
7682         * ToolbarBackend.C:
7683         * bufferparams.C:
7684         * format.C:
7685         * lyxlex_pimpl.C:
7686         * text3.C: STRCONV()
7687
7688 2003-05-12  André Pönitz  <poenitz@gmx.net>
7689
7690         * BufferView.C:
7691         * BufferView_pimpl.C:
7692         * CutAndPaste.C:
7693         * LaTeX.C:
7694         * LaTeXFeatures.C:
7695         * ParagraphParameters.C:
7696         * buffer.C:
7697         * bufferlist.C:
7698         * bufferparams.C:
7699         * bufferview_funcs.C:
7700         * converter.C:
7701         * counters.C:
7702         * debug.C:
7703         * exporter.C:
7704         * format.C:
7705         * importer.C:
7706         * lyx_cb.C:
7707         * lyx_main.C:
7708         * lyxfont.C:
7709         * lyxfunc.C:
7710         * lyxvc.C:
7711         * paragraph.C:
7712         * paragraph_funcs.C:
7713         * tabular.C:
7714         * tabular_funcs.C:
7715         * text2.C:
7716         * text3.C:  boost::format -> bformat  all over the place
7717
7718
7719 2003-05-09  André Pönitz  <poenitz@gmx.net>
7720
7721         * LColor.[Ch]: Pimpl the #include <map> away
7722
7723 2003-05-09  John Levon  <levon@movementarian.org>
7724
7725         * bufferlist.C: never remove emergency saves
7726
7727 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7728
7729         * Makefile.am: better lib building
7730
7731 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7732
7733         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7734         instead.
7735         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7736         (simpleTeXSpecialChars): adjust
7737         (simpleTeXSpecialChars): adjust
7738         * paragraph.C (simpleTeXOnePar): adjust
7739         * buffer.C (makeLaTeXFile): adjust
7740
7741         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7742
7743         * text2.C (changeDepth): parlist cleanup
7744         (getColumnNearX): ditto
7745
7746         * rowpainter.C (getLabelFont): parlist cleanup
7747
7748         * bufferlist.C (newFile): parlist cleanup
7749
7750         * CutAndPaste.C (eraseSelection): parlist cleanup
7751
7752         * BufferView_pimpl.C (trackChanges): parlist cleanup
7753         (dispatch): ditto
7754
7755         * BufferView.C (lockInset): parlist cleanup.
7756         (ChangeInsets): ditto
7757
7758 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7759
7760         * CutAndPaste.h: Update file header.
7761
7762         * CutAndPaste.C: Update file header.
7763         Store the parts cut out of the Document in a limited_stack.
7764         (copySelection): adjust
7765         (pasteSelection): new function, takes the index in the limited stack.
7766         (nrOfParagraphs): adjust
7767         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7768         simplify error inset insertion.
7769         (checkPastePossible): adjust
7770
7771 2003-05-06  John Levon  <levon@movementarian.org>
7772
7773         * text2.C: don't cast wrap inset to float
7774
7775 2003-05-05  André Pönitz  <poenitz@gmx.net>
7776
7777         * iterator.C:
7778         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7779
7780         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7781           few naked Paragraph *.
7782
7783 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7784
7785         * bufferparams.C: Output warning if a document with missing
7786         TeX document class is loaded
7787         * exporter.C: Disable TeX exports if the document class is missing
7788         * lyxtextclass.C:
7789         * lyxtextclass.h:
7790         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7791         isTeXClassAvailable()
7792
7793 2003-05-03  John Levon  <levon@movementarian.org>
7794
7795         * BufferView.h:
7796         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7797         explicit cursor show/hide
7798
7799         * BufferView_pimpl.h:
7800         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7801         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7802
7803         * lyxfunc.C: hide cursor before dispatching.
7804
7805         * lyx_cb.C:
7806         * lyxfind.C:
7807         * text.C:
7808         * text3.C: remove explicit cursor hides
7809
7810 2003-05-02  André Pönitz  <poenitz@gmx.net>
7811
7812         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7813
7814         * undo_funcs.C:
7815         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7816           linked lists
7817
7818         * text2.C: tiny whitespace
7819
7820 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7821
7822         * undo_funcs.C: almost only ws changes.
7823
7824         * ParagraphList.C (splice): just return if pl is empty.
7825
7826 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * ParagraphList.C (splice): new function.
7829
7830         * CutAndPaste.C (pasteSelection): use it
7831
7832 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * CutAndPaste.C (pasteSelection): remove the last next and
7835         previous from this file.
7836
7837 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * CutAndPaste.C (pasteSelection): more clean up, user proper
7840         ParagraphList functions for pasteing.
7841
7842         * ParagraphList.C (insert): new function, three arg insert
7843
7844 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * ParagraphList.C (insert): new function, three arg insert
7847
7848         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7849         not on paragraphs.
7850
7851 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7854
7855 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7856
7857         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7858
7859 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7860
7861         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7862         (copySelection): clean up a bit.
7863         (pasteSelection): use make_pair
7864
7865         * ParagraphList.C (ParagraphList): implement copy constructor
7866         (operator=): implement, base on copy constructor.
7867         (assign): new func
7868
7869         * paragraph.C (erase): return a bool
7870
7871         * paragraph_pimpl.C (erasePos): remove function, move contents...
7872         (erase): ... here. Return a bool.
7873         (erase): call erase instead of erasePos.
7874
7875 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7876
7877         * ParagraphList.h: define PitPosPair
7878         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7879         ParagraphList, fix a bug on pasting multiple pars
7880         * text2.C: change interface to C&P
7881
7882 2003-04-30  André Pönitz  <poenitz@gmx.net>
7883
7884         * undo_func.C: revert part of yesterday's patch 2
7885
7886 2003-04-30  John Levon  <levon@movementarian.org>
7887
7888         * LColor.C: s/tabular/table/
7889
7890 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * text3.C (dispatch): do not convert iterator -> pointer
7893         * undo_funcs.C (setCursorParUndo): ditto
7894         * text_funcs.C (transposeChars): ditto
7895
7896         * text2.C (setLayout): ws changes only
7897
7898         * text.C (breakParagraph): do not convert iterator -> pointer
7899         (insertChar): ditto
7900         (acceptChange): ditto
7901         (rejectChange): ditto
7902         (changeCase): ditto
7903         (Delete): ditto
7904         (backspace): ditto
7905
7906         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7907         pointer
7908
7909 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7910
7911         * text3.C (gotoInset): YABG (yet another bad getChar)
7912
7913 2003-04-29  André Pönitz  <poenitz@gmx.net>
7914
7915         * paragraph.h: make operator= private unimplemented as long as
7916           it is unusable
7917
7918         * ParagraphList.C: whitespace
7919
7920         * paragraph.[Ch]:
7921         * paragraph_pimpl.[Ch]:
7922         * paragraph_funcs.C:
7923         * CutAndPaste.C:
7924         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7925
7926         * text2.C:
7927           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7928
7929 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7930
7931         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7932         * paragraph.[Ch] (erase):
7933         * paragraph_pimpl.[Ch] (erase): change return type and value
7934         * text2.C (cutSelection): some rework
7935
7936 2003-04-28  John Levon  <levon@movementarian.org>
7937
7938         * bufferlist.C: changes for unsaved changes dialog
7939
7940 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7941
7942         * bufferlist.C (newFile): set language (messages_) for new
7943         documents also.
7944
7945         * buffer.C (readFile): ws changes only.
7946
7947 2003-04-28  André Pönitz  <poenitz@gmx.net>
7948
7949         * undo_funcs.C:
7950         * lyxfunc.C:
7951         * buffer.[Ch]:
7952         * BufferView_pimpl.C:
7953         * BufferView.C: getParFromID related ParagraphList::iterator changes
7954
7955 2003-04-28  André Pönitz  <poenitz@gmx.net>
7956
7957         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7958           Changes
7959
7960 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7961
7962         * messages.C: remove one more localedir class variable.
7963
7964 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7965
7966         * messages.C (getLocaleDir): singleton generation function
7967         (Pimpl): use it.
7968         (Messages): add a default constructor.
7969
7970         * main.C (main): do not setup localedir here, do not call
7971         gettext_init.
7972
7973         * gettext.C (_): use it.
7974         (gettext_init): delete funciton
7975
7976 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7977
7978         * gettext.C (getLyXMessages): new singleton generating function.
7979
7980         * buffer.C (updateDocLang): adjust
7981
7982         * Makefile.am (messages.o): add target
7983         (main.o): remove target
7984
7985 2003-04-27  John Levon  <levon@movementarian.org>
7986
7987         * bufferlist.C:
7988         * lyx_cb.C:
7989         * lyxfunc.C:
7990         * lyxvc.C: specify cancel button in Alert::prompt
7991
7992 2003-04-26  John Levon  <levon@movementarian.org>
7993
7994         * text3.C:
7995         * lyxfunc.C:
7996         * lfuns.h:
7997         * LyXAction.C: add LFUN_INSET_SETTINGS
7998
7999         * lyxfunc.C: don't enable tabular-feature when there's
8000         just any locking inset
8001
8002 2003-04-26  John Levon  <levon@movementarian.org>
8003
8004         * bufferlist.C: re-add Cancel to buffer close question
8005
8006         * lyxfunc.C: fix import UI a bit
8007
8008 2003-04-25  John Levon  <levon@movementarian.org>
8009
8010         * gettext.C: remove the broken asserts for now
8011
8012 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * messages.C: make case where setlocale cannot comply work better.
8015
8016         * buffer.C (updateDocLang): new function
8017         (changeLanguage): use it
8018         (readFile): use it
8019
8020         * text2.C (setCounter): use B_ a bit.
8021
8022         * lyxlayout.C (Read): be sure to trim the label strings.
8023
8024         * messages.C (Messages): fix typo in comment
8025
8026         * buffer.C (readFile): set message_ after file is loaded.
8027         (makeDocBookFile): remove double return
8028         (changeLanguage): reset message_ upon language change.
8029         (B_): new func, use this to get translated buffer strings.
8030
8031         * main.C: add myself and Jean Marc as authors.
8032
8033 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8034
8035         * messages.[hC]: pimplify Messages, and three different pimpls to be
8036         used in different circumstances.
8037
8038         * gettext.[Ch]: change for use with new message code.
8039
8040 2003-04-24 André Pönitz <poenitz@gmx.net>
8041
8042         * factory.C: support for eqref
8043
8044 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8045
8046         * messages.[Ch]: add missing char
8047
8048         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8049
8050         * messages.[Ch]: New files
8051
8052 2003-04-18  John Levon  <levon@movementarian.org>
8053
8054         * BufferView.h:
8055         * BufferView.C:
8056         * BufferView_pimpl.C:
8057         * lfuns.h:
8058         * LyXAction.C:
8059         * lyxtext.h:
8060         * text2.C: remove layout-copy/paste (bug 778)
8061
8062 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8063
8064         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8065
8066 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8067
8068         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8069         if they succeed. Act accordingly.
8070
8071 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8072
8073         * text2.C (setCharFont): adjust
8074         (setCounter): adjust
8075         (insertStringAsLines): adjust
8076
8077         * text.C (leftMargin): adjust
8078         (setHeightOfRow): adjust
8079
8080         * rowpainter.C (paintFirst): adjust
8081         (paintLast): adjust
8082
8083         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8084         (outerHook): ditto
8085         (isFirstInSequence): ditto
8086         (getEndLabel): ditto
8087         (outerFont): adjust
8088
8089         * paragraph.C (getParLanguage): comment out some hard stuff.
8090
8091         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8092         (sgmlError): ditto
8093         (simpleDocBookOnePar): ditto
8094         (makeDocBookFile): use ParagraphList::iterator
8095
8096         * CutAndPaste.C (pasteSelection): adjust
8097
8098 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * text2.C (getFont): adjust
8101         (getLayoutFont): adjust
8102         (getLabelFont): adjust
8103
8104         * paragraph_funcs.C (TeXOnePar): adjust
8105
8106         * buffer.C (simpleLinuxDocOnePar): adjust
8107         (simpleDocBookOnePar): adjust
8108
8109         * CutAndPaste.C (pasteSelection): adjust
8110
8111         * BufferView.C (getEncoding): adjust
8112
8113         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8114
8115 2003-04-16  John Levon  <levon@movementarian.org>
8116
8117         * lyxfind.C: use parlist stuff for search/changes
8118
8119 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8120
8121         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8122
8123         * text2.C (deleteEmptyParagraphMechanism): adjust
8124
8125         * text2.[Ch] (ownerParagraph): delete func (both of them
8126
8127 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8128
8129         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8130
8131 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8132
8133         * ParagraphList.C: prepare for NO_NEXT
8134
8135 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * text2.C (getFont): adjust
8138         (getLayoutFont): adjust
8139         (getLabelFont): adjust
8140
8141         * paragraph.C (getFont): adjust
8142         (getLabelFont): adjust
8143         (getLayoutFont): adjust
8144
8145         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8146
8147 2003-04-15  John Levon  <levon@movementarian.org>
8148
8149         From Angus Leeming
8150
8151         * lyx_main.C: handle Include in .ui files
8152
8153 2003-04-15  John Levon  <levon@movementarian.org>
8154
8155         * MenuBackend.C: make the doc files length shorter
8156
8157         * ToolbarBackend.h:
8158         * ToolbarBackend.C: handle toolbar placement flags,
8159         Minibuffer
8160
8161 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8164         adjust
8165
8166         * paragraph_funcs.C (TeXOnePar): adjust
8167
8168         * paragraph.C (getLabelFont): add outerfont arg, adjust
8169         (getLayoutFont): ditto
8170         (simpleTeXOnePar): adjust
8171
8172         * paragraph_pimpl.C (realizeFont): delete func
8173
8174 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8175
8176         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8177         row argument, constify cur argument.
8178
8179 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8180
8181         * text2.C (getFont): adjust
8182         (getLayoutFont): adjust
8183         (getLabelFont): adjust
8184
8185         * paragraph_funcs.C (TeXOnePar): adjust
8186         (outerFont): new func...
8187         (realizeFont): ...moved out from here, changed this to facilitate
8188         transition
8189
8190         * paragraph.C (getFont): take outerfont as arg, adjust
8191         (simpleTeXOnePar): add outerfont arg, adjust
8192
8193         * buffer.C (simpleLinuxDocOnePar): adjust
8194         (simpleDocBookOnePar): adjust
8195
8196         * CutAndPaste.C (pasteSelection): adjust
8197
8198         * BufferView.C (getEncoding): adjust
8199
8200 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * text2.C (setCharFont): adjust
8203         (setCounter): adjust
8204
8205         * text.C (leftMargin): adjust
8206         (setHeightOfRow): adjust
8207
8208         * rowpainter.C (paintFirst): adjust
8209         (paintLast): adjust
8210
8211         * paragraph_pimpl.C (realizeFont): adjust
8212
8213         * paragraph.C (isFirstInSequence): move from here...
8214         * paragraph_funcs.C (isFirstInSequence): ...to here
8215
8216         * paragraph.C (outerHook): move from here...
8217         * paragraph_funcs.C (outerHook): ...to here
8218
8219         * paragraph.C (depthHook): move from here...
8220         * paragraph_funcs.C (depthHook): ...to here
8221
8222         * paragraph.C (getEndLabel): move from here...
8223         * paragraph_funcs.C (getEndLabel): ...to here
8224
8225         * text2.C (realizeFont): move from here...
8226         * paragraph_funcs.C (realizeFont): ...to here
8227
8228 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8231
8232 2003-04-14  Angus Leeming  <leeming@lyx.org>
8233
8234         * LColor.[Ch]: scrap LColor mathcursor.
8235
8236 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * lyxlex.[Ch] (text): delete function
8239         * trans.C (Load): adjust
8240         * paragraph_funcs.C (readParToken): adjust
8241
8242 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8243
8244         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8245         vector<char> instead of a char[].
8246
8247         * lyxlex_pimpl.C (getString): adjust
8248         (next): adjust
8249         (lex): use getString
8250         (eatLine): adjust
8251         (nextToken): adjust
8252
8253         * lyxlex.C (text): use pimpl_->getString()
8254         (getBool): ditto
8255         (findToken): ditto
8256
8257 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8258
8259         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8260         (makeFontEntriesLayoutSpecific): temp var for par.size()
8261         (setLayout): temp var for ownerParagraphs().end()
8262         (fullRebreak): temp var for rows().end()
8263         (selectionAsString): temp var for boost::next(startpit), realize
8264         that the while really is a regular for loop.
8265         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8266         setCursor in one place.
8267         (setParagraph): temp vr for ownerParagraphs().end()
8268         (updateCounters): make the while loop a for loop
8269         (cutSelection): temp var for ownerParagraphs().end()
8270         (updateInset): make the do {} while() a regular for loop
8271         (getCursorX): use temp vars
8272         (setCurrentFont): use temp vars
8273         (getColumnNearX): use temp vars
8274
8275 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * text.C (transformChar): use temp var for getChar
8278         (computeBidiTables): use temp var for row->par()
8279         (fill): move temp vars for row->par() and pit->layout() earlier in
8280         the function.
8281         (labelFill): use temp var for row->par()
8282         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8283         asc and desc, realize that pit never changes and that firstpit is
8284         just a duplicate and not needed. Exchange rit->par() with pit in a
8285         lot of places.
8286         (breakAgain): use a temp var for boost::next(rit)
8287         (breakAgainOneRow): ditto
8288         (breakParagraph): use a temp var for rows().begin()
8289         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8290         (cursorRightOneWord): use temp var for cursor.par() and
8291         cursor.pos(), remove usage of tmpcursor.
8292         (cursorLeftOneWord): use temp var for cursor.par() and
8293         cursor.pos() only set cur at end of function.
8294
8295 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8296
8297         * text.C, text2.C: exchange all usage of Paragraph::next with
8298         boost::next(ParagraphList::iterator)
8299
8300         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8301
8302         * text2.C (cursorTop): simplify implementation
8303         (cursorBottom): ditto
8304         (setParagraph): use ParagraphList::iterator
8305         (setCurrentFont): adjust
8306         (getColumnNearX): adjust
8307         (cursorRight): adjust
8308         (cursorLeft): remove usage of Paragraph::previous
8309         (cursorUpParagraph): ditto
8310         (deleteEmptyParagraphMechanism): slight cleanup
8311
8312         * text.C (isBoundary): take a Paragraph const & instead of a
8313         pointer as arg.
8314         (addressBreakPoint): ditto
8315         (leftMargin): remove usage of Paragraph::previous.
8316         (setHeightOfRow): ditto
8317         (cursorLeftOneWord): ditto
8318         (selectNextWordToSpellcheck): ditto
8319         (Delete): ditto
8320         (backspace): ditto
8321         (breakParagraph): remove one usage of Paragraph::next
8322         (redoParagraph): ditto
8323         (acceptChange): ditto
8324         (insertChar): adjust
8325         (rowBreakPoint): adjust
8326
8327         * bufferview_funcs.C (toggleAndShow): adjust
8328
8329 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8330
8331         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8332         methods to access it.
8333         * lyxtext.h:
8334         * text.C: Added updateRowPositions to compute all row positions.
8335         Make top_y and getRowNearY() to use the cached y position
8336
8337 2003-04-11  John Levon  <levon@movementarian.org>
8338
8339         * text.C (rowBreakPoint): reintroduce the labelEnd
8340         checks, code copied from the row fill stuff. Deep voodoo.
8341
8342         * text.C (fill): add a comment and debugging for the
8343         next poor soul.
8344
8345 2003-04-11  John Levon  <levon@movementarian.org>
8346
8347         * text.C: make sure fullrow insets get wrapped to the next line,
8348         even when they're in a manual label
8349
8350 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8351
8352         * text2.C (insertParagraph): make it take ParagraphList::iterator
8353         as arg.
8354         (setLayout): make it return ParagraphList::iterator
8355         (redoParagraphs): ditto
8356         (setCounter): ditto
8357         (checkParagraph): ditto
8358
8359         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8360
8361         * text2.C: adjust several funcs.
8362         (realizeFont): take a ParagraphList::iterator as arg.
8363         (getLayoutFont): ditto
8364         (getLabelFont): ditto
8365         (setCharFont): ditto
8366
8367         * text.C: adjust several funcs.
8368
8369 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8370
8371         * text.C (selectNextWordToSpellcheck): don't accidentally
8372         skip insets
8373
8374 2003-04-10  John Levon  <levon@movementarian.org>
8375
8376         * ToolbarBackend.C (getIcon): special handling for
8377         LFUN_MATH_DELIM
8378
8379 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8380
8381         * text2.C (cursorRight): a getChar assert fixed
8382
8383 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8384
8385         * text2.C (getFont): change to take a ParagraphList::iterator
8386         instead of Paragraph*
8387         Adjust several functions.
8388
8389         * text.C (transformChar): change to take a ParagraphList::iterator
8390         instead of Paragraph*
8391         (singleWidth): ditto
8392         Adjust several functions.
8393
8394         * rowpainter.C: adjust several functions
8395         * rowpainter.h:store a ParagraphList::iterator and not a
8396         Paragraph&.
8397
8398
8399 2003-04-09  John Levon  <levon@movementarian.org>
8400
8401         * lyxfunc.C:
8402         * lfuns.h:
8403         * LyXAction.h:
8404         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8405         and the "help" bits as well
8406
8407 2003-04-09  John Levon  <levon@movementarian.org>
8408
8409         * ToolbarBackend.h:
8410         * ToolbarBackend.C: allow multiple toolbars
8411
8412 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8413
8414         * undo_funcs.C (setCursorParUndo): adjust
8415
8416         * text_funcs.C (transposeChars): adjust
8417
8418         * text3.C (gotoNextInset): adjust
8419         (dispatch): adjust
8420
8421         * text2.C (setLayout): adjust
8422         (changeDepth): adjust
8423         (setFont): adjust
8424         (redoParagraphs): adjust
8425         (selectionAsString): adjust
8426         (setParagraph): adjust
8427         (insertInset): adjust
8428         (cutSelection): adjust
8429         (copySelection): adjust
8430         (pasteSelection): adjust
8431         (insertStringAsLines): adjust
8432         (updateInset): adjust
8433         (setCursor): change to take a ParagraphList::iterator parameter
8434         (setCursorIntern): change to take a ParagraphList::iterator parameter
8435         (setCurrentFont): adjust
8436         (cursorLeft): adjust
8437         (cursorRight): adjust
8438         (deleteEmptyParagraphMechanism): adjust
8439
8440         * text.C (breakParagraph): adjust
8441         (insertChar): adjust
8442         (acceptChange): adjust
8443         (rejectChange): adjust
8444         (selectNextWordToSpellcheck): adjust
8445         (changeCase): adjust
8446         (Delete): adjust
8447         (backspace): adjust
8448
8449         * lyxfind.C (SearchForward): adjust
8450         (SearchBackward): adjust
8451         (nextChange): adjust
8452
8453         * lyxcursor.C (par): adjust
8454
8455         * lyxcursor.h: store a ParagraphList::iterator instead of a
8456         Paragraph*
8457
8458         * lyx_cb.C (getPossibleLabel): adjust
8459
8460         * bufferview_funcs.C (toggleAndShow): adjust
8461
8462         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8463         (dispatch): adjust
8464
8465         * BufferView.C (removeAutoInsets): adjust
8466         (lockedInsetStoreUndo): adjust
8467
8468 2003-04-09  John Levon  <levon@movementarian.org>
8469
8470         * ToolbarBackend.C: try icon without argument
8471         if with argument fails
8472
8473 2003-04-08  John Levon  <levon@movementarian.org>
8474
8475         * ToolbarBackend.h:
8476         * ToolbarBackend.C: add getIcon(), handle tooltip,
8477         and change from "Icon" to "Item".
8478
8479 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8480
8481         * BufferView.C (lockInset): another bad getchar crunched
8482
8483 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8484
8485         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8486         again)
8487
8488 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8489
8490         * lyxfind.C (searchForward, searchBackwards): bug 782
8491
8492 2003-04-07  John Levon  <levon@movementarian.org>
8493
8494         * paragraph.C: remove dead comment
8495
8496         * text.C: remove troublesome depth-fiddling code
8497         in leftMargin() and rightMargin() (bug 1017)
8498
8499         * text.C: fix breaking of rows in nested lists
8500         (bug 1004)
8501
8502         * text2.C (updateCounters): fix up depth values
8503         (bug 1013)
8504
8505 2003-04-07  John Levon  <levon@movementarian.org>
8506
8507         * BufferView_pimpl.C: clear message when doc finishes resizing,
8508         and after a mouse event
8509
8510         * lyxfunc.C: clear message after exiting inset
8511
8512 2003-04-07  John Levon  <levon@movementarian.org>
8513
8514         * bufferview_funcs.C: show math status not outside
8515         status in the statusbar
8516
8517 2003-04-07  John Levon  <levon@movementarian.org>
8518
8519         * lyxfunc.C: note status changed after a depth change
8520
8521 2003-04-04  Angus Leeming  <leeming@lyx.org>
8522
8523         * LaTeX.h: move AuxInfo operator==, != out of line.
8524         Remove LaTeX virtual destructor; nothing derives from it.
8525         Move operator()() out of public area and rename it startscript().
8526         Change protected for private.
8527
8528 2003-04-04  Angus Leeming  <leeming@lyx.org>
8529
8530         * lyxfunc.C:
8531         * text2.C: remove unneeded #includes.
8532
8533 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8534
8535         * text2.C (dEPM): fix the heigth of the next row
8536
8537 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8538
8539         * text.C: squashed an invalid getChar requester + some ws changes
8540
8541 2003-04-03  John Levon  <levon@movementarian.org>
8542
8543         * bufferview_funcs.h:
8544         * bufferview_funcs.C:
8545         * lyxfunc.C:
8546         * lyxtext.h:
8547         * text2.C: make getStatus work for the env depth lfuns
8548
8549 2003-04-03  John Levon  <levon@movementarian.org>
8550
8551         * bufferview_funcs.h:
8552         * bufferview_funcs.C:
8553         * lyxfunc.C:
8554         * lyxtext.h:
8555         * text2.C: parlistize decDepth(), by merging it with incDepth()
8556
8557 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8558
8559         * lyxrow.h: store a ParagraphList::iterator instead of a
8560         Paragraph* and adjust other class functions to suit.
8561
8562         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8563         above.
8564
8565 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8566
8567         * text2.C (setCursor): do not anchor to cursor row for the time being
8568
8569 2003-04-02  John Levon  <levon@movementarian.org>
8570
8571         * LyXAction.C:
8572         * lfuns.h:
8573         * lyx_main.C:
8574         * lyxtext.h:
8575         * text.C:
8576         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8577
8578 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8579
8580         * paragraph.h: make ParagraphList and ParagraphList::iterator
8581         friends of Paragraph.
8582
8583         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8584
8585         * ParagraphList.C: Use the private next_ and previous_ from
8586         Paragraph.
8587
8588 2003-04-01  John Levon  <levon@movementarian.org>
8589
8590         * ToolbarBackend.h:
8591         * ToolbarBackend.C:
8592         * Makefile.am: rename, remove defaults gunk
8593
8594         * MenuBackend.h:
8595         * MenuBackend.C: remove defaults gunk
8596
8597         * Languages.h:
8598         * Languages.C: remove defaults gunk
8599
8600         * lyx_main.h:
8601         * lyx_main.C: error out if files couldn't be found.
8602
8603 2003-04-02  John Levon  <levon@movementarian.org>
8604
8605         * text2.C: make incDepth() use parlist
8606
8607 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8608
8609         * undo_funcs.C (firstUndoParagraph): adjust
8610
8611         * text3.C (gotoInset): adjust
8612         (dispatch): adjust, and rewrite loop.
8613
8614         * text2.C (init): adjust, and rewrite loop.
8615         (redoParagraphs): adjust
8616         (updateInset): adjust, and rewrite loop.
8617         (deleteEmptyParagraphMechanism): adjust
8618
8619         * tabular.C (LyXTabular): adjust
8620         (SetMultiColumn): adjust
8621         (TeXRow): adjust
8622
8623         * lyxtext.[Ch] (ownerParagraph): delete function
8624         (ownerParagraphs): new function returns a ParagraphList.
8625
8626         * BufferView.C (removeAutoInsets): adjust
8627         (insertErrors): adjust
8628         (setCursorFromRow): adjust
8629
8630 2003-04-01  Angus Leeming  <leeming@lyx.org>
8631
8632         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8633         in the frontends.
8634
8635 2003-04-02  John Levon  <levon@movementarian.org>
8636
8637         * lyxtext.h:
8638         * text.C:
8639         * Makefile.am:
8640         * text_funcs.h:
8641         * text_funcs.C: make transposeChars a free function
8642
8643         * lyxrow_funcs.C: remove wrong comment
8644
8645 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * lyxtext.h: adjust
8648         * rowpainter.C: adjust
8649         * text.C: adjust
8650         * text2.C: adjust
8651         * text3.C: adjust
8652
8653         * lyxrow_funcs. [Ch]: new files
8654
8655         * lyxrow.[Ch]: remove next and previous pointers
8656         (next,previous): remove accessor functions
8657         (isParEnd): move to lyxrow_funcs
8658         (lastPos): move to lyxrow_funcs
8659         (nextRowIsAllInset): move to lyxrow_funcs
8660         (lastPrintablePos): move to lyxrow_funcs
8661         (numberOfSeparators): move to lyxrow_funcs
8662         (numberOfHfills): move to lyxrow_funcs
8663         (numberOfLabelHfills): move to lyxrow_funcs
8664         (hfillExpansion): move to lyxrow_funcs
8665
8666         * lyxfunc.C: adjust
8667
8668         * bufferview_funcs.C (toggleAndShow): adjust
8669
8670         * RowList.h: Remove class RowList from file leave just a
8671         std::list<Row>.
8672
8673         * RowList.C: delete file
8674
8675         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8676         and lyxrow_funcs.h
8677
8678 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8679
8680         * text3.C (cursorPrevious): adjust
8681         (cursorNext): adjust
8682         (dispatch): adjust
8683
8684         * text2.C (redoHeightOfParagraph): adjust
8685         (redoDrawingOfParagraph): adjust
8686         (setCursor): adjust
8687
8688         * text.C (breakParagraph): adjust
8689         (insertChar): adjust
8690         (backspace): adjust
8691
8692         * rowpainter.C (RowPainter): adjust
8693         (leftMargin): simplify and adjust
8694         (most rowpainter functions): adjust.
8695
8696         * rowpainter.h: store the row as RowList::iterator not as Row*
8697
8698         * lyxcursor.C (row): taka RowList::iterator as arg
8699         (irow): ditto
8700
8701         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8702         of Row*.
8703
8704 2003-04-01  Angus Leeming  <leeming@lyx.org>
8705
8706         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8707         stuff like bool Bool.
8708
8709 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8710
8711         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8712         rewrite a loop
8713
8714 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8715
8716         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8717         RowList::iterator.
8718
8719         * lyxtext.h (rows): drop one version and leve a const variant that
8720         returns a RowList::iterator.
8721
8722 2003-03-31  Angus Leeming  <leeming@lyx.org>
8723
8724         * text.C (fill): ensure that the signature is the same as that in the
8725         header file.
8726
8727 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8728
8729         * text2.C (redoParagraphs): adjust
8730         (updateCounters): adjust
8731         (checkParagraph): adjust
8732         (getColumnNearX): adjust and reformat a bit.
8733
8734         * text.C (top_y): adjust
8735         (workWidth): adjust
8736         (leftMargin): adjust
8737         (prepareToPrint): adjust
8738         (getRow): adjust
8739         (getRowNearY): adjust
8740
8741         * lyxtext.h: make rowlist_ mutable.
8742
8743         * RowList.h: add const_iterator
8744         * RowList.C: adjust for RowList::const_iterator.
8745
8746         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8747         adjust.
8748
8749 2003-03-31  John Levon  <levon@movementarian.org>
8750
8751         * lyxrc.h:
8752         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8753
8754         * lyx_main.C: set default fonts from using lyx_gui funcs
8755
8756         * exporter.C: pdf_mode moved from lyxrc
8757
8758         * lyx_cb.C:
8759         * lyxfunc.C: changes from above
8760
8761 2003-03-31  John Levon  <levon@movementarian.org>
8762
8763         * lyx_main.C: fix to the last fix
8764
8765 2003-03-31  John Levon  <levon@movementarian.org>
8766
8767         * bufferlist.C: "Load original" -> "Load Original"
8768
8769         * converter.C:
8770         * exporter.C:
8771         * importer.C:
8772         * lyx_main.C:
8773         * format.C: more Alert cleanups
8774
8775 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8776
8777         * text2.C (removeParagraph): make it take a RowList::iterator as
8778         arg, adjust.
8779         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8780         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8781
8782         * text.C (anchor_row): make it take a RowList::iterator as arg,
8783         adjust.
8784         (computeBidiTables): make it take a const reference to Row instead
8785         of Row pointer, adjust.
8786         (leftMargin): make it take a RowList::iterator as arg, adjust.
8787         (rowBreakPoint): adjust
8788         (breakAgainOneRow): make it take a RowList::iterator as arg,
8789         adjust.
8790         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8791
8792         * bufferview_funcs.C (toggleAndShow): adjust
8793
8794 2003-03-30  John Levon  <levon@movementarian.org>
8795
8796         * Makefile.am:
8797         * BoostFormat.h:
8798         * boost-inst.C: moved to support
8799
8800         * several files: changes as a result
8801
8802 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8803
8804         * text2.C (LyXText): adjust.
8805         (init): adjust
8806         (removeRow): make it take a RowList::iterator as arg, adjust.
8807         (fullRebreak): adjust
8808         (deleteEmptyParagraphMechanism): adjust
8809         (clearPaint): adjust
8810         (postPaint): adjust
8811
8812         * text.C (top_y): adjust
8813         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8814         (breakAgain): make it take a RowList::iterator as arg, adjust.
8815         (breakParagraph): adjust
8816         (insertChar): adjust
8817         (backspace): adjust
8818
8819         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8820         need_break_row, and refresh_row.
8821
8822         * text3.C (dispatch): adjust
8823
8824         * text2.C (checkParagraph): adjust
8825         (setCursor): adjust
8826         (setCursorFromCoordinates): adjust
8827
8828         * text.C (top_y): adjust
8829         (workWidth): adjust
8830         (getRow): make it return a RowList::iterator, adjust
8831         (getRowNearY): make it return a RowList::iterator, adjust
8832
8833         * text2.C (init): adjust
8834         (insertRow): remove function
8835         (insertParagraph): adjust
8836         (redoParagraphs): adjust
8837         (fullRebreak): adjust
8838         (updateCounters): adjust
8839
8840         * text.C (top_y): rewrite to use RowList iterators.
8841         (top_y): adjust
8842         (setHeightOfRow): rewrite to sue RowList iterators.
8843         (appendParagraph): adjust
8844         (breakAgain): adjust
8845         (breakAgainOneRow): adjust
8846         (breakParagraph): adjust
8847         (getRow): adjust
8848         (getRowNearY): adjust, and remove commented code.
8849
8850         * lyxtext.h (firstRow): delete function
8851         (lastRow): delete function
8852         (rows): new function (const and non-const versions.)
8853         (insertRow): delete function
8854
8855         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8856
8857 2003-03-29  John Levon  <levon@movementarian.org>
8858
8859         * BufferView_pimpl.C: always update scrollbar top
8860         because pasting text when we're anchored could mean we
8861         miss an update altogether
8862
8863 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8864
8865         * text2.C (init): use rowlist_.end() and not 0.
8866         (insertRow): change to take a RowList::iterator as arg, adjust
8867         for this.
8868         (insertParagraph): change to take a RowList::iterator as arg,
8869         adjust for this.
8870         (redoParagraphs): remove some debug msgs.
8871
8872         * text.C (appendParagraph): change to take a RowList::iterator
8873         arg, adjust for this.
8874         (breakAgain): add an assert
8875         (breakAgainOneRow): ditto
8876
8877 2003-03-29  John Levon  <levon@movementarian.org>
8878
8879         * text2.C: do not clear selection after inc/decDepth
8880         (bug 550)
8881
8882 2003-03-29  John Levon  <levon@movementarian.org>
8883
8884         * BufferView.C:
8885         * buffer.C: fix broken strerrors according to Lars
8886
8887 2003-03-29  John Levon  <levon@movementarian.org>
8888
8889         * converters.C: more Alert cleanups
8890
8891 2003-03-29  John Levon  <levon@movementarian.org>
8892
8893         * bufferview_funcs.C: remove pointless Alert
8894
8895         * buffer.C: fix confusing error message when
8896         a template is chmoded 000
8897
8898 2003-03-29  John Levon  <levon@movementarian.org>
8899
8900         * BufferView.C:
8901         * BufferView.h:
8902         * BufferView_pimpl.C: Alert fixes
8903
8904         * Makefile.am:
8905         * tabular.C:
8906         * tabular-old.C: remove unused table compat reading
8907
8908 2003-03-29  John Levon  <levon@movementarian.org>
8909
8910         * BufferView.C:
8911         * buffer.C:
8912         * lyx_cb.h:
8913         * lyx_cb.C: more Alert cleanups
8914
8915         * lyxfunc.C: don't allow chktex if not latex document
8916
8917 2003-03-29  John Levon  <levon@movementarian.org>
8918
8919         * lyx_cb.C:
8920         * BufferView.C:
8921         * buffer.C: warnings pushed down from support/,
8922         kill err_alert
8923
8924 2003-03-29  John Levon  <levon@movementarian.org>
8925
8926         * lyxfunc.C: safety check for C-r (revert)
8927
8928 2003-03-29  John Levon  <levon@movementarian.org>
8929
8930         * bufferlist.h:
8931         * bufferlist.C: several UI fixes using Alert::prompt.
8932         Fix the pointless looping quit code. Fix stupid revert
8933         behaviour (bug 938)
8934
8935         * lyxvc.h:
8936         * lyxvc.C:
8937         * lyx_cb.C: use Alert::prompt
8938
8939         * lyx_main.C: remove a silly question
8940
8941         * lyxfunc.C: remove a couple of silly questions,
8942         use Alert::prompt
8943
8944 2003-03-28  John Levon  <levon@movementarian.org>
8945
8946         * text2.C: fix bug 974 (End on empty par)
8947
8948 2003-03-28  John Levon  <levon@movementarian.org>
8949
8950         * BufferView_pimpl.C:
8951         * LyXAction.C:
8952         * lfuns.h: remove do-nothing math greek lfuns
8953
8954 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * lyxgluelength.h (isValidGlueLength): add default arg on
8957         parameter 2. Remove default arg from friend in class.
8958
8959         * lyxlength.h (isValidLength): add default arg on parameter 2.
8960         Remove default arg from friend in class.
8961
8962         * text2.C (LyXText): adjust, initialize refresh_row.
8963         (init): adjust
8964         (removeRow): adjust
8965         (insertRow): adjust
8966         (insertParagraph): adjst
8967         (redoParagraphs): adjust
8968         (fullRebreak): adjust
8969         (updateCounters): adjust
8970         (deleteEmptyParagraphMechanism): first attempt at fixing a
8971         crashing bug.
8972
8973         * text.C (top_y): adjust
8974         (setHeightOfRow): adjust
8975         (getRow): adjust
8976         (getRowNearY): adjust
8977
8978         * lyxtext.h: include RowList.h
8979         (~LyXText): not needed anymore, deleted.
8980         (firstRow): modify for RowList
8981         (lastRow): new function
8982         Delete firstrow and lastrow class variables, add a Rowlist
8983         rowlist_ class variable.
8984
8985         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8986         paragraph is empty.
8987
8988         * RowList.C (insert): fix case where it == begin().
8989
8990 2003-03-26  Angus Leeming  <leeming@lyx.org>
8991
8992         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8993         the thesaurus dialog.
8994
8995 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8996
8997         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8998
8999         * RowList.[Ch]: new files
9000
9001         * ParagraphList.C (erase): handle the case where it == begin
9002         correctly.
9003
9004 2003-03-25  John Levon  <levon@movementarian.org>
9005
9006         * Makefile.am:
9007         * aspell_local.h:
9008         * aspell.C: add new aspell support
9009
9010         * lyxrc.h:
9011         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9012         have it accessible.
9013
9014 2003-03-25  Angus Leeming  <leeming@lyx.org>
9015
9016         * lfuns.h:
9017         * LyXAction.C (init): new LFUN_INSET_INSERT.
9018
9019         * BufferView_pimpl.C (dispatch): split out part of the
9020         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9021
9022         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9023         LFUN_INSET_APPLY.
9024
9025 2003-03-25  Angus Leeming  <leeming@lyx.org>
9026
9027         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9028
9029 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9030
9031         * text2.C:
9032         * text3.C: remove useless row->height(0)
9033
9034 2003-03-25  John Levon  <levon@movementarian.org>
9035
9036         * lyxtext.h:
9037         * text2.C:
9038         * text3.C: rename the refreshing stuff to better names
9039
9040 2003-03-24  John Levon  <levon@movementarian.org>
9041
9042         * BufferView_pimpl.h:
9043         * BufferView_pimpl.C: update layout choice on a mouse
9044         press/release
9045
9046 2003-03-23  John Levon  <levon@movementarian.org>
9047
9048         * Makefile.am: fix commandtags.h reference
9049
9050 2003-03-22  John Levon  <levon@movementarian.org>
9051
9052         * BufferView_pimpl.C:
9053         * lyxtext.h:
9054         * rowpainter.C:
9055         * rowpainter.h:
9056         * text.C:
9057         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9058
9059 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9060
9061         * lyxtext.h:
9062         * text.C: take the rtl methods out of line
9063
9064 2003-03-21 André Pönitz <poenitz@gmx.net>
9065
9066         * metricsinfo.[Ch]: new files containing structures to be passed around
9067         during the two-phase-drawing...
9068
9069 2003-03-21 André Pönitz <poenitz@gmx.net>
9070
9071         * lyxtextclass.C: read 'environment' tag.
9072
9073 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9074
9075         * text2.C (removeRow): fix bug 964
9076
9077 2003-03-20  John Levon  <levon@movementarian.org>
9078
9079         * rowpainter.C:
9080         * text.C:
9081         * text2.C: paint cleanups. Inset::update() dropped font
9082         parameter
9083
9084 2003-03-19  John Levon  <levon@movementarian.org>
9085
9086         * lyxfunc.C: only fitcursor/markDirty if available()
9087
9088 2003-03-19  John Levon  <levon@movementarian.org>
9089
9090         * commandtags.h: rename to ...
9091
9092         * lfuns.h: ... this, and renumber / cleanup
9093
9094 2003-03-19  John Levon  <levon@movementarian.org>
9095
9096         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9097         fit the cursor after an lfun
9098
9099         * BufferView.h:
9100         * BufferView.C:
9101         * BufferView_pimpl.h:
9102         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9103
9104         * LyXAction.C: layout-character should have ReadOnly
9105
9106         * ParagraphParameters.C:
9107         * buffer.C:
9108         * bufferview_funcs.C:
9109         * lyx_cb.C:
9110         * lyxfind.C:
9111         * lyxtext.h:
9112         * text.C:
9113         * text2.C:
9114         * text3.C:
9115         * undo_funcs.C: changes from above
9116
9117 2003-03-18  John Levon  <levon@movementarian.org>
9118
9119         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9120         remove it from update()
9121
9122         * lyxfunc.C: update layout choice after an lfun
9123
9124         * text3.C: remove extra updateLayoutChoice()s
9125
9126 2003-03-18  John Levon  <levon@movementarian.org>
9127
9128         * text.C: top_y change means full repaint, fix
9129         a drawing bug with cursor movement
9130
9131 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9132
9133         * lyxtext.h:
9134         * text.C:
9135         * text2.C: anchor row on setCursor
9136
9137 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9138
9139         * lyxtext.h: remove almost all mutable keywords
9140         * text.C:
9141         * text2.C:
9142         * text3.C: remove const keywords accordingly
9143
9144 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9145
9146         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9147         anon namespace
9148         (TeXEnvironment): ditto
9149         (TeXOnePar): ditto
9150
9151 2003-03-17  John Levon  <levon@movementarian.org>
9152
9153         * text.C (rowBreakPoint): remove attempt to fix displayed
9154         math insets inside a manual label
9155
9156 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9157
9158         * lyxtext.h: remove BufferView* as first arg from almost all class
9159         functions.
9160         * other files: adjust.
9161
9162 2003-03-17  John Levon  <levon@movementarian.org>
9163
9164         * lyxtext.h:
9165         * undo_funcs.C:
9166         * text2.C: more paint cleanups
9167
9168         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9169
9170         * rowpainter.h:
9171         * rowpainter.C: remove "smart" background painting code
9172
9173 2003-03-16  John Levon  <levon@movementarian.org>
9174
9175         * lyxtext.h:
9176         * text.C:
9177         * text2.C:
9178         * text3.C: add helper functions for setting refresh_row/y
9179
9180 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9181
9182         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9183         newline inset which *can* get inserted in the pass_thru layouts.
9184         This is primarily for literate documents.
9185
9186 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9187
9188         * buffer.C: increment LYX_FORMAT to 223
9189
9190 2003-03-14 André Pönitz <poenitz@gmx.net>
9191
9192         * textclass.h: prepare for environment handling, ws changes
9193         * lyxlayout.C: read latexheader and latexfooter tags
9194
9195 2003-03-14  John Levon  <levon@movementarian.org>
9196
9197         * text2.C: rewrite ::status() a bit
9198
9199 2003-03-13  John Levon  <levon@movementarian.org>
9200
9201         * lyxtext.h: add some docs
9202
9203 2003-03-13  John Levon  <levon@movementarian.org>
9204
9205         * lyxtext.h:
9206         * text.C:
9207         * text2.C:
9208         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9209
9210 2003-03-13  John Levon  <levon@movementarian.org>
9211
9212         * text3.C: fix appendix redrawing
9213
9214 2003-03-13  John Levon  <levon@movementarian.org>
9215
9216         * text.C (setHeightOfRow):
9217         * rowpainter.h:
9218         * rowpainter.C: make appendix mark have the text
9219           "Appendix" so the user knows what it is
9220
9221         * LColor.h:
9222         * LColor.C: s/appendixline/appendix/ from above
9223
9224 2003-03-13  John Levon  <levon@movementarian.org>
9225
9226         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9227
9228         * text.C: fix a getChar(pos) bug properly
9229
9230 2003-03-13  Angus Leeming  <leeming@lyx.org>
9231
9232         * commandtags.h:
9233         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9234         Probably only temporary. Let's see how things pan out.
9235
9236         * BufferView.C (unlockInset):
9237         * BufferView_pimpl.C (fitCursor):
9238         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9239
9240         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9241         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9242
9243         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9244         new functions that convert ParagraphParameters to and from a string.
9245
9246         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9247         BufferView::Pimpl's dispatch.
9248         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9249
9250 2003-03-13 André Pönitz <poenitz@gmx.net>
9251
9252         * lyxfunc.C:
9253         * text3.C:
9254         * factory.C: make it aware of InsetEnv
9255
9256 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9257
9258         * text2.C (setCursor): never ask for one past last
9259         (setCursor): add some debugging messages.
9260
9261         * text.C (singleWidth): never ask for one past last
9262         (singleWidth): ditto
9263         (leftMargin): ditto
9264         (rightMargin): ditto
9265         (rowBreakPoint): ditto
9266         (setHeightOfRow): ditto
9267         (prepareToPrint): ditto
9268
9269         * rowpainter.C (paintBackground): never ask for one past last
9270         (paintText): never ask for one past last
9271
9272         * paragraph_pimpl.C (getChar): make the assert stricter, never
9273         allow the one past last pos to be taken
9274
9275         * paragraph.C (getChar): ws changes only
9276
9277         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9278         (numberOfSeparators): ditto
9279         (numberOfHfills): ditto
9280
9281 2003-03-12  John Levon  <levon@movementarian.org>
9282
9283         * author.h:
9284         * author.C:
9285         * bufferparams.h:
9286         * bufferparams.C:
9287         * paragraph_funcs.C: fix per-buffer authorlists
9288
9289 2003-03-12  John Levon  <levon@movementarian.org>
9290
9291         * text.C: fix newline in right address
9292
9293 2003-03-12  Angus Leeming  <leeming@lyx.org>
9294
9295         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9296         duplicate those in LyXFunc::dispatch.
9297
9298         * commandtags.h:
9299         * LyXAction.C:
9300         * ToolbarDefaults.C:
9301         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9302         Add LFUN_FONTFREE_UPDATE.
9303
9304         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9305         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9306
9307         * bufferview_func.[Ch]: several new functions to facilliate
9308         transfer of data to and from the character dialog.
9309
9310 2003-03-12  John Levon  <levon@movementarian.org>
9311
9312         * buffer.C:
9313         * paragraph.h:
9314         * paragraph.C:
9315         * paragraph_funcs.C:
9316         * paragraph_pimpl.C:
9317         * sgml.C:
9318         * tabular.C:
9319         * text.C:
9320         * text3.C: remove META_NEWLINE in favour of an inset
9321
9322         * rowpainter.h:
9323         * rowpainter.C: remove paintNewline (done by inset)
9324
9325 2003-03-12  John Levon  <levon@movementarian.org>
9326
9327         * paragraph_pimpl.C: complain about bad getChar()s
9328         for a while at least
9329
9330 2003-03-12  John Levon  <levon@movementarian.org>
9331
9332         * buffer.h:
9333         * buffer.C: move paragraph read into a separate function,
9334         a little renaming to reflect that.
9335
9336         * bufferparams.h:
9337         * bufferparams.C: remove the author_ids map, not necessary now
9338
9339         * factory.h:
9340         * factory.C: moved Buffer::readInset to here
9341
9342         * paragraph_funcs.h:
9343         * paragraph_funcs.C: readParagraph free function moved from
9344         buffer.C
9345
9346         * tabular.C: name change
9347
9348 2003-03-12  John Levon  <levon@movementarian.org>
9349
9350         * buffer.C:
9351         * ParagraphParameters.C: move par params input to
9352         a read() method
9353
9354         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9355         behave like a normal read from the stream wrt reading
9356         a line vs. a \\token
9357
9358 2003-03-12  John Levon  <levon@movementarian.org>
9359
9360         * paragraph.C:
9361         * ParagraphParameters.h:
9362         * ParagraphParameters.C: move output code to a
9363         ::write() method
9364
9365 2003-03-12  John Levon  <levon@movementarian.org>
9366
9367         * BufferView.C (insertLyXFile):
9368         * buffer.h:
9369         * buffer.C:
9370         * tabular.C: use a parlist iterator for creating the
9371           document.
9372
9373 2003-03-12  John Levon  <levon@movementarian.org>
9374
9375         * buffer.C: make current_change static local not
9376           static file-scope
9377
9378 2003-03-12  John Levon  <levon@movementarian.org>
9379
9380         * buffer.C: fix insertStringAsLines for change tracking
9381
9382 2003-03-12  John Levon  <levon@movementarian.org>
9383
9384         * BufferView.C:
9385         * tabular.C:
9386         * buffer.h:
9387         * buffer.C:
9388         * bufferparams.h:
9389         * bufferparams.C: move author list into params. Rename some
9390           functions. Move the header reading into a separate token
9391           loop. Move the header token reading into BufferParams.
9392
9393 2003-03-12  John Levon  <levon@movementarian.org>
9394
9395         * changes.C: put debug inside lyxerr.debugging() checks
9396
9397 2003-03-11 André Pönitz <poenitz@gmx.net>
9398
9399         * factory.C: make it aware of InsetHFill
9400
9401 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9402
9403         * buffer.C (latexParagraphs): move function from here...
9404         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9405         args.
9406
9407 2003-03-10  Angus Leeming  <leeming@lyx.org>
9408
9409         * LyXAction.C (init): fix bug in poplating array with multiple entries
9410         with the same LFUN (spotted by JMarc).
9411
9412 2003-03-10  John Levon  <levon@movementarian.org>
9413
9414         * text.C:
9415         * text2.C: move getColumnNearX() near its
9416         only call site
9417
9418 2003-03-10  John Levon  <levon@movementarian.org>
9419
9420         * text.C: fix break before a minipage
9421
9422 2003-03-10  John Levon  <levon@movementarian.org>
9423
9424         * text.C: fix the last commit
9425
9426 2003-03-09  John Levon  <levon@movementarian.org>
9427
9428         * lyxtext.h:
9429         * text.C:
9430         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9431         bug 365 (don't break before insets unless needed). Don't
9432         return a value > last under any circumstances.
9433
9434 2003-03-09  Angus Leeming  <leeming@lyx.org>
9435
9436         * BufferView_pimpl.C (trackChanges, dispatch): call
9437         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9438
9439 2003-03-09  Angus Leeming  <leeming@lyx.org>
9440
9441         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9442         than Dialogs::showAboutlyx().
9443
9444 2003-03-09  Angus Leeming  <leeming@lyx.org>
9445
9446         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9447         than Dialogs::showTabularCreate().
9448
9449 2003-03-09  John Levon  <levon@movementarian.org>
9450
9451         * lyxtext.h:
9452         * text.C:
9453         * text2.C: 3rd arg to nextBreakPoint was always the same.
9454           Use references.
9455
9456 2003-03-08  John Levon  <levon@movementarian.org>
9457
9458         * lyxrow.C:
9459         * paragraph.C:
9460         * paragraph.h:
9461         * rowpainter.C:
9462         * text.C:
9463         * text2.C: Remove the "main" bit from the "main body"
9464           notion.
9465
9466 2003-03-08  John Levon  <levon@movementarian.org>
9467
9468         * text.C (leftMargin): The left margin of an empty
9469         manual label paragraph should not include the label width
9470         string length.
9471
9472         * text.C (prepareToPrint): don't attempt to measure hfills
9473         for empty manual label paragraphs - the answer should be 0
9474
9475 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9476
9477         * CutAndPaste.C: remove commented code and reindent.
9478
9479 2003-03-08  John Levon  <levon@movementarian.org>
9480
9481         * lyxfunc.h:
9482         * lyxfunc.C: move reloadBuffer()
9483
9484         * BufferView.h:
9485         * BufferView.C: to here
9486
9487         * lyxvc.C: add comment
9488
9489         * vc-backend.h:
9490         * vc-backend.C: call bv->reload() to avoid
9491           getStatus() check on MENURELOAD
9492
9493 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9494
9495         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9496         to an old format .dep file.
9497
9498 2003-03-07  Angus Leeming  <leeming@lyx.org>
9499
9500         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9501         when the LFUN_MOUSE_RELEASE should have been handled by
9502         inset->localDispatch.
9503
9504 2003-03-07  Angus Leeming  <leeming@lyx.org>
9505
9506         * BufferView_pimpl.C (dispatch):
9507         * LyXAction.C (init):
9508         * ToolbarDefaults.C (init):
9509         * commandtags.h:
9510         * lyxfunc.C (getStatus):
9511         remove LFUN_INSET_GRAPHICS.
9512
9513         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9514
9515 2003-03-07  Angus Leeming  <leeming@lyx.org>
9516
9517         * commandtags.h:
9518         * LyXAction.C (init):
9519         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9520
9521         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9522
9523         * commandtags.h:
9524         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9525
9526         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9527         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9528
9529 2003-03-07  Angus Leeming  <leeming@lyx.org>
9530
9531         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9532         remove "ert".
9533
9534 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9535
9536         * ParagraphList.C (front): new function
9537         (back): implement
9538
9539 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9540
9541         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9542         and top_row_offset_. removed var first_y.
9543         * text.C (top_y):
9544         * text2.C (LyXText, removeRow):
9545         * text3.C:
9546         * BufferView_pimpl.C:
9547         use these methods instead of using first_y
9548
9549 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9550
9551         * text2.C (pasteSelection): adjust for checkPastePossible
9552
9553         * CutAndPaste.C: remove Paragraph * buf and replace with
9554         ParagraphList paragraphs.
9555         (DeleteBuffer): delete
9556         (cutSelection): change the tc type to textclass_type
9557         (copySelection): change the tc type to textclass_type
9558         (copySelection): adjust for ParagraphList
9559         (pasteSelection): change the tc type to textclass_type
9560         (pasteSelection): adjust for Paragraphlist
9561         (nrOfParagraphs): simplify for ParagraphList
9562         (checkPastePossible): simplify for ParagraphList
9563         (checkPastePossible): remove unused arg
9564
9565         * ParagraphList.C (insert): handle the case where there are no
9566         paragraphs yet.
9567
9568         * CutAndPaste.h: make CutAndPaste a namespace.
9569
9570         * text3.C (dispatch): adjust
9571
9572         * text.C (breakParagraph): add a ParagraphList as arg
9573
9574         * paragraph_funcs.C (breakParagraph): change to take a
9575         BufferParams and a ParagraphList as args.
9576         (breakParagraphConservative): ditto
9577         (mergeParagraph): ditto
9578         (TeXDeeper): add a ParagraphList arg
9579         (TeXEnvironment): ditto
9580         (TeXOnePar): ditto
9581
9582         * buffer.C (readLyXformat2): adjust
9583         (insertStringAsLines): adjust
9584         (latexParagraphs): adjust
9585
9586         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9587         (cutSelection): adjust
9588         (pasteSelection): adjust
9589
9590         * BufferView_pimpl.C (insertInset): adjust
9591
9592 2003-03-05  Angus Leeming  <leeming@lyx.org>
9593
9594         * commandtags.h:
9595         * LyXAction.C (init):
9596         * BufferView_pimpl.C (dispatch):
9597         * lyxfunc.C (getStatus):
9598         remove LFUN_CHILD_INSERT.
9599
9600         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9601
9602 2003-03-05  Angus Leeming  <leeming@lyx.org>
9603
9604         * commandtags.h:
9605         * LyXAction.C (init):
9606         * src/factory.C (createInset):
9607         * lyxfunc.C (getStatus):
9608         * text3.C (dispatch):
9609         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9610
9611         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9612
9613 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9614
9615         * ParagraphList.C (insert): handle insert right before end()
9616         (erase): fix cases where it can be first or last paragraph.
9617
9618 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9619
9620         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9621         Paragraph::next and Paragraph::previous
9622         (TeXOnePar): ditto
9623
9624         * text.C (breakParagraph): adjust
9625
9626         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9627         BufferParams& as arg.
9628         (breakParagraph): use ParagraphList::insert
9629         (breakParagraphConservative): take a Buffer* instead of a
9630         BufferParams& as arg.
9631         (breakParagraphConservative): use ParagraphList::insert.
9632
9633         * buffer.C (insertStringAsLines): un-const it
9634         (insertStringAsLines): adjust
9635
9636         * ParagraphList.C (insert): new function
9637
9638         * CutAndPaste.C (pasteSelection): adjust
9639
9640         * text.C (backspace): adjust
9641
9642         * tabular.C (SetMultiColumn): adjust
9643
9644         * CutAndPaste.C (cutSelection): adjust
9645         (pasteSelection): adjust
9646
9647         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9648         Buffer const * as arg
9649
9650         * ParagraphList.C (erase): new function
9651         * paragraph_funcs.C (mergeParagraph): use it
9652         (mergeParagraph): make it take a Buffer* instead of a
9653         BufferParams* as arg
9654
9655         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9656         as arg
9657         (breakParagraphConservative): ditto
9658
9659         * paragraph.h: remove the breakParagraph friend
9660
9661         * paragraph.C (eraseIntern): new function
9662         (setChange): new function
9663
9664         * paragraph_funcs.C (mergeParagraph): make it take a
9665         ParagraphList::iterator instead of a Paragraph *, adjust
9666         accordingly.
9667
9668         * paragraph.h: move an #endif so that the change tracking stuff
9669         also works in the NO_NEXT case.
9670
9671 2003-03-04  Angus Leeming  <leeming@lyx.org>
9672
9673         * commandtags.h:
9674         * LyXAction.C: new LFUN_INSET_MODIFY.
9675
9676         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9677         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9678
9679 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9680
9681         * several files: ws changes only
9682
9683         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9684         (TeXEnvironment): ditto
9685         (TeXDeeper): ditto
9686
9687         * buffer.C (makeLaTeXFile): adjust
9688         (latexParagraphs): make it take ParagraphList::iterator as args
9689
9690 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9691
9692         * buffer.C (latexParagraphs): adjust
9693
9694         * paragraph.C (TeXOnePar): move function...
9695         (optArgInset): move function...
9696         (TeXEnvironment): move function...
9697         * paragraph_pimpl.C (TeXDeeper): move function...
9698         * paragraph_funcs.C: ...here
9699
9700         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9701
9702 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9703
9704         * buffer.C (readInset): remove compability code for old Figure and
9705         InsetInfo insets
9706
9707 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9708
9709         * buffer.C: ws changes
9710         (readInset):
9711
9712         * BufferView_pimpl.C: ditto
9713         * author.C: ditto
9714         * buffer.h: ditto
9715         * bufferlist.h: ditto
9716         * changes.h: ditto
9717         * lyxfunc.C: ditto
9718
9719 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9720
9721         * converter.[Ch]: split into itself +
9722         * graph.[Ch]
9723         * format.[Ch]
9724         * Makefile.am: += graph.[Ch] + format.[Ch]
9725         * MenuBackend.C
9726         * buffer.C
9727         * exporter.C
9728         * importer.C
9729         * lyx_main.C
9730         * lyxfunc.C
9731         * lyxrc.C: added #include "format.h"
9732
9733 2003-02-27  Angus Leeming  <leeming@lyx.org>
9734
9735         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9736           a label.
9737
9738         * factory.C (createInset): add "label" to the factory.
9739
9740         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9741           string and do no more.
9742
9743 2003-02-27  Angus Leeming  <leeming@lyx.org>
9744
9745         * commandtags.h:
9746         * LyXAction.C (init):
9747         * factory.C (createInset):
9748         * BufferView_pimpl.C (dispatch):
9749           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9750
9751         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9752
9753         * lyxfunc.C (dispatch):
9754         * text3.C (dispatch): pass name to params2string.
9755
9756 2003-02-26  Angus Leeming  <leeming@lyx.org>
9757
9758         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9759           blocks together.
9760           Rearrange the ~includes. Strip out the unnecessary ones.
9761
9762         * factory.C (createInset): reformat.
9763           create new insets for the various LFUN_XYZ_APPLY lfuns.
9764
9765 2003-02-26  John Levon  <levon@movementarian.org>
9766
9767         * lyxrow.h:
9768         * lyxrow.C: add isParStart,isParEnd helpers
9769
9770         * paragraph.h: make isInserted/DeletedText take refs
9771
9772         * paragraph_funcs.h:
9773         * paragraph_funcs.C: remove #if 0'd code
9774
9775         * lyxtext.h:
9776         * text3.C:
9777         * text2.C:
9778         * text.C: use lyxrow helpers above.
9779           Move draw and paint routines to RowPainter.
9780           Make several methods use refs not pointers.
9781           Make backgroundColor() const.
9782           Add markChangeInDraw(), isInInset().
9783           Merge changeRegionCase into changeCase.
9784           Make workWidth() shouldn't-happen code into an Assert.
9785
9786         * rowpainter.h:
9787         * rowpainter.C: new class for painting a row.
9788
9789         * vspace.h:
9790         * vspace.C: make inPixels take a ref
9791
9792 2003-02-26  Angus Leeming  <leeming@lyx.org>
9793
9794         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9795         LFUN_REF_APPLY.
9796
9797 2003-02-25  John Levon  <levon@movementarian.org>
9798
9799         * ispell.C: give the forked command a more accurate name
9800
9801 2003-02-22  John Levon  <levon@movementarian.org>
9802
9803         * toc.h:
9804         * toc.C: make TocItem store an id not a Paragraph *
9805           (bug #913)
9806
9807 2003-02-21  Angus Leeming  <leeming@lyx.org>
9808
9809         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9810           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9811           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9812           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9813           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9814           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9815
9816         * BufferView_pimpl.C (dispatch):
9817         * LyXAction.C (init):
9818         * factory.C (createInset):
9819         * lyxfunc.C (getStatus, dispatch):
9820         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9821
9822 2003-02-21  Angus Leeming  <leeming@lyx.org>
9823
9824         * BufferView_pimpl.C (MenuInsertLyXFile):
9825         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9826         * lyxfunc.C (menuNew, open, doImport):
9827           no longer pass a LyXView & to fileDlg.
9828
9829 2003-02-21  Angus Leeming  <leeming@lyx.org>
9830
9831         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9832         * LyXAction.C: change, BIBKEY to BIBITEM.
9833         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9834         Change InsetBibKey to InsetBibitem.
9835         Change BIBKEY_CODE to BIBITEM_CODE.
9836         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9837         * factory.C: replace insetbib.h with insetbibitem.h.
9838         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9839         * paragraph.C: replace insetbib.h with insetbibitem.h.
9840         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9841         Change bibkey() to bibitem().
9842         * text.C: remove insetbib.h.
9843         * text2.C: replace insetbib.h with insetbibitem.h.
9844         change bibkey() to bibitem().
9845         * text3.C: remove insetbib.h.
9846         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9847
9848 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9849
9850         * lyxrc.C (output): enclose user email in quotes (in case there are
9851         several words)
9852
9853 2003-02-18  John Levon  <levon@movementarian.org>
9854
9855         * buffer.h: add std::
9856
9857 2003-02-17  John Levon  <levon@movementarian.org>
9858
9859         * SpellBase.h:
9860         * ispell.h:
9861         * ispell.C:
9862         * pspell.h:
9863         * pspell.C: reworking. Especially in ispell, a large
9864           number of clean ups and bug fixes.
9865
9866         * lyxfunc.C: fix revert to behave sensibly
9867
9868 2003-02-17 André Pönitz <poenitz@gmx.net>
9869
9870         * LyXAction.C:
9871         * commandtags.h: new LFUN_INSERT_BIBKEY
9872
9873         * layout.h:
9874         * lyxlayout.C:
9875         * buffer.C:
9876         * factory.C:
9877         * text.C:
9878         * text2.C:
9879         * text3.C:
9880         * paragraph.[Ch]:
9881         * paragraph_func.C: remove special bibkey handling
9882
9883 2003-02-17  John Levon  <levon@movementarian.org>
9884
9885         * text.C (Delete): fix case where delete at the end of
9886           the very first paragraph would not merge the pars
9887
9888 2003-02-17  John Levon  <levon@movementarian.org>
9889
9890         * lyxrow.C: fix lastPrintablePos()
9891
9892 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9893
9894         * bufferparams.C (writeLaTeX): add a std:here
9895
9896         * buffer.C: and remove a using directive there
9897
9898 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * buffer.C (makeLaTeXFile): move the code that generates the
9901           preamble...
9902
9903         * bufferparams.C (writeLaTeX): ... in this new method
9904
9905         * LaTeXFeatures.C (getEncodingSet): make const
9906           (getLanguages): make const
9907
9908         * MenuBackend.C (binding): returns the binding associated to this
9909           action
9910           (add): sets the status of each item by calling getStatus. Adds
9911           some intelligence.
9912           (read): add support for OptSubMenu
9913           (expand): remove extra separator at the end of expanded menu
9914
9915 2003-02-15  John Levon  <levon@movementarian.org>
9916
9917         * BufferView.C:
9918         * BufferView_pimpl.C:
9919         * bufferlist.h:
9920         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9921           inset code that had no actual effect. Remove unneeded status
9922           code.
9923
9924 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9925
9926         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9927           in preamble
9928
9929 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9930
9931         * text.C (drawLengthMarker): also draw an arrow marker for
9932           symbolic lengths (medskip...)
9933
9934 2003-02-14  John Levon  <levon@movementarian.org>
9935
9936         * tabular.h:
9937         * tabular.C: better method names
9938
9939 2003-02-14  John Levon  <levon@movementarian.org>
9940
9941         * BufferView_pimpl.C:
9942         * bufferlist.C:
9943         * buffer.C:
9944         * converter.C:
9945         * lyx_cb.C:
9946         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9947           it's a more accurate name. Remove some pointless uses.
9948
9949 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9950
9951         * text2.C (LyXText): change order of initilizers to shut off
9952           warnings
9953
9954 2003-02-14  John Levon  <levon@movementarian.org>
9955
9956         * buffer.C: use ParIterator for getParFromID()
9957
9958         * paragraph.h:
9959         * paragraph.C:
9960         * paragraph_pimpl.h:
9961         * paragraph_pimpl.C: remove unused getParFromID()
9962
9963 2003-02-14  John Levon  <levon@movementarian.org>
9964
9965         * buffer.C: remove some very old #if 0'd parse code
9966
9967 2003-02-13  John Levon  <levon@movementarian.org>
9968
9969         * text.h:
9970         * text.C:
9971         * text2.C: move hfillExpansion(), numberOfSeparators(),
9972           rowLast(), rowLastPrintable(), numberofHfills(),
9973           numberOfLabelHfills() ...
9974
9975         * lyxrow.h:
9976         * lyxrow.C: ... to member functions here.
9977
9978         * paragraph.h:
9979         * paragraph.C:
9980         * lyxtext.h:
9981         * text.C: remove LyXText::beginningOfMainBody(), and call
9982           p->beginningOfMainBody() directly. Move the check for
9983           LABEL_MANUAL into the latter.
9984
9985         * text.h:
9986         * text.C:
9987         * text2.C:
9988         * vspace.C:
9989         * BufferView.h:
9990         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9991
9992         * text.h:
9993         * text.C:
9994         * text2.C:
9995         * text3.C:
9996         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9997           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9998
9999 2003-02-13  John Levon  <levon@movementarian.org>
10000
10001         * CutAndPaste.C: remove debug
10002
10003 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * paragraph.C (asString): remove two unused variables
10006
10007         * lyxtextclass.C (readTitleType):
10008           (Read):
10009           (LyXTextClass): handle new members titletype_ and titlename_
10010
10011         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10012
10013 2003-02-09  John Levon  <levon@movementarian.org>
10014
10015         * buffer.h:
10016         * buffer.C: replace hand-coded list with a map for the dep clean
10017
10018 2003-02-08  John Levon  <levon@movementarian.org>
10019
10020         * LaTeX.C: consolidate code into showRunMessage() helper
10021
10022 2003-02-08  John Levon  <levon@movementarian.org>
10023
10024         * lyxfind.C:
10025         * lyxtext.h:
10026         * text2.C:
10027         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10028           and pass the size in explicitly
10029
10030         * BufferView_pimpl.h:
10031         * BufferView_pimpl.C:
10032         * BufferView.h:
10033         * BufferView.C: add getCurrentChange()
10034
10035         * BufferView_pimpl.h:
10036         * BufferView_pimpl.C: handle change lfuns
10037
10038         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10039           for changes. Mark pasted paragraphs as new.
10040
10041         * support/lyxtime.h:
10042         * support/lyxtime.C:
10043         * DepTable.C: abstract time_t as lyx::time_type
10044
10045         * LColor.h:
10046         * LColor.C: add colours for new text, deleted text, changebars
10047
10048         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10049           package use "usenames" option.
10050
10051         * commandtags.h:
10052         * lyxfunc.C:
10053         * LyXAction.C: add change lfuns
10054
10055         * Makefile.am:
10056         * author.h:
10057         * author.C: author handling
10058
10059         * buffer.h:
10060         * buffer.C: add a per-buffer author list, with first entry as
10061           current author. Handle new .lyx tokens for change tracking. Output
10062           author list to .lyx file. Output dvipost stuff to .tex preamble.
10063           Bump lyx format to 222.
10064
10065         * bufferlist.h:
10066         * bufferlist.C: add setCurrentAuthor() to reset current author details
10067           in all buffers.
10068
10069         * bufferparams.h:
10070         * bufferparams.C: add param for tracking
10071
10072         * bufferview_funcs.C: output change info in minibuffer
10073
10074         * Makefile.am:
10075         * changes.h:
10076         * changes.C: add change-tracking structure
10077
10078         * debug.h:
10079         * debug.C: add CHANGES debug flag
10080
10081         * lyxfind.h:
10082         * lyxfind.C: add code for finding the next change piece
10083
10084         * lyxrc.h:
10085         * lyxrc.C: add user_name and user_email
10086
10087         * lyxrow.h:
10088         * lyxrow.C: add a metric for the top of the text line
10089
10090         * lyxtext.h:
10091         * text.C: implement accept/rejectChange()
10092
10093         * lyxtext.h:
10094         * text.C: paint changebars. Paint new/deleted text in the chosen
10095         colours. Strike through deleted text.
10096
10097         * paragraph.h:
10098         * paragraph.C:
10099         * paragraph_pimpl.h:
10100         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10101           in the current change to the insert functions. Rework erase to
10102           mark text as deleted, adding an eraseIntern() and a range-based
10103           erase(). Implement per-paragraph change lookup and
10104           accept/reject.
10105
10106         * paragraph_funcs.C: Fixup paste for change tracking.
10107
10108         * tabular.C: mark added row/columns as new.
10109
10110         * text.C: fix rowLast() to never return -1. Don't allow
10111           spellchecking of deleted text. Track transpose changes. Don't
10112           allow paragraph break or merge where appropriate.
10113
10114         * text2.C: leave cursor at end of selection after a cut.
10115
10116 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10117
10118         * text.C (getLengthMarkerHeight):
10119         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10120         visible on screen too.
10121
10122 2003-02-07  John Levon  <levon@movementarian.org>
10123
10124         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10125
10126 2003-02-05  Angus Leeming  <leeming@lyx.org>
10127
10128         * lyxserver.C (read_ready): revert my patch of 11 September last year
10129         as it sends PC cpu through the roof. Presumably this means that
10130         the lyxserver will no longer run on an Alpha...
10131
10132 2003-01-30  Angus Leeming  <leeming@lyx.org>
10133
10134         * factory.C (createInset): create an InsetCommandParam of type "index"
10135         and use it to 'do the right thing'.
10136
10137         * text2.C (getStringToIndex): ensure that cursor position is always
10138         reset to the reset_cursor position.
10139
10140 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10141
10142         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10143         disabled.
10144
10145 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10146
10147         * bufferview.C:
10148         * lyxcb.C:
10149         * lyxfunc.C: Output messages with identical spelling, punctuation,
10150         and spaces
10151
10152 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10153
10154         * MenuBackend.C (expandFormats): List only viewable export formats
10155         in "View" menu
10156
10157         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10158         message
10159
10160         * lyxfunc.C (getStatus): Make sure that formats other than
10161         "fax" can also be disabled
10162
10163 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10164
10165         * text3.C (dispatch): put the lfuns that insert insets in 3
10166         groups, and call doInsertInset with appropriate arguments.
10167         (doInsertInset): new function, that creates an inset and inserts
10168         it according to some boolean parameters.
10169
10170 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10171
10172         * buffer.C (readFile): remember to pass on 'par' when calling
10173         readFile recursively.
10174
10175 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10176
10177         * MenuBackend.C (expandFormats): add "..." to import formats.
10178
10179 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10180
10181         * paragraph.C (asString): Remove XForms RTL hacks.
10182
10183 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10184         * buffer.C: fix typo
10185
10186 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10187
10188         * Makefile.am (LIBS): delete var
10189         (lyx_LDADD): add @LIBS@ here instead.
10190
10191 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10192
10193         * Clarify the meaning of "wheel mouse jump"
10194
10195 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10196
10197         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10198         tabular in a float
10199
10200 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10201
10202         * importer.C (Loaders): do not preallocate 3 elements in the
10203         vector, since one ends up with 6 elements otherwise
10204
10205 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10206
10207         * DepTable.C (write): write the file name as last element of the
10208         .dep file (because it may contain spaces)
10209         (read): read info in the right order
10210
10211 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10212
10213         * paragraph_pimpl.C (simpleTeXBlanks):
10214         (simpleTeXSpecialChars):
10215         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10216
10217         * tabular.C (latex): add some missing case statements. Reindent.
10218
10219         * MenuBackend.C (expandToc): remove unused variable.
10220
10221 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10222
10223         * LColor.C:
10224         * LaTeX.C:
10225         * LyXAction.C:
10226         * MenuBackend.C:
10227         * buffer.C:
10228         * exporter.C:
10229         * lyxfunc.C:
10230         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10231         and the like.
10232
10233 2003-01-05  John Levon  <levon@movementarian.org>
10234
10235         * BufferView.h:
10236         * BufferView.C: add getEncoding()
10237
10238         * kbsequence.h:
10239         * kbsequence.C: do not store last keypress
10240
10241         * lyxfunc.h:
10242         * lyxfunc.C: store last keypress here instead. Pass encoding
10243           to getISOEncoded()
10244
10245 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10246
10247         * lyx_main.C (init): remove annoying error message when following
10248         symbolic links (bug #780)
10249
10250 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10251
10252         * text.C (insertChar):
10253         * lyxrc.C (getDescription): remove extra spaces
10254
10255 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10256
10257         * lyxrc.C (getDescription): remove extra spaces
10258
10259 2002-12-20  John Levon  <levon@movementarian.org>
10260
10261         * text3.C: hack fix for page up/down across tall rows
10262
10263 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10264
10265         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10266         not been invoked
10267
10268 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10269
10270         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10271         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10272         thesaurus is not compiled in
10273
10274 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10275
10276         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10277
10278 2002-12-16  Angus Leeming  <leeming@lyx.org>
10279
10280         * lyxrc.[Ch]:
10281         * lyx_main.C (init): remove override_x_deadkeys stuff.
10282
10283 2002-12-12  John Levon  <levon@movementarian.org>
10284
10285         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10286           insert. Only remove shift modifier under strict
10287           circumstances.
10288
10289 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10290
10291         * MenuBackend.C (expandToc): fix crash.
10292
10293 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10294
10295         * MenuBackend.C (expandToc): gettext on float names.
10296
10297 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10298
10299         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10300         implement bool empty() [bug 490]
10301
10302 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10303
10304         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10305
10306 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10307
10308         * several files: ws changes
10309
10310 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10311
10312         * text2.C (setCounter): clean up a bit, use boost.format.
10313         (updateCounters): initialize par upon declaration.
10314
10315         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10316         if the layout exists. We do not just store the layout any more.
10317         (SwitchLayoutsBetweenClasses): use boost.format
10318
10319 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10320
10321         * converter.C (convert): if from and to files are the same, use a
10322         temporary files as intermediary
10323
10324 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10325
10326         * commandtags.h:
10327         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10328
10329 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10330
10331         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10332
10333 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10334
10335         * tabular.C (asciiPrintCell): use string(size, char) instead of
10336         explicit loop.
10337
10338         * sgml.C (openTag): fix order of arguments to string constructor
10339         (closeTag): ditto
10340
10341         * lyxfunc.C (dispatch): use boost.format
10342
10343         * lots of files: change "c" -> 'c'
10344
10345 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10346
10347         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10348
10349 2002-11-25  Angus Leeming  <leeming@lyx.org>
10350
10351         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10352
10353         * lyx_main.C (init): compile fix.
10354
10355 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10356
10357         * lyx_cb.C (start): boost.formatify
10358         do not include <iostream>
10359
10360         * lengthcommon.C: ws only
10361
10362         * boost-inst.C,BoostFormat.h: add more explict instantations
10363
10364 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10365
10366         * lots of files: handle USE_BOOST_FORMAT
10367
10368 2002-11-21  John Levon  <levon@movementarian.org>
10369
10370         * pspell.C: fix compile
10371
10372 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10373
10374         * lyxfunc.C (dispatch): use boost::format
10375         (open): ditto
10376         (doImport): ditto
10377
10378         * lyxfont.C (stateText): use boost::format
10379
10380         * lyx_main.C (LyX): use boost::format
10381         (init): ditto
10382         (queryUserLyXDir): ditto
10383         (readRcFile): ditto
10384         (parse_dbg): ditto
10385         (typedef boost::function): use the recommened syntax.
10386
10387         * importer.C (Import): use boost::format
10388
10389         * debug.C (showLevel): use boost::format
10390
10391         * converter.C (view): use boost::format
10392         (convert): ditto
10393         (move): ditto
10394         (scanLog): ditto
10395
10396         * bufferview_funcs.C (currentState): use boost::format
10397
10398         * bufferlist.C (emergencyWrite): use boost::format
10399
10400         * buffer.C (readLyXformat2): use boost::format
10401         (parseSingleLyXformat2Token): ditto
10402
10403         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10404
10405         * LaTeX.C (run): use boost::format
10406
10407         * Chktex.C (scanLogFile): use boost::format
10408
10409         * BufferView_pimpl.C (savePosition): use boost::format
10410         (restorePosition): ditto
10411         (MenuInsertLyXFile): ditto
10412
10413         * BoostFormat.h: help file for explicit instation.
10414
10415 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10416
10417         * tabular.C (latex): Support for block alignment in fixed width
10418         columns.
10419
10420 2002-11-17  John Levon  <levon@movementarian.org>
10421
10422         * BufferView_pimpl.C:
10423         * lyx_cb.C:
10424         * lyxfunc.C: split filedialog into open/save
10425
10426 2002-11-08  Juergen Vigna  <jug@sad.it>
10427
10428         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10429         by my last patch (hopefully).
10430
10431 2002-11-08  John Levon  <levon@movementarian.org>
10432
10433         * iterators.h:
10434         * iterators.C:
10435         * buffer.h:
10436         * buffer.C:
10437         * paragraph.h:
10438         * paragraph.C:
10439         * toc.h:
10440         * toc.C: ParConstIterator, and use it (from Lars)
10441
10442 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10443
10444         * lyxtextclass.[Ch]: revise and add doxygen comments
10445
10446 2002-11-07  John Levon  <levon@movementarian.org>
10447
10448         * text.C: fix progress value for spellchecker
10449
10450         * toc.C: fix navigate menu for insetwrap inside minipage
10451
10452         * paragraph_funcs.C: added FIXME for suspect code
10453
10454 2002-11-07  John Levon  <levon@movementarian.org>
10455
10456         * BufferView_pimpl.C: fix redrawing of insets
10457           on buffer switch
10458
10459 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10460
10461         * text2.C (updateCounters): fix bug 668
10462
10463 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10464
10465         * text3.C (dispatch): Do not make the buffer dirty when moving the
10466         cursor.
10467
10468 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10469
10470         * vc-backend.C: STRCONV
10471         (scanMaster): ditto
10472
10473         * text2.C (setCounter): STRCONV
10474
10475         * paragraph.C (asString): STRCONV
10476
10477         * lyxlength.C (asString): STRCONV
10478         (asLatexString): ditto
10479
10480         * lyxgluelength.C (asString): STRCONV
10481         (asLatexString): ditto
10482
10483         * lyxfunc.C (dispatch): STRCONV
10484         (open): ditto
10485
10486         * lyxfont.C (stateText): STRCONV
10487
10488         * importer.C (Import): STRCONV
10489
10490         * counters.C (labelItem): STRCONV
10491         (numberLabel): ditto
10492         (numberLabel): remove unused ostringstream o
10493
10494         * chset.C: STRCONV
10495         (loadFile): ditto
10496
10497         * bufferview_funcs.C (currentState): STRCONV
10498
10499         * buffer.C (readFile): STRCONV
10500         (asciiParagraph): ditto
10501         (makeLaTeXFile): ditto
10502
10503         * Spacing.C (writeEnvirBegin): STRCONV
10504
10505         * LaTeXFeatures.C (getLanguages): STRCONV
10506         (getPackages): ditto
10507         (getMacros): ditto
10508         (getBabelOptions): ditto
10509         (getTClassPreamble): ditto
10510         (getLyXSGMLEntities): ditto
10511         (getIncludedFiles): ditto
10512
10513         * LaTeX.C: STRCONV
10514         (run): ditto
10515         (scanAuxFile): ditto
10516         (deplog): ditto
10517
10518         * LString.h: add the STRCONV macros
10519
10520         * BufferView_pimpl.C (savePosition): STRCONV
10521         (restorePosition): ditto
10522         (MenuInsertLyXFile): ditto
10523
10524         * vc-backend.C (scanMaster): change from submatch[...] to
10525         submatch.str(...)
10526
10527         * funcrequest.C: include config.h
10528
10529         * factory.C: include config.h
10530
10531         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10532
10533         * box.C: include config.h
10534
10535         * LaTeX.C (scanAuxFile): change from submatch[...] to
10536         submatch.str(...)
10537         (deplog): ditto
10538
10539 2002-10-25  Angus Leeming  <leeming@lyx.org>
10540
10541         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10542
10543         * ispell.[Ch] (setError): new method.
10544         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10545         Use setError() insetead of goto END.
10546
10547         * lyx_cb.C (AutoSave): move out child process into new class
10548         AutoSaveBuffer.
10549
10550 2002-10-30  John Levon  <levon@movementarian.org>
10551
10552         * text3.C: make start appendix undoable
10553
10554 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10555
10556         * lyxlength.C (inPixels): Fix returned value.
10557
10558         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10559         environment.
10560
10561 2002-10-24  Angus Leeming  <leeming@lyx.org>
10562
10563         * lyxgluelength.h: no need to forward declare BufferParams
10564         or BufferView, so don't.
10565
10566 2002-10-21  John Levon  <levon@movementarian.org>
10567
10568         * BufferView.C: menuUndo ->undo, redo
10569
10570         * BufferView.h: document, remove dead, make some methods private
10571
10572         * paragraph_funcs.h:
10573         * paragraph_funcs.C:
10574         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10575
10576         * buffer.h:
10577         * buffer.C:
10578         * sgml.h:
10579         * sgml.C: move sgml open/close tag into sgml.C
10580
10581         * bufferview_funcs.h: unused prototype
10582
10583         * lyxfunc.h:
10584         * lyxfunc.C: remove unused
10585
10586         * lyxtext.h:
10587         * text.C: remove unused
10588
10589 2002-10-21  John Levon  <levon@movementarian.org>
10590
10591         * BufferView.h:
10592         * BufferView.C:
10593         * BufferView_pimpl.h:
10594         * BufferView_pimpl.C: fix mouse wheel handling based on
10595           patch from Darren Freeman
10596
10597 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10598
10599         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10600
10601 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10602
10603         * lyxlength.C (inPixels): Fix hanfling of negative length.
10604         Fix LyXLength::MU case.
10605
10606 2002-10-16  John Levon  <levon@movementarian.org>
10607
10608         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10609
10610 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10611
10612         * converter.C (view): add support for $$i (file name) and $$p
10613         (file path) for the viewer command. If $$i is not specified, then
10614         it is appended to the command (for compatibility with old syntax)
10615
10616 2002-10-14  Juergen Vigna  <jug@sad.it>
10617
10618         * undo_funcs.C (textHandleUndo): alter the order in which the
10619         new undopar is added to the LyXText, as we have to set first
10620         the right prev/next and then add it as otherwise the rebuild of
10621         LyXText is not correct. Also reset the cursor to the right paragraph,
10622         with this IMO we could remove the hack in "redoParagraphs()".
10623
10624 2002-10-09  Angus Leeming  <leeming@lyx.org>
10625
10626         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10627         to turn off an optimisation if a new inset is to be inserted.
10628
10629 2002-10-11 André Pönitz <poenitz@gmx.net>
10630
10631         * lyxtext.h: make some functions public to allow access
10632         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10633
10634 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10635
10636         * text3.C (dispatch): when changing layout, avoid an infinite loop
10637         [bug #652]
10638
10639 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10640
10641         * lyxrc.C (read): treat a viewer or converter command of "none" as
10642         if it were empty.
10643
10644         * MenuBackend.C (expandFormats): for an update, also allow the
10645         formats that are not viewable
10646
10647         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10648         script if it is newer than the lyxrc.defaults in user directory
10649
10650 2002-10-07 André Pönitz <poenitz@gmx.net>
10651
10652         * text.C: Vitaly Lipatov's small i18n fix
10653
10654 2002-09-25  Angus Leeming  <leeming@lyx.org>
10655
10656         * ispell.h: doxygen fix.
10657
10658 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10659
10660         * buffer.h (readFile): Add a new argument to the method, to allow
10661         reading of old-format templates.
10662
10663 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10664
10665         * toc.C (getTocList): Get TOC from InsetWrap.
10666
10667 2002-09-16  John Levon  <levon@movementarian.org>
10668
10669         * lyxfunc.C: check tabular for cut/copy too
10670
10671 2002-09-12  John Levon  <levon@movementarian.org>
10672
10673         * LyXAction.C: tidy
10674
10675         * factory.h:
10676         * factory.C: add header
10677
10678         * paragraph_funcs.h:
10679         * paragraph_funcs.C: cleanup
10680
10681 2002-09-11  John Levon  <levon@movementarian.org>
10682
10683         * PrinterParams.h: odd/even default to true
10684
10685 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10686
10687         * PrinterParams.h: update printer parameters for new xforms dialog
10688
10689 2002-09-11  Angus Leeming  <leeming@lyx.org>
10690
10691         * lyxserver.C (read_ready): re-write to make it more transparent
10692         and to make it work in coherent fashion under Tru64 Unix.
10693
10694 2002-09-11  André Pönitz <poenitz@gmx.net>
10695
10696         * commandtags.h:
10697         * LyXAction.C:
10698         * text3.C: implement LFUN_WORDSEL
10699
10700 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10701
10702         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10703         make floatlist_ a boost::shared_ptr<FloatList>
10704
10705         * lyxtextclass.C: include FloatList.h
10706         (LyXTextClass): initialize floatlist_
10707         (TextClassTags): add TC_NOFLOAT
10708         (Read): match "nofloat" to TC_NOFLOAT and use it.
10709         (readFloat): modify call to floatlist_
10710         (floats): ditto
10711         (floats): ditto
10712
10713         * FloatList.[Ch] (FloatList): remove commented out float
10714         initialization.
10715         (erase): new function
10716
10717 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10718
10719         * MenuBackend.C (expandToc): fix crash when there is no document
10720         open
10721
10722 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10723
10724         * many files: Add insetwrap.
10725
10726 2002-09-09  John Levon  <levon@movementarian.org>
10727
10728         * text2.C: remove confusing and awkward depth wraparound
10729
10730 2002-09-09  John Levon  <levon@movementarian.org>
10731
10732         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10733
10734         * buffer.h:
10735         * buffer.C: remove getIncludeonlyList()
10736
10737         * paragraph.C:
10738         * lyxfunc.C: remove headers
10739
10740 2002-09-09  Juergen Vigna  <jug@sad.it>
10741
10742         * text.C (getColumnNearX): fix form Michael this is most
10743         probably a cut&paste bug.
10744
10745 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10746
10747         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10748
10749         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10750         references, ws changes.
10751
10752         * text2.C (init): update counters after init
10753         (insertParagraph): no need to set counter on idividual paragraphs.
10754         (setCounter): access the counters object in the textclass object
10755         on in the buffer object.
10756         (updateCounters): ditto
10757
10758         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10759         shared_ptr<Counters> to avoid loading counters.h in all
10760         compilation units.
10761         (LyXTextClass): initialize ctrs_
10762         (TextClassTags): add TC_COUNTER, and ...
10763         (Read): use it here.
10764         (CounterTags): new tags
10765         (readCounter): new function
10766         (counters): new funtion
10767         (defaultLayoutName): return a const reference
10768
10769         * counters.C (Counters): remove contructor
10770         (newCounter): remove a couple of unneeded statements.
10771         (newCounter): simplify a bit.
10772         (numberLabel): some small formatting changes.
10773
10774         * buffer.[Ch]: remove all traces of counters, move the Counters
10775         object to the LyXTextClass.
10776
10777 2002-09-06  Alain Castera  <castera@in2p3.fr>
10778
10779         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10780         package to set the horizontal alignment on fixed width columns.
10781
10782         * lyx_sty.C:
10783         * lyx_sty.h: added tabularnewline macro def.
10784
10785         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10786
10787 2002-09-06  John Levon  <levon@movementarian.org>
10788
10789         * LyXAction.C: tooltips for sub/superscript
10790
10791         * MenuBackend.C: a bit more verbose
10792
10793         * lyxfunc.C: tiny clean
10794
10795         * undo_funcs.C: document undo_frozen
10796
10797 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10798
10799         * counters.C (Counters): add missing algorithm counter.
10800
10801         * text2.C (setCounter): lookup the counter with layouts latexname
10802         instead of by section number.
10803         (setCounter): use a hackish way to lookup the correct enum
10804         counter.
10805         a float name->type change
10806         reset enum couners with counter name directly instead of depth value.
10807
10808         * counters.C (Counters): remove the push_backs, change to use the
10809         float type not the float name.
10810         (labelItem): remove unused string, float name->type change
10811
10812         * counters.h: don't include vector, loose the enums and sects vectors
10813
10814 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10815
10816         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10817         (Read): add float->TC_FLOAT to textclassTags
10818         (Read): and handle it in the switch
10819         (readFloat): new function
10820
10821         * FloatList.C (FloatList): comment out the hardcoded float
10822         definitions.
10823
10824         * lyxlayout.h: ws change.
10825
10826 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10827
10828         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10829
10830 2002-09-03  Angus Leeming  <leeming@lyx.org>
10831
10832         * BufferView_pimpl.h: qualified name is not allowed in member
10833         declaration: WorkArea & Pimpl::workarea() const;
10834
10835         * factory.C: added using std::endl directive.
10836
10837         * text3.C: added using std::find and std::vector directives.
10838
10839 2002-08-29  André Pönitz <poenitz@gmx.net>
10840
10841         * lyxtext.h:
10842         * text2.C: remove unused member number_of_rows
10843
10844         * Makefile.am:
10845         * BufferView2.C: remove file, move contents to...
10846         * BufferView.C: ... here
10847
10848         * BufferView_pimpl.C:
10849         * factory.C: move more inset creation to factory
10850
10851         * vspace.C: avoid direct usage of LyXText, ws changes
10852
10853         * BufferView.[Ch]:
10854                 don't provide direct access to WorkArea, use two simple
10855                 acessors haveSelction() and workHeight() instead
10856
10857
10858 2002-08-29  John Levon  <levon@movementarian.org>
10859
10860         * BufferView_pimpl.C (dispatch): do not continue when
10861           no buffer
10862
10863 2002-08-28  André Pönitz <poenitz@gmx.net>
10864
10865         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10866
10867         * BufferView.h:
10868         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10869
10870 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10871
10872         * buffer.C: increment LYX_FORMAT to 221
10873
10874         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10875         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10876
10877         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10878
10879         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10880
10881 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10882
10883         * factory.C (createInset): use LyXTextClass::floats
10884
10885         * MenuBackend.C (expandFloatListInsert):
10886         (expandFloatInsert):
10887         (expandToc):
10888
10889         * text2.C (setCounter):
10890
10891         * LaTeXFeatures.C (useFloat):
10892         (getFloatDefinitions):
10893
10894         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10895
10896         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10897         floatlist_, with accessor floats().
10898
10899         * FloatList.h: remove global FloatList
10900
10901 2002-08-26  André Pönitz <poenitz@gmx.net>
10902
10903         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10904
10905         * BufferView.h:
10906         * BufferView2.C:
10907         * BufferView_pimpl.C:
10908         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10909
10910 2002-08-25  John Levon  <levon@movementarian.org>
10911
10912         * LyXAction.C: fix margin note description
10913
10914 2002-08-24  John Levon  <levon@movementarian.org>
10915
10916         * buffer.C:
10917         * bufferlist.C:
10918         * bufferview_funcs.C:
10919         * lyxfont.C:
10920         * undo_funcs.C: cleanups
10921
10922         * lyxfunc.C: disable CUT/COPY when no selection
10923
10924 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10925
10926         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10927         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10928
10929         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10930         Add backward compatibility to "mono", "gray" and "no".
10931
10932 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10933
10934         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10935         (and file_format >= 200).
10936
10937 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10938
10939         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10940
10941 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10942
10943         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10944
10945 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10946
10947         * BufferView_pimpl.C:
10948         * LyXAction.C:
10949         * buffer.C:
10950         * commandtags.h:
10951         * lyxfunc.C:
10952         * paragraph.[Ch]:
10953         * text2.C:
10954         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10955         inset and code to make it  work with the paragraph code. The inset
10956         can be anywhere in the paragraph, but will only do the expected
10957         thing in LaTeX if the layout file contains the parameter line
10958                         OptionalArgs    1
10959         (or more generally, a nonzero value) for that layout.
10960
10961 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10962
10963         * paragraph.h: remove the declaration of undefined counters class
10964         function.
10965
10966 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10967
10968         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10969         Dr. Richard Hawkins.
10970
10971 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10972
10973         * paragraph_funcs.h: remove some unneeded includes
10974
10975         * text.C (backspace): pasteParagraph now in global scipe
10976
10977         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10978         (pasteSelection): ditto
10979
10980         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10981         * paragraph_funcs.C (pasteParagraph): ... here
10982
10983 2002-08-20  André Pönitz <poenitz@gmx.net>
10984
10985         * commandtags.h: new LFUNs for swapping/copying table row/colums
10986
10987         * LyXAction.C:
10988         * lyxfunc.C: support for new lfuns
10989
10990 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10991
10992         * tabular.C:
10993         * buffer.[Ch]: remove NO_COMPABILITY stuff
10994
10995 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10996
10997         * boost.C (throw_exception): new file, with helper function for
10998         boost compiled without exceptions.
10999
11000         * paragraph.h:
11001         * lyxlength.C:
11002         * buffer.C:
11003         * ParameterStruct.h:
11004         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11005
11006         * bufferlist.C (emergencyWriteAll): use boost bind
11007
11008         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11009
11010         * text.C: include paragraph_funcs.h
11011         (breakParagraph): breakParagraph is now in global scope
11012
11013         * paragraph_funcs.[Ch]: new files
11014
11015         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11016         global scope
11017
11018         * buffer.C: include paragraph_funcs.h
11019         (insertStringAsLines): breakParagraph is now in global scope
11020
11021         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11022         paragraph_funcs.C
11023
11024         * CutAndPaste.C: include paragraph_funcs.h
11025         (cutSelection): breakParagraphConservative is now in global scope
11026         (pasteSelection): ditto
11027
11028         * buffer.h: declare oprator== and operator!= for
11029         Buffer::inset_iterator
11030
11031         * bufferlist.C (emergencyWrite): don't use fmt(...)
11032
11033         * text3.C: add using std::endl
11034
11035         * BufferView.C (moveCursorUpdate): remove default arg
11036
11037 2002-08-20  André Pönitz <poenitz@gmx.net>
11038
11039         * buffer.[Ch]: move inline functions to .C
11040
11041         * BufferView2.C:
11042         * BufferView_pimpl.C:
11043         * text.C:
11044         * buffer.[Ch]: use improved inset_iterator
11045
11046         * buffer.C:
11047         * paragraph.[Ch]: write one paragraph at a time
11048
11049 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11050
11051         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11052         style if style is not specified.
11053
11054 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11055
11056         * text2.C (setCounter): when searching for right label for a
11057         caption, make sure to recurse to parent insets (so that a caption
11058         in a minipage in a figure float works) (bug #568)
11059
11060 2002-08-20  André Pönitz <poenitz@gmx.net>
11061
11062         * text3.C: new file for LyXText::dispatch() and helpers
11063
11064         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11065
11066         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11067
11068 2002-08-19  André Pönitz <poenitz@gmx.net>
11069
11070         * lyxtext.h:
11071         * text.C: new LyXText::dispatch()
11072
11073         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11074
11075 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11076
11077         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11078
11079         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11080         Hebrew text.
11081
11082 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11083
11084         * Makefile.am: use $(variables) instead of @substitutions@
11085
11086 2002-08-15  André Pönitz <poenitz@gmx.net>
11087
11088         * lyxfunc.C:
11089         * BufferView_pimpl.C: streamlining mathed <-> outer world
11090         interaction
11091
11092         * commandtags.h:
11093         * LyXAction.C: remove unused LFUN_MATH
11094
11095 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11096
11097         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11098
11099 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11100
11101         * paragraph.C (Paragraph): reformat a bit
11102         (cutIntoMinibuffer): use builtin InsetList function instad of
11103         doing it manually.
11104         (getInset): ditto
11105
11106         * buffer.C: include boost/bind.hpp, add using std::for_each
11107         (writeFileAscii): use ParagraphList iterators
11108         (validate): use for_each for validate traversal of paragraphs
11109         (getBibkeyList): use ParagraphList iterators
11110         (resizeInsets): use for_each to resizeInsetsLyXText for all
11111         paragraphs.
11112         (getParFromID): use ParagraphList iterators
11113
11114         * BufferView2.C (lockInset): use paragraph list and iterators
11115
11116 2002-08-14  John Levon  <levon@movementarian.org>
11117
11118         * lyxserver.C: remove spurious xforms include
11119
11120 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11121
11122         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11123
11124 2002-08-13  André Pönitz <poenitz@gmx.net>
11125
11126         * LyXAction.[Ch]:
11127         * lyxfunc.C: further cleaning
11128
11129 2002-08-13  André Pönitz <poenitz@gmx.net>
11130
11131         * funcrequest.h: new constructor
11132
11133         * funcrequest.C: move stuff here from .h
11134
11135         * Makefile.am:
11136         * BufferView_pimpl.C:
11137         * LyXAction.C:
11138         * toc.C:
11139         * lyxfunc.C: subsequent changes
11140
11141         * lyxfunc.h: new view() member function
11142
11143         * lyxfunc.C: subsequent changes
11144
11145 2002-08-13  Angus Leeming  <leeming@lyx.org>
11146
11147         * BufferView2.C:
11148         * BufferView_pimpl.C:
11149         * buffer.C:
11150         * converter.C:
11151         * importer.C:
11152         * lyxfunc.C:
11153         * lyxvc.C:
11154         * toc.C:
11155         * vc-backend.C:
11156         changes due to the changed LyXView interface that now returns references
11157         to member variables not pointers.
11158
11159 2002-08-13  Angus Leeming  <leeming@lyx.org>
11160
11161         * WordLangTuple (word, lang_code): return references to strings,
11162         not strings.
11163
11164         * BufferView.h:
11165         * SpellBase.h:
11166         * lyxtext.h: forward-declare WordLangTuple.
11167
11168         * BufferView2.C:
11169         * ispell.C:
11170         * pspell.C:
11171         * text.C: #include "WordLangTuple.h".
11172
11173         * lyxtext.h:
11174         * text.C: (selectNextWordToSpellcheck): constify return type.
11175
11176 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11177
11178         * buffer.C:
11179         * buffer.h:
11180         * lyxtext.h:
11181         * paragraph.C:
11182         * paragraph_pimpl.h:
11183         * text.C:
11184         * text2.C:
11185         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11186         suggested by Angus.
11187         Made updateCounter always count from start of buffer, and removed
11188         second argument (par).
11189         Reverted floats number display to '#'. Perhaps I'll try again when the
11190         code base is sanitized a bit.
11191
11192 2002-08-12  Angus Leeming  <leeming@lyx.org>
11193
11194         * buffer.[Ch] (getLabelList): constify.
11195
11196 2002-08-07  André Pönitz <poenitz@gmx.net>
11197
11198         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11199
11200         * funcrequest.h: extension to keep mouse (x,y) position
11201
11202 2002-08-12  Juergen Vigna  <jug@sad.it>
11203
11204         * BufferView2.C (insertErrors): forbid undo when inserting error
11205         insets.
11206
11207         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11208
11209 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11210
11211         * ParagraphList.[Ch]: new files
11212
11213         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11214
11215         * BufferView2.C (lockInset): ParagraphList changes
11216         * toc.C: ditto
11217         * text2.C: ditto
11218         * bufferlist.C: ditto
11219         * buffer.h: ditto
11220         * buffer.C: ditto
11221
11222 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11223
11224         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11225         unused class variable counter_,
11226
11227         * paragraph.[Ch] (getFirstCounter): delete unused function
11228
11229         * counters.C: include LAssert.h
11230         (reset): add a new function with no arg, change other version to
11231         not have def. arg and to not allow empty arg.
11232
11233         * text2.C (setCounter): remove empty arg from call to Counters::reset
11234
11235 2002-08-11  John Levon  <levon@movementarian.org>
11236
11237         * Makefile.am: add WordLangTuple.h
11238
11239 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11240
11241         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11242         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11243
11244         * insets/insettext.C: InsetList changes
11245
11246         * graphics/GraphicsSupport.C (operator()): InsetList changes
11247
11248         * toc.C (getTocList): InsetList changes
11249
11250         * paragraph_pimpl.[Ch]: InsetList changes
11251
11252         * paragraph.[Ch]: InsetList changes
11253
11254         * buffer.C (inset_iterator): InsetList changes
11255         (setParagraph): ditto
11256         * buffer.h (inset_iterator): ditto
11257         * iterators.C (operator++): ditto
11258         * iterators.h: ditto
11259
11260         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11261
11262         * InsetList.[Ch]: new files, most InsetList handling moved out of
11263         paragraph.C.
11264
11265         * BufferView2.C (removeAutoInsets): InsetList changes
11266         (lockInset): ditto
11267         (ChangeInsets): ditto
11268
11269 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11270
11271         * paragraph_pimpl.h (empty): new function
11272
11273         * paragraph.[Ch] (empty): new function
11274
11275         * other files: use the new Paragraph::empty function
11276
11277 2002-08-09  John Levon  <levon@movementarian.org>
11278
11279         * lyxtext.h: remove unused refresh_height
11280
11281 2002-08-09  John Levon  <levon@movementarian.org>
11282
11283         * Makefile.am:
11284         * sgml.h:
11285         * sgml.C:
11286         * buffer.C:
11287         * paragraph.h:
11288         * paragraph.C: move sgml char escaping out of paragraph
11289
11290         * paragraph.h:
11291         * paragraph.C: remove id setter
11292
11293         * buffer.C:
11294         * paragraph.C:
11295         * paragraph_pimpl.C: remove dead tex_code_break_column
11296
11297         * bufferview_funcs.C: small cleanup
11298
11299         * lyxfunc.C: remove dead proto
11300
11301         * lyxtext.h: make some stuff private. Remove some dead stuff.
11302
11303         * lyxgluelength.C: make as[LyX]String() readable
11304
11305 2002-08-08  John Levon  <levon@movementarian.org>
11306
11307         * LyXAction.h:
11308         * LyXAction.C:
11309         * MenuBackend.C:
11310         * ToolbarDefaults.C:
11311         * lyxfunc.C:
11312         * lyxrc.C:
11313         * toc.C: lyxaction cleanup
11314
11315 2002-08-08  John Levon  <levon@movementarian.org>
11316
11317         * BufferView2.C: small cleanup
11318
11319         * lyxfind.h:
11320         * lyxfind.C: move unnecessary header into the .C
11321
11322 2002-08-08  John Levon  <levon@movementarian.org>
11323
11324         * funcrequest.h: just tedious nonsense
11325
11326         * lyx_main.h:
11327         * lyx_main.C: cleanups
11328
11329         * buffer.C:
11330         * vspace.C: remove dead header lyx_main.h
11331
11332 2002-08-07  Angus Leeming  <leeming@lyx.org>
11333
11334         * Paragraph.[Ch]:
11335         * paragraph_pimpl.h:
11336         Forward declare class Counters in paragraph.h by moving the ctrs member
11337         variable into Paragraph::Pimpl.
11338         (counters): new method, returning a reference to pimpl_->ctrs.
11339
11340         * text2.C: ensuing changes.
11341
11342 2002-08-07  John Levon  <levon@movementarian.org>
11343
11344         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11345
11346         * BufferView_pimpl.C: announce X selection on double/triple
11347           click
11348
11349         * lyx_main.C: use correct bool in batch dispatch
11350
11351         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11352
11353 2002-08-07  André Pönitz <poenitz@gmx.net>
11354
11355         * funcrequest.h: new class to wrap a kb_action and its argument
11356
11357         * BufferView.[Ch]:
11358         * BufferView_pimpl[Ch]:
11359         * LaTeX.C:
11360         * LyXAction.[Ch]:
11361         * lyxfunc.[Ch]:
11362         * lyxrc.C: subsequent changes
11363
11364
11365 2002-08-07  John Levon  <levon@movementarian.org>
11366
11367         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11368           document options change.
11369
11370 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11371
11372         * counters.[Ch]
11373         * text2.C
11374         * paragraph.[Ch]
11375         * makefile.am: move counters functionality over from
11376         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11377
11378 2002-08-06  John Levon  <levon@movementarian.org>
11379
11380         * WordLangTuple.h: new file for word + language code tuple
11381
11382         * SpellBase.h:
11383         * pspell.h:
11384         * pspell.C:
11385         * ispell.h:
11386         * ispell.C:
11387         * lyxtext.h:
11388         * text.C:
11389         * text2.C:
11390         * BufferView.h:
11391         * BufferView2.C: use WordLangTuple
11392
11393         * layout.h:
11394         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11395
11396 2002-08-06  John Levon  <levon@movementarian.org>
11397
11398         * lyx_main.C: fix cmdline batch handling
11399
11400 2002-08-06  André Pönitz <poenitz@gmx.net>
11401
11402         * lyxrc.C: set default for show_banner to true
11403
11404 2002-08-06  John Levon  <levon@movementarian.org>
11405
11406         * pspell.C: fix a crash, and allow new aspell to work
11407
11408 2002-08-06  John Levon  <levon@movementarian.org>
11409
11410         * lyxfunc.C:
11411         * kbmap.C: small cleanup
11412
11413         * vspace.h:
11414         * vspace.C: add const
11415
11416 2002-08-05  John Levon  <levon@movementarian.org>
11417
11418         * LyXAction.C: back to tabular-insert
11419
11420 2002-08-04  John Levon  <levon@movementarian.org>
11421
11422         * BufferView.h:
11423         * BufferView.C: cosmetic change
11424
11425         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11426
11427         * bufferlist.C:
11428         * buffer.h:
11429         * buffer.C:
11430         * lyxcb.h:
11431         * lyxcb.C:
11432         * lyxserver.C:
11433         * lyxvc.C:
11434         * vc-backend.C:
11435         * BufferView2.C: purge all "Lyx" not "LyX" strings
11436
11437         * lyxcursor.h:
11438         * lyxcursor.C: attempt to add some documentation
11439
11440         * lyxfunc.C:
11441         * commandtags.h:
11442         * LyXAction.C:
11443         * ToolbarDefaults.C:
11444         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11445           merge with LFUN_TABULAR_INSERT
11446
11447         * Makefile.am:
11448         * SpellBase.h:
11449         * ispell.h:
11450         * ispell.C:
11451         * pspell.h:
11452         * pspell.C: split up i/pspell implementations into separate
11453           files, many cleanups
11454
11455         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11456
11457         * text2.C: some cleanup
11458
11459         * lyxfunc.C: don't check for isp_command == "none" any more, it
11460           didn't make any sense
11461
11462 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11463
11464         * counters.[Ch]
11465         * text2.C
11466         * paragraph.[Ch]
11467         * makefile.am: move counters functionality over
11468         from text2.C/paragraph.[Ch] to counters.[Ch], and
11469         make proper C++.
11470 2002-08-02  John Levon  <levon@movementarian.org>
11471
11472         * buffer.C: s/lyxconvert/lyx2lyx/
11473
11474 2002-08-02  Angus Leeming  <leeming@lyx.org>
11475
11476         * lyxlex.C: revert John's change as it breaks reading of the user
11477         preamble.
11478
11479 2002-08-02  Angus Leeming  <leeming@lyx.org>
11480
11481         * importer.C (Import):
11482         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11483         changes due to LyXView::view() now returning a boost::shared_ptr.
11484
11485 2002-08-02  John Levon  <levon@movementarian.org>
11486
11487         * lyxlex.C: small cleanup
11488
11489 2002-08-02  John Levon  <levon@movementarian.org>
11490
11491         * text2.C (status): small cleanup, no logic change
11492
11493 2002-08-01  John Levon  <levon@movementarian.org>
11494
11495         * buffer.h:
11496         * buffer.C (writeFile): don't output alerts, caller
11497           handles this
11498
11499         * bufferlist.C:
11500         * lyx_cb.C: from above
11501
11502         * lyxfunc.C: allow to open non-existent files
11503
11504 2002-07-31  John Levon  <levon@movementarian.org>
11505
11506         * lyxserver.C: don't let incidental errors get
11507           in the way (errno)
11508
11509 2002-07-30  John Levon  <levon@movementarian.org>
11510
11511         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11512
11513 2002-07-30  John Levon  <levon@movementarian.org>
11514
11515         * lyxserver.h:
11516         * lyxserver.C: remove I/O callback too
11517
11518 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11519
11520         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11521         log.
11522
11523 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11524
11525         * many files: strip,frontStrip -> trim,ltrim,rtrim
11526
11527 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11528
11529         * PrinterParams.h: remove extern containsOnly, and include
11530         support/lstrings.h instead.
11531
11532         * LaTeX.C (scanAuxFile): modify because of strip changes
11533         (deplog): ditto
11534         * buffer.C (makeLaTeXFile): ditto
11535         * bufferparams.C (writeFile): ditt
11536         * lyxfont.C (stateText): ditto
11537         * lyxserver.C (read_ready): ditto
11538         * vc-backend.C (scanMaster): ditto
11539
11540         * BufferView_pimpl.h: ws changes
11541
11542         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11543
11544 2002-07-26  André Pönitz <poenitz@gmx.net>
11545
11546         * kb_sequence.C: remove unnedred usings
11547
11548 2002-07-26  Juergen Vigna  <jug@sad.it>
11549
11550         * lyxfind.C (LyXReplace): we have to check better if the returned
11551         text is not of theLockingInset()->getLockingInset().
11552
11553 2002-07-25  Juergen Vigna  <jug@sad.it>
11554
11555         * lyxfind.C (LyXReplace): don't replace if we don't get the
11556         right LyXText.
11557
11558         * undo_funcs.C (createUndo): remove debugging code.
11559
11560 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11561
11562         * buffer.C (parseSingleLyXformat2Token): Use default placement
11563         when reading old floats.
11564
11565         * FloatList.C (FloatList): Change the default placement of figure
11566         and tables to "tbp".
11567
11568 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * MenuBackend.C: using std::max
11571
11572 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11573
11574         * MenuBackend.C (expandToc):
11575         (expandToc2): code moved from xforms menu frontend. It is now
11576         generic and TOCs are transparent to menu frontends.
11577
11578 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11579
11580         * toc.C (getTocList): protect against buf=0
11581
11582         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11583         Menu as first parameter. Now, this calls itself recursively to
11584         expand a whole tree (this will be useful for TOC handling)
11585         (expandFloatInsert): remove 'wide' version of floats
11586
11587         * MenuBackend.h (submenuname): returns the name of the submenu.
11588         (submenu): returns the submenu itself, provided it has been
11589         created by MenuBackend::expand
11590
11591 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11592
11593         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11594         insets which have noFontChange == true. (bug #172)
11595
11596 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11597
11598         * BufferView_pimpl.C: add connection objects and use them...
11599         (Pimpl): here.
11600
11601 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * MenuBackend.C (expandLastfiles):
11604         (expandDocuments):
11605         (expandFormats):
11606         (expandFloatListInsert):
11607         (expandFloatInsert):
11608         (expand): split expand in parts
11609
11610 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * lyx_gui.C: use lyx_gui::exit()
11613
11614 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11615
11616         * LyXAction.C: show the failing pseudo action
11617
11618 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11619
11620         * buffer.C (readFile): Run the lyxconvert script in order to read
11621         old files.
11622
11623 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * LyXAction.C:
11626         * commandtags.h:
11627         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11628
11629 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * LyXAction.C:
11632         * commandtags.h:
11633         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11634
11635 2002-07-22  Herbert Voss  <voss@lyx.org>
11636
11637         * lengthcommon.C:
11638         * lyxlength.[Ch]: add support for the vertical lengths
11639
11640 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * toc.[Ch]: std:: fixes
11643
11644 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11645
11646         * lyxrc.C: do not include lyx_main.h
11647
11648         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11649         for layouts
11650
11651         * lyxrc.C:
11652         * encoding.C:
11653         * bufferlist.C:
11654         * BufferView2.C: include "lyxlex.h"
11655
11656         * tabular.h:
11657         * bufferparams.h: do not #include "lyxlex.h"
11658
11659         * lyxtextclasslist.C (Add): remove method
11660         (classlist): renamed to classlist_
11661
11662         * paragraph_pimpl.C:
11663         * paragraph.C:
11664         * text2.C:
11665         * CutAndPaste.C:
11666         * bufferview_funcs.C:
11667         * bufferlist.C:
11668         * text.C:
11669         * LaTeXFeatures.C:
11670         * buffer.C:
11671         * toc.C (getTocList): use BufferParams::getLyXTextClass
11672
11673         * toc.C (getTocList): use InsetFloat::addToToc
11674
11675         * toc.[Ch]: new files, containing helper functions to handle table
11676         of contents
11677
11678         * lyxfunc.C (dispatch): no need to remove spaces around command
11679         given as a string
11680         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11681         first command of the sequence; it is not very clever, but I do not
11682         have a better idea, actually
11683
11684         * LyXAction.C (LookupFunc): make sure to remove space at the
11685         beginning and end of the command
11686
11687 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11688
11689         * MenuBackend.C (getMenubar): new method: return the menubar of
11690         this menu set
11691         (read): treat differently reading of menu and menubar (in
11692         particular, the menubar has no name now)
11693         (Menu::menubar): remove
11694
11695         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11696         saving is finished
11697
11698 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11699
11700         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11701         a bibitem inset in a RTL paragraph.
11702
11703 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11704
11705         * paragraph_pimpl.C: constify
11706
11707         * BufferView_pimpl.C:
11708         * LaTeX.C:
11709         * lyxfunc.C: fix dispatch in a nicer way
11710
11711 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11712
11713         * lyxfunc.C (dispatch):
11714         * BufferView_pimpl.C:
11715         * BufferView_pimpl.h:
11716         * BufferView.C:
11717         * BufferView.h: rename Dispatch() to dispatch()
11718
11719         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11720
11721         * lyxlayout.C (Read): honor DependsOn tag
11722
11723         * lyxlayout.[Ch] (depends_on): new method
11724
11725         * version.C.in: update lyx_docversion
11726
11727         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11728
11729         * paragraph.C (validate): remove from here...
11730         * paragraph_pimpl.C (validate): ... and move here
11731         (isTextAt): make it const
11732
11733         * buffer.C (getLists): ws cleanup
11734
11735 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11736
11737         * language.C (read): Use iso8859-1 encoding in latex_lang
11738         (this prevents LyX from crashing when using iso10646-1 encoding).
11739
11740 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11741
11742         * text2.C (toggleInset): if cursor is inside an inset, close the
11743         inset and leave cursor _after_ it
11744
11745 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * lyxfunc.C: move minibuffer completion handling out of here
11748
11749 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11750
11751         * BufferView_pimpl.C:
11752         * LaTeX.C: fix dispatch calls
11753
11754 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11755
11756         * text.C (drawChars): Fix Arabic text rendering.
11757
11758 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * LyXAction.C:
11761         * commandtags.h:
11762         * lyxfunc.C: remove message-push/pop
11763
11764         * lyxserver.C:
11765         * lyxfunc.h:
11766         * lyxfunc.C: rationalise some code by removing verboseDispatch
11767           in favour of a bool argument to dispatch()
11768
11769 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11770
11771         * lyx_main.C (init): make sure to read symlinks as absolute paths
11772
11773 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11774
11775         * lyxfunc.h:
11776         * lyxfunc.C: no need for commandshortcut to be a member
11777
11778 2002-07-15  André Pönitz <poenitz@gmx.net>
11779
11780         * converter.C: add support for $$s (scripts from lib/scripts dir)
11781         * lyx_main.C: white space
11782
11783 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * bufferlist.C:
11786         * lyxrc.h:
11787         * lyxrc.C: remove second exit confirmation
11788
11789 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11790
11791         * BufferView.h:
11792         * BufferView.C:
11793         * BufferView2.C:
11794         * BufferView_pimpl.h:
11795         * BufferView_pimpl.C:
11796         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11797
11798 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11799
11800         * MenuBackend.C (expand): add numeric shortcuts to document menu
11801
11802         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11803
11804 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * lyxfont.C (setLyXFamily):
11807         (setLyXSeries):
11808         (setLyXShape):
11809         (setLyXSize):
11810         (setLyXMisc):
11811         (lyxRead):
11812         * debug.C (value):
11813         * buffer.C (asciiParagraph): use ascii_lowercase
11814
11815 2002-07-15  Mike Fabian  <mfabian@suse.de>
11816
11817         * lyxlex_pimpl.C (search_kw):
11818         * lyxlex.C (getLongString):
11819         * converter.h (operator<):
11820         * converter.C (operator<):
11821         * buffer.C (parseSingleLyXformat2Token):
11822         (asciiParagraph):
11823         * ToolbarDefaults.C (read):
11824         * MenuBackend.C (checkShortcuts):
11825         (read):
11826         * LColor.C (getFromGUIName):
11827         (getFromLyXName): use the compare_ascii_no_case instead of
11828         compare_no_case, because in turkish, 'i' is not the lowercase
11829         version of 'I', and thus turkish locale breaks parsing of tags.
11830
11831 2002-07-16  Angus Leeming  <leeming@lyx.org>
11832
11833         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11834         now takes a Buffer const & argument.
11835
11836 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * BufferView.C (resize): check there's a buffer to resize
11839
11840 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * lyxfunc.C: remove dead code
11843
11844         * lyxserver.h:
11845         * lyxserver.C: use lyx_guii::set_read_callback
11846
11847 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11848
11849         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11850         an inset in a RTL paragraph.
11851
11852 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11853
11854         * lyxfunc.C: repaint after a font size update
11855
11856 2002-07-15  André Pönitz <poenitz@gmx.net>
11857
11858         * lyxlength.C: inBP should be able to return negative values
11859
11860 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * lyxfunc.C: use lyx_gui::update_fonts()
11863
11864 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * lyxfunc.C: use lyx_gui::update_color()
11867
11868 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * bufferlist.C:
11871         * lyxfunc.h:
11872         * lyxfunc.C:
11873         * lyxrc.h:
11874         * lyxrc.C: remove file->new asks for name option, and let
11875           buffer-new take an argument
11876
11877 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11878
11879         * BufferView_pimpl.C: remove unneeded extra repaint()
11880
11881 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * LyXAction.C: allow command-sequence with NoBuffer
11884
11885         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11886
11887 2002-07-10  Angus Leeming  <leeming@lyx.org>
11888
11889         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11890
11891 2002-07-09  Angus Leeming  <leeming@lyx.org>
11892
11893         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11894
11895 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11896
11897         * lengthcommon.h: whitespace
11898
11899         * lyxfunc.C: update scrollbar after goto paragraph
11900
11901         * lyxtext.h: factor out page break drawing, and fix it so
11902           page break/added space paints as selected nicely
11903
11904 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * BufferView_pimpl.C: add FIXMEs, clean up a little
11907
11908 2002-07-09  André Pönitz <poenitz@gmx.net>
11909
11910         * lyxfont.[Ch]: support for wasy symbols
11911
11912 2002-07-08  André Pönitz <poenitz@gmx.net>
11913
11914         * BufferView_pimpl.C: apply John's patch for #93.
11915
11916 2002-07-05  Angus Leeming  <leeming@lyx.org>
11917
11918         * BufferView_pimpl.C (buffer): generate previews if desired.
11919
11920         * LColor.h: add "preview" to the color enum.
11921
11922         * LColor.C (LColor): add a corresponding entry to the items array.
11923
11924         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11925         with this buffer.
11926
11927 2002-07-05  Angus Leeming  <leeming@lyx.org>
11928
11929         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11930         The body of the code is now in the method that is passed an ostream &
11931         rather than a file name.
11932         Pass an additional only_preamble parameter, useful for the forthcoming
11933         preview stuff.
11934
11935 2002-07-03  André Pönitz <poenitz@gmx.net>
11936
11937         * lyxfunc.C: simplify getStatus() a bit for math stuff
11938
11939 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11940
11941         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11942
11943 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11944
11945         * text.C (changeRegionCase): do not change case of all the
11946         document when region ends at paragraph end (bug #461)
11947
11948 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11949
11950         * paragraph.C (startTeXParParams):
11951         (endTeXParParams): add \protect when necessary
11952
11953 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11954
11955         * BufferView_pimpl.C (workAreaExpose): remove warning
11956
11957 2002-06-27  Angus Leeming  <leeming@lyx.org>
11958
11959         * Makefile.am: add lyxlayout_ptr_fwd.h.
11960
11961 2002-06-26  André Pönitz <poenitz@gmx.net>
11962
11963         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11964
11965 2002-06-25  Angus Leeming  <leeming@lyx.org>
11966
11967         * lyxfunc.C (dispatch): Comment out the call to
11968         grfx::GCache::changeDisplay. The method no longer exists now that the
11969         pixmap generation part of the graphics loader has been moved into
11970         InsetGraphics.
11971
11972 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11973
11974         * text2.C: layout as layout
11975
11976         * text.C: layout as layout
11977
11978         * tabular.C (OldFormatRead): layout as layout
11979
11980         * paragraph_pimpl.C (TeXDeeper): layout as layout
11981         (realizeFont): layout as layout
11982
11983         * paragraph.C (writeFile): layout as layout
11984         (validate): layout as layout
11985         (getFont): layout as layout
11986         (getLabelFont): layout as layout
11987         (getLayoutFont): layout as layout
11988         (breakParagraph): layout as layout
11989         (stripLeadingSpaces): layout as layout
11990         (getEndLabel): layout as layout
11991         (getMaxDepthAfter): layout as layout
11992         (applyLayout): layout as layout
11993         (TeXOnePar): layout as layout
11994         (simpleTeXOnePar): layout as layout
11995         (TeXEnvironment): layout as layout
11996         (layout): layout as layout
11997         (layout): layout as layout
11998
11999         * lyxtextclass.C (compare_name): new functor to work with
12000         shared_ptr, layout as layout
12001         (Read): layout as layout
12002         (hasLayout): layout as layout
12003         (operator): layout as layout
12004         (delete_layout): layout as layout
12005         (defaultLayout): layout as layout
12006
12007         * lyxlayout_ptr_fwd.h: new file
12008
12009         * lyxlayout.C (Read): layout as layout
12010
12011         * lyx_cb.C (MenuInsertLabel): layout as layout
12012
12013         * bufferlist.C (newFile): layout as layout
12014
12015         * buffer.C (readLyXformat2): layout as layout
12016         (parseSingleLyXformat2Token): layout as layout
12017         (insertStringAsLines): layout as layout
12018         (asciiParagraph): layout as layout
12019         (latexParagraphs): layout as layout
12020         (makeLinuxDocFile): layout as layout
12021         (simpleLinuxDocOnePar): layout as layout
12022         (makeDocBookFile): layout as layout
12023         (simpleDocBookOnePar): layout as layout
12024         (getLists): layout as layout
12025
12026         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12027
12028         * CutAndPaste.C (cutSelection): layout as layout
12029         (pasteSelection): layout as layout
12030         (SwitchLayoutsBetweenClasses): layout as layout
12031
12032         * BufferView_pimpl.C (Dispatch): layout as layout
12033         (smartQuote): layout as layout
12034
12035         * BufferView2.C (unlockInset): layout as layout
12036
12037 2002-06-24  André Pönitz <poenitz@gmx.net>
12038
12039         * lyxfunc.C: fix #487
12040
12041 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * lyxrc.h:
12044         * lyxrc.C:
12045         * lyxfunc.C: remove display_shortcuts, show_banner
12046
12047 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * Buffer_pimpl.C: oops, update on resize
12050
12051 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12052
12053         * buffer.C:
12054         * converter.C:
12055         * exporter.C:
12056         * lyxfunc.C:
12057         * BufferView.h:
12058         * BufferView.C: use repaint()
12059
12060         * BufferView_pimpl.h:
12061         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12062           as it's a clearer description. Remove superfluous
12063           redraws.
12064
12065 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12066
12067         * text.C: fix bug 488. Not ideal, but getting
12068           getWord() to work properly for the insets that
12069           matter is more difficult ...
12070
12071 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * BufferView_pimpl.C:
12074         * LyXAction.C:
12075         * commandtags.h:
12076         * lyxfunc.C: remove the six million index lyxfuncs to just
12077           one, and DTRT (bug 458)
12078
12079 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12080
12081         * BufferView.h:
12082         * BufferView.C:
12083         * BufferView_pimpl.h:
12084         * BufferView_pimpl.C: clean up resize() stuff,
12085           and unnecessary updateScreen()s
12086
12087 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * BufferView.h:
12090         * BufferView.C:
12091         * BufferView_pimpl.h:
12092         * BufferView_pimpl.C:
12093         * lyxfind.h:
12094         * lyxfind.C:
12095         * minibuffer.C: remove focus management of workarea,
12096           not needed. Use screen's greyOut()
12097
12098 2002-06-17  Herbert Voss  <voss@lyx.org>
12099
12100         * converter.C: (convert) do not post a message, when converting
12101         fails, let the calling function decide what to do in this case
12102
12103 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12104
12105         * lyxfunc.C: tidy up a little
12106
12107 2002-06-16    <alstrup@diku.dk>
12108
12109         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12110         Got rid of FORMS_H_LOCATION include. Now we are
12111         GUII.
12112
12113 2002-06-15  LyX Development team  <lyx@rilke>
12114
12115         * buffer.[Ch] (sgmlOpenTag):
12116         (sgmlCloseTag): Added support for avoiding pernicious mixed
12117         content. Return number of lines written.
12118
12119         (makeLinuxDocFile):
12120         (makeDocBookFile): Fixed calls to sgml*Tag.
12121         Simple white space clean.
12122
12123         (simpleDocBookOnePar): Simple white space clean.
12124
12125         * tabular.[Ch] (docBook): Renamed to docbook and got another
12126         argument to related with the pernicious mixed content.
12127
12128         (docbookRow): Fixed calls for docbook inset method.
12129
12130 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12131
12132         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12133         so it's X11 independent.
12134
12135         * kb*.[Ch]: ditto.
12136
12137         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12138
12139 2002-06-15  Lyx Development team  <lyx@electronia>
12140
12141         * intl.h: Renamed getTrans to getTransManager.
12142
12143 2002-06-14  Angus Leeming  <leeming@lyx.org>
12144
12145         * Makefile.am: nuke forgotten stl_string_fwd.h.
12146
12147 2002-06-12  Angus Leeming  <leeming@lyx.org>
12148
12149         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12150
12151 2002-06-13  Angus Leeming  <leeming@lyx.org>
12152
12153         * LaTeX.C:
12154         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12155
12156 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12157
12158         * kbmap.C (getiso): add support for cyrillic and greek
12159
12160 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * BufferView.h:
12163         * BufferView.C:
12164         * BufferView_pimpl.h:
12165         * BufferView_pimpl.C: move bogus scrolling logic
12166           to xforms
12167
12168 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * lyxfunc.C:
12171         * BufferView_pimpl.C: view->resize() change
12172
12173 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * BufferView_pimpl.C: topCursorVisible
12176           prototype change
12177
12178 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12179
12180         * Makefile.am:
12181         * lyx_gui.h:
12182         * lyx_gui.C: move to frontends/
12183
12184         * main.C:
12185         * lyx_main.h:
12186         * lyx_main.C: changes from above
12187
12188 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * intl.C:
12191         * intl.h:
12192         * kbmap.C:
12193         * kbsequence.C:
12194         * lyx_cb.C:
12195         * lyx_main.C: minor tidy
12196
12197 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * BufferView_pimpl.h:
12200         * BufferView_pimpl.C:
12201         * BufferView.h:
12202         * BufferView.C: make painter() const,
12203           remove dead code
12204
12205         * BufferView2.C: use screen() accessor
12206
12207         * lyx_main.h:
12208         * lyx_main.C: some minor cleanup
12209
12210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12211
12212         * BufferView_pimpl.h:
12213         * BufferView_pimpl.C: remove enter/leaveView,
12214           use workHeight()
12215
12216 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * BufferView.h:
12219         * BufferView.C:
12220         * BufferView2.C:
12221         * BufferView_pimpl.h:
12222         * BufferView_pimpl.C: only construct screen once,
12223           rename
12224
12225         * lyxrc.C: remove pointless comment
12226
12227 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12228
12229         * BufferView.h:
12230         * BufferView.C: remove active() and belowMouse()
12231
12232         * BufferView_pimpl.h:
12233         * BufferView_pimpl.C: use workarea() not workarea_,
12234           and make it use a scoped_ptr instead
12235
12236 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12237
12238         * lyx_gui.C: add debug message on BadWindow
12239
12240 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12241
12242         * sp_spell.C: fdopen is not part of the C++ standard.
12243
12244         * paragraph.C (InsetIterator): use >= instead of ==
12245
12246 2002-06-07  Angus Leeming  <leeming@lyx.org>
12247
12248         Fixes needed to compile with Compaq cxx 6.5.
12249         * BufferView_pimpl.C:
12250         * DepTable.C:
12251         * buffer.C:
12252         * converter.C:
12253         * encoding.C:
12254         * lyx_gui.C:
12255         * lyx_main.C:
12256         * lyxtextclasslist.C:
12257         * minibuffer.C:
12258         * sp_spell.C:
12259         * tabular_funcs.C:
12260         * vc-backend.C:
12261         all c-library variables have been moved into namespace std. Wrap
12262         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12263
12264         * lyxlength.C:
12265         * tabular-old.C:
12266         * tabular.C:
12267         Add a using std::abs declaration.
12268
12269         * kbmap.h (modifier_pair):
12270         * paragraph.h (InsetTable, InsetList):
12271         * lyxfont.h (FontBits):
12272         type definition made public.
12273
12274         * bufferlist.C (emergencyWriteAll): the compiler complains that
12275         there is more than one possible lyx::class_fun template to choose from.
12276         I re-named the void specialisation as lyx::void_class_fun.
12277
12278         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12279
12280         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12281         the compiler is is unable to find tostr in write_attribute.
12282
12283 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12284
12285         * buffer.C (sgmlError): hide #warning
12286
12287 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12288
12289         * xtl/*: get rid of xtl, which is not in use anyway
12290
12291         * LyXAction.C (init):
12292         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12293         were unimplemented xtl experimentation
12294
12295 2002-06-04  André Pönitz <poenitz@gmx.net>
12296
12297         * lyxfunc.C: disable array operation on simple formulae
12298
12299 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12300
12301         * converter.C: constify a bit
12302
12303 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * lyx_gui.C: check xforms version correctly
12306
12307 2002-04-30  Herbert Voss  <voss@lyx.org>
12308
12309         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12310         "keep" option
12311
12312 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12313
12314         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12315           attempt to register it with a VCS)
12316
12317 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12318
12319         * lyx_main.C (init): honor variables LYX_DIR_13x and
12320         LYX_USERDIR_13x
12321
12322 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12323
12324         * buffer.h:
12325         * buffer.C:
12326         * lyx_main.C: fix a crash on bad command line,
12327           and give a useful exit status on error
12328
12329         * lyxfunc.C (doImport): allow -i lyx to work
12330
12331 2002-03-30  André Pönitz <poenitz@gmx.net>
12332
12333         * lyxfunc.C: mathed font changes
12334
12335 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12336
12337         * LaTeX.C:
12338         * importer.h:
12339         * importer.C:
12340         * lyx_sty.h:
12341         * lyx_sty.C:
12342         * lyxlex.C:
12343         * lyxrow.h:
12344         * lyxtext.h:
12345         * paragraph.h:
12346         * paragraph.C:
12347         * texrow.h:
12348         * texrow.C:
12349         * text.C:
12350         * trans_mgr.h: srcdocs, and some minor cleanups
12351
12352 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12353
12354         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12355         call getFont all the time)
12356
12357 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * switch from SigC signals to boost::signals
12360
12361 2002-05-29  André Pönitz <poenitz@gmx.net>
12362
12363         * paragraph_pimpl.C (getChar): don't call size() too often...
12364
12365 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12366
12367         * paragraph_pimpl.C (insertChar): do not try to update tables when
12368         appending (pos == size())
12369
12370         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12371         in order to reduce drastically the number of comparisons needed to
12372         parse a large document
12373
12374 2002-05-29  André Pönitz <poenitz@gmx.net>
12375
12376         * text.C:
12377         * text2.C:
12378         * lyxtextclass.C:
12379         * sp_pspell.h:
12380         * textclasslist.[Ch]:
12381         * sp_ispell.h: whitespace change
12382
12383 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12384
12385         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12386         lyxaction directly now.
12387
12388 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * trans.C:
12391         * lyxfont.C:
12392         * lyxvc.C: remove unused headers
12393
12394 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12395
12396         * Makefile.am:
12397         * buffer.h:
12398         * undostack.h:
12399         * undostack.C:
12400         * undo_funcs.h:
12401         * undo_funcs.C: some cleanups. Use shared_ptr
12402           and a template for the undo stacks.
12403
12404 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12405
12406         * BufferView_pimpl.h:
12407         * BufferView_pimpl.C:
12408         * kbmap.h:
12409         * kbmap.C:
12410         * kbsequence.h:
12411         * kbsequence.C:
12412         * lyxfunc.h:
12413         * lyxfunc.C:
12414         * text2.C: use key_state/mouse_state
12415
12416 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12419         and LSubstring
12420
12421         * chset.C: change include order
12422         (loadFile): use boost regex and get rid of LRegex and LSubstring
12423
12424         * Makefile.am (BOOST_LIBS): new variable
12425         (lyx_LDADD): use it
12426
12427         * LaTeX.C: change include order.
12428         (scanAuxFile): use boost regex and get rid of LRegex and
12429         LSubstring
12430         (deplog): ditto
12431
12432 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12433
12434         * ColorHandler.h:
12435         * ColorHandler.C:
12436         * FontInfo.h:
12437         * FontInfo.C: moved to frontends/xforms/
12438
12439         * FontLoader.h:
12440         * FontLoader.C: moved into frontends for GUIIzation
12441
12442         * Makefile.am:
12443         * lyx_gui.C:
12444         * lyxfont.C:
12445         * lyxfunc.C: changes from above
12446
12447 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12448
12449         * LColor.C: remove spurious X include
12450
12451         * BufferView_pimpl.C:
12452         * Makefile.am:
12453         * font.h:
12454         * font.C:
12455         * text.C:
12456         * text2.C: move font metrics to frontends/
12457
12458 2002-05-24  Juergen Vigna  <jug@sad.it>
12459
12460         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12461         setting the undo_cursor.
12462
12463         * ParagraphParameters.h: include local includes first.
12464
12465 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12466
12467         * BufferView_pimpl.C:
12468         * BufferView_pimpl.h:
12469         * Makefile.am:
12470         * WorkArea.h:
12471         * WorkArea.C:
12472         * screen.C: move WorkArea into frontends/
12473
12474         * lyxscreen.h:
12475         * screen.C:
12476         * text.C:
12477         * BufferView.C:
12478         * BufferView2.C: move LyXScreen into frontends/
12479
12480         * lyxlookup.h:
12481         * lyxlookup.C:
12482         * lyx_gui.C: move lyxlookup into frontends/xforms/
12483
12484 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12485
12486         * BufferView2.C:
12487         * BufferView_pimpl.C:
12488         * FontLoader.C:
12489         * LyXView.h:
12490         * LyXView.C:
12491         * Makefile.am:
12492         * WorkArea.C:
12493         * XFormsView.h:
12494         * XFormsView.C:
12495         * buffer.C:
12496         * bufferlist.C:
12497         * bufferview_funcs.C:
12498         * converter.C:
12499         * importer.C:
12500         * lyx_cb.C:
12501         * lyx_gui.C:
12502         * lyx_main.C:
12503         * lyx_find.C:
12504         * lyxfunc.C:
12505         * lyxvc.C:
12506         * minibuffer.C:
12507         * text.C:
12508         * text2.C:
12509         * trans.C:
12510         * vc-backend.C: move LyX/XFormsView into frontends/
12511
12512 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12513
12514         * Makefile.am:
12515         * PainterBase.C:
12516         * PainterBase.h:
12517         * Painter.C:
12518         * Painter.h:
12519         * WorkArea.C:
12520         * WorkArea.h:
12521         * screen.C:
12522         * tabular.C:
12523         * text.C:
12524         * text2.C: move Painter to frontends/
12525
12526 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * buffer.C: comment out some some code that depend upon lyx_format
12529         < 220
12530
12531         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12532         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12533
12534         * buffer.h (NO_COMPABILITY): turn off compability
12535
12536         * ColorHandler.C: include scoped_array.hpp
12537
12538         * font.C: Use more specific smart_ptr header.
12539         * Painter.C: ditto
12540         * gettext.C: ditto
12541         * ShareContainer.h: ditto
12542         * lyx_main.h: ditto
12543         * kbmap.h: ditto
12544         * FontInfo.h: ditto
12545         * BufferView_pimpl.h: ditto
12546         * ColorHandler.h: ditto
12547
12548         * kbmap.C (defkey): change call to shared_ptr::reset
12549
12550 2002-05-21  Juergen Vigna  <jug@sad.it>
12551
12552         * buffer.C (insertErtContents): fix to insert ert asis if it is
12553         non empty. Skip it completely if it contains only whitespaces.
12554
12555 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12556
12557         * BufferView_pimpl.C:
12558         * BufferView2.C: clear selection on paste (bug 393)
12559
12560 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12561
12562         * DepTable.C: include ctime
12563
12564 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12565
12566         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12567
12568 2002-05-14  Juergen Vigna  <jug@sad.it>
12569
12570         * text.C (breakParagraph): fixed function to honor the keepempty
12571         layout in the right maner and also to permit the right breaking
12572         algorithm on empty or non empyt keepempty paragraphs.
12573
12574         * paragraph.C (breakParagraph): we have to check also if the par
12575         is really empty (!size()) for isempty otherwise we do the wrong
12576         paragraph break.
12577
12578 2002-05-10  Juergen Vigna  <jug@sad.it>
12579
12580         * buffer.[Ch] : The following are only changes to the ert
12581         compatibility read reading old LaTeX layout and font stuff and
12582         convert it to ERTInsets.
12583
12584         * buffer.h: added isErtInset().
12585
12586         * buffer.C (struct ErtComp): add a fromlayout bool to check
12587         if we're inside a LaTeX layout.
12588         (isErtInset): new helper function.
12589         (insertErtContents): look for other ert insets before this one
12590         and insert the contents there, so that we don't have subsequent
12591         ERT insets with nothing between them. This way we create only one
12592         inset with multiple paragraphs. Also check if we don't insert only
12593         spaces ' ' as they are ignored anyway afterwards in the .tex file
12594         so if we have only spaces we will ignore this latex part in the
12595         new file.
12596         (parseSingleLyXformat2Token \\layout): better compatibility when
12597         reading layout-latex stuff.
12598         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12599         language tag.
12600         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12601         stuff after reading the inset only get the information back from
12602         the stack.
12603
12604 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12605
12606         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12607
12608         * LaTeXFeatures.C (getBabelOptions): New method.
12609
12610 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12611
12612         * BufferView_pimpl.C (Dispatch): work around missing argument for
12613         'layout'
12614
12615 2002-05-08  Juergen Vigna  <jug@sad.it>
12616
12617         * text.C (leftMargin): handle paragraph leftindent.
12618
12619         * paragraph.C (writeFile): write the new \\leftindent tag.
12620         (validate): handle leftindent code.
12621         (TeXEnvironment): handle paragraphleftindent code again.
12622
12623         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12624
12625         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12626         for paragrap_extra indent code and new token \\leftindent.
12627         (latexParagraphs): handle the leftindent as environment.
12628
12629         * ParameterStruct.h: added leftindent support.
12630
12631         * ParagraphParameters.C (leftIndent): added support functions for
12632         the paragraph left indent.
12633
12634         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12635         more appropriate.
12636
12637 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12638
12639         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12640         inside insetERT.
12641
12642         * text.C (computeBidiTables): No bidi in insetERT.
12643
12644         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12645         in RTL documents.
12646
12647 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12648
12649         * version.C.in: pre 5
12650
12651 2002-05-02  José Matos  <jamatos@fep.up.pt>
12652         * buffer.C (makeDocBookFile): white space changes, add newline to
12653         command styles.
12654         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12655
12656         * tabular.C (docBook): fix typo.
12657
12658 2002-05-03  Juergen Vigna  <jug@sad.it>
12659
12660         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12661         change in LyXText as we can not be sure it was not freed.
12662         (drawOneRow): remove unused code.
12663
12664         * text.C (drawInset): redo the calculation of the need_break_row as
12665         it could have a row which was already freed.
12666         (draw): look at the return value of drawInset and return false if
12667         it also returned false.
12668         (paintRowText): look at the return value of draw and return false if
12669         it also returned false.
12670
12671         * lyxtext.h: added bool return type to drawInset() and draw() so that
12672         if we have a change in the row so that the rowbreak has to be redone
12673         we abort drawing as it will be called again.
12674
12675 2002-05-02  Juergen Vigna  <jug@sad.it>
12676
12677         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12678         a change in the maintext also if we're inside an inset.
12679         (Dispatch): set the cursor again after a break line and after the
12680         screen has been updated as it could be we're in a different row.
12681
12682         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12683         to set the cursor behind the pargraph with > size().
12684         (setCursor): check also for the same paragraph when checking where
12685         to put the cursor if we have a NFR inset.
12686
12687         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12688         parts of layout read further up as it still was in the wrong
12689         position.
12690
12691 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * screen.C (drawFromTo): change sine fullRebreak always return
12694         true.
12695
12696         * buffer.C (parseSingleLyXformat2Token): reindent some
12697
12698         * BufferView_pimpl.C (update): change since fullRebreak always
12699         return true.
12700         (Dispatch): git rid of the last hardcoded "Standard"s.
12701
12702 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * text2.[Ch] (fullRebreak): make it return void now that we always
12705         returned true.
12706
12707 2002-04-30  Juergen Vigna  <jug@sad.it>
12708
12709         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12710         ert compatibility check for "latex" layout.
12711
12712 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12713
12714         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12715         minipages: use col% instead of p%, and also use the current font.
12716         (makeLaTeXFile): Fix use babel condition.
12717         (parseSingleLyXformat2Token): Correct font when reading old floats.
12718
12719 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12720
12721         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12722         inserting list of floats.
12723
12724 2002-04-25  Herbert Voss  <voss@lyx.org>
12725
12726         * MenuBackend.C (expand): don't add the graphics extensions to the
12727         export menu
12728
12729 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12730
12731         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12732         non-existing layout, do not complain if it was the default layout
12733         of the original class (bug #342)
12734
12735 2002-04-24  Juergen Vigna  <jug@sad.it>
12736
12737         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12738         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12739
12740 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12741
12742         * buffer.C (getBibkeyList): If using \bibliography, return the
12743         option field with the reference itself. Enables us to provide natbib
12744         support when using \bibliography.
12745
12746 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12747
12748         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12749
12750         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12751         natbib is provided by the LaTeX class.
12752
12753 2002-04-23  Juergen Vigna  <jug@sad.it>
12754
12755         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12756         Wakeup functions.
12757
12758         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12759
12760 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12761
12762         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12763
12764         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12765         ensuremath around textordmasculine, textordfeminine and
12766         textdegree.
12767
12768 2002-04-19  Juergen Vigna  <jug@sad.it>
12769
12770         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12771         reinitializing the buffer otherwise row-dimensions may be wrong.
12772         (update): reset also the selection cursors if they do exits otherwise
12773         their x/y positions may be wrong.
12774
12775         * text2.C (cursorDown): don't enter the inset if we came from a row
12776         above and are one row over the inset.
12777
12778         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12779         really leaving an inset.
12780
12781 2002-04-18  Juergen Vigna  <jug@sad.it>
12782
12783         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12784         of the selected paragraph does not have the selected layout also if
12785         the last one had!
12786
12787         * text2.C (setLayout): fixed bug which did not change last selected
12788         paragraph.
12789
12790         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12791         changed the read and substituted \\end_float with \\end_inset!
12792
12793         * BufferView_pimpl.C (cursorPrevious):
12794         (cursorNext): fixed to make it work with rows heigher than the work
12795         area without moving the cursor only the draw of the row.
12796         (workAreaMotionNotify): fix jumping over high rows.
12797
12798 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12801         Ressler.
12802
12803 2002-04-16  Juergen Vigna  <jug@sad.it>
12804
12805         * text2.C (setCursor): set also the irow().
12806         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12807         (cursorUp):
12808         (cursorDown): support for locking an inset if the x_fix value goes
12809         inside it. That way I can transverse insets too with cursor up/down.
12810
12811         * lyxrow.h: added irow helper function same as other (i) functions.
12812
12813         * BufferView_pimpl.C (cursorPrevious):
12814         (cursorNext): fixed for insets!
12815
12816 2002-04-15  Juergen Vigna  <jug@sad.it>
12817
12818         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12819         position otherwise it is wrong in some cases.
12820
12821         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12822         inside the inset before the call.
12823
12824 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12825
12826         * buffer.[Ch] (getBibkeyList): make it const.
12827
12828 2002-04-12  Juergen Vigna  <jug@sad.it>
12829
12830         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12831
12832         * text2.C (getCursorX): new helper function
12833         (setCursor): compute also ix_
12834         (setCursorFromCoordinates): set also ix.
12835
12836         * lyxcursor.h: added ix_ and helper functions.
12837
12838         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12839
12840         * buffer.C (insertStringAsLines): dont break paragraph if the this
12841         paragraph is inside an inset which does not permit it!
12842
12843         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12844         also with no chars on this paragraph.
12845         (paintRowText): only paint stuff if it's inside the workarea!
12846
12847         * paragraph.C (breakParagraph): honor keepempty flag and break the
12848         paragraph always below not above.
12849
12850         * BufferView2.C (unlockInset): update the paragraph layout on inset
12851         unlock as we changed paragraph in such a case.
12852
12853         * lyxfind.C (LyXFind): clear the former selection if not found!
12854
12855         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12856         again called in insertChar().
12857
12858         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12859         an inset which uses the whole row!
12860         (rightMargin): ditto.
12861         (insertChar): force a rebreak if we inserted an inset!
12862
12863 2002-03-28  Herbert Voss  <voss@lyx.org>
12864
12865         * lyxlength.[Ch]: add inBP() to get the right PS-point
12866         units (BigPoint). With inPixels we have rounding errors
12867
12868 2002-04-11  Juergen Vigna  <jug@sad.it>
12869
12870         * text2.C (setCursorFromCoordinates): set iy to the right value.
12871         (setCursor): add check if row->previous exists!
12872
12873         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12874         an old float_type as this was the case in the old code!
12875
12876         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12877
12878         * BufferView2.C (showLockedInsetCursor): use iy
12879         (fitLockedInsetCursor): ditto
12880
12881         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12882         locked insets as there we have the right value now.
12883
12884         * lyxcursor.C: added iy_ variable and iy functions to set to the
12885         baseline of cursor-y of the locked inset.
12886
12887         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12888         (setCursor): fixed for insets which need a full row.
12889
12890         * text.C (rowLastPrintable): don't ignore the last space when before
12891         an inset which needs a full row.
12892         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12893         as last character of a row when before a inset which needs a full row.
12894
12895 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12896
12897         * version.C.in: update date
12898
12899         * text2.C (fullRebreak): try to always return true and see what
12900         happens...
12901
12902 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12903
12904         * MenuBackend.C (expand): use Floating::listName
12905
12906         * FloatList.C (FloatList): add listName argument to the built-in
12907         floats
12908
12909         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12910         text associated with the float.
12911
12912 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12913
12914         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12915
12916 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12917
12918         * ShareContainer.h: add a couple of missing typenames.
12919
12920 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12921
12922         * lyxrc.C (getDescription): use _() correctly rather than N_().
12923
12924 2002-03-28  Herbert Voss  <voss@lyx.org>
12925
12926         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12927         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12928
12929 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12930
12931         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12932         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12933
12934 2002-03-29  Juergen Vigna  <jug@sad.it>
12935
12936         * lyxfunc.C (dispatch): add a missing fitCursor call.
12937
12938         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12939         it was scrolled by a cursor move, so return the bool status.
12940
12941         * BufferView.C (fitCursor): return the bool flag also to the outside
12942         world as this is needed.
12943
12944         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12945
12946         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12947         call the edit() as it is not needed (and wrong) IMO.
12948         (workAreaButtonPress): set the screen_first variable before evt.
12949         unlock the inset as this may change screen_first and then we have
12950         a wrong y position for the click!
12951
12952 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12953
12954         * MenuBackend.C (expand): another translation that I missed
12955
12956 2002-03-28  Juergen Vigna  <jug@sad.it>
12957
12958         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12959
12960         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12961
12962 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12963
12964         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12965
12966         * MenuBackend.C (expand): fix export/view/update when there is no
12967         document open.
12968
12969 2002-03-27  Herbert Voss  <voss@lyx.org>
12970
12971         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12972         and text%
12973
12974 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12975
12976         * bufferview_funcs.C (currentState): only show paragraph number
12977         for is DEVEL_VERSION is set.
12978
12979         * lyxfunc.C (dispatch): put warning in INFO channel
12980
12981         * MenuBackend.C (expand): translate the name of floats
12982
12983         * FloatList.C (FloatList): mark the float names for translation
12984
12985         * converter.C (convert): use LibScriptSearch
12986
12987 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12988
12989         * MenuBackend.C (defaults): fix default menu (we might as well get
12990         rid of it...)
12991
12992 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12995         directory.
12996
12997 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * lyxvc.C: reorder includes.
13000
13001 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13002
13003         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13004           properly
13005
13006 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13007
13008         * CutAndPaste.C: change layouts earlier on paste
13009           to avoid crashing when calling getFont()
13010
13011 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13012
13013         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13014         irritating #error.
13015
13016 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13017
13018         * WorkArea.C: remove 'Pending' debug message.
13019
13020         * most files: ws cleanup
13021
13022         * buffer.[Ch]: ws changes
13023
13024         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13025
13026 2002-03-21  Juergen Vigna  <jug@sad.it>
13027
13028         * tabular.C (SetMultiColumn): collapse also the contents of the
13029         cells and set the last border right. Added a Buffer const * param.
13030
13031 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13032
13033         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13034         linking or not.
13035
13036 2002-03-19  Juergen Vigna  <jug@sad.it>
13037
13038         * text2.C (clearSelection): reset also xsel_cache.
13039
13040         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13041         where it needs to be called (John tells us to do so too :)
13042         (selectionLost): reset sel_cache.
13043
13044         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13045
13046 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13047
13048         * text2.C (setCursorIntern): put debuging code in INSETS channel
13049
13050 2002-03-19  André Pönitz <poenitz@gmx.net>
13051
13052         * lyxfunc.C: tiny whitespace change
13053
13054 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13055
13056         * ToolbarDefaults.C (init):
13057         * LyXAction.C (init):
13058         * commandtags.h:
13059         * BufferView_pimpl.C (Dispatch):
13060         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13061
13062 2002-03-19  Allan Rae  <rae@lyx.org>
13063
13064         * exporter.C (Export): removeAutoInsets before doing anything else.
13065         While I've just introduced a dependency on BufferView this really is
13066         the best place to clean the buffer otherwise you need to cleanup in
13067         a dozen places before calling export or cleanup in a dozen functions
13068         that export calls.
13069
13070         * converter.C (runLaTeX):
13071         (scanLog): Better handling of removeAutoInsets and screen updates.
13072
13073         * lyxfunc.C (dispatch): small whitespace changes
13074
13075 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * WorkArea.C (C_WorkAreaEvent): return a value.
13078         (event_cb): return 1 if we handled the event, 0 otherwise.
13079
13080         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13081
13082 2002-03-18  Juergen Vigna  <jug@sad.it>
13083
13084         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13085         (GetAdditionalWidth): ditto.
13086         (RightLine): ditto.
13087         (LeftLine): ditto.
13088
13089         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13090         inset if we're there actually (probably not used right now but this
13091         is the direction to go for unifying code).
13092         (paste): disable code to clear the selection.
13093
13094         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13095         inside an InsetText and move the check further up as it is in the
13096         wrong place.
13097
13098         * text2.C (pasteSelection): set a selection over the pasted text.
13099
13100 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13101
13102         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13103         and libgraphics to build on Cygwin.
13104
13105 2002-03-15  Juergen Vigna  <jug@sad.it>
13106
13107         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13108         inserting an Inset into the paragraph. I know this is not the best
13109         fix but we already use current_view in CutAndPaste so we will remove
13110         all of it's using at the same time.
13111
13112         * buffer.C (sgmlError): deactivated function till it is rewritten in
13113         the right mode, now it can create problems.
13114
13115         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13116         before accessing it.
13117
13118 2002-03-14  Juergen Vigna  <jug@sad.it>
13119
13120         * undo_funcs.C (textHandleUndo): do the right thing when updating
13121         the inset after the undo/redo.
13122
13123         * text2.C (setCursor): just some testcode for #44 not ready yet.
13124
13125         * undo_funcs.C (textHandleUndo): set the next() and previous()
13126         pointers of the paragraph to 0 before deleting otherwise we have
13127         problems with the Paragraph::[destructor].
13128
13129         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13130         on a paragraph insertion.
13131
13132 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13133
13134         * buffer.C (asciiParagraph): use += operator for char append to
13135         string.
13136
13137         * paragraph.C (getFontSettings): compare >= not just >
13138         (highestFontInRange): ditto
13139         (setFont): ditto
13140
13141 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * paragraph.C: change several algorithm to be more appripriate for
13144         the problem domain. This is lookip in FontList and in the InsetList.
13145
13146 2002-03-13  André Pönitz <poenitz@gmx.net>
13147
13148         * commandtags.h:
13149         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13150
13151 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13152
13153         * commandtags.h:
13154         * LyXAction.C:
13155         * lyxfunc.C:
13156         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13157
13158 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * Painter.C (display): anon helper function, adjust code for this
13161         change.
13162         (pixmap): remove function.
13163
13164         * Painter.h: remove private display variable.
13165
13166         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13167
13168 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13169
13170         * WorkArea.[Ch]: remove figinset_canvas cruft.
13171
13172 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * lyxtextclass.C (operator): add one item cache optimization.
13175
13176         * bufferlist.h: doxy changes
13177
13178         * bufferlist.C: ws changes
13179
13180         * DepTable.[Ch] (ext_exist): place const in the right spot.
13181
13182         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13183         call resizeInsets.
13184         (workAreaExpose): call resizeInsets when the with BufferView changes.
13185         (Dispatch): adjust for protectedBlank removal
13186         (specialChar): call updateInset if the insert went ok.
13187
13188         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13189         specialChar instead.
13190
13191         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13192
13193         * BufferView.h: doxy change
13194
13195         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13196
13197         * lyxtextclass.C (operator[]): remove non-const version
13198         (defaultLayout): remove non-const version
13199
13200 2002-03-12  Juergen Vigna  <jug@sad.it>
13201
13202         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13203         did resize the LyXText too.
13204
13205         * buffer.C (readLyXformat2): set layout information on newly allocated
13206         paragraphs.
13207
13208         * tabular.C (OldFormatRead): set layout information on the paragraph.
13209
13210 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13211
13212         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13213
13214 2002-03-11  Juergen Vigna  <jug@sad.it>
13215
13216         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13217         plainly wrong.
13218         (resizeCurrentBuffer): force also the insets to resize themselfes.
13219         (moveCursorUpdate): fixed up for InsetText.
13220
13221 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * commandtags.h:
13224         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13225         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13226         value of Dialogs::tooltipsEnabled().
13227         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13228
13229 2002-03-08  Juergen Vigna  <jug@sad.it>
13230
13231         * BufferView_pimpl.C (updateInset): update inset inside inset also
13232         if it isn't inside theLockingInset().
13233
13234 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13235
13236         * buffer.C (asciiParagraph): redo some of the word and line length
13237         handling.
13238         (getLists): look for Caption instead of caption.
13239
13240 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13241
13242         * buffer.C (Buffer): initialize niceFile to true
13243         (makeLaTeXFile):
13244         (makeLinuxDocFile):
13245         (makeDocBookFile): make sure niceFile is true on exit
13246
13247 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13248
13249         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13250
13251 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13252
13253         * LyXSendto.C: remove.
13254         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13255         * lyx_gui.C: remove now-redundant comment.
13256         * ColorHandler.h: remove forward declaration of class WorkArea.
13257         * lyxfunc.C: remove #include "WorkArea.h".
13258
13259 2002-03-07  Juergen Vigna  <jug@sad.it>
13260
13261         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13262         got moved away with the DEPM and also set the inset_owner always
13263         right which before could have been omitted.
13264
13265 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13268         wanted layout is not found.
13269
13270 2002-03-07  Juergen Vigna  <jug@sad.it>
13271
13272         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13273
13274 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13275
13276         * paragraph.C (breakParagraph): use default layout not layout of
13277         prev paragraph.
13278         (Paragraph): clear ParagraphParameters.
13279
13280 2002-03-06  Juergen Vigna  <jug@sad.it>
13281
13282         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13283         otherwise it would not be a valid lenght. Fixed a special case in
13284         the minipage compatibility read where we end the document with a
13285         minipage.
13286
13287         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13288         was set as it could be 0 for InsetTexts first entry.
13289
13290 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13291
13292         * paragraph.C (writeFile): if layout is empty write out
13293         defaultLayoutName().
13294
13295         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13296         file without named layout we set layout to defaultLayoutName().
13297
13298 2002-03-06  Juergen Vigna  <jug@sad.it>
13299
13300         * CutAndPaste.C (copySelection): set layout for new paragraph.
13301
13302         * text.C (prepareToPrint): leave ERT inset left aligned
13303         (leftMargin): don't indent paragraphs inside ERT insets
13304
13305 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13306
13307         * paragraph.C (breakParagraph): dont call clear do the work manually
13308
13309         * paragraph.[Ch] (clear): remove function
13310
13311 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13312
13313         * paragraph.C (Paragraph): dont call clear, the work has already
13314         been done.
13315
13316         * lyxtextclass.C (operator): assert if n is empty
13317
13318         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13319         work manually instead.
13320
13321 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13322
13323         * BufferView_pimpl.C: protect selectionLost against text == 0
13324
13325 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * text.C (breakParagraph): fix a setting layout to '0' problem.
13328
13329 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13330
13331         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13332         final location of file, for the included files, and graphics.
13333
13334 2002-03-05  Juergen Vigna  <jug@sad.it>
13335
13336         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13337
13338 2002-03-04  Juergen Vigna  <jug@sad.it>
13339
13340         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13341
13342         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13343         last column of multicolumn cells.
13344         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13345
13346 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13347
13348         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13349         file if it doesn't go to a temporary file.
13350
13351         * buffer.C (sgmlOpenTag):
13352         (sgmlCloseTag):  remove extra newline insertion.
13353
13354 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13355
13356         * text.C (getRowNearY): comment out debug msg
13357
13358 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13359
13360         * text2.C: first -> first_y
13361
13362         * text.C (getRowNearY): add some attemts at a possible
13363         optimization, not working.
13364
13365         * tabular.[Ch]: add BufferParams to several function so that newly
13366         created paragraph can be initialized to he default layotu for the
13367         buffers textclass.
13368
13369         * tabular-old.C (ReadOld): add buf->params to call of Init
13370
13371         * screen.C: rename text->first to text->first_y
13372
13373         * paragraph.C (breakParagraph): always set layout in the broken
13374         paragraph
13375
13376         * lyxtextclass.C (Read): remove lowercase
13377         (hasLayout): ditto
13378         (operator): ditto
13379         (delete_layout): ditto
13380
13381         * lyxtext.h: rename first -> first_y
13382
13383         * lyxlayout.C (Read): remove lowercase
13384         (name): ditto
13385         (setName): ditto
13386         (obsoleted_by): ditto
13387
13388         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13389
13390         * buffer.C (insertErtContents): add params are to InsetERT
13391         (parseSingleLyXformat2Token): add code to check if a paragraphs
13392         layout really exist.
13393         (parseSingleLyXformat2Token): add params to several inset
13394         constructors
13395         (asciiParagraph): remove lowercase, do the layout comparisons with
13396         no_case
13397
13398         * BufferView_pimpl.C (cursorNext): first -> first_y
13399         (resizeCurrentBuffer): first -> first_y
13400         (updateScrollbar): first -> first_y
13401         (scrollCB): first -> first_y
13402         (workAreaMotionNotify): first -> first_y
13403         (workAreaButtonPress): first -> first_y
13404         (checkInsetHit): first -> first_y
13405         (cursorPrevious): first -> first_y
13406         (cursorNext): first -> first_y
13407         (Dispatch): add buffer_->params to severl inset contructors
13408
13409 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * lyxlayout.C (Read): remove some debug info that I forgot.
13412
13413         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13414         clean up the code slightly.
13415         (makeLinuxDocFile): ditto
13416         (makeDocBookFile): ditto
13417
13418         * text2.C: layout as string
13419
13420         * text.C: layout as string
13421
13422         * paragraph_pimpl.C: layout as string
13423
13424         * paragraph.[Ch]: layout as string
13425
13426         * lyxtextclasslist.[Ch]: layout as string
13427
13428         * lyxtextclass.[Ch]: layout as string
13429
13430         * lyxtext.h: layout as string
13431
13432         * lyxlayout.[Ch]: layout as string
13433
13434         * lyx_cb.C: layout as string
13435
13436         * bufferview_funcs.C: layout as string
13437
13438         * bufferparams.C: layout as string
13439
13440         * buffer.C: layout as string
13441
13442         * LyXView.[Ch]: layout as string
13443
13444         * LaTeXFeatures.[Ch]: layout as string
13445
13446         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13447
13448         * BufferView_pimpl.C: change current_layout to string, remove
13449         lyx::layout_type.
13450         (Dispatch):
13451         (smartQuote):
13452         (insertInset):
13453         (workAreaButtonRelease): layout as string
13454
13455         * BufferView2.C (unlockInset): adjust
13456
13457         * vspace.C (asLatexCommand): use an explict temp variable.
13458
13459 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13460
13461         * Makefile.am: use FRONTEND_*
13462
13463 2002-03-01  Juergen Vigna  <jug@sad.it>
13464
13465         * tabular.C (SetWidthOfMulticolCell): changed to something better
13466         I hope but still work in progress.
13467         (recalculateMulticolumnsOfColumn): renamed function from
13468         recalculateMulticolCells as it is more appropriate now.
13469         (SetWidthOfCell): calculate multicols better.
13470
13471 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13472
13473         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13474
13475         * lyxfunc.C (processKeySym): print sequence also if it is
13476         `deleted' (complete)
13477
13478         * kbsequence.C (print): print sequence even if it is deleted
13479         (complete would be a better word, actually).
13480
13481         * lyxfunc.C (dispatch): print complete options after a prefix key
13482
13483         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13484
13485 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13486
13487         * text2.C (setCharFont): eliminate setCharFont code duplication.
13488
13489 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13490
13491         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13492         LFUN_TABULAR_FEATURE (bug #177)
13493
13494 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13495
13496         * Makefile.am: remove figure.h
13497
13498 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13499
13500         * Bufferview_pimpl.C:
13501         * CutAndPasteC:
13502         * LaTeX.C:
13503         * LyXSendto.C:
13504         * buffer.C:
13505         * bufferlist.C:
13506         * converter.C:
13507         * language.C:
13508         * lyxfunc.C:
13509         * lyxvc.C:
13510         * paragraph.C:
13511         * text.C:
13512         * text2.C: remove #include "lyx_gui_misc.h".
13513
13514         * LaTeX.C: added #include <cstdio>
13515
13516 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13517
13518         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13519         that the paragraph following this one can have.
13520
13521         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13522
13523         * vspace.C (asLatexCommand): fix bogus gcc warning
13524
13525         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13526
13527 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13528
13529         * text2.C (setLayout): get rid of redundant code
13530
13531 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13532
13533         * text2.C (incDepth): make sure depth cannot be increased beyond
13534         reasonable values.
13535
13536 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13537
13538         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13539         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13540
13541         * PainterBase.h (image):
13542         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13543         a LyXImage const *.
13544
13545 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13546
13547         * BufferView.C:
13548         * BufferView.h:
13549         * BufferView_pimpl.C:
13550         * BufferView_pimpl.h:
13551         * LaTeXFeatures.C:
13552         * LyXAction.C:
13553         * LyXView.C:
13554         * Makefile.am:
13555         * UpdateList.h:
13556         * UpdateList.C:
13557         * buffer.C:
13558         * figure.h:
13559         * figureForm.C:
13560         * figureForm.h:
13561         * figure_form.C:
13562         * figure_form.h:
13563         * lyx_cb.C:
13564         * lyx_gui.C:
13565         * lyx_gui_misc.C:
13566         * lyxfunc.C:
13567         * sp_base.h:
13568         * sp_ispell.h:
13569         * sp_pspell.h:
13570         * sp_spell.C: remove fig inset, and the crap house of
13571           cards that follows it
13572
13573 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13574
13575         * Makefile.am:
13576         * lyxserver.C:
13577         * os2_defines.h:
13578         * os2_errortable.h:
13579         * nt_defines.h: move .h into support/
13580
13581         * vms_defines.h: remove
13582
13583         * WorkArea.C: add space in debug output
13584
13585         * text2.C:
13586         * paragraph.C:
13587         * buffer.C: add WITH_WARNINGS
13588
13589         * vc-backend.h:
13590         * vc-backend.C:
13591         * bufferlist.C: s/retrive/retrieve/, add docs
13592
13593         * vspace.h:
13594         * vspace.C:
13595         * kbmap.h:
13596         * lyxlength.h:
13597         * lyxgluelength.h:
13598         * length_common.h:
13599         * chset.h:
13600         * chset.C: add docs
13601
13602         * lyxgui.C: add ID to X error handler
13603
13604         * lyxtestclass.c: fix typo
13605
13606 2002-02-26  Juergen Vigna  <jug@sad.it>
13607
13608         * tabular_funcs.C (write_attribute): changed so that some default
13609         attributes are not written at all.
13610         (getTokenValue): set default values before trying to read the
13611         value so we have the return value always set as default if we don't
13612         find the token we search for.
13613
13614         * tabular.C (Write): write bools as bools not as strings!
13615
13616 2002-02-22  Juergen Vigna  <jug@sad.it>
13617
13618         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13619         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13620
13621         * text.C (leftMargin): don't add an indent for paragraphs inside
13622         tabular cells (fix #208).
13623
13624 2002-02-21  José Matos  <jamatos@fep.up.pt>
13625
13626         * tabular.C (docBook): fixed support for long tables.
13627
13628 2002-02-20  Juergen Vigna  <jug@sad.it>
13629
13630         * text2.C (getFont): get the drawing font of the Inset if this
13631         paragraph is inside an inset (only important for InsetERT for now).
13632
13633         * buffer.C (insertErtContents): use new lanugage params in ERT
13634         constructor.
13635
13636         * CutAndPaste.C: commenting out seemingly uneeded code.
13637
13638 2002-02-19  Allan Rae  <rae@lyx.org>
13639
13640         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13641         Iterators might be simple to use but they also get invalidated.
13642         (removeAutoInsets): renamed saved cursor tracking variables and added
13643         some comments to clarify what everything does.
13644
13645 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13646
13647         * Chktex.C:
13648         * LaTeX.C:
13649         * LyXSendto.C:
13650         * converter.C:
13651         * lyx_cb.C:
13652         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13653         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13654
13655         * lyxfunc.C:
13656         * vc-backend.h: remove #include "support/syscall.h"
13657
13658         * LaTeX.C:
13659         * LyXSendto.C:
13660         * converter.C: rearrange #includes in Lars' approved fashion.
13661
13662         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13663         forward declare class Timeout in the header file.
13664
13665         * XFormsView.C: changes due to the above.
13666
13667         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13668         similar to LyXView.
13669
13670         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13671         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13672
13673 2002-02-18  José Matos  <jamatos@fep.up.pt>
13674
13675         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13676         insets contents.
13677
13678 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13679
13680         * a lot of small ws changes
13681         * add a lot of using std::XXX
13682         * use std construcs some places where approp.
13683         * use some exisint stuff from lyxfunctional where approp.
13684         * Make file changes to use partial linking (lets test this now...)
13685
13686 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13687
13688         * Chktex.C:
13689         * buffer.C:
13690         remove #include "support/syscontr.h" as it's redundant. Always has been.
13691
13692         * Chktex.C:
13693         * LaTeX.C:
13694         * LyXSendto.C:
13695         * converter.C:
13696         * lyx_cb.C:
13697         * vc-backend.C:
13698         change Systemcalls::System to Systemcalls::Wait and
13699         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13700         No change of functionality, just reflects the stripped down Systemcalls
13701         class.
13702
13703 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * debug.[Ch]: add a GRAPHICS type to the enum.
13706
13707 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13708
13709         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13710
13711         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13712         there is an inset.
13713
13714 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13715
13716         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13717         match the changes below.
13718
13719         * text2.C (toggleInset): if there is not editable inset at cursor
13720         position, try to see if cursor is _inside_ a collapsable inset
13721         and close it.
13722
13723 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13724
13725         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13726         document menu has a nice checkbox
13727
13728 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13729
13730         * lyxlength.C (asLatexString): change PW to output as percent of
13731         \textwidth.
13732
13733         * lengthcommon.C: change '%' to 't%'
13734
13735         * lyxfunc.C (dispatch): a few comments from Martin
13736
13737 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * WorkArea.h:
13740         * WorkArea.C:
13741         * BufferView_pimpl.h:
13742         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13743           the X selection.
13744
13745 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13746
13747         * vspace.C (inPixels): fix compiler warning
13748
13749 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13750
13751         * lyxfunc.C (getStatus): fix status message for disabled commands.
13752
13753 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13754
13755         * BufferView_pimpl.C: fix crash on close buffer
13756         during selection (#227)
13757
13758 2002-01-27  Herbert Voss  <voss@lyx.org>
13759
13760         * buffer.C: link old Figure to new graphic inset
13761
13762 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13763
13764         * FontLoader.C (getFontinfo): Change the latex font names in order
13765         to match the names of type1inst.
13766
13767 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13768
13769         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13770
13771         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13772         (extchanged): ditto
13773         (ext_exist): ditto
13774         (remove_files_with_extension): ditto
13775         (remove_file): ditto
13776         (write): ditto
13777
13778         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13779         document is smaller than the work area height. Do not initialize
13780         static variables to 0.
13781
13782 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13783
13784         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13785
13786         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13787         LFUN_LAYOUT_PARAGRAPHS.
13788
13789         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13790         tabular. It is possible to provide a possible cell, which will
13791         typically be the actcell from the corresponding insettabular
13792
13793         * lyxfunc.C (getStatus): small cleanup; disable
13794         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13795         true
13796
13797 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13798
13799         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13800
13801         * paragraph.C (startTeXParParams):
13802         (endTeXParParams): new methods. The LaTeX code to
13803         start/end paragraph formatting
13804         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13805         empty (fixes bug #200)
13806
13807         * vspace.C (inPixels): adapt to the change below
13808         (inPixels): [later] more cleanups (remove unused variables)
13809
13810         * lyxlength.C (inPixels): change to use a width and a height as
13811         parameter.
13812
13813 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13814
13815         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13816         Replaced with \paperwidth
13817
13818         * DepTable.C (insert): add std:: qualifier
13819
13820 2002-01-18  Allan Rae  <rae@lyx.org>
13821
13822         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13823         updated also?
13824
13825         * text.C (drawInset): Turned out I didn't know enough about how
13826         rebreaking worked.  This fixes most of the redraw problems.  I see
13827         an occasional cursor trail when a line is broken now and the cursor
13828         placement can seem out by a few pixels also after a rebreak.
13829
13830 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13831
13832         * buffer.C (parseSingleLyXformat2Token): update because minipage
13833         width is now a LyXLength
13834
13835         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13836
13837         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13838         math insets
13839
13840 2002-01-17  Juergen Vigna  <jug@sad.it>
13841
13842         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13843
13844         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13845         is set correctly and the inset is updated correctly.
13846
13847 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13848
13849         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13850         the beginning of the loop.
13851
13852 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13853
13854         * lyxrc.C: improve help for use_scalable_fonts
13855
13856 2002-01-17  Allan Rae  <rae@lyx.org>
13857
13858         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13859
13860 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13861
13862         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13863         make sure to set their inset_owner to the right value (bug #171)
13864
13865 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13866
13867         * DepTable.h
13868         * DepTable.C: Implement mtime checking to reduce time spent doing
13869         CRCs.
13870
13871 2002-01-16  Juergen Vigna  <jug@sad.it>
13872
13873         * tabular.C (GetAdditionalHeight): one of error fixed.
13874
13875         * lyxrc.C (output): small fix in writing use_pspell.
13876
13877 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13878
13879         * sp_base.h: #include LString.h
13880
13881 2002-01-16  Allan Rae  <rae@lyx.org>
13882
13883         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13884         Can someone check this please?
13885
13886         * text.C (drawInset): It was possible that p.row would be removed by
13887         breakAgainOneRow upsetting a few other settings.  There may be another
13888         small tweak possible by setting need_break_row = 0 when p.row has been
13889         removed but I don't know enough about the logic here.
13890
13891 2002-01-15  Allan Rae  <rae@lyx.org>
13892
13893         * text.C (insertChar): removed conditional truism.
13894
13895         * BufferView2.C (removeAutoInsets): More tweaks.
13896         cur_par_prev could be a stray pointer.  Check for trailing empty line
13897         in case last line was cur_par and only had an error inset on it.
13898
13899 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13900
13901         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13902         absolute
13903
13904         * vc-backend.C (most methods):
13905         * exporter.C (Export):
13906         * converter.C (convert):
13907         (runLaTeX):
13908         * LyXSendto.C (SendtoApplyCB):
13909         * lyxfunc.C (dispatch):
13910         (menuNew):
13911         (open):
13912         (doImport):
13913         * lyx_cb.C (AutoSave):
13914         (InsertAsciiFile):
13915         * BufferView_pimpl.C (MenuInsertLyXFile):
13916         * buffer.C (runChktex): use Buffer::filePath().
13917
13918         * buffer.h: rename filename to filename_; rename filepath to
13919         filepath_ and make it private
13920         (filePath): new method
13921
13922         * buffer.C (writeFile): use fileName()
13923         (getLatexName):
13924
13925         * lyx_main.C (init): fix starting  of LyX when the binary is a
13926         link from so,ewhere else.
13927
13928         * minibuffer.C: include <cctype> for isprint
13929
13930 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13931
13932         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13933         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13934         name clash with InsetCollapsable's width function.
13935
13936 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * lastfiles.C: include <iterator>
13939
13940 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13941
13942         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13943         std::count.
13944
13945         * buffer.C (makeLaTeXFile): ditto.
13946         Also make loop operation more transparent.
13947
13948 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13949
13950         * ToolbarDefaults.C: remove trailing comma closing namespace.
13951
13952         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13953
13954         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13955         as in WorkArea.
13956
13957         * trans.C (Load): comment out unused variable, allowed.
13958
13959 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13960
13961         * minibuffer.[Ch] (append_char): new method to recieve input from the
13962         drop-down completion browser. If a key was pressed, then recieve this
13963         char and append it to the existing string.
13964         (peek_event): modify the positioning data passed to the completion
13965         browser so that it can be placed above the minibuffer rather than below.
13966 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13967
13968         * LyXAction.C (init): alloe error-next for readonly documents.
13969
13970         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13971         count.
13972
13973 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13974
13975         * bufferlist.C (readFile): create the buffer _after_ checking that
13976         the file exists.
13977
13978         * lyxfunc.C (verboseDispatch): fix handling of arguments
13979
13980         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13981
13982         * lyxrc.C: use string::erase() instead of initializing to "".
13983
13984
13985 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13986
13987         * BufferView_pimpl.h:
13988         * BufferView_pimpl.C:
13989         * WorkArea.h:
13990         * WorkArea.C:
13991         * text2.C: tell X when we have made a selection for copying
13992
13993 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13994
13995         * BufferView_pimpl.C (MenuInsertLyXFile):
13996         * lyxfunc.C (menuNew):
13997         (open):
13998         (doImport): add shortcuts to directory buttons
13999
14000         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14001         open a float)
14002
14003         * lyxfunc.C (setStatusMessage):
14004         (getStatusMessage): new methods
14005         (getStatus):use setStatusMessage instead of setErrorMessage
14006         (dispatch): when function is disabled, set error message here
14007         [instead of in getStatus previously]
14008
14009         * BufferView_pimpl.C (workAreaButtonRelease): update
14010         toolbar/menubar here too.
14011
14012 2002-01-13  Allan Rae  <rae@lyx.org>
14013
14014         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14015         Now seems indestructible.  Remaining task is to audit all other
14016         code affected by deleteEmptyParagraphMechanism.  One small quirk
14017         left is that an empty document with an error in the preamble can
14018         be made to report an error but no error box appears.  I don't know
14019         where it goes.
14020         (removeAutoInsets): Improved comments.
14021
14022 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14023
14024         * Thesaurus.h:
14025         * Thesaurus.C: update for Aiksaurus 0.14
14026
14027 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14028
14029         * text2.C (firstParagraph): removed member function, all uses
14030         replaces with ownerParagraph
14031         (redoParagraphs): here
14032         (updateInset): here
14033         (toggleAppendix): here
14034         * BufferView2.C (insertErrors): here
14035         (setCursorFromRow): here
14036
14037 2002-01-13  Allan Rae  <rae@lyx.org>
14038
14039         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14040         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14041         There is still a way to segfault this although you may have to do this
14042         multiple times: Have an InsetERT with an unknown command in it.
14043         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14044         <down-arrow>, <Enter> again, View->DVI, BANG!
14045
14046         * text2.C (setCursor):
14047         (deleteEmptyParagraphMechanism):
14048         * lyxtext.h (setCursor):
14049         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14050         Making use of the return value may help fix other bugs.
14051
14052 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14053
14054         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14055
14056         * LyXView.C (updateMenubar): call MenuBar::update here
14057         (updateToolbar): but not here
14058         (showState): do not update toolbar/menubar
14059
14060         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14061         should need to care about that.
14062
14063         * lyxfunc.C (verboseDispatch): simplify a bit
14064         (getStatus): have a version which takes a pseudoaction, and
14065         another which requires a (kb_action,string).
14066
14067         * LyXAction.C (retrieveActionArg): make it work also when action
14068         is not a pseudo-action.
14069         (getActionName): simplify a bit
14070         (helpText):
14071
14072 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14073
14074         * lyxfunc.C (verboseDispatch): new families of methods with
14075         several ways to specify a command and a bool to indicate whether
14076         the command name and shortcut should be displayed in minibuffer
14077         (eventually, we could extend that to a finer bitmask like
14078         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14079         (dispatch): the pristine dispatch command which just, well,
14080         dispatchs! Note it still sets its result to minibuffer; I'm not
14081         sure we want that.
14082
14083         * lyxfunc.h: remove setHintMessage
14084
14085         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14086
14087 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14088
14089         * BufferView_pimpl.C (specialChar): delete new inset if we have
14090         not been able to insert it.
14091
14092         * kbmap.C: revert to using int instead of kb_action, since all we
14093         are dealing with is pseudo-actions.
14094
14095         * LyXAction.C (searchActionArg): change to return int instead of
14096         kb_action, since the result is a pseudoaction.
14097
14098 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14099
14100         * buffer.C (insertErtContents): Fix (partially) the font bug.
14101
14102 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14103
14104         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14105         as the other one is broken on my machine!
14106
14107 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14108
14109         * commandtags.h:
14110         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14111
14112 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14113
14114         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14115         reflect their actual use. Provide compatibility code for older lyxrc
14116         files.
14117
14118         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14119         FL_NORMAL_STYLE.
14120         change names of popup font variables in line with the changes to lyxrc.C
14121
14122 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14123
14124         * buffer.C (asciiParagraph): avoid outputing a word twice after
14125         an inset.
14126
14127         * lyxrc.C (getDescription): document that document_path and
14128         template_path can be empty.
14129
14130 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14131
14132         * LaTeXFeatures.C (getMacros):
14133         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14134
14135         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14136
14137         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14138         getPackages.
14139         (getPackages): rename feature "floats" to "float". Use an array to
14140         iterate over 'simple' features (i.e. just a \usepackage). Add
14141         handling of "amsmath" (renamed from "amsstyle").
14142
14143 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14144
14145         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14146         features list.
14147
14148 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14149
14150         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14151         FuncStaus::FuncStatus & FuncStaus::some_method().
14152
14153 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14154
14155         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14156         of the func_satus stuff. Edited and massaged in various ways by
14157         JMarc.
14158
14159         * lyxfunc.C (getStatus): use FuncStatus
14160
14161 2002-01-08  Juergen Vigna  <jug@sad.it>
14162
14163         * text.C (nextBreakPoint): use function Inset::isChar().
14164
14165         * paragraph.C (TeXOnePar): use function
14166         Inset::forceDefaultParagraphs.
14167
14168         * buffer.C (latexParagraphs): use function
14169         Inset::forceDefaultParagraphs.
14170
14171 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14172
14173         * lyx_gui.C (init): set the style of the menu popups to
14174         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14175
14176 2002-01-07  Juergen Vigna  <jug@sad.it>
14177
14178         * text.C (setHeightOfRow): small fix
14179         (prepareToPrint): don't look at alignment if we don't have the place
14180         for doing it.
14181
14182 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14183
14184         * box.C: New file. Move the Box methods and functions out of box.h,
14185         following Lars' suggestion.
14186
14187 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14188
14189         * box.h: #include "support/LOstream.h", needed for inlined function.
14190
14191         * lyxtextclass.C:
14192         * lyxtextclasslist.C: added some using std declarations.
14193
14194 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * box.h: make signed dimensions to allow insets wider than
14197           the screen (bug #162)
14198
14199         * BufferView_pimpl.C: add some insetHit debug
14200
14201 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14202
14203         * vc-backend.C: add FIXME
14204
14205 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14206
14207         * lyxfunc.C (getStatus): enable code for showing math font status
14208         in toolbar/menu.
14209
14210 2002-01-07  Juergen Vigna  <jug@sad.it>
14211
14212         * text.C (nextBreakPoint): removed debug output not needed anymore.
14213
14214 2002-01-06  Juergen Vigna  <jug@sad.it>
14215
14216         * text.C (nextBreakPoint): fixed up this function we had this bug
14217         since ever but now hopefully we break row better.
14218         (insertChar): we have to check if an inset is the next char as it
14219         could now happen that a large inset is causing a break.
14220
14221 2002-01-05  Juergen Vigna  <jug@sad.it>
14222
14223         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14224         if it doesn't like to be drawed.
14225
14226 2002-01-04  Juergen Vigna  <jug@sad.it>
14227
14228         * BufferView2.C (lockInset): forgot to set a cursor.
14229
14230         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14231
14232 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14233
14234         * FormMathsPanel.C:
14235         * FormMathsPanel.h
14236         * MathsSymbols.C:
14237         * form_maths_panel.C:
14238         * form_maths_panel.h:
14239         * form_maths_panel.fd: implemented sub- and super- buttons in math
14240         panel.
14241
14242         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14243         (or ^ space) to be used as in TeX (req'd by Andr�.
14244
14245         * lyxfunc.C: Allow ^ and _ again to be used both as
14246         super/subscript (mathed) and as themselves (in text).
14247
14248 2002-01-03  Allan Rae  <rae@lyx.org>
14249
14250         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14251         "LyX" or the filename of the current buffer if it has one.  This is a
14252         modified form of John Levon's patch.
14253
14254         * XFormsView.C (setWindowTitle): also set icon title.
14255
14256         * LyXView.h (setWindowTitle): signature changed.
14257         * XFormsView.h (setWindowTitle): ditto.
14258
14259 2002-01-02  Juergen Vigna  <jug@sad.it>
14260
14261         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14262
14263 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14264
14265         * screen.C (topCursorVisible): introduce a temp var for
14266         text->cursor.row(), handle the case where this row is null. (kindo
14267         hachish)
14268
14269         * text2.C (setCursor): add a couple of asserts.
14270
14271         * paragraph.h (inset_iterator): add -> operator
14272
14273         * paragraph.[Ch] (autoDeleteInsets): remove member function
14274
14275         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14276         cursor pos correctly and handle inset deletion by itself.
14277         (insertErrors): move iterator declaration out of for expression
14278
14279         * lyxtextclass.C: add <algorithm>
14280
14281         * Makefile.am: added the new files to sources, removed layout.C
14282
14283         * layout.C: removed file
14284
14285         * layout.h: remove LYX_DUMMY_LAYOUT
14286
14287         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14288         layout.
14289
14290         * lyxlayout.[Ch]:
14291         * lyxtextclass.[Ch]:
14292         * lyxtextclasslist.[Ch]: new files
14293
14294         * include order changes to a lot of files, also changes because of
14295         the six new files.
14296
14297 2001-12-27  Juergen Vigna  <jug@sad.it>
14298
14299         * buffer.C (asciiParagraph): more fixes.
14300
14301         * tabular.C (ascii): make ascii export support export of only the
14302         data separated by a column-delimiter.
14303         (ascii): better support for ascii export.
14304
14305         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14306
14307 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14308
14309         * tabular_funcs.C: use a "using std::getline" instead of the
14310         previous fix from Angus (necessary for cxx + lyxstring)
14311
14312 2001-12-24  Juergen Vigna  <jug@sad.it>
14313
14314         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14315
14316         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14317         problems. First check a minipage also if we have some ert-contents
14318         (not only on par->size(), second set the right depth of the paragraph
14319         on the relink to the root-paragraph-list!
14320
14321         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14322         which then did not anymore update the main paragraphs on undo/redo!
14323
14324 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14325
14326         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14327         code. Support all font-changing funcs (even those which are not in
14328         menu currently). Support for reporting font settings in
14329         mathed (disabled until Andre provides a function on mathed's side).
14330
14331         * func_status.h (toggle): small helper function to set toggle
14332         state on a flag.
14333
14334 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14335
14336         * tabular_funcs.C: getline -> std::getline
14337
14338 2001-12-21  Juergen Vigna  <jug@sad.it>
14339
14340         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14341         accessed and could be 0 (I couldn't generate this but it seems
14342         Michael could!).
14343
14344 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14345
14346         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14347         * tabular_funcs.h: here and include iosfwd
14348
14349 2001-12-20  Juergen Vigna  <jug@sad.it>
14350
14351         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14352         inside inset but undo_par was.
14353
14354 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14355
14356         * Thesaurus.C: always include <config.h> in sources.
14357
14358         * Painter.h:
14359         * lyxlookup.h:
14360         * box.h: do not include <config.h> in header files
14361
14362         * text.C (paintLastRow): remove unused variable
14363
14364         * text.C (transformChar):
14365         (insertChar):
14366         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14367
14368         * Painter.C (text):
14369         * font.C (width): rewrite to use uppercase() instead of
14370         islower/toupper.
14371
14372         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14373
14374 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14375
14376         * lyxfind.C: clean up of find failure position change
14377
14378 2001-12-20  Juergen Vigna  <jug@sad.it>
14379
14380         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14381
14382         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14383         (TeXRow): added to LaTeX a single tabular row.
14384         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14385         (Latex): simplified and finally good LT-h/f support.
14386         (various_functions): just small adaptions for LT-h/f support.
14387
14388         * tabular_funcs.[hC]: added and moved here all not classfunctions
14389         of LyXTabular.
14390
14391 2001-12-19  Juergen Vigna  <jug@sad.it>
14392
14393         * tabular.[Ch]: better support for longtabular options (not finished
14394         yet!)
14395
14396 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14397
14398         * text.C (paintLastRow): use the label font instead of the font of
14399         the last character to compute the size of *_BOX. This makes more
14400         sense and avoids a crash with empty paragraphs.
14401         Use Painter::rectangle to draw EMPTY_BOX.
14402
14403 2001-12-19  Juergen Vigna  <jug@sad.it>
14404
14405         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14406         the paragraphs if the replaced paragraph is not the first one!
14407         Tried to delete not used paragraphs but does not work yet so for
14408         now it's inside #ifdef's and by default off!
14409
14410 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14411
14412         * MenuBackend.C: include "lyx_main.h" instead of declaring
14413         lastfiles (actually was declared as LastFiles* instead of a
14414         scoped_ptr).
14415
14416 2001-12-17  Juergen Vigna  <jug@sad.it>
14417
14418         * tabular.C (AppendColumn): applied John's fix
14419
14420 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14421
14422         * BufferView.h:
14423         * BufferView.C:
14424         * BufferView_pimpl.h:
14425         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14426
14427         * Makefile.am:
14428         * box.h: new start of class for above
14429
14430         * lyxfunc.C: ignore space-only minibuffer dispatches.
14431           Show the command name when it doesn't exist
14432
14433         * minibuffer.C: don't add empty lines to the history
14434
14435         * minibuffer.C: add a space on dropdown completion
14436
14437 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14438
14439         * text.C: fix line above/below drawing in insets
14440
14441 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14442
14443         * lyxlength.C (LyXLength): Initialize private variables.
14444
14445 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14446
14447         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14448         when inserting error insets.
14449
14450 2001-12-13  Juergen Vigna  <jug@sad.it>
14451
14452         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14453         actually sometimes the before-paragraph.
14454         (setUndo): don't clear the redostack if we're not actually undoing!
14455
14456 2001-12-06  Juergen Vigna  <jug@sad.it>
14457
14458         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14459         and fixed redoing of main paragraph, so we can use it now ;)
14460
14461         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14462
14463 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14464
14465         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14466         Juergen's request
14467
14468 2001-12-13  André Pönitz <poenitz@gmx.net>
14469
14470         * undostack.[Ch]:
14471         * undo_func.C: minor cleanup
14472
14473 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14474
14475         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14476         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14477         font in urw-fonts package which is marked as -urw-fontspecific and
14478         does not work (incidentally, changing the encoding in the
14479         fonts.dir of this package to -adobe-fontspecific fixes the
14480         problem).
14481
14482         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14483         is a crash when undoing first paragraph (Juergen, please take a
14484         look). THis does not mean the undo fix is wrong, just that it
14485         uncovers problems.
14486
14487         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14488         the (Paragraph*) version when needed instead of duplicating the
14489         code.
14490
14491         * text.C (workWidth): use Inset::parOwner to find out where the
14492         inset has been inserted. This is a huge performance gain for large
14493         documents with lots of insets. If Inset::parOwner is not set, fall
14494         back on the brute force method
14495
14496         * paragraph_pimpl.C (insertInset):
14497         * paragraph.C (Paragraph):
14498         (cutIntoMinibuffer): set parOwner of insets when
14499         inserting/removing them
14500
14501         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14502
14503 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14504
14505         * commandtags.h:
14506         * LyXAction.C:
14507         * lyx_main.C:
14508         * lyxfunc.C:
14509         * mathed/formulabase.C:
14510         * mathed/math_cursor.[Ch]:
14511         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14512
14513
14514 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14515
14516         * lyxlength.[Ch] (operator!=): new function
14517
14518 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14519
14520         * text.C (workWidth): use Inset::parOwner to find out where the
14521         inset has been inserted. This is a huge performance gain for large
14522         documents with lots of insets. If Inset::parOwner is not set, fall
14523         back on the brute force method
14524
14525         * paragraph_pimpl.C (insertInset):
14526         * paragraph.C (Paragraph):
14527         (cutIntoMinibuffer): set parOwner of insets when
14528         inserting/removing them
14529
14530         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14531
14532 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14533
14534         * tabular-old.C (getTokenValue):
14535         * tabular.C (getTokenValue):
14536         (write_attribute): new versions for LyXLength
14537         (everywhere): adjust the use of widths
14538
14539         * tabular.h: change the type of widths from string to LyXLength
14540
14541 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14542
14543         * paragraph.C: fixed missing line number count when exporting
14544         Environments to LaTeX file
14545
14546         * buffer.C: added informational message for checking line numbers.
14547
14548 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14549
14550         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14551         paragraph, do the 'double space' part, but not the 'empty
14552         paragraph' one.
14553
14554         * text.C (workWidth): small optimization
14555         (getLengthMarkerHeight): use minimal size for negative lengths.
14556
14557 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14558
14559         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14560
14561         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14562
14563 2001-12-11  André Pönitz <poenitz@gmx.net>
14564
14565         * FontLoader.C:
14566         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14567
14568 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14569
14570         * text2.C: keep selection on a setFont()
14571
14572 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14573
14574         * lyx_cb.C: another bv->text misuse, from insert label
14575
14576 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14577
14578         * kbsequence.h:
14579         * kbsequence.C: re-instate nmodifier mask
14580
14581 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14582
14583         * lyx_main.h: make lyxGUI private.
14584
14585 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14586
14587         * lyxfind.C: place the cursor correctly on failed search
14588
14589 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14590
14591         * text.C (getLengthMarkerHeight): for small heights, the arrows
14592         are not always on top/bottom of the text
14593         (drawLengthMarker): smaller arrows; take the left margin in
14594         account; draw also vfills.
14595         (paintFirstRow):
14596         (paintLastRow): remove special code for vfill and standard spaces,
14597         since everything is handled in drawLengthMarker now.
14598
14599 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14600
14601         * buffer.C (insertErtContents): try to handle font and language
14602         interaction a bit better.g
14603
14604         * ColorHandler.C (updateColor): change the hash to cover the whole
14605         LColor enum, ws cleanup
14606         (getGCLinepars): ditto
14607         (getGCLinepars): only lookup in the linecache once.
14608
14609 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14610
14611         * iterators.C (operator++): Make the iterator more robust
14612
14613         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14614         (John's patch)
14615         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14616
14617 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14618
14619         * lyxtext.h:
14620         * text.C: better added space drawing
14621
14622 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14623
14624         * LyXView.C:
14625         * BufferView2.C: fix layout combo update on inset unlock
14626
14627 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14628
14629         * Makefile.am: don't compile unused files
14630
14631 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14632
14633         * lyxfunc.C:
14634         * commandtags.h:
14635         * LyXAction.C: remove old LFUN_LAYOUTNO
14636
14637 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14638
14639         * paragraph_pimpl.h:
14640         * paragraph_pimpl.C: isTextAt() doesn't need font param
14641
14642 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * lyxlex.h:
14645         * lyxlex.C: little cleanup
14646
14647 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * BufferView_pimpl.C: fix insertAscii for insets
14650
14651 2001-12-05  Juergen Vigna  <jug@sad.it>
14652
14653         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14654         set the right font on the "multi" paragraph paste!
14655
14656 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14657
14658         * trans_decl.h:
14659         * trans_mgr.[Ch]:
14660         * trans.[Ch]:
14661         * lyxgluelength.C:
14662         * lyxlength.C: remove out-commented code.
14663
14664         * BufferView_pimpl:
14665         * CutAndPaste.C:
14666         * DepTable.C:
14667         * buffer.C:
14668         * chset.C:
14669         * lastfiles.C:
14670         * lyxlex.C:
14671         * lyxlex_pimpl.C:
14672         * lyxserver.C:
14673         * screen.C:
14674         * tabular-old.C:
14675         * tabular.C:
14676         * text.C:
14677         * trans_mgr.C:
14678         * vc-backend.C: change "while(" to "while ("
14679
14680         * lyxlength.[Ch]: add zero function to check if length is zero or
14681         not
14682         * lyxgluelength.C: use it
14683
14684 2001-12-05  Allan Rae  <rae@lyx.org>
14685
14686         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14687         Works for 2.95.3, from what I understand of Garst's reports this should
14688         work for other g++ versions.  We're screwed if the abs(int) definition
14689         changed between bugfix releases of gcc.
14690
14691 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14692
14693         * text.C: fix chapter label offset !
14694
14695 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14696
14697         * lyxtext.h:
14698         * text.C: fix hfill at end of line, clean up
14699
14700 2001-12-04  Juergen Vigna  <jug@sad.it>
14701
14702         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14703         that we force an update of the inset and it's owners if neccessary.
14704
14705 2001-12-03  Juergen Vigna  <jug@sad.it>
14706
14707         * text.C (rowLast): simplified code
14708
14709 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * lyxfunc.C: fix show options on timeout
14712
14713 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14714
14715         * screen.C (topCursorVisible): scroll half a page when the cursor
14716         reached top of bottom of screen
14717
14718 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14719
14720         * minibuffer.C: deactivate on loss of focus
14721
14722 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14723
14724         * vspace.[Ch] (operator!=): add operator.
14725
14726 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14727
14728         * BufferView_pimpl.C: refuse to open an inset when
14729         there's a selection.
14730
14731 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14732
14733         * BufferView_pimpl.C: allow to click on RHS of full row insets
14734
14735 2001-11-30  Juergen Vigna  <jug@sad.it>
14736
14737         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14738         insets for undo reasons.
14739
14740 2001-11-28  André Pönitz <poenitz@gmx.net>
14741
14742         * vspace.[Ch]: cosmetical changes
14743
14744 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14745
14746         * LyXAction.h:
14747         * LyXAction.C:
14748         * lyxfunc.h:
14749         * lyxfunc.C:
14750         * kbmap.h:
14751         * kbmap.C:
14752         * lyxrc.C:
14753         * kbsequence.h:
14754         * kbsequence.C: part re-write of old kb code
14755
14756         * Painter.C:
14757         * WorkArea.C: remove Lgb_bug_find_hack
14758
14759 2001-11-30  José Matos <jamatos@fep.up.pt>
14760
14761         * buffer.C (makeDocBookFile): add a comment to point a hack.
14762         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14763         Fixed a double write of labels.
14764
14765 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14766
14767         * LaTeX.C:
14768         * LaTeX.h Fixed bug in LaTeX class where it would not
14769         re-run latex if no depfiles were changed, but the .dvi was removed.
14770
14771 2001-11-28  André Pönitz <poenitz@gmx.net>
14772
14773         * all the files from the change on 2001/11/26:
14774         use lyx::layout_type instead of LyXTextClass::size_type
14775         use lyx::textclass_type instead of LyXTextClassList::size_type
14776
14777 2001-11-29  Juergen Vigna  <jug@sad.it>
14778
14779         * text.C: added support for paragraph::isFreeSpacing()
14780
14781         * buffer.C: same as above
14782
14783         * paragraph.h: inserted isFreeSpacing() function to enable
14784         FreeSpacing inside InsetERT.
14785
14786         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14787         of the paragraph's in the cut/copy buffer to 0!
14788
14789         * text2.C (removeRow): remove the assert as it can!
14790
14791         * lyxtext.h: added helper function firstRow returning firstrow and
14792         made firstrow private again.
14793
14794         * BufferView2.C (lockInset): don't relock if we're already locked!
14795
14796         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14797         the only paragraph.
14798         (removeRow): added Assert::(firstrow)
14799
14800         * debug.C: forgot to add INSETTEXT here.
14801
14802 2001-11-28  Juergen Vigna  <jug@sad.it>
14803
14804         * sp_spell.C (initialize): changed error text to more general
14805         spellchecker command use (not only ispell!)
14806
14807         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14808
14809         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14810
14811 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14812
14813         * vspace.C: initialise lyxgluelength on failure
14814
14815 2001-11-28  Allan Rae  <rae@lyx.org>
14816
14817         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14818         declaration & definition that looks like a function declaration.
14819
14820 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14821
14822         * BufferView2.C (copy):
14823         (copyEnvironment): do not clear the selection when doing a copy.
14824
14825         * text.C (paintFirstRow): compilation fix
14826
14827 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14828
14829         * tabular.C (Latex): correct line count when writing latex.
14830
14831 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14832
14833         * paragraph_pimpl.h:
14834         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14835           bug a bit
14836
14837 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14838
14839         * text.C:
14840         * LColor.h:
14841         * LColor.C: change vfillline->added_space
14842
14843         * text.C: add markers and text for added space
14844
14845         * vspace.C: fix comment
14846
14847 2001-11-28  André Pönitz <poenitz@gmx.net>
14848
14849         * paragraph.C: whitespace changes
14850         * all the other files from the change on 2001/11/26:
14851         change *::pos_type into lyx::pos_type
14852
14853 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14854
14855         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14856         language of the document when inserting error insets.
14857
14858 2001-11-26  André Pönitz <poenitz@gmx.net>
14859
14860         * BufferView_pimpl.[Ch]:
14861         *       CutAndPaste.C:
14862         * buffer.[Ch]:
14863         * lyxcursor.[Ch]:
14864         * lyxfind.C:
14865         * lyxfunc.C:
14866         * lyxrow.[Ch]:
14867         * paragraph.[Ch]:
14868         * paragraph_pimpl.[Ch]:
14869         * sp_spell.C:
14870         * text.C:
14871         * text2.C: reduce header dependencies, introduce type for positions
14872
14873 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * <various>: change to use Alert.h
14876
14877 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14878
14879         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14880         when encountering an unknown token.
14881         (readLyXformat2): Show an error message if there were unknown tokens.
14882
14883 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14884
14885         * BufferView2.C:
14886         * BufferView_pimpl.C:
14887         * buffer.C:
14888         * paragraph.h:
14889         * text.C:
14890         * text2.C: use par->isInset()
14891
14892 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14893
14894         * paragraph_pimpl.h:
14895         * paragraph_pimpl.C: cleanup
14896
14897 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14898
14899         * text2.C (removeRow):
14900         * text.C (setHeightOfRow): remove useless (and costly) call to
14901         getRow.
14902
14903 2001-11-20  Allan Rae  <rae@lyx.org>
14904
14905         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14906         Now need Inset*::checkInsertChar() to return true for appropriate
14907         cases so that the characters in the minibuffer will actually be
14908         inserted.
14909
14910 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14911
14912         * text.C: change the order of the includes.
14913         (workWidth): initialize it at once.
14914         (workWidth): make maxw unsigned
14915         (setHeightOfRow): remove unused variable (inset)
14916         (selectSelectedWord): remove unused variable (inset)
14917         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14918
14919 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14920
14921         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14922         server is not running.
14923         (openConnection):
14924         (closeConnection): add debug info when server is disabled.
14925
14926         * ColorHandler.C (getGCForeground): send debug message to GUI
14927         channel.
14928
14929         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14930
14931         * kbmap.C (bind): modify because return conventions of
14932         kb_sequence::parse have changed.
14933
14934         * kbsequence.C (parse): only ignore spaces and not any stupid
14935         control character. This avoids tests like s[i] <= ' ', which are
14936         guaranteed to fail with 8bit characters and signed chars.
14937         Change return code to string::npos when there have been no error
14938         (0 was a bad idea when error is at first character)
14939
14940 2001-11-14  José Matos  <jamatos@fep.up.pt>
14941
14942         * buffer.h:
14943         * buffer.C (simpleDocBookOnePar): removed unused argument.
14944
14945 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14948         insets which are part of a word. Paragraph::isLetter takes care of
14949         that now. Use Paragraph::isInset to identify insets.
14950         (selectSelectedWord): do not test for hyphenation break.
14951
14952         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14953         that protected spaces are considered as spaces.
14954
14955         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14956         Inset::isLetter.
14957
14958 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14959
14960         * lyxserver.h:
14961         * lyxserver.C: fix it. and small cleanup.
14962
14963 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14964
14965         * BufferView_pimpl.C: use inline helpers
14966
14967         * LaTeXFeatures.h:
14968         * LaTeXFeatures.C: fix typos
14969
14970         * Spacing.h:
14971         * Spacing.C: move spacing_string into class
14972
14973         * ToolbarDefaults.C: move stuff into namespace anon
14974
14975         * layout.h: update enum
14976
14977         * lyxfunc.C: use better debug
14978
14979         * minibuffer.h: fix typo
14980
14981         * debug.h:
14982         * debug.C:
14983         * WorkArea.C: add and use Debug::WORKAREA
14984
14985         * lyxtext.h:
14986         * text.C:
14987         * text2.C: code re-organisation, inline helpers
14988
14989 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14990
14991         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14992         std::vector.empty().
14993
14994 2001-11-09  Allan Rae  <rae@lyx.org>
14995
14996         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14997         '\n's after tables.  Tabular and ERT inset work now makes this no
14998         longer necessary.
14999
15000 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15001
15002         * minibuffer.h:
15003         * minibuffer.C: fix crash, improve drop-down completion
15004
15005 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * lyxserver.h:
15008         * lyxserver.C: invalidate fd's when doing endPipe()
15009
15010 2001-11-08  José Matos  <jamatos@fep.up.pt>
15011
15012         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15013         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15014
15015         * paragraph.h:
15016         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15017
15018 2001-11-07  José Matos  <jamatos@fep.up.pt>
15019
15020         * buffer.h:
15021         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15022         const qualifier.
15023
15024         * buffer.C (sgmlOpenTag):
15025         * buffer.C (sgmlCloseTag): removed debug info.
15026
15027         * buffer.h (sgmlOpenTag):
15028         * buffer.h (sgmlCloseTag): made public.
15029
15030 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * buffer.C (saveParamsAsDefaults):
15033         * lyx_cb.C (MenuLayoutSave): remove
15034
15035         * LyXAction.C (init):
15036         * commandtags.h:
15037         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15038
15039 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15040
15041         * buffer.C (setPaperStuff): removed from here...
15042
15043         * bufferparams.C (setPaperStuff): ... and moved there.
15044
15045 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15046
15047         * minibuffer.h:
15048         * minibuffer.C:
15049         * XFormsView.C: add support for drop-down completion
15050
15051 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15052
15053         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15054         commands.
15055
15056 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15059         disabled.
15060
15061 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15062
15063         * lyx_main.C: change ref to known bugs
15064
15065 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15066
15067         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15068         to work around older babel problems.
15069
15070 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15071
15072         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15073
15074 2001-10-24  Juergen Vigna  <jug@sad.it>
15075
15076         * tabular-old.C (ReadOld): below variable changes reflected.
15077
15078         * tabular.[Ch]: added ltType struct for longtable header/footer
15079         defines and changed all instances where they are used. Added
15080         future support for double top/bottom rows.
15081
15082 2001-10-24  José Matos  <jamatos@fep.up.pt>
15083
15084         * buffer.h (docbookHandleCaption):
15085         * buffer.C (docbookHandleCaption): removed unused function.
15086         (makeDocBookFile): moved docbook supported version to v4.1.
15087
15088 2001-10-24  José Matos  <jamatos@fep.up.pt>
15089
15090         * tabular.h:
15091         * tabular.C (docbookRow): new function to export docbook code of a row.
15092         (DocBook): now honors the longtable flags.
15093
15094 2001-10-23  José Matos  <jamatos@fep.up.pt>
15095
15096         * LaTeXFeatures.h:
15097         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15098         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15099
15100         * buffer.C (makeLinuxDocFile):
15101         (makeDocBookFile): reworked the preamble, more clean, and with
15102         support for lyx defined entities. Changed the document declaration
15103         to be more XML friendly.
15104
15105         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15106         if we need to output XML that should be done with a filter.
15107
15108 2001-10-22  Juergen Vigna  <jug@sad.it>
15109
15110         * sp_pspell.h (class PSpell): add alive function needed in the
15111         controller to see if the spellchecker could be started.
15112
15113 2001-10-22  Juergen Vigna  <jug@sad.it>
15114
15115         * buffer.C (insertStringAsLines): modify the font for inserting
15116         chars in certain conditions by calling checkInsertChar(font).
15117
15118 2001-10-19  Juergen Vigna  <jug@sad.it>
15119
15120         * text.C (workWidth): use getRow instead of wrong algorithm.
15121         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15122
15123 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * lyxserver.h:
15126         * lyxserver.C:
15127         * lyx_main.h:
15128         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15129
15130 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * text.C (workWidth): do not search for the exact row when
15133         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15134         optimization for big documents.
15135
15136 2001-10-18  Juergen Vigna  <jug@sad.it>
15137
15138         * text.C (workWidth): new function with added Inset * parameter.
15139
15140 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15141
15142         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15143
15144         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15145         change return type of getColumnNearX.
15146
15147
15148         * text.C (changeRegionCase): use uppercase/lowercase instead of
15149         toupper/tolower.
15150         (leftMargin):
15151         (rightMargin): simplify code by factoring out the uses of
15152         textclasslist.
15153         (labelFill):
15154         (numberOfHfills):
15155         (setHeightOfRow):
15156         (appendParagraph): use Paragraph::size_type
15157
15158 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * vspace.C (asLatexString): add a missing break
15161
15162 2001-10-15  Herbert Voss  <voss@perce.de>
15163
15164         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15165
15166 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15169         is not available.
15170
15171 2001-10-10  André Pönitz <poenitz@gmx.net>
15172
15173         * lyxfunc.C: removed greek_kb_flag.
15174
15175 2001-10-10  Herbert Voss  <voss@perce.de>
15176
15177         * lyx_main.C: delete global string help_lyxdir.
15178
15179 2001-10-09  Herbert Voss  <voss@perce.de>
15180
15181         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15182
15183         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15184
15185         * lyx_main.C: added global string help_lyxdir.
15186
15187         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15188
15189 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15190
15191         * lyxrc.C (set_font_norm_type): support iso8859-4
15192
15193 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15194
15195         * LaTeX.C (deplog): add another regex for MikTeX
15196
15197 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15198
15199         * lyxrc.C (set_font_norm_type): support iso8859-3
15200
15201 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15202
15203         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15204
15205         * LaTeXFeatures.C: remove special case of french and index
15206
15207         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15208         before \begin{document}). This solves several incompatibilities.
15209
15210 2001-10-03  Garst Reese  <reese@isn.net>
15211
15212         * lyx_cb.C: change CheckTex error msg.
15213
15214 2001-10-03  José Matos  <jamatos@fep.up.pt>
15215
15216         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15217
15218 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15219
15220         * .cvsignore: update
15221
15222         * lyx_main.C (commandLineVersionInfo): use new style version info.
15223
15224         * buffer.C (writeFile):
15225         (makeLaTeXFile):
15226         (makeLinuxDocFile):
15227         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15228
15229         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15230
15231         * version.h: update to use stuff in version.C
15232
15233         * version.C.in: new file. Contains version information determined
15234         at compile time. This is a merging of version.h and
15235         version_info.h.in.
15236
15237 2001-10-03  Juergen Vigna  <jug@sad.it>
15238
15239         * BufferView_pimpl.C (update): don't change "dirty" status in
15240         updateInset call.
15241
15242 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15243
15244         * WorkArea.C (c-tor): re-position version string slightly.
15245
15246 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15247
15248         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15249         revert to previous code.
15250
15251         WorkArea.[Ch]: (show, destroySplash): methods removed.
15252
15253         WorkArea.C: rework code so that it's an amalgam of the codes before and
15254         after the splash screen was moved to WorkArea.
15255
15256 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15257
15258         * lyxrc.C (read):
15259         * vspace.C (inPixels):
15260         (lyx_advance):
15261         * kbmap.C (bind):
15262         * buffer.C (insertStringAsLines):
15263         (asciiParagraph): fix types to be large enough
15264
15265         * lyxlex_pimpl.h: change member status from short to int
15266
15267         * layout.h: fix type of endlabeltype
15268
15269         * kbmap.C (bind):
15270         * kbsequence.C (parse): change return type to string::size_type
15271
15272         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15273         variable
15274
15275         * Bullet.C (bulletSize):
15276         (bulletEntry): do not use short ints as parameters
15277
15278         * BufferView2.C (insertLyXFile): change a char to an int.
15279
15280         * WorkArea.C (WorkArea): remove unneeded floats in computation
15281
15282 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15283
15284         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15285
15286         * paragraph.C (asString): Do not ignore newline/hfill chars when
15287         copying to the clipboard.
15288
15289 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15290
15291         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15292         after a multi-line inset.
15293
15294 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15295
15296         * paragraph.C (validate): Set NeedLyXFootnoteCode
15297
15298 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15299
15300         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15301         and decrease-error to decrease.
15302
15303 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15304
15305         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15306         it more readable (should be equivalent)
15307
15308 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15309
15310         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15311
15312 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15315         of a cursor (row, etc.) after a character has been deleted
15316         (deleteEmptyParagraphMechanism): call the method above on _all_
15317         cursors held by the LyXText when a double space has been
15318         detected/deleted.
15319
15320 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15321
15322         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15323         pixmap.
15324         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15325
15326         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15327         background. Use greyOut() and the new show() methods to toggle between
15328         the foreground and background. Add code to remove the splash after
15329         its initial showing.
15330
15331         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15332         (create_forms): no longer call Dialogs::showSplash.
15333
15334 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15335
15336         * .cvsignore: add version_info.h
15337
15338 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15339
15340         * version_info.h.in: new file
15341
15342         * Makefile.am: add version_info.h.in
15343
15344         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15345         version_info.h instead of VERSION_INFO
15346
15347 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15348
15349         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15350         The ERT inset now returns string().
15351
15352 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15353
15354         * lyxtext.h, text.C (selectNextWord): renamed as
15355         selectNextWordToSpellcheck.
15356
15357         * text.C (selectNextWordToSpellcheck): Modified to not select
15358         words inside an ERT inset.
15359
15360 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15361
15362         * lyx_cb.C (MenuLayoutSave): change a bit the question
15363
15364         * sp_base.h: include <sys/types.h>
15365
15366 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15367
15368         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15369
15370 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15371
15372         * several files: fix typos in user-visible strings
15373
15374 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15375
15376         * text2.C (pasteSelection): do not set the selection, since it
15377         will be cleared later. Actually, the intent was to fix the way the
15378         selection was set, but I figured rmoving the code was just as good.
15379
15380 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15381
15382         * FontLoader.C (available): Check if font is available without
15383         loading the font.
15384
15385 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15386
15387         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15388
15389 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15390
15391         * lyxrc.[Ch]: added display_graphics variable and associated code.
15392
15393 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15394
15395         * bufferparams.C (hasClassDefaults): new method. Returns true if
15396         the buffer parameters correspond to known class defaults
15397
15398 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15399
15400         * XFormsView.C (show): set minimum size to the main window.
15401
15402 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15403
15404         * text2.C (copySelection):
15405         (cutSelection):
15406         * lyxfind.C (LyXReplace):
15407         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15408         LyXText::selectionAsString.
15409
15410         * paragraph.C (asString): add "label" argument to the second form
15411
15412         * text2.C (selectionAsString): add "label" argument and pass it to
15413         Paragraph::asString.
15414
15415 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15416
15417         * lyx_main.C (commandLineHelp): remove version information
15418
15419 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15420
15421         * lyx_main.C: add -version commandline option
15422
15423 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * paragraph.h: make the optional constructor arg required instead.
15426         some modifications to other files because of this.
15427
15428         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15429
15430         * lyxserver.C (C_LyXComm_callback): make it static
15431
15432         * lyx_main.C (error_handler): make it static
15433
15434         * lyx_gui.C (LyX_XErrHandler): make it static
15435
15436         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15437
15438         * WorkArea.C: make the extern "C" methods static.
15439
15440         * Makefile.am (lyx_LDADD): simplify
15441
15442 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15443
15444         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15445         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15446
15447         * LyXAction.C (init):
15448         * lyxfunc.C (dispatch): associated code removal.
15449
15450 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15451
15452         * lyxfont.h (isSymbolFont): shut off warning
15453
15454         * text.C (setHeightOfRow):
15455         (getVisibleRow): fix crash with empty paragraphs which have a
15456         bottom line
15457
15458 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15459
15460         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15461         code.
15462
15463 2001-09-04  José Matos  <jamatos@fep.up.pt>
15464         * buffer.C
15465         * buffer.h
15466         * tabular.C (docbook): rename docBook method to docbook.
15467
15468 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15469
15470         * Makefile.am: add dependencies to main.o.
15471
15472 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15473
15474         * FontLoader.C (available): Return false if !lyxrc.use_gui
15475
15476 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15477
15478         * FontInfo.C (query):
15479         * converter.C (view):
15480         * importer.C (Import):
15481         * exporter.C (Export): Can not -> cannot.
15482
15483 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15484
15485         * BufferView_pimpl.C: allow to create index inset even if
15486           string is empty
15487
15488 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15489
15490         * buffer.C (getLists): replace boost::tie code with an explicit pair
15491         as boost::tie can break some compilers.
15492
15493         * iterators.h: Added a std:: declaration to the return type of
15494         ParIterator::size.
15495
15496 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15497
15498         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15499           case.
15500
15501 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15502
15503         * iterators.[Ch]: New files. Provide paragraph iterators.
15504
15505         * buffer.C (changeLanguage): Use paragraph iterators.
15506         (isMultiLingual): ditto
15507
15508         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15509
15510 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15511
15512         * FontLoader.C: Support for cmr font.
15513
15514 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15515
15516         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15517         (available): New method.
15518
15519         * FontInfo.C (getFontname): Use scalable fonts even when
15520         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15521         found.
15522
15523 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15524
15525         * converter.C (Formats::view): reverted! Incorrect fix.
15526
15527 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15528
15529         * converter.C (Formats::view): only output the -paper option
15530         if the dvi viewer is xdvi, thereby fixing bug #233429.
15531
15532 2001-08-23  Herbert Voss  <voss@perce>
15533
15534         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15535
15536 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15537
15538         * Spacing.h (Spacing): Set space to Default on in the default
15539         constructor.
15540
15541 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15542
15543         * vc-backend.h (RCS::versionString): add RCS to version
15544         (CVS::versionString): add CVS to version
15545
15546         * vc-backend.C (scanMaster): do not add CVS to version.
15547         (scanMaster): do not add RCS to version
15548
15549         * lyxvc.C (versionString): new method
15550
15551         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15552
15553 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15554
15555         * Spacing.C (set): initialize fval
15556
15557 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15558
15559         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15560         " or \.
15561
15562 2001-08-16  Juergen Vigna  <jug@sad.it>
15563
15564         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15565
15566 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15567
15568         * BufferView_pimpl.C:
15569         * figureForm.C:
15570         * lyxtext.h:
15571         * text2.C: setParagraph takes linespacing now
15572
15573 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15574
15575         * LyxAction.C: add internal LFUN_CITATION_INSERT
15576
15577         * LyXView.C: actually apply fix
15578
15579         * bufferlist.C: fix open non-existent file
15580
15581         * lyxfind.C: fix indentation
15582
15583         * lyxfunc.C: remove unneeded assert, fix typo
15584
15585 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15586
15587         * MenuBackend.C: use "Floatname List"
15588
15589 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15590
15591         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15592         when converting LaTeX layout to insetERT.
15593         Generate a non-collapsed float when reading old float
15594
15595 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15596
15597         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15598         ERT insets.
15599
15600 2001-08-13  Juergen Vigna  <jug@sad.it>
15601
15602         * text.C (fill): return 0 instead of 20 as this seems to be the more
15603         correct value.
15604
15605 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15606
15607         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15608         lyxrc.font_norm.
15609
15610 2001-08-13  Juergen Vigna  <jug@sad.it>
15611
15612         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15613         casesensitive off.
15614         (SearchBackward): comment out the unlocking of the inset_owner this
15615         should not be needed!
15616
15617 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15618
15619         * Many files: Remove inherit_language, and add latex_language
15620
15621         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15622         collapsible insets.
15623
15624 2001-08-10  Juergen Vigna  <jug@sad.it>
15625
15626         * text.C (prepareToPrint): fixed hfill-width in draw!
15627
15628         * BufferView2.C (selectLastWord): save the selection cursor as this
15629         now is cleared in the function LyXText::clearSelection!
15630
15631 2001-08-08  Juergen Vigna  <jug@sad.it>
15632
15633         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15634         BACKSPACE type functions.
15635
15636         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15637         is only cutted from the document but not put in the cut-buffer, where
15638         still the old stuff should be.
15639
15640         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15641
15642         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15643
15644         * tabular.C (SetWidthOfCell): fixed special case where the width
15645         was not updated!
15646         (LeftLine): handle '|' in align_special.
15647         (RightLine): ditto
15648         (LeftAlreadyDrawed): ditto
15649         (SetWidthOfCell): ditto
15650
15651 2001-08-07  Juergen Vigna  <jug@sad.it>
15652
15653         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15654
15655 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15656
15657         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15658         * lyxlex.[hC]: ditto
15659
15660 2001-08-06  Juergen Vigna  <jug@sad.it>
15661
15662         * text.C (getVisibleRow): fix up row clearing a bit.
15663
15664 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15665
15666         * minibuffer.C: make sure the X server sees the changes in the input.
15667
15668 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15669
15670         * paragraph.C (getFont): split into...
15671         (getLabelFont): this
15672         (getLayoutFont): and this
15673         * paragraph_pimpl.C (realizeFont): calling this
15674
15675         * text2.C (getFont): split into...
15676         (getLayoutFont): this
15677         (getLabelFont): and this
15678         (realizeFont): all three calling this
15679
15680         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15681         files where used.
15682
15683 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15684
15685         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15686
15687 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15688
15689         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15690         layouts from the Quote inset insertion.
15691
15692 2001-08-03  Juergen Vigna  <jug@sad.it>
15693
15694         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15695
15696         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15697         only if status not is already CHANGED_IN_DRAW (second level).
15698
15699         * text.C (draw): don't set the need_break_row when inside an
15700         InsetText LyXText.
15701
15702 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * buffer.C (parseSingleLyXformat2Token): handle more latex
15705         conversion cases.
15706
15707         * bufferview_funcs.[hC]: change function names to
15708         begin with small char, adjust other files.
15709
15710 2001-08-02  André Pönitz <poenitz@gmx.net>
15711
15712         * lyxfunc.C:
15713         BufferView_pimpl.C: remove broken special code for math-greek
15714
15715 2001-08-02  Juergen Vigna  <jug@sad.it>
15716
15717         * BufferView_pimpl.C (update): redone this function so that we
15718         update the text again if there was a CHANGE_IN_DRAW.
15719
15720         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15721         (drawFromTo): added a new internal bool which is used by draw() and
15722         redraw() function.
15723         (general): some cursor drawing problems fixed.
15724
15725 2001-08-01  Juergen Vigna  <jug@sad.it>
15726
15727         * lyxfind.C (LyXFind): fixed
15728         (SearchForward): ditto
15729         (SearchBackward): ditto
15730
15731         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15732         spurius drawing of the cursor in the main area.
15733
15734         * text2.C (status): small fix which could lead to a segfault!
15735         (clearSelection): remove unneeded BufferView param.
15736
15737 2001-08-01  André Pönitz <poenitz@gmx.net>
15738
15739         * lyxfunc.C: small change due to changed mathed interface
15740
15741 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15742
15743         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15744
15745 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15746
15747         * lyxfunc.c: fail gracefully if file doesn't exist
15748
15749         * LyXSendto.C:
15750         * buffer.C:
15751         * lyxfunc.C:
15752         * BufferView_pimpl.C: IsDirWriteable() proto changed
15753
15754         * LyXView.C: fix updateWindowTitle() to store the last title
15755
15756 2001-07-31  Juergen Vigna  <jug@sad.it>
15757
15758         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15759         the font (wrong since using of Paragraph::highestFontInRange).
15760
15761         * paragraph.C (highestFontInRange): added a default_size parameter.
15762
15763         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15764         (setHeightOfRow): reformat
15765
15766 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15767
15768         * converter.[hC] + affected files: move to (inital-char)lowercase
15769         function names.
15770
15771         * ParagraphParameters.C (ParagraphParameters): remove commented code
15772
15773         * PainterBase.[Ch]: remove commented code
15774
15775         * LaTeXFeatures.h: add "bool floats" for float.sty
15776
15777         * LaTeXFeatures.C (LaTeXFeatures): init floats
15778         (require): handle float
15779         (getPackages): do it with floats
15780
15781 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15782
15783         * BufferView_pimpl.C (Dispatch): improve handling of
15784         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15785
15786         * commandtags.h: #include lyxfont.h here temporarily to avoid
15787         keybinding bug.
15788
15789         * bufferlist.h: include LString.h here.
15790
15791 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15792
15793         * text2.C (getStringToIndex): new method.
15794
15795 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15796
15797         * *: Reduced header file dependencies all over.
15798
15799 2001-07-30  Baruch Even  <baruch@lyx.org>
15800
15801         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15802
15803 2001-07-29  Baruch Even  <baruch@lyx.org>
15804
15805         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15806
15807 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15808
15809         * ParameterStruct.h (endif): add a default constructor to make
15810         sure that all variables is initialized.
15811
15812         * ParagraphParameters.C (ParagraphParameters): adjust
15813
15814 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15815
15816         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15817         index; also, check that there is something to index, and that it
15818         does not span over several paragraphs.
15819         (doubleClick): use WHOLE_WORD_STRICT for double click.
15820
15821         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15822
15823         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15824         scheme.
15825
15826 2001-07-26  Baruch Even  <baruch@lyx.org>
15827
15828         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15829         an InsetFig figure, backwards compatible reading of old figure code.
15830
15831 2001-07-27  Juergen Vigna  <jug@sad.it>
15832
15833         * text2.C: font.realize function adaption.
15834
15835         * text.C (draw): add a warnings lyxerr text if needed.
15836
15837         * layout.C: font.realize function adaption.
15838
15839         * language.C: add inherit_language and implement it's handlings
15840
15841         * bufferview_funcs.C (StyleReset): remove language parameter from
15842         font creation (should be language_inherit now).
15843
15844         * bufferparams.C (writeFile): handle ignore_language.
15845
15846         * paragraph.C (getFontSettings): the language has to be resolved
15847         otherwise we have problems in LyXFont!
15848
15849         * lyxfont.C (lyxWriteChanges): added document_language parameter
15850         (update): removed unneeded language parameter
15851
15852         * paragraph.C (validate): fixed wrong output of color-package when
15853         using interface colors for certain fonts in certain environments,
15854         which should not seen as that on the final output.
15855
15856 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15857
15858         * BufferView_pimpl.C:
15859         * Thesaurus.h:
15860         * Thesaurus.C:
15861         * Makefile.am:
15862         * commandtags.h:
15863         * LyXAction.C: add thesaurus support
15864
15865         * lyxfind.h:
15866         * lyxfind.C: add "once" parameter, for thesaurus, to not
15867           move to the next match
15868
15869 2001-07-26  Juergen Vigna  <jug@sad.it>
15870
15871         * lyxfont.C (realize): honor ignore_language too!
15872         (resolved): ditto.
15873
15874         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15875
15876         * text.C (draw): one place more for ignore_language to not draw
15877         itself!
15878
15879 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15880
15881         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15882
15883 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15886         the minipage conversion problem.
15887
15888 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15889
15890         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15891         insert an inset.
15892
15893 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15894
15895         * BufferView.h: don't forward declare WorkArea
15896
15897         * BufferView.C: don't include WorkArea.h
15898
15899 2001-07-25  André Pönitz <poenitz@gmx.net>
15900
15901         * commandtags.h:
15902         * LyXAction.C:
15903         * lyxfunc.C:  new LFUN 'math-space'
15904
15905         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15906
15907 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15908
15909         * text2.C (toggleInset): call open/close
15910
15911 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15912
15913         * lyxfunc.C (dispatch): add debug for the disabled case
15914
15915         * font.C (buttonText): make similar to rectText
15916
15917         * buffer.C (readInset): comment out parsing of insetlist and
15918         insttheorem
15919
15920         * PainterBase.C (rectText): small correction
15921
15922         * BufferView_pimpl.C: comment out insettheorem and insetlist
15923         * LyXAction.C: ditto
15924         * commandtags.h: ditto
15925
15926 2001-07-24  Juergen Vigna  <jug@sad.it>
15927
15928         * text.C (draw): honor the ignore_language.
15929
15930         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15931
15932 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15933
15934         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15935         char inset.
15936
15937 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15938
15939         * lyxtext.h: remove unused (and unimplemented) methods
15940
15941 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15942
15943         * text.C (getVisibleRow): honor background color
15944
15945         * PainterBase.h:
15946         * Painter.h: remove default color argument for fillRectangle
15947
15948         * text.C (backgroundColor): new method
15949
15950 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * text.C (getVisibleRow): adjust
15953
15954         * font.[Ch] (rectText): new method, metrics
15955         (buttonText): new method, metrics
15956
15957         * PainterBase.[hC]: make rectText and buttonText always draw and take
15958         fewer paramteres.
15959
15960 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15961
15962         * ToolbarDefaults.C (read):
15963         * MenuBackend.C (read): allow escaping in all strings
15964
15965         * BufferView_pimpl.C (insertAndEditInset): new method.
15966         (Dispatch): use insertAndEditInset whenever appropriate.
15967
15968         * BufferView_pimpl.C (insertNote): removed
15969
15970         * BufferView_pimpl.C (smartQuote): new method, moved from
15971         BufferView; if an insetquote cannot be inserted, insert a '"'
15972         character instead.
15973
15974         * BufferView2.C: remove insertCorrectQuote();
15975
15976         * lyxfunc.C (getStatus): Add support for all remaingin
15977         inset-insert lfuns.
15978
15979         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15980
15981         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15982         command (necessary to pass " as parameter of self-insert.
15983
15984         * text.C (selectWordWhenUnderCursor):
15985         (selectWord): add word_location parameter
15986         (selectWordWhenUnderCursor): same + remove special code for word
15987         boundary.
15988         (selectNextWord): use kind() to guess type of insetspecialchar,
15989         not latex().
15990
15991         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15992         (insertErtContents): create ert insets as collapsed.
15993         (readInset): better compatibility code for Info inset.
15994
15995 2001-07-20  Juergen Vigna  <jug@sad.it>
15996
15997         * lyxfunc.C (dispatch): use always LyXFind now!
15998
15999         * text2.C (init): add a reinit flag so that the LyXText can be
16000         reinited instead of deleted and reallocated (used in InsetText).
16001
16002         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16003
16004         * text.C: ditto
16005
16006         * text2.C: ditto
16007
16008 2001-07-18  Juergen Vigna  <jug@sad.it>
16009
16010         * text.C (selectNextWord): handle insets inside inset by calling
16011         always the bv->text functions so that we can go up the_locking_inset!
16012
16013         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16014         in strange locations when inside an inset!
16015
16016         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16017         handling to include insets.
16018
16019         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16020
16021 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16022
16023         * LyXAction.C (init):
16024         * commandtags.h:
16025         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16026         LIGATURE_BREAK, since the name is so stupid.
16027
16028 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16029
16030         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16031         InsetInfos.
16032
16033         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16034
16035         * sp_form.[Ch]: remove.
16036
16037         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16038
16039         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16040         InsetInfo.
16041
16042         * src/buffer.C (readInset): ditto.
16043
16044 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16045
16046         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16047         menuSeparator(), endOfSentenceDot(), ldots() and
16048         hyphenationPoint(), which are therefore removed.
16049         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16050
16051         * LyXAction.C (init):
16052         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16053
16054         * paragraph.C (getWord): removed.
16055
16056         * BufferView_pimpl.C (Dispatch): use last word or selection for
16057         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16058
16059         * lyx_main.C (queryUserLyXDir): do not ask before creating
16060         user_dir, except if it has been named explicitely.
16061
16062 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16063
16064         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16065         a document of zero size.
16066
16067 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16068
16069         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16070         approriately in the c-tor and in require().
16071         (getPackages): output the appropriate LaTeX for natbib support.
16072
16073         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16074         variables "use_natbib" and "use_numerical_citations" when reading the
16075         LyX file.
16076         (readInset): read the various natbib cite commands.
16077         (validate): white-space change.
16078
16079         * bufferparams.[Ch]: new variables "bool use_natbib" and
16080         "bool use_numerical_citations".
16081         (writeFile): output them in the LyX file.
16082
16083 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16084
16085         * lyxfunc.C (getStatus): add support for all the inset insertion
16086         commands.
16087
16088         * text2.C (insertInset):
16089         * paragraph.C (insetAllowed):
16090         * BufferView_pimpl.C (insertInset): update to take in account the
16091         renaming of insertInsetAllowed
16092
16093         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16094
16095         * text2.C (getInset): new method. returns inset at cursor position.
16096
16097         * BufferView_pimpl.C (Dispatch): changes because of this.
16098
16099         * LyXAction.C (init): rename open-stuff to inset-toggle.
16100
16101         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16102
16103         * text2.C (toggleInset): renamed from openStuff; use
16104         Inset::open().
16105
16106 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16107
16108         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16109
16110         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16111
16112 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16113
16114         * buffer.C (readLyXformat2): Add filename to the error dialog
16115
16116 2001-07-18  Juergen Vigna  <jug@sad.it>
16117
16118         * tabular.C (GetCellNumber): put an assert here instead of the check!
16119
16120 2001-07-17  Juergen Vigna  <jug@sad.it>
16121
16122         * BufferView_pimpl.C (toggleSelection): adapted too.
16123
16124         * text.C (selectNextWord): adapted for use with insets.
16125         (selectSelectedWord): ditto
16126
16127 2001-07-17  Juergen Vigna  <jug@sad.it>
16128
16129         * sp_spell.C (PSpell): fix initialitation order.
16130
16131 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16132
16133         * paragraph.C: spacing
16134
16135 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16136
16137         * sp_spell.C: repair language selection for pspell
16138
16139 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16140
16141         * lyxfunc.h: change more methods to begin with lower char.
16142
16143 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16146         for unknown layouts.
16147
16148 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16149
16150         * buffer.C (readLyXformat2): Generate an error dialog if there are
16151         unknown layouts.
16152
16153 2001-07-16  Juergen Vigna  <jug@sad.it>
16154
16155         * sp_spell.C: always compile ISpell part.
16156
16157         * lyxrc.C: added use_pspell entry and it's handling.
16158
16159 2001-07-13  Juergen Vigna  <jug@sad.it>
16160
16161         * sp_spell.C: removed double includes.
16162
16163 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16164
16165         Consistent use of Lsstream.h:
16166         * Lsstream.h: added using std::stringstream for consistencies sake.
16167
16168         * buffer.C: removed using std::stringstream
16169
16170         * lyxfont.C (stateText):
16171         * paragraph.C (asString):
16172         * text.C (selectNextWord, selectSelectedWord):
16173         * text2.C (setCounter):
16174         * vspace.C (asString, asLatexString):
16175         std::ostringstream -> ostringstream.
16176
16177 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16178
16179         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16180         * commandtags.h: add LFUN_HELP_ABOUTLYX
16181         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16182
16183 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16184
16185         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16186         cursorToggle()
16187         * lyx_gui_misc.C: remove spellchecker
16188         * lyxfunc.C: showSpellchecker
16189         * sp_base.h: added
16190         * sp_ispell.h: added
16191         * sp_pspell.h: added
16192         * sp_spell.C: added
16193         * sp_form.[Ch]: removed
16194         * spellchecker.[Ch]: removed
16195
16196 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16197
16198         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16199         is set.
16200         (simpleTeXSpecialChars): Simply print the input character without
16201         any special translation if pass_thru is set.
16202
16203         * layout.h: Added bool pass_thru to layout class for being able to
16204         implement pass through of a paragraph for Literate Programming.
16205
16206         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16207         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16208         * layout.C (Read): add "passthru" to list of layout tags and add
16209         code to set the pass_thru boolean when it is read.
16210
16211 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16212
16213         * trans_decl.h: remove allowed from KmodInfo
16214
16215         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16216         remove allowed code
16217         (Load): adjust
16218
16219         * paragraph_pimpl.C (erase): use boost::prior
16220
16221         * Painter.C (text): use data() instead of c_str() when length is
16222         also provided.
16223         * WorkArea.C (putClipboard): ditto
16224         * font.h (width): ditto
16225
16226         * BufferView2.C: use it-> instead of (*it). for iterators
16227         * texrow.C: ditto
16228         * paragraph_pimpl.C: ditto
16229         * paragraph.C: ditto
16230         * minibuffer.C: ditto
16231         * language.C: ditto
16232         * kbmap.C: ditto
16233         * encoding.C: ditto
16234         * counters.C: ditto
16235         * converter.C: ditto
16236         * chset.C: ditto
16237         * Variables.C: ditto
16238         * TextCache.C: ditto
16239         * MenuBackend.C: ditto
16240         * LyXAction.C: ditto
16241         * LColor.C: ditto
16242         * FloatList.C: ditto
16243         * DepTable.C: ditto
16244         * ColorHandler.C (LyXColorHandler): ditto
16245
16246 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16247
16248         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16249
16250         * text2.C (openStuff): reintroduce this method (which had been
16251         nuked in NEW_INSETS frenzy).
16252
16253         * lyxfunc.C (Dispatch): when an action has not been handled, use
16254         its name in the error message, not its number.
16255
16256         * paragraph.C (inInset): change method name to begin with lowercase.
16257
16258         * undo_funcs.C:
16259         * text2.C: updates because of this.
16260
16261 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16262
16263         * ToolbarDefaults.C (add): add spaces in error message
16264
16265 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16266
16267         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16268         (readLyXformat2): rename return_par to first_par, use lyxlex's
16269         pushToken and remove the manual push handling.
16270         (parseSingleLyXformat2Token): add another ert comp. variable:
16271         in_tabular, rename return_par to first_par. handle newlines better
16272
16273 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16274
16275         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16276
16277 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16278
16279         * text2.C (getParFromID): removed
16280
16281         * buffer.C (getParFromID): new method moved form lyxtext.
16282         * BufferView2.C (insertErrors): adjust
16283         (setCursorFromRow): adjust
16284         * BufferView_pimpl.C (restorePosition): adjust
16285         * lyxfunc.C (Dispatch): adjust
16286         * undo_funcs.C (textUndo): adjust
16287         (textRedo): adjust
16288         (textHandleUndo): adjust
16289         (textHandleUndo): adjust
16290
16291 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16292
16293         * buffer.C: up' the LYX_FORMAT
16294
16295         * lyxfont.h: turn NO_LATEX on as default
16296
16297         * buffer.C (insertErtContents): new methods of tex style compability.
16298         (parseSingleLyXformat2Token): use it several places.
16299         * tabular.C (OldFormatRead): and here
16300
16301 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16302
16303         * text2.C: remove some commented code.
16304         reindent file.
16305
16306         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16307         * trans.C: changes because of the above.
16308
16309 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16310
16311         * text2.C (setCounter): Fix counters bug with bibliography layout.
16312
16313 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16314
16315         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16316         own member functions
16317         (simpleTeXSpecialChars): ditto
16318
16319 2001-07-06  Juergen Vigna  <jug@sad.it>
16320
16321         * a lot of files: changed the access to LyXText::status and the
16322         call of undo-functions.
16323
16324         * undo.[Ch]: added a inset_id to the undo informations.
16325
16326         * undo_funcs.[Ch]: added and moved here all undo functions.
16327
16328         * lyxtext.h: give the status enum a weight, made status_ a private
16329         variable and made accessor functions for it, removed the whole bunch
16330         of undo-functions as they are now in their own file, make some
16331         functions publically available. Added function ownerParagraph with
16332         int parameter.
16333
16334         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16335         made InInset() a const function, added getParFromID() function.
16336
16337         * buffer.[Ch]: added const version for inset_iterator functions,
16338         added getInsetFromID() function.
16339
16340         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16341         changed undo functions for new version.
16342
16343 2001-07-05  Juergen Vigna  <jug@sad.it>
16344
16345         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16346         unknow mechanism does not call the proper constructor but only this
16347         one also if I request the other!?
16348
16349 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16350
16351         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16352
16353         * text2.C (LyXText): use initialization lists.
16354
16355         * lyxtext.h (Selection): initialize set_ and mark_
16356         (init): remove method
16357
16358 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16359
16360         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16361
16362 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16363
16364         * screen.[Ch]: change method names to begin with lowercase
16365
16366         * BufferView_pimpl.C (updateScrollbar): simplify further and
16367         hopefully make it a bit faster.
16368
16369 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16370
16371         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16372         calling directly xforms functions.
16373
16374         * Painter.C (Painter):
16375         * lyx_cb.C (MenuWrite):
16376         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16377         fl_display.
16378
16379         * lyx_gui.C: remove bogus guiruntime extern declaration.
16380
16381 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16382
16383         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16384         in NEW_INSETS
16385         (redoDrawingOfParagraph): ditto
16386         (redoParagraphs): ditto
16387         (cutSelection): don't create a object for CutAndPaste use the
16388         static method directly
16389         (pasteSelection): ditto
16390
16391         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16392         LyXview (+ rename)
16393
16394 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16395
16396         * modifications to some other files because of this.
16397
16398         * Makefile.am (lyx_SOURCES): add XFormsView
16399
16400         * XFormsView.[Ch]: new files
16401
16402         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16403         the main window. Move the gui dependent stuff to XFormsView
16404
16405 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16406
16407         * tabular.C (GetCellInset): update cur_cell also in the row/col
16408         version of this function.
16409
16410         * lyxfunc.C: no need to include figure_form.h here.
16411
16412         * FontLoader.h:
16413         * lyxfunc.h:
16414         * lyxscreen.h:
16415         * text2.C:
16416         * lyxvc.C: no need to include forms.h here.
16417
16418 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16419
16420         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16421
16422         * lyxfunc.C (Dispatch):
16423         * Spacing.C (set):
16424         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16425         constructor argument.
16426
16427 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16428
16429         * paragraph.C (Paragraph): dont't clear, and just set layout.
16430         (makeSameLayout): use params's copy contructor.
16431
16432         * ParagraphParameters.[Ch] (makeSame): delete method
16433
16434 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16435
16436         * Variables.[Ch]: fix indentation, rename set to isSet
16437
16438 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16439
16440         * lyxfunc.C (Dispatch): fix typo
16441
16442 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16443
16444         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16445         upper_bound.
16446
16447         * bufferlist.C: include assert.h for emergencyWrite().
16448
16449 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16450
16451         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16452           give up at last (bug #425202) !
16453
16454 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16455
16456         * lyx_gui_misc.C:
16457         * sp_form.h:
16458         * sp_form.C:
16459         * spellchecker.h:
16460         * spellchecker.C: strip spellchecker options and bring up
16461           preferences tab instead
16462
16463 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16464
16465         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16466         the istringstream constructor
16467
16468 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16469
16470         * paragraph.C (getLayout): fix return value
16471
16472         * paragraph.h: do not declare getLayout as inline.
16473
16474         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16475
16476 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16477
16478         * lyxcursor.h (operator<): new func
16479         (operator>): new func
16480         (operator>=): new func
16481         (operator<=): new func
16482
16483         * text.C (changeCase): use selection.start and selection.end
16484         (changeRegionCase): require from to be <= to. Require par to be a
16485         valid paragraph.
16486
16487         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16488
16489 2001-06-27  Juergen Vigna  <jug@sad.it>
16490
16491         * text.C (cursorLeftOneWord): changed to return the cursor and added
16492         overlay with BufferView * parameter which calls this one.
16493         (getWord): added
16494         (selectWord): use new getWord function.
16495         (changeCase): renamed from changeWordCase as and extended to work
16496         also on selections.
16497
16498         * lyxtext.h: added enum word_location
16499
16500         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16501         changeCase as this operates now also on selections.
16502
16503 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16504
16505         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16506
16507         * many files: send debug output to Debug::INFO instead of
16508         Debug::ANY.
16509
16510         * converter.C (View):
16511         (Convert):
16512         (Move): send debug output to Debug::FILES instead of console.
16513
16514 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16515
16516         * lyxfunc.C (getStatus): use func_status
16517
16518         * func_status.h: new header, describing the results of
16519         LyXFunc::getStatus;
16520
16521         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16522         LFUN_MATH_HALIGN.
16523
16524 2001-06-25  The LyX Project  <jug@sad.it>
16525
16526         * buffer.C (sgmlOpenTag):
16527         (sgmlCloseTag):
16528         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16529
16530 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16531
16532         * text2.C: remove some dead code
16533
16534         * tabular.C (GetCellInset): store the last cell checked (gotten)
16535
16536         * tabular.h: add the helper for the speedup
16537
16538         * lyxtext.h: remove some dead code
16539
16540 2001-06-26  The LyX Project  <Asger>
16541
16542         * paragraph.C: Change export to LaTeX of alignment to
16543         \begin{center} and family for better roundtrip work with reLyX.
16544
16545         * Tune the math drawing a bit.
16546
16547 2001-06-25  The LyX Project  <Asger>
16548
16549         * LColor.C (LColor): New color for math background. New color
16550         for buttons.
16551
16552 2001-06-25  The LyX Project  <jug@sad.it>
16553
16554         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16555
16556         * lyxfunc.C (Open):
16557         * bufferlist.C (newFile): do not restrict to files ending with
16558         .lyx
16559
16560         * BufferView_pimpl.C (MenuInsertLyXFile):
16561
16562 2001-06-24  The LyX Project  <jug@sad.it>
16563
16564         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16565         of compare_no_case
16566
16567 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16568
16569         * lyxtext.h: rename most methods to begin with a small char.
16570         Lots of changes because of this.
16571
16572         * paragraph.C (Paragraph): do not call fitToSize
16573         (erase): call Pimpl::erase
16574         (insertChar): call Pimpl::insertChar
16575         (insertInset): call Pipl::insertInset
16576         (breakParagraph): do not call fitToSize
16577         (breakParagraphConservative): do not call fitToSize
16578         (fitToSize): remove method
16579
16580         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16581
16582 2001-06-24  The LyX Project  <Asger>
16583
16584         * Fix Qt compilation^2
16585
16586 2001-06-24  The LyX Project  <jug@sad.it>
16587
16588         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16589         depthHook(getDepth()-1).
16590
16591         * paragraph.h:
16592         * ParagraphParameters.h:
16593         * ParameterStruct.h: change type of depth to unsigned int ==
16594         depth_type. Many adaptations to other files before of that.
16595
16596 2001-06-24  The LyX Project  <Asger>
16597
16598         * Fix Qt compilation.
16599
16600 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16601
16602         * paragraph.h: renamed several methods to begin with small letter.
16603         several changes to many parts of the code because of this.
16604
16605 2001-06-23  The LyX Project  <jug@sad.it>
16606
16607         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16608         rewritten to discard all double spaces when KeepEmpty is off
16609         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16610         to only handle newlines but not fiddle with spaces and friends.
16611
16612         * lyxfunc.C (MenuNew): when doing 'new from template', use
16613         template_path as default directory
16614
16615 2001-06-23  The LyX Project  <Asger>
16616
16617         * Clean-up of header file includes all over
16618         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16619
16620 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16621
16622         * paragraph.h: renamed from lyxparagraph.h
16623
16624 2001-06-23  Asger  <lyx@violet.home.sad.it>
16625
16626         * Buffer.h: Removed Buffer::resize
16627         * BufferList.h: Removed BufferList::resize
16628         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16629         the document lazily when we change the width, or the font settings.
16630
16631 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16632
16633         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16634
16635 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16636
16637         * buffer.h: remove out of date comment
16638
16639 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16640
16641         * lyxscreen.h:
16642         * screen.C: fix "theoretical" GC leak
16643
16644 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16645
16646         * LaTeX.C (scanAuxFile):
16647         (deplog): remove trailing \r when reading stream (useful under
16648         win32)
16649
16650 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16651
16652         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16653         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16654         and BufferView::theLockingInset(Inset*), so should use them and not
16655         access bv_->text->the_locking_inset directly.
16656
16657         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16658
16659 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16660
16661         * Makefile.am:
16662         * tex-defs.h: remove old unused file
16663
16664 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16665
16666         * BufferView_pimpl.C: fix typo, remove minibuffer message
16667           when buffer has loaded
16668
16669 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16670
16671         * lyxfunc.C (Dispatch): use stringstream
16672         (MenuNew): use stringstream
16673         (Open): use stringstream
16674
16675         * importer.C (Import): use stringstream
16676
16677         * bufferview_funcs.C (CurrentState): use stringstream
16678
16679         * LaTeX.C (run): use stringstream
16680
16681         * BufferView_pimpl.C (savePosition): use stringstream
16682         (restorePosition): use stringstream
16683         (MenuInsertLyXFile): use stringstream
16684
16685 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16686
16687         * BufferView.C:
16688         * Bullet.C:
16689         * ColorHandler.C:
16690         * FontInfo.C:
16691         * FontLoader.C:
16692         * LColor.C:
16693         * LaTeXFeatures.C:
16694         * Painter.C:
16695         * gettext.C:
16696         * lyx_gui_misc.C:
16697         * lyxserver.C:
16698         * vspace.C: removed // -*- C++ -*- as first line.
16699
16700         * lyxfind.h:
16701         * version.h: added // -*- C++ -*- as first line.
16702
16703 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16704
16705         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16706
16707         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16708         of string
16709
16710 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16713         of floats.
16714
16715 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16716
16717         * gettext.C: include LString.h even when --disable-nls is on.
16718
16719 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16720
16721         * converter.h (Get): changed argument type from int to
16722         FormatList::size_type to avoid unnecessary conversion.
16723
16724         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16725         before using it.
16726
16727 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16728
16729         * gettext.h: include LString.h even when --disable-nls is on.
16730
16731 2001-06-07  Juergen Vigna  <jug@sad.it>
16732
16733         * text.C (BreakAgain): subst spaces with tabs.
16734
16735         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16736         (resizeInsetsLyXText): set force on resizeLyXText.
16737
16738 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16739
16740         * gettext.h (gettext_init):
16741         (locale_init): use a real definition instead of a macro
16742
16743 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16744
16745         * Bufferview_pimpl.C:
16746         * LColor.h:
16747         * LColor.C: further lcolor tidies
16748
16749 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * BufferView_pimpl.C (updateScrollbar): simplify.
16752
16753         * BufferView2.C: don't include insets/insetinfo.h, change
16754         prototype for insertInset and call the Pimpl version. let
16755         updateInset call Pimpl version.
16756
16757         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16758         gotoInset to BufferView::Pimpl
16759
16760 2001-06-01  Juergen Vigna  <jug@sad.it>
16761
16762         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16763         inside a LockingInset (is the update needed at all?).
16764
16765 2001-05-31  Juergen Vigna  <jug@sad.it>
16766
16767         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16768         here not the old one otherwise how should we compare it afterwards
16769         if it's the same!
16770
16771 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16772
16773         * lyxfont.C:
16774         * tabular.C:
16775         * tabular-old.C:
16776         * FontInfo.C: bring C functions into global namespace when
16777         necessary
16778
16779 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16780
16781         * LString.h: make sure config.h has been loaded before LString.h.
16782
16783         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16784         (one for each char read by EatLine!).
16785
16786         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16787         variables.
16788
16789 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16790
16791         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16792         to the same as the par we break from
16793
16794 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16795
16796         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16797
16798         * MenuBackend.C (expand): also create menu entries for wide
16799         versions of the floats.
16800
16801         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16802
16803         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16804
16805         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16806         frontends/Makefile.am
16807
16808         * text2.C: adjust
16809         * text.C: adjust
16810
16811
16812         * tabular.C (getTokenValue): add std::
16813
16814         * tabular-old.C (getTokenValue): add std::
16815         (getTokenValue): ditto
16816         (getTokenValue): ditto
16817
16818         * screen.C (ToggleSelection): adjust
16819
16820         * lyxtext.h: put selection cursors inside a Selection struct.
16821
16822         * lyxfunc.C (moveCursorUpdate): adjust
16823
16824         * lyxfont.C (latexWriteStartChanges): add std::
16825
16826         * lyxfind.C: adjust
16827
16828         * font.h: delete with(char const *, LyXFont const &)
16829
16830         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16831
16832         * FontInfo.C (getFontname): add std::
16833
16834         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16835         (workAreaButtonPress): adjust
16836         (tripleClick): adjust
16837         (update): adjust
16838         (moveCursorUpdate): adjust
16839         (Dispatch): adjust
16840
16841         * BufferView2.C (gotoInset): adjust
16842
16843 2001-05-30  Juergen Vigna  <jug@sad.it>
16844
16845         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16846         to check pspell I add this as default as I now have new pspell
16847         libraries and they seem to use this.
16848
16849 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16850
16851         * text2.C (CutSelection): make the cursor valid before the call to
16852         ClearSelection.
16853
16854 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16855
16856         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16857         relied on 0 terminated strings and other horrors. Bug found due to
16858         the new assert in lyxstring!
16859
16860         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16861         KP_ keys.
16862
16863 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16864
16865         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16866         to latinkeys.bind.
16867
16868         * lyxfunc.C (processKeySym): change method of getting to the
16869         self-insert char.
16870
16871         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16872         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16873         * BufferView_pimpl.[Ch]: here as private methods.
16874
16875 2001-05-28  Juergen Vigna  <jug@sad.it>
16876
16877         * text.C (SetHeightOfRow): added the update() call again as it is
16878         needed to initialize inset dimensions!
16879
16880 2001-05-16  Juergen Vigna  <jug@sad.it>
16881
16882         * text2.C (SetCharFont): Add new function with BufferView * and
16883         bool toggleall parameters for setting insets internal fonts.
16884         (SetFont): Freeze the undo as we may change fonts in Insets and
16885         all this change should be inside only one Undo!
16886
16887         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16888         setting font's in insets as for them we have the SetFont function!
16889
16890 2001-05-15  Juergen Vigna  <jug@sad.it>
16891
16892         * text2.C (ClearSelection): to be sure we REALLY don't have any
16893         selection anymore!
16894
16895         * tabular.C (TeXCellPreamble): fixed the left border problem for
16896         multicolumn cells.
16897
16898 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16899
16900         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16901         dependancy file
16902
16903 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16904
16905         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16906         LFUN_BREAKPARAGRAPH.
16907
16908         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16909         help test to "internal only", similar for LFUN_INSERT_URL
16910
16911         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16912         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16913         auto_region_delete and deadkeys.
16914
16915 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16916
16917         * LColor.h:
16918         * LColor.C: remove some dead entries, tidy a little
16919
16920 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16921
16922         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16923         commented code.
16924         (Dispatch): implement LFUN_ESCAPE
16925
16926         * commandtags.h: add LFUN_ESCAPE
16927
16928         * LyXAction.C (init): add entry for LFUN_ESCAPE
16929
16930         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16931         Remove commented code.
16932         (insertNote): moved here
16933         (open_new_inset): moved here
16934
16935         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16936         BufferView_pimpl
16937
16938 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16939
16940         * kbmap.C (findbinding): clean it up and make it work correctly.
16941
16942         * lyx_main.C (init): do not pass argc and argv as parameters
16943
16944 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16945
16946         * buffer.C: fix path for OS/2 & Win32
16947
16948         * lyx_gui.C:
16949         * lyx_main:
16950         * lyx_main.C: Added os:: class.
16951
16952         * os2_defines.h: update
16953
16954 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16955
16956         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16957         better by trying again with reduced state.
16958
16959 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16960
16961         * lyxrc.C (read): print error about invalid key sequence only when
16962         debugging (because not all latinX keysyms are known to some X
16963         servers)
16964
16965         * kbsequence.C (getiso): add a few std:: qualifiers
16966         (getiso): comment out extra return statement.
16967
16968 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16969
16970         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16971         handling.
16972         (Dispatch): enhance the accent inset a bit. (not perfect)
16973
16974 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16975
16976         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16977
16978 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16979
16980         * bufferlist.C (emergencyWrite): fix assert() call
16981
16982 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16983
16984         * text.C (InsertChar): Added trivial patch to only send the "you
16985         can not do multiple spaces this way" message once during a
16986         session.
16987
16988 2001-05-08  Baruch Even  <baruch@lyx.org>
16989
16990         * Makefile.am: Changed order of libraries to get LyX to link properly
16991         with the gnome frontend.
16992
16993 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16994
16995         * LaTeXFeatures.h: add a std:: qualifier
16996
16997 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16998
16999         * paragraph.C (String): use stringstream
17000
17001 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17002
17003         * paragraph.C (writeFile): remove footflag arg
17004
17005         * buffer.C (makeLaTeXFile): use stringstream
17006         (latexParagraphs): remove footnot gurba
17007
17008         * LaTeXFeatures.C (getPackages): use stringstream
17009         (getMacros): likewise
17010         (getTClassPreamble): likewise
17011         (getFloatDefinitions): new method
17012
17013         * paragraph.C (writeFile): reindent
17014         (Erase): reindent
17015
17016         * WorkArea.h: revert the xpos + etc changes.
17017
17018         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17019
17020         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17021
17022         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17023         (pasteSelection): likewise
17024         * text2.C (CreateUndo): likewise
17025
17026 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17027
17028         * minibuffer.C (peek_event): temporarily reduce the functionality
17029         of the minibuffer (to allow args on lfuns)
17030
17031         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17032         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17033
17034         * buffer.C (readInset): add compability reading of old float
17035         lists, add reading of new style float list.
17036         (readInset): avoid reevaluation of inscmd.getCmdName()
17037         (getLists): reindent
17038
17039         * MenuBackend.C (MenuItem): implement parsing of
17040         md_floatlistinsert and md_floatinsert.
17041         (expand::LastFiles): move initalizaton of iterators out of loop,
17042         avoid reevaluation.
17043         (expand::Documents): introduce typdedef vector<string> Strings,
17044         and use it.
17045         (expand::ExportFormats): introduce typedef vector<Format const *>
17046         Formats, and use it.
17047         (expand): implement FloatListInsert and FloatInsert.
17048
17049         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17050         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17051         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17052
17053         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17054         handling.
17055         (Dispatch::LFUN_FLOAT_LIST): implement
17056
17057 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17058
17059         * LaTeX.C (run): Fix problem with --export code.
17060
17061 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17062
17063         * BufferView.[Ch] (workarea): removed.
17064         (getClipboard) new method; wrapper for workarea()->getClipboard()
17065
17066         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17067         bug.
17068
17069         * WorkArea.h (width, height, xpos, ypos): These methods all
17070         returned the dimensions of the work_area sub-area of WorkArea,
17071         resulting in a position error if the WorkArea were resized. Now
17072         return the dimensions of the entire WorkArea.
17073
17074         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17075
17076 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17077
17078         * LaTeX.C (deplog): correct the syntax of regex reg1
17079
17080 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17081
17082         * undo.C: remove !NEW_INSETS cruft
17083
17084 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17085
17086         * text2.C: remove !NEW_INSETS cruft
17087
17088         * text.C: remove !NEW_INSETS cruft
17089
17090         * tabular.C: remove !NEW_INSETS cruft
17091
17092         * spellchecker.C: remove !NEW_INSETS cruft
17093
17094         * lyxtext.h: remove !NEW_INSETS cruft
17095
17096         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17097
17098         * lyxfunc.C: remove !NEW_INSETS cruft
17099
17100         * lyxfind.C: remove !NEW_INSETS cruft
17101
17102         * lyx_cb.C: remove !NEW_INSETS cruft
17103
17104         * figureForm.C: remove  !NEW_INSETS cruft
17105
17106         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17107
17108         * buffer.[Ch]: remove !NEW_INSETS cruft
17109
17110         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17111
17112         * CutAndPaste.C: remove !NEW_INSETS cruft
17113
17114         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17115
17116         * BufferView2.C: remove !NEW_INSETS cruft
17117
17118         * BufferView.h: remove !NEW_INSETS cruft
17119
17120 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17121
17122         * Lsstream.h: include LString.h before the sstream headers to
17123         fix problem with gcc 2.95.3 and lyxstring
17124
17125 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17126
17127         * lyx_main.C: add using directives when needed for C functions
17128         declared in std:: namespace.
17129
17130 2001-04-27  Juergen Vigna  <jug@sad.it>
17131
17132         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17133         (SetHeightOfRow): comment out the update call should not be needed!
17134
17135 2001-04-13  Juergen Vigna  <jug@sad.it>
17136
17137         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17138         (LyXTabular): tried to minimize operator= operations (and realized
17139         hopfully Lars wish).
17140
17141 2001-04-27  Juergen Vigna  <jug@sad.it>
17142
17143         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17144
17145 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17146
17147         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17148
17149         * buffer.C (readInset): hack to make listof algorithm work
17150
17151         * BufferView_pimpl.C: hack to make listof algorithm work
17152
17153 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17154
17155         * LyXAction.C: removed all !NEW_INSETS cruft
17156         (init): moved lfun_item in method
17157
17158         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17159
17160 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17161
17162         * BufferView2.C (theLockingInset): white space.
17163
17164 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17165
17166         * minibuffer.C: include <iostream>
17167
17168         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17169
17170         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17171
17172         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17173
17174         * text.[Ch] (TransposeChars): new method
17175
17176 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17177
17178         * call message directly through LyXView instead of through LyXFunc
17179         * BufferView2.C: adjust
17180         * BufferView_pimpl.C: adjust
17181         * FontLoader.C: adjust
17182         * buffer.C: adjust
17183         * bufferview_funcs.C: adjust
17184         * converter.C: adjust
17185         * figureForm.C: adjust
17186         * importer.C: adjust
17187         * lyx_cb.C: adjust
17188         * lyx_gui_misc.C: adjust
17189         * lyxfunc.C: adjust
17190         * lyxvc.C: adjust
17191         * text2.C: adjust
17192         + more files in subdirs
17193
17194         * lyxparagraph.h (size): move up int file
17195         (GetLayout): ditto
17196
17197         * adjust all uses of Assert to lyx::Assert.
17198
17199         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17200         lyxfunctional in namespace lyx
17201         * layout.C (hasLayout): ditto
17202         (GetLayout): ditto
17203         (GetLayout): ditto
17204         (delete_layout): ditto
17205         (NumberOfClass): ditto
17206         * converter.C (GetFormat): ditto
17207         (GetNumber): ditto
17208         (Add): ditto
17209         (Delete): ditto
17210         (SetViewer): ditto
17211         * bufferlist.C (getFileNames): ditto
17212         (emergencyWriteAll): ditto
17213         (exists): ditto
17214         (getBuffer): ditto
17215         * MenuBackend.C (hasSubmenu): ditto
17216         (hasMenu): ditto
17217         (getMenu): ditto
17218         * BufferView_pimpl.C (getInsetByCode): ditto
17219
17220 2001-04-18  Juergen Vigna  <jug@sad.it>
17221
17222         * vspace.C (asLatexString): fixed the 100% problem.
17223
17224 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17225
17226         * lyxfunc.C (Dispatch):
17227         * minibuffer.C:
17228         * minibuffer.h: add a few std:: qualifiers
17229
17230 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17231
17232         * minibuffer.[Ch]: reimplement so that commands is initiated and
17233         run from lyxfunc, simplified som handling, and made the completion
17234         and history code for complete. wip.
17235
17236         * lyxfunc.C (processKeySym): call message
17237         (miniDispatch): new temporary method
17238         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17239         (LFUN_MESSAGE): implement
17240         (LFUN_MESSAGE_PUSH): implement
17241         (LFUN_MESSAGE_POP): implement
17242         (initMiniBuffer): the initial/defualt minibuffer message.
17243
17244         * lyxfont.[Ch]: inline some more getters
17245
17246         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17247
17248         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17249
17250         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17251         (AutoSave): use LFUN_MESSAGE
17252         (Reconfigure): ditto
17253
17254         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17255
17256         * figureForm.C: use LFUN_MESSAGE
17257
17258         * converter.C (runLaTeX): use LFUN_MESSAGE
17259
17260         * bufferview_funcs.C: use LFUN_MESSAGE
17261         (Melt): ditto
17262         (changeDepth): ditto
17263
17264         * bufferparams.h: use boost::
17265
17266         * bufferlist.h: inherit privately from noncopyable
17267
17268         * bufferlist.C (loadLyXFile): remove some commented code.
17269
17270         * buffer.C (runChktex): use LFUN_MESSAGE
17271
17272         * ShareContainer.h: inherit privately from noncopyable
17273
17274         * ParagraphParameters.[hC] (depth): inline it.
17275
17276         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17277         methods.
17278         (message): new method
17279         (messagePush): ditto
17280         (messagePop): ditto
17281         (show): init minibuffer
17282         (showState): direct call
17283
17284         * LaTeX.[Ch]: inherit privately from noncopyable
17285         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17286         instead of WriteStatus.
17287
17288         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17289
17290         * BufferView_pimpl.C (buffer): don't init minibuffer
17291         (workAreaButtonPress): use LFUN_MESSAGE
17292         (workAreaButtonRelease): ditto
17293         (savePosition): ditto
17294         (restorePosition): ditto
17295         (MenuInsertLyXFile): ditto
17296         (workAreaExpose): don't init minibuffer
17297         (update): remove commented code, simplify
17298
17299         * BufferView2.C (openStuff): use LFUN_MESSAGE
17300         (toggleFloat): ditto
17301         (menuUndo): ditto
17302         (menuRedo): ditto
17303         (copyEnvironment): ditto
17304         (pasteEnvironment): ditto
17305         (copy): ditto
17306         (cut): ditto
17307         (paste): ditto
17308         (gotoInset): ditto
17309         (updateInset): remove some commented code
17310
17311         * lastfiles.h: inherit privately from noncopyable
17312         * layout.h: ditto
17313         * lyx_gui.h: ditto
17314         * lyx_main.h: ditto
17315         * lyxlex.h: ditto
17316         * lyxlex_pimpl.h: ditto
17317
17318         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17319         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17320         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17321
17322         * LyXAction.h: inherit privately from noncopyable, add methods
17323         func_begin, func_end, returning iterators to the func map.
17324
17325         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17326         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17327         (func_begin): new method
17328         (func_end): new method
17329
17330         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17331         and not)
17332         (copySelection): ditto
17333         (pasteSelection): ditto
17334
17335         * BufferView.C: whitespace change
17336         * BufferView.h: inherit privately from noncopyable
17337
17338 2001-04-16  Allan Rae  <rae@lyx.org>
17339
17340         * tabular-old.C (l_getline):
17341         * spellchecker.C (sc_check_word):
17342         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17343         an unrecognised preprocessor directive.  So ensure they're wrapped.
17344
17345 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17346
17347         * src/exporter.C (Export): Give an error message when path to file
17348         contains spaces.
17349
17350 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17351
17352         * LaTeX.C (deplog): Always check that foundfile exists.
17353
17354 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17355
17356         * lyx_main.h:
17357         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17358
17359 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17360
17361         * tabular.[Ch] (getLabelList): implement new method
17362
17363         * minibuffer.h: comment ouf setTiimer
17364
17365         * minibuffer.C (ExecutingCB): constify res
17366         (peek_event): constify s
17367         (Set): constify ntext
17368         (Init): constify nicename
17369
17370         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17371
17372         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17373         (savePosition): use two params to Minibuffer::Set
17374         (restorePosition): ditto
17375
17376 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17377
17378         * lyx_main.C: include language.h
17379
17380         * Makefile.am (lyx_main.o): add language.h
17381
17382 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17383
17384         * exporter.C:
17385         * paragraph.C:
17386         * screen.C:
17387         * tabular.C:
17388         * CutAndPaste.C: include gettext.h
17389
17390         * lyxfont.h: remove old hack with ON and OFF.
17391
17392         * lyxparagraph.h:
17393         * lyxfont.h: do not include language.h...
17394
17395         * BufferView2.C:
17396         * LaTeXFeatures.C:
17397         * Painter.C:
17398         * bufferview_funcs.C:
17399         * font.C:
17400         * lyxfont.C:
17401         * text.C:
17402         * text2.C:
17403         * trans_mgr.C:
17404         * paragraph.C: ... but do it here instead
17405
17406 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17407
17408         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17409
17410         * tabular.C: small reformat
17411
17412         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17413         NEW_INSETS version
17414         (GetChar): ditto
17415         (BreakParagraph): ditto
17416         (SetOnlyLayout): ditto
17417         (SetLayout): ditto
17418
17419         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17420         with one arg less.
17421
17422         * lastfiles.C: removed most using decl, add std:: where needed
17423
17424         * buffer.C: ws changes
17425
17426         * MenuBackend.C (class compare_format): put into anon namespace
17427         (expand): constify label, names, action, action2
17428         (expand):
17429
17430         * text.C (SingleWidth): constify font
17431         (IsBoundary): constify rtl2
17432         (GetVisibleRow): constify ww
17433
17434         * LaTeX.C (deplog): constify logfile
17435
17436         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17437         start_x, end_x
17438         (workAreaExpose): constify widthChange, heightChange
17439
17440         * lyxrow.C (par): moved
17441         (height): moved
17442         (next): moved
17443         * lyxrow.h: as inlines here
17444
17445         * lyxfont.h (shape): moved from lyxfont.C
17446         (emph): moved from lyxfont.C
17447
17448         * lyxfont.C (LyXFont): use initialization list for all
17449         constructors
17450         (shape): move to lyxfont.h as inline
17451         (emph): move to lyxfont.h as inline
17452
17453
17454 2001-04-04  Juergen Vigna  <jug@sad.it>
17455
17456         * vspace.C: had to include stdio.h for use of sscanf
17457
17458 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17459
17460         * BufferView.h:
17461         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17462         independent of xforms.
17463
17464 2001-04-02  Juergen Vigna  <jug@sad.it>
17465
17466         * spellchecker.C: fixed namespace placing!
17467
17468 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17469
17470         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17471         the LyXParagraph * is 0.
17472
17473 2001-03-29  Juergen Vigna  <jug@sad.it>
17474
17475         * vspace.C: added support for %, c%, p%, l%.
17476         (stringFromUnit): added helper function.
17477         (asLatexString): changed to give right results for the %-values.
17478
17479         * buffer.C: convert the widthp in a width%.
17480
17481 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17482
17483         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17484         figureForm.[Ch].
17485
17486         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17487         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17488
17489         * lyx_cb.[Ch]: see above.
17490
17491         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17492         form1.[Ch].
17493
17494         * form1.[Ch]:
17495         * lyx.[Ch]: replaced by figure_form.[Ch].
17496
17497         * lyx_gui.C:
17498         * lyx_gui_misc.C:
17499         * lyxfunc.C: changed headers associated with above changes.
17500
17501 2001-03-27  Juergen Vigna  <jug@sad.it>
17502
17503         * BufferView_pimpl.C: set the temporary cursor right!
17504
17505 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17506
17507         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17508
17509 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17510
17511         * LString.h: removed "using std::getline"!
17512
17513         * BufferView_pimpl.C (Dispatch): changes due to changes in
17514         InsetInclude::Params.
17515
17516         * buffer.C (tag_name): removed redundant break statements as they were
17517         producing lots of warnings with my compiler.
17518
17519 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17520
17521         * LString.h: add "using std::getline" when using the real <string>.
17522
17523 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17524
17525         * buffer.C: removed bitset usage.
17526         PAR_TAG moved to an anonymous name space.
17527         (tag_name): new funtion, also in the anonymous namespace.
17528         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17529         (makeDocBookFile): clean code. Completed transition from string arrays
17530         to string vectors.
17531         (SimpleDocBookOnePar): code clean.
17532
17533 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17534
17535         * tabular.C: add some comments.
17536
17537 2001-03-22  Juergen Vigna  <jug@sad.it>
17538
17539         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17540         compatibility read a bit and fixed bug with minipage in different
17541         depth.
17542
17543 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17544
17545         * buffer.C (pop_tag): removed.
17546         (push_tag): removed.
17547         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17548         array replaced with vector. Added support for CDATA sections.
17549         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17550         at any nest level.
17551         (makeDocBookFile): XML conformant declaration of CDATA section,
17552         fixed bug related to <emphasis> in the first paragraph char.
17553         (sgmlOpenTag): exclude empty tags.
17554         (sgmlCloseTag): ditto.
17555
17556         * buffer.h (pop_tag): removed.
17557         (push_tag): removed.
17558
17559 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17560
17561         * language.h (Languages): added size_type and size().
17562
17563 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17564
17565         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17566         response on compability reading of minipages. One probliem is that
17567         the old usage of minipages was flertydig
17568
17569         * several files here and in subdirs: don't use static at file
17570         scope use anon namespaces instead.
17571
17572 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17573
17574         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17575         LaTeX output. This is necessary for Literate document
17576         processing.
17577
17578 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17579
17580         * buffer.C: insert hfill when needed.
17581
17582         * tabular.C (l_getline): use string::erase, small whitespace change.
17583
17584         * BufferView_pimpl.C: try the anon namespace.
17585         * WorkArea.C: ditto
17586
17587 2001-03-16  Juergen Vigna  <jug@sad.it>
17588
17589         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17590         otherwise it won't open options-dialogs.
17591
17592         * buffer.C: honor pextraWidth(p) on converting minipages.
17593
17594         * tabular.C (l_getline): changed the functions to strip trailing \r.
17595
17596 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17597
17598         * BufferView_pimpl.C:
17599         * minibuffer..C: added "using SigC::slot" declaration.
17600
17601 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17602
17603         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17604
17605         * text2.C: ditto
17606
17607         * text.C: ditto
17608
17609         * paragraph.C: ditto
17610
17611         * lyxtext.h: NO_PEXTRA
17612
17613         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17614
17615         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17616         * ParameterStruct.h: ditto
17617         * ParagraphParameters.h: ditto
17618         * lyxparagraph.h: ditto
17619
17620 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17621
17622         * buffer.C: add compability for minipage alignment.
17623         (latexParagraphs): remove unwanted pextra check.
17624
17625         * several files: remove CXX_WORKING_NAMESPACES
17626
17627         * buffer.C (pop_tag): tie is in namespace boost
17628
17629         * BufferView.h: noncopyable is in namespace boost
17630         * lyxlex.h: ditto
17631         * lyx_main.h: ditto
17632         * lyx_gui.h: ditto
17633         * layout.h: ditto
17634         * lastfiles.h: ditto
17635         * bufferlist.h: ditto
17636         * ShareContainer.h: ditto
17637         * LyXView.h: ditto
17638         * LyXAction.h: ditto
17639         * LaTeX.h: ditto
17640
17641 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17642
17643         * Merging changes from BRANCH_MVC back into HEAD.
17644
17645         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17646
17647 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17648
17649         * BufferView_pimpl.C: change from intl.C
17650
17651         * combox.h:
17652         * combox.C:
17653         * Makefile.am: move combox.*
17654
17655         * form1.h:
17656         * form1.C:
17657         * lyx_gui.C:
17658         * intl.h:
17659         * intl.C: remove dialog (covered by prefs)
17660
17661 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17662
17663         * lyxfunc.C (Dispatch): removed redundant break statement.
17664
17665 2001-03-14  Juergen Vigna  <jug@sad.it>
17666
17667         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17668
17669 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17670
17671         * buffer.C: add hack to fix compability reading of minipages.
17672
17673 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17674
17675         * buffer.C (getLists): Cleanup.
17676
17677 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17678
17679         * lyxfont.C (update): don't honor toggleall on font size.
17680
17681 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17682
17683         * bmtable.c:
17684         * bmtable.h:
17685         * Makefile.am: moved to frontends/xforms/
17686
17687         * lyx_gui_misc.C:
17688         * lyxfunc.C:
17689         * BufferView_pimpl.C: changes for moved mathpanel
17690
17691 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17692
17693         * gettext.h: fix gettext_init() in --disable-nls
17694
17695 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17696
17697         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17698
17699 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17700
17701         * lyx.C:
17702         * lyx.h: strip external form
17703
17704 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17705
17706         * BufferView_pimpl.C: add comment, destroySplash()
17707
17708 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17709
17710         * BufferView_pimpl.C:
17711         * LyXAction.C:
17712         * buffer.C:
17713         * commandtags.h:
17714         * lyxfunc.C: use re-worked insetinclude
17715
17716 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17717
17718         * buffer.C: add using std::stringstream.
17719
17720         * lyx_cb.C: readd using std::ios.
17721
17722         * buffer.C: add using std::map.
17723
17724         * BufferView_pimpl.C: add using std::vector.
17725
17726         * ShareContainer.h: add std:: to swap.
17727
17728         * buffer.h: add some typedefs
17729         * buffer.C (getLists): use them
17730         (getLists): renamed from getTocList.
17731         add a counter for the different float types and use it in the
17732         generated string.
17733         (getLists): use the same counter for the NEW_INSETS and the "non"
17734         NEW_INSETS
17735
17736         * lyx_cb.h: remove unused items, includes, using etc.
17737
17738         * ShareContainer.h: remove some commented code, add more comments
17739         and "documentation".
17740
17741 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17742
17743         * buffer.C (getTocList): make the list also when NEW_INSETS is
17744         defined.
17745
17746         * buffer.h: remove TocType
17747
17748         * buffer.C (getTocList): change to return a map<string,
17749         vector<TocItem> >, implement for dynamic number of list.
17750
17751         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17752         * text2.C (PasteSelection): adjust
17753         * CutAndPaste.C (pasteSelection): adjust
17754
17755         * FloatList.C (FloatList): update from the new_insets branch.
17756         * Floating.[Ch]: ditto
17757         * LaTeXFeatures.C: ditto
17758         * buffer.C: ditto
17759         * lyxlex_pimpl.C: ditto
17760
17761         * paragraph.C (Last): remove when NEW_INSETS is defined.
17762
17763         * other file: changes because of the above.
17764
17765 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17766
17767         * lyxparagraph.h: rename next to next_, previous to previous_,
17768         make them private for NEW_INSETS. Rename Next() to next(),
17769         Previous() to previous().
17770
17771         * other files: changes because of the above.
17772
17773 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17774
17775         * BufferView.h:
17776         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17777         problem.
17778
17779 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17780
17781         * main.C (main): pass lyx_localedir to gettext_init().
17782
17783         * gettext.h: remove locale_init and gettext_init macros
17784
17785         * gettext.C (locale_init): new function
17786         (gettext_init): new function
17787
17788         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17789         setlocale().
17790
17791 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17792
17793         * Moved credits to frontends:
17794         * credits.[Ch]: removed
17795         * credits_form.[Ch]: removed
17796         * lyx_gui_misc.C: remove credits stuff
17797         * Makefile.am:
17798
17799 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17800
17801         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17802
17803         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17804         unneeded destructor.
17805
17806         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17807         a standalone pointer again.
17808
17809         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17810
17811 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17812
17813         * Makefile.am:
17814         * filedlg.h:
17815         * filedlg.C:
17816         * LyXAction.C:
17817         * ToolbarDefaults.C:
17818         * bufferlist.C:
17819         * commandtags.h:
17820         * form1.C:
17821         * form1.h:
17822         * lyx_cb.C:
17823         * lyx_cb.h:
17824         * lyxfunc.h:
17825         * lyxfunc.C:
17826         * BufferView_pimpl.C: use new file dialog in GUII
17827
17828         * lyx_cb.h:
17829         * lyx_cb.C: remove LayoutsCB to Toolbar
17830
17831 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17832
17833         * ShareContainer.h (get): add std:: qualifier
17834
17835 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17836
17837         * ShareContainer.h: define a proper ShareContainer::value_type
17838         type (and use typename to please compaq cxx)
17839
17840 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17841
17842         * lyxparagraph.h: move serveral local vars to
17843         ParameterStruct/ParagraphParameters., use ShareContainer in
17844         FontTable., make vars in FontTable private and add getter and
17845         setter.
17846
17847         * paragraph.C: changes because of the above.
17848
17849         * lyxfont.h: remove copy constructor and copy assignment. (the
17850         default ones is ok), move number inside FontBits. move inlines to
17851         lyxfont.C
17852
17853         * lyxfont.C: add number to initializaton of statics, move several
17854         inlines here. constify several local vars. some whitespace
17855         cleanup. Dont hide outerscope variables.
17856
17857         * Spacing.h: add two new constructors to match the set methods.
17858
17859         * ShareContainer.h: new file, will perhaps be moved to support
17860
17861         * ParameterStruct.h: new file
17862
17863         * ParagraphParameters.h: new file
17864
17865         * ParagraphParameters.C: new file
17866
17867         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17868         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17869
17870         * BufferView_pimpl.C: ParagraphParameter changes.
17871         * buffer.C: Likewise.
17872         * bufferview_funcs.C: Likewise.
17873         * text.C: Likewise.
17874         * text2.C: Likewise.
17875
17876 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17877
17878         * lyxfind.C (LyXReplace): do not redefine default argument in
17879         implementation.
17880         (IsStringInText): ditto
17881         (SearchForward): ditto
17882         (SearchBackward): ditto
17883
17884 2001-03-06  Juergen Vigna  <jug@sad.it>
17885
17886         * lyxfind.C (IsStringInText): put parentes around expressions.
17887
17888 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17889
17890         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17891
17892 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17893
17894         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17895
17896         * stl_string_fwd.h: add comment
17897
17898         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17899
17900         * tabular.h:
17901         * tabular.C: remove unused DocBook methods
17902
17903         * intl.C:
17904         * language.C:
17905         * paragraph.C:
17906         * buffer.C:
17907         killed DO_USE_DEFAULT_LANGUAGE
17908
17909 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17910
17911         * lyx_gui.C: do not include language.h.
17912
17913         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17914         arguments in function implementation.
17915
17916 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17917
17918         * BufferView_pimpl.C: add <ctime>
17919
17920 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17921
17922         * BufferView_pimpl.C: add using std::find_if
17923
17924 2001-02-27  José Matos  <jamatos@fep.up.pt>
17925
17926         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17927         by OnlyPath.
17928
17929 2001-02-11  José Matos  <jamatos@fep.up.pt>
17930
17931         * buffer.C (makeDocBookFile): command styles now have a parameter as
17932         "title" by default.
17933
17934 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17935
17936         * layout_forms.[Ch]: removed
17937         * lyx_cb.[Ch]: out character
17938         * lyx_gui.C: out character
17939         * lyx_gui_misc.C: out character
17940         * bufferview_funcs.C: : out character,
17941         added toggleall as parameter in ToggleAndShow
17942
17943 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17944
17945         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17946
17947         * text2.C (SetCurrentFont): Disable number property at boundary.
17948
17949 2001-02-26  Juergen Vigna  <jug@sad.it>
17950
17951         * lyxfunc.C (getStatus): added a string argument override function so
17952         that this is correctly called from LyXFunc::Dispatch if it contains a
17953         do_not_use_argument which is used!
17954         (Dispatch): added check for "custom" export and call appropriate func.
17955
17956 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17957
17958         * lyxrc.C: Add language_command_local, language_use_babel and
17959         language_global_options.
17960
17961         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17962
17963         * buffer.C (makeLaTeXFile): Use language_use_babel and
17964         language_global_options.
17965
17966 2001-02-23  Juergen Vigna  <jug@sad.it>
17967
17968         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17969         which works with LyXText and putted it inside BufferView. Here now we
17970         only call for that part the BufferView::Dispatch() function.
17971
17972         * BufferView.C (Dispatch): added.
17973
17974         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17975         functions which needs to use a LyXText over from LyXFunc.
17976         (MenuInsertLyXFile): added
17977         (getInsetByCode): added
17978         (moveCursorUpdate): added
17979         (static TEXT): added
17980
17981 2001-02-22  Juergen Vigna  <jug@sad.it>
17982
17983         * BufferView_pimpl.C (update): call a status update to see if LyXText
17984         needs it.
17985
17986 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17987
17988         * vc-backend.C (revert): implement for CVS
17989         (getLog): implement for CVS
17990
17991 2001-02-20  Juergen Vigna  <jug@sad.it>
17992
17993         * text2.C (ClearSelection): added BufferView param for inset_owner call
17994
17995         * lyxfunc.C (TEXT): added this function and use it instead of
17996         directly owner->view()-text of getLyXText().
17997
17998 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17999
18000         * src/layout_forms.C: out preamble
18001         * src/layout_forms.h: out preamble
18002         * src/lyx_cb.C: out preamble
18003         * src/lyx_cb.h: out preamble
18004         * src/lyx_gui.C: out preamble
18005         * src/lyx_gui_misc.C: out preamble
18006         * src/lyxfunc.C: connect with guii preamble
18007
18008 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18009
18010         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18011
18012 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18013
18014         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18015         whether to run bibtex.
18016
18017 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18018
18019         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18020
18021 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18022
18023         * Makefile.am (lyx_SOURCES): removed bibforms.h
18024
18025         * vspace.h: doxygen
18026
18027         * text.C (GetVisibleRow): make several local vars const
18028
18029         * tabular.C: small cleanup.
18030
18031         * lyxserver.C (callback): use compare instead of strncmp
18032
18033         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18034         inlines to after class or to paragraph.C
18035
18036         * lyxfont.h: remove friend operator!=
18037
18038         * converter.h: move friend bool operator< to non friend and after
18039         class def.
18040
18041         * combox.h: small cleanup
18042
18043         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18044         to inlines after class def.
18045
18046         * buffer.C (pop_tag): use string operations instead of strcmp
18047
18048         * bmtable.c: doxygen, small cleanup
18049
18050         * LaTeX.h: remove friend operator==
18051
18052 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18053
18054         * screen.C:
18055         * lyxrc.[Ch]:
18056         * lyxfunc.C:
18057         * lyxfont.[Ch]:
18058         * lyx_cb.C:
18059         * intl.[Ch]:
18060         * commandtags.h:
18061         * buffer.C:
18062         * WorkArea.[Ch]:
18063         * LyXAction.C:
18064         * BufferView_pimpl.C:
18065         * BufferView.[Ch]: remove cruft
18066
18067 2001-02-14  Juergen Vigna  <jug@sad.it>
18068
18069         * lyxfunc.C: removed #if 0 unused code
18070
18071         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18072
18073         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18074
18075         * text2.C (SetSelection): added a BufferView * parameter
18076
18077 2001-02-13  Juergen Vigna  <jug@sad.it>
18078
18079         * lyxfunc.C (Dispatch): fixed protected blank problem.
18080         * BufferView2.C (protectedBlank): added LyxText * parameter.
18081
18082         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18083         (AppendColumn): same as above for column_info.
18084
18085         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18086         (moveCursorUpdate): use a LyXText param for support of InsetText.
18087
18088         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18089         (tripleClick): ditto
18090
18091         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18092
18093         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18094
18095         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18096
18097         * text2.C (SetSelection): set correct update status if inset_owner
18098         (ToggleFree): ditto
18099
18100 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18101
18102         * tabular.C: remove some commented code.
18103
18104 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18105
18106         * BufferView_pimpl.C: call hideSplash()
18107
18108         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18109
18110         * include_form.h:
18111         * bibforms.h: remove
18112
18113         * lyxfunc.C:
18114         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18115           add LFUN_CHILD_CREATE
18116
18117         * counters.h: fix tiny typo
18118
18119         * lyx_cb.C:
18120         * lyx.h:
18121         * lyx_gui.C:
18122         * lyx.C: move splash to frontends/xforms/
18123
18124         * lyx_gui_misc.C: move Include and Bibform to frontends
18125
18126         * lyxvc.h: clarify comment
18127
18128         * vspace.C: tiny housekeeping
18129
18130 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18131
18132         * text.C (PrepareToPrint): RTL Fix.
18133
18134         * paragraph.C (GetUChar): New method.
18135         (String):  Use GetUChar.
18136
18137         * buffer.C (asciiParagraph): Use GetUChar.
18138
18139 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18140
18141         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18142
18143 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18144
18145         * buffer.h:
18146         * buffer.C: rename to getLogName(), handle
18147           build log / latex log nicely
18148
18149 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18150
18151         * MenuBackend.C:
18152         * MenuBackend.h: remove support for reference menuitem type.
18153
18154 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18155
18156         * BufferView_pimpl.C: housekeeping
18157         * BufferView_pimpl.h:
18158         * LyXView.h:
18159         * Makefile.am:
18160         * Timeout.C:
18161         * Timeout.h:
18162         * minibuffer.h: move Timeout GUI-I
18163
18164 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18165
18166         * lyxrc.C (read): Update converters data-structures.
18167
18168 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18169
18170         * LaTeX.h (operator!=): add operator != for Aux_Info
18171
18172 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18173
18174         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18175
18176         * LaTeXLog.C: deleted, useful code moved to Buffer
18177
18178         * buffer.h:
18179         * buffer.C: new function getLatexLogName()
18180
18181         * lyx_gui_misc.C:
18182         * lyx_gui.C:
18183         * lyxvc.C:
18184         * lyxvc.h:
18185         * lyxfunc.C: use frontends for LaTeX and VC logs
18186
18187 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18188
18189         * LaTeX.h: yet another std:: that Allan forgot.
18190
18191         * Variables.C (set): renamed from isset(), because this clashes
18192         with some HP-UX macros (grr).
18193
18194 2001-02-06  Allan Rae  <rae@lyx.org>
18195
18196         * LaTeX.h: Another bug fix.  Missing std:: this time.
18197
18198 2001-02-04  Allan Rae  <rae@lyx.org>
18199
18200         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18201         floats problem. I've left it commented out because it's not quite
18202         correct.  It should also test that the current object is a table or
18203         figure inset.  But I haven't gotten around to figuring out how to do
18204         that.  I *think* it'll be something like: "table" == inset.type()
18205
18206         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18207         bool.
18208
18209 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18210
18211         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18212         all the citation/databases/styles in the auxilary file.
18213         (run): Rerun latex if there was a babel language error.
18214
18215 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18216
18217         * text.C (Backspace): Preserve the font when changing newline char
18218         with a space.
18219         (BreakParagraph): If the cursor is before a space, delete the space.
18220
18221         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18222
18223 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18224
18225         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18226         new argument (code).
18227         (ChangeCitationsIfUnique): New method.
18228
18229         * paragraph.C (GetPositionOfInset): Handle bibkey.
18230
18231 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18232
18233         * BufferView_pimpl.h: change type of Position::par_pos to
18234         LyXParagraph::size_type.
18235
18236 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18237
18238         * BufferView_pimpl.C (savePosition, restorePosition): Write
18239         messages to minibuffer.
18240
18241 2001-01-28  José Matos  <jamatos@fep.up.pt>
18242
18243         * buffer.C (makeDocBookFile): adds support for document language.
18244         A silly restriction on the name of LatexCommand types where removed.
18245         Added support for CDATA sections, allows to chars unescaped, used
18246         among others in code, to avoid escape < and >.
18247
18248 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18249
18250         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18251         saved positions instrad of a stack. Furthermore, a position is
18252         stored using paragraph id/paragraph position.
18253
18254         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18255         Remove LFUN_REF_BACK.
18256
18257 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18258
18259         * converter.C (dvipdfm_options): New method.
18260
18261 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18262
18263         * vspace.C (isValidLength): Fix for empty input string.
18264
18265 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18266
18267         * LyXAction.C (init): change description of LFUN_FIGURE to
18268         "Insert Graphics"
18269
18270 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18271
18272         * LaTeX.C: add using directive
18273
18274 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18275
18276         * MenuBackend.C (expand): Fix the sorting of the formats.
18277
18278 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18279
18280         * lyx_main.C: tiny error message fix
18281
18282 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18283
18284         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18285         calling fl_initialize(). This fixes the problem with ',' as
18286         decimal separator in text files.
18287
18288 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18289
18290         * trans.C (process): Fix the keymap bug.
18291
18292 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18293
18294         * LaTeX.C (scanAuxFiles): New method. Provides support for
18295         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18296         (scanLogFile) Scan for "run BibTeX" messages.
18297
18298         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18299         OT1 font encoding. Also, load the aecompl package if the ae
18300         package is loaded.
18301
18302         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18303
18304 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18305
18306         * texrow.C (increasePos): turn two error messages into debug
18307         messages.
18308
18309 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18310
18311         * LaTeX.C (scanAux): Handle the \@input macro.
18312         (runBibTeX): Use scanAux().
18313
18314         * language.C (latex_options_): New field.
18315
18316         * LaTeXFeatures.C (getMacros): Add language macros.
18317
18318         * buffer.C (makeLaTeXFile): Small fix.
18319
18320 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18321
18322         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18323
18324         * text2.C: add a using directive.
18325
18326 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18327
18328         * BufferView2.C:
18329         * lyx_gui_misc.h:
18330         * lyxfr1.C:
18331         * lyxfunc.C: kill LyXBell.
18332
18333 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18334
18335         * text.C (IsBoundary): Remove the error message
18336
18337         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18338
18339         * lyxrc.C (setDefaults): Correct initialization value for
18340         font_norm_type.
18341
18342 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18343
18344         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18345         gotoError().
18346
18347         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18348         and GotoNextNote().
18349
18350         * src/LyXAction.C: Added reference-next.
18351
18352         * text.C (InsertChar): Use contains instead of strchr.
18353
18354         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18355
18356 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18357
18358         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18359         alignment commands (when needed).
18360
18361         * text.C (InsertChar): Add ':' to number separator chars.