]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
4dd054fb801bcc423cfa6700f4b5ee5314674971
[lyx.git] / src / ChangeLog
1 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * CutAndPaste.C (nrOfParagraphs): remove (unused)
4         * CutAndPaste.C (cutSelection): Remove debug message
5         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
6         undo information and only copy if this is a real cut
7         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
8         call
9         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
10         (bug 2059)
11         * CutAndPaste.C (eraseSelection): prevent cursor corruption
12         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
13         superflous cur.selection() setting
14         * CutAndPaste.[Ch] (grabSelection): take a const cursor
15         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
16
17 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
20         change anything.
21
22 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * BufferView_pimpl.C: comment layout change
25
26 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
27
28         * LyXAction.C:
29         * lfuns.h:
30         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
31         by bibliography managers (bug 2071).
32
33 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
34
35         * BufferView_pimpl.C (update): choose arguments to update call so
36         that single-par update works most times
37         * text3.C (dispatch): carefully tune updating separately for
38         whole-screen and current-paragraph
39         * rowpainter.C (paintText): 1) replace painting by caching for
40         the two extra paragraphs, because we can;
41         2) suppress greying out of areas below/above drawn area in case of
42         single-par refresh
43         * lyxfunc.C (dispatch): remove superfluous update
44         * LyXAction.[Ch]: introduce SingleParUpdate
45
46 2005-10-05  Angus Leeming  <leeming@lyx.org>
47
48         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
49         always initialised before use.
50
51         * text.C (setHeightOfRow): squash warning about comparison
52         of signed and unsigned types.
53
54 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
55
56         * text.C (cursorX): two fixes involving RtL text drawing
57
58 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
61         items, not only large ones (part of bug 2057)
62
63 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
66         argument, use "newcommand".
67
68 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
69
70         * cursor.C (setSelection): do not open collapsable insets;
71         the insets do by themselves now (autoopen).
72
73 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
74
75         * buffer.C: format is up to 244.
76
77 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
78
79         * text.C (redoParagraph): fix calcultation of inset width wrt 
80         leftMargin (bug 1957).
81
82         * text3.C (dispatch): leave inset to the right when hitting ESC 
83         (bug 2034).
84
85 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * text2.C: 
88         * text.C: 
89         * factory.C:
90         * messages.C: include <boost/current_function.hpp> 
91
92 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
95         when command is internal. (bug 1941)
96
97 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * text2.C (cursorRight): do not honor boundary when at the end of
100         a paragraph. (bug 2010 again)
101
102 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
105
106 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
107
108         * rowpainter.C (paintText): fix RtL space width display bug (2029)
109
110 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * text2.C (setCursor): remove the unused 'boundary' parameter for
113         the CursorSlice version; adapt the LCursor version.
114
115         * lyxrc.C (write): 
116         * paragraph_pimpl.C (markErased): 
117         * cursor.C (bruteFind2, bruteFond3): fix warnings.
118
119 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
122         as is already done for "chapter".
123
124 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
127         textclass; do not record undo if nothing is changed.
128
129 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
130
131         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
132
133 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
134
135         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
136
137 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
140         combox, it is necessary to search for the topmost paragraph in the
141         cursor stack (bug 1926)
142
143 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
146         end of paragraph. (bug 2010)
147
148 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
149
150         * text.C (leftMargin): check for inInset == 0
151
152 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
153
154         * text.C (leftMargin): test for insetbase's new neverIndent()
155         bool instead of listing each and every inset that does not
156         wish par indendation.
157
158 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
159
160         * buffer_funcs.C (setCounter): put the code to compute enum label
161         here (where it belongs).
162
163         * counters.C (enumLabel): move code to buffer_funcs.C.
164
165 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
166
167         * outputparams.[Ch]: store local_font instead of local_language
168         * paragraph.C (simpleTeXOnePar): adapt to the change above
169
170 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
171
172         * buffer_funcs.C:
173         * counters.[Ch]: clean up special code for Hebrew.
174
175 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
178         than 2.
179
180 2005-09-08  Angus Leeming  <leeming@lyx.org>
181
182         * ispell.C:
183         * lyxrc.C: correct grammar describing invocation of the
184         spellchecker.
185
186 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * text.C (read): remove unused variable.
189         (readParToken): remove static Change variable (never good in
190         recursive settings...); add it as a parameter instead.
191
192         * paragraph_pimpl.C (acceptChange): make debug info conditional.
193
194         * metricsinfo.C (PainterInfo): add new member erased_.
195
196         * rowpainter.C (RowPainter): add erased_ member, initialized from
197         PainterInfo. 
198         (paintInset): pass erased_ to Inset::draw.
199
200         * lyxfunc.C (lookupChange): new function. Tells whether change 
201         tracking is disabled at a given postion.
202         (getStatus): disable some actions when in deleted text with change
203         tracking. 
204
205 2005-08-03  John Levon  <levon@movementarian.org>
206         
207         * tabular.C (appendColumn, setMultiColumn): adapt to change to
208         InsetText::clear().
209
210         * paragraph_pimpl.C (markErased): add bool argument and handle it.
211         Also make sure to mark insets recursively.
212         (rejectChange, erase): be recursive
213
214         * paragraph.C (markErased): add bool argument.
215 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
216
217         * lyxfind.C (findNextChange): tiny cleanup.
218
219         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
220         change tracking with the cursor in an inset; make sure the first
221         change is not skipped.
222
223 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
224
225         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
226         tabularStackDirty to work around bug 1919 (tabular needs
227         to know whether its own cell paste buffer or the one of 
228         texted is newer.
229         * CutAndPaste.C: mark tabular_stack_ clean after copy.
230
231 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
232
233         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
234
235 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
236
237         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
238         use old deleteion algorithm when changetracking is on.
239
240 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * messages.C (get): add debug output.
243
244 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
245
246         * text.C (cursorX): fix bug 1965: cursor movement at
247         line end broken in RtL.
248         (drawSelection): fix bug 1970: drawing of single-line 
249         selection broken for RtL.
250
251 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
252
253         bug 465.
254
255         * dociterator.h (clear, push_back, pop_back): change from
256         protected to public.
257
258         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
259         and changed to just return the value of the item depth; take a
260         ParIterator as argument; take the itemdepth at outer nesting level
261         in account if necessary; cleanup and comment the code.
262         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
263         and changed to just return true if reset is needed; take a
264         ParIterator as argument; cleanup and comment the code.
265         (setCounter): adapt to above changes.
266
267 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * text3.C (dispatch): make debug message optional
270
271 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
274         inset. (bug 1963)
275
276 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
277
278         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
279
280 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * text.C (insertChar):
283         * text2.C (deleteEmptyParagraphMechanism): take care whether 
284         a blank has been deleted (in change tracking mode) (bug 1254).
285
286 2005-07-20  John Levon  <levon@movementarian.org>
287
288         * text2.C (insertStringAsLines): remove old dubious code,
289         fixing bug 1939.
290
291 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * MenuBackend.C (expandToc): use Floating::listName() as title of
294         the floats submenus.
295
296 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * toc.[Ch]: Do not use translatable strings (bug 1870).
299
300 2005-07-20  John Levon  <levon@movementarian.org>
301
302         * tabular.C: fix 1748 - setting multicolumn adds
303           left line to the first cell
304
305 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
306
307         bug 1920
308         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
309         pars in one go.
310
311 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
312
313         * messages.C: supress some lyxerr messages
314
315 2005-07-18  Juergen Vigna  <jug@lyx.org>
316
317         * text.C (drawSelection): honor boundary when asking for cursorX.
318
319 2005-07-17  José Matos  <jamatos@fc.up.pt>
320
321         * tabular.C (recalculateMulticolumns): fix handling of one column
322         tables.
323
324 2005-07-17  Juergen Vigna  <jug@lyx.org>
325
326         * text.C (Delete, backspace): fixed so that paragraph with the
327         same layout can be merged by Delete/Backspace.
328
329 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
330
331         * text.C (readParToken): fix spelling.
332
333 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
334
335         * text2.C: fix counter update for DEPM problem reported by
336         Georg Baum
337
338 2005-07-17  Juergen Vigna  <jug@lyx.org>
339
340         * BufferView_pimpl.C (setBuffer): save/restore the
341         cursor/selection when switching buffers
342
343         * buffer.h: 
344         * buffer.C (saveCursor): add saveDocumentIterators to save the
345         cursor when switching buffer.
346
347 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
348
349         * debug.C: fix typo
350         * buffer.C: clarify message
351         
352 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
353
354         * dociterator.C (DocIterator): fix initialization order
355
356 2005-07-17  Juergen Vigna  <jug@lyx.org>
357
358         * text2.C (cursorHome): 
359         * text.C (drawSelection, cursorX): 
360         * dociterator.C (textRow): add boundary to getRow() call
361
362         * paragraph.C (getRow): implementation of below
363
364         * paragraph.h: add parameter boundary for getRow() function
365
366 2005-07-17  José Matos  <jamatos@fc.up.pt>
367
368         * buffer.C:
369         * bufferparams.[Ch]:
370         * tex-strings.[Ch]: new file format, remove support for a4.sty,
371         a4wide.sty and a4widemargins.
372
373 2005-07-17  Juergen Vigna  <jug@lyx.org>
374
375         * text2.C (cursorLeft): fix one of error
376
377 2005-07-17  Juergen Vigna  <jug@lyx.org>
378
379         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
380                    cursorEnd):
381         more fixes for boundary handling
382
383         * text3.C (dispatch): don't reset cursor if boundary has changed
384         on cursor movement.
385
386 2005-07-16  Juergen Vigna  <jug@lyx.org>
387
388         * text2.C (getColumnNearX): hopefully got it right now,
389         check if we are on column 0 for special case.
390
391 2005-07-16  Juergen Vigna  <jug@lyx.org>
392
393         * text2.C (getColumnNearX): handle special case Newline Inset
394
395         * text.C (singleWidth): Just remove bogus check
396
397 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
398
399         * funcrequest.C (split): avoid reading uninitialized char c
400
401 2005-07-16  José Matos  <jamatos@fc.up.pt>
402
403         * buffer.C:
404         * converter.C:
405         * lyxrc.C:
406         * paper.h:
407         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
408         single papersize variable.
409
410 2005-07-16  Juergen Vigna  <jug@lyx.org>
411
412         * text3.C (dispatch): honor boundary when checking if a cursor
413         movement has been done
414
415         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
416         (setCursor, setCursorIntern): fix cursor movement with boundary
417
418 2005-07-16  Juergen Vigna  <jug@lyx.org>
419
420         * text.C (currentState): output the actual Boundary
421
422 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
423
424         * factory.C (createInset): fix bad logic for tabular creation
425
426 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
427
428         * lyx_main.C (init): change some reLyX reference to tex2lyx
429
430 2005-07-16  Juergen Vigna  <jug@lyx.org>
431
432         * dociterator.C (DocIterator): initialize boundary
433
434 2005-07-16  Juergen Vigna  <jug@lyx.org>
435
436         * text2.C (getColumnNearX): Consider rows without trailing blank.  
437
438 2005-07-16  André Pönitz  <poenitz@gmx.net>
439
440         * lyxfont.h: Change order of declarations to give the compiler
441         a better chance to inline things
442
443         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
444         questions on unsaved docs for better scritability
445
446 2005-07-16  André Pönitz  <poenitz@gmx.net>
447
448         * paragraph.h (getChar): remove asserts as the same kind of security
449         can be achieved by using a suitable standard library implementation
450         and the function was in the critical path (25.9% in profiler)
451
452 2005-07-16  Juergen Vigna  <jug@lyx.org>
453
454         * cursor.C (bruteFind2):
455         * bufferview_funcs.C (coordOffset): 
456         * text.C (cursorX,cursorY): Handle cursor position after last char
457         in row before a inset which uses a whole row.
458
459 2005-07-15  José Matos <jamatos@lyx.org>
460
461         * output_plaintext.[Ch] (writeFileAscii): control reference title
462         printing.
463         (asciiParagraph): noparbreak was already deal and was incorrectly
464         used.
465
466 2005-07-15  Juergen Vigna <jug@lyx.org>
467
468         * lyxfunc.C (dispatch): save and restore the cursor after a
469         textclass switch.
470
471 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
472
473         * text.C (backspace): bug 806 for empty keepempty paragraphs we
474         change the layout to default before letting DEPM do its thing.
475
476         * paragraph_funcs.C (breakParagraph): dont reset the layout on
477         keepEmpty paragraphs
478
479         * text.C (setCursorFromCoordinates): add a debug statement
480
481         * text2.C (getColumnNearX): bug 1825 make sure that we don't
482         return a pos that is not on the row
483
484         * output_latex.C (TeXDeeper): get rid of potential dereferencing
485         of past the end iterator
486
487 2005-07-14  André Pönitz  <poenitz@gmx.net>
488
489         * undo.C (recordUndoFullBuffer): implement undo for
490         textclass switches
491
492 2005-07-14  André Pönitz  <poenitz@gmx.net>
493
494         * cursor.C (setSelection): open insets when selection is set there
495         to avoid crashs with cold coord cache
496
497 2005-07-14  André Pönitz  <poenitz@gmx.net>
498
499         * trans_mgr.C (insert): move cursor to the right after inserting
500         a char.
501
502 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
503
504         * BufferView_pimpl.C (update): dampen some of the debug blabbering
505         * factory.C (readInset): ditto
506         * text.C, text2.C: ditto
507
508 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * buffer.C: format incremented to 242. There is no file format per
511         se, but the "frenchb" language has been removed from lib/language
512         and has to be translated to "french" by lyx2lyx.
513
514 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
515
516         * cursor_slice.h, dociterator.h: add some documentation
517         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
518
519 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
520
521         * text.C (leftMargin): do not add identation to display() style
522         insets, because they are always centered (bug 1293).
523
524 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
525
526         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
527         formatted_time methods in support/lyxtime.
528
529 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * toc.[Ch]: new method getGuiName, which is used by the frontends 
532         to set the toc combo (fixes bug 1870). Make TOC string translatable.
533
534 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
537         StableDocIterator const &)
538         * undo.C (recordUndo): use the above instead of cell.size() comparison
539         (fixes bug 1808; instructed by Andr�.
540
541 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
542
543         * cursor_slice.h: 
544         * dociterator.h: Fix the assert when copying rows/cols in math
545
546 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
547
548         * BufferView_pimpl.C:
549         * LyXAction.C:
550         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
551
552         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
553         (findInset): new functions, refactored from goto Inset that return 
554         the position of a certain inset without setting the buffer's cursor
555         (by Jean-Marc); 
556         (gotoInset): rewrite to call findInset and then set the cursor
557         (by Jean-Marc).
558
559 2005-06-16  Angus Leeming  <leeming@lyx.org>
560
561         * lyxrc.C (output, read): wrap all input and output of paths with
562         calls to os::internal_path and os::external_path, respectively.
563         (output): wrap bind_file inside quotes.
564
565         * format.C (view): enable the viewer to use the '$$s' placeholder.
566
567 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
568
569         * LColor.[Ch] (getFromLaTeXName): new
570
571 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
572
573         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
574
575 2005-06-14  Angus Leeming  <leeming@lyx.org>
576
577         * lyx_main.C (init): ensure that the LyX binary dir is the first
578         element in the PATH on non-POSIX builds.
579
580 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
581
582         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
583
584 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
585
586         * rowpainter.C (paintInset, paintHebrewComposeChar)
587         (paintArabicComposeChar, paintChars): add a LyXFont argument.
588         (paintChars): use getFontSpan to reduce calls to getFont to a
589         minimum; use Paragraph::lookupChange instead of isXXXText.
590         (paintForeignMark): rename LyXFont argument.
591         (paintFromPos): pass a LyXFont object to the various paintXXX
592         methods.
593
594         * FontIterator.C (FontIterator, operator++): use
595         Paragraph::getFontSpan
596
597         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
598         version that returns the font span as a pair.
599
600 2005-06-09  Angus Leeming  <leeming@lyx.org>
601
602         * converter.C (convert): Don't forget "outfile = real_outfile" as
603         the final step in a conversion where the input and output file names
604         are the same. Otherwise, future conversion steps won't work...
605
606 2005-06-09  Angus Leeming  <leeming@lyx.org>
607
608         * lyxsocket.C: remove stub code as it isn't needed by
609         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
610
611 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
612
613         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
614         effectively disabled -x
615
616 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
617
618         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
619         when it actually makes sense.
620
621 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
622
623         * BufferView_pimpl.C: revert to showCursor in connection with
624         Lars's front-end stack
625
626 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
627
628         * text.C (redoParagraph): move cursor right after a bibitem
629         has been inserted.
630
631         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
632
633 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
634
635         * buffer_funcs.C (bufferErrors): fix computation of the end of an
636         error range.
637
638 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
639
640         * BufferView.[Ch] (update):
641         * BufferView_pimpl.[Ch] (update, metrics):
642         * dimension.h (operator==):
643         * lyxfunc.C (dispatch):
644         * metricsinfo.h (ViewMetricsInfo):
645         * rowpainter.C (paintText):
646         * lyxtext.h:
647         * text.C (redoParagraph):
648         * text3.C (dispatch): Make LyX only repaint current paragraph in
649         case of character insert --> speedup. Also fix cursor draw
650         artifacts
651
652 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
653
654         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
655         avoid a crash (bug 1891)
656
657 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
658
659         Fix bug 1892:
660
661         * text2.C (getStringToIndex): constify cur argument.
662
663         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
664         argument has been given
665         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
666         try to invoke LFUN_INSET_APPLY).
667
668         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
669         if no inset was created by doInsertInset
670         (doInsertInset): return true if an inset has been inserted.
671
672 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
673
674         * vspace.C (asGUIName): new method. A version of the space
675         suitable for showing on screen.
676
677 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
678
679         * MenuBackend.C:
680         * lyxrc.C: rename "ASCII" to "Plain Text"
681
682 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * buffer_funcs.C (expandLabel): take a Buffer as argument;
685         translate the labelstring.
686         (setCounter): translate labelstring as needed.
687
688         * output_docbook.C (makeCommand): fix expandLabel invokation
689
690 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
691
692         * BufferView.C: fix dialog title
693
694 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
695
696         * lyx_main.C (priv_exec): fix logic error with help from Angus
697         * lyx_main.C (parse_execute): set is_gui = false and remove now
698         obsolete comment about a segfault
699
700 2005-05-18  Angus Leeming  <leeming@lyx.org>
701
702         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
703
704 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
705
706         * tabular.[hC]: added setCellInset to fix tabular paste.
707
708 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
709
710         * buffer.C (save): check if destination is writable before trying
711         to copy a file
712
713 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
714
715         * BufferView_pimpl.C (update): fix processEvents -caused update
716         recursion bug
717
718 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
719
720         * buffer_funcs.C (setCounter): fix test for numbering of
721         environments.
722
723         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
724         depth correctly; use optional argument when it exists
725
726         * lyxtextclass.C: remove unused MaxCounterTags enum
727         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
728         (max_toclevel, min_toclevel): new methods.
729
730         * MenuBackend.C (expandToc2): fix case where depth is smaller than
731         the smallest depth in toc.
732
733         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
734         layouts that should not appear in a table of contents.
735
736 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
737
738         * cursor.h (undispatched, noUpdate): add comments from Andr�
739 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
740
741         * lfuns.h:
742         * LyXAction.C:
743         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
744
745 2005-05-07  André Pönitz  <poenitz@gmx.net>
746
747         * cursor.[Ch] (leaveInset): new function
748
749 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
750
751         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
752
753 2005-05-04  Angus Leeming  <leeming@lyx.org>
754
755         * lyxfunc.C (getStatus): disable the spell checker dialog if
756         none of USE_[AIP]SPELL are defined.
757
758 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * tabular.C (setWidthOfCell): remove obsolete comment
761
762 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
763
764         * paragraph.C (bibitem):
765         * buffer_funcs.C (setCounter):
766         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
767
768 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
769
770         * text3.C (getStatus): immediately return after setOnOff
771
772         * rowpainter.C: fix drawing of appendix start
773
774 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
775
776         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
777         SwitchBetweenClasses and remove the unused return value.
778         Handle character styles, too
779
780 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
781
782         * factory.C (createInset): handle undefined character styles
783
784 2005-05-02  Angus Leeming  <leeming@lyx.org>
785
786         * buffer.C: protect the #include of utime.h with a preprocessor
787         guard.
788
789 2005-05-02  Angus Leeming  <leeming@lyx.org>
790
791         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
792         function so that auto-saving works, albeit in a blocking manner.
793
794         * Makefile.am: make compilation of the client sub directory, of
795         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
796         on conditionals set at configure time.
797
798         * SpellBase.[Ch]: no longer an abstract base class. Instead,
799         it can be compiled in its own right but has no-op functionality.
800
801         * aspell.C, pspell.C: remove preprocessor guards. The files should
802         be compiled only if the necessary functionality exists.
803
804         * lyxserver.C, lyxsocket.C: disable on Windows.
805
806 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
807
808         * text.C (leftMargin): Fix the parindent use bug (1764)
809         by dirty trick
810
811 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
812
813         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
814         argument.
815
816 2005-04-25  Angus Leeming  <leeming@lyx.org>
817
818         * Bidi.[Ch]:
819         * coordcache.[Ch]:
820         * ispell.C:
821         * lyxserver.C:
822         * mover.C:
823         * pch.h:
824         include <config.h> in .C files, not .h ones.
825         add licence blurb.
826         protect headers inside preprocessor guards.
827
828 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
829
830         * FuncStatus.h (StatusCodes): document
831
832 2005-04-21  André Pönitz  <poenitz@gmx.net>
833
834         * FuncStatus.h (enabled, onoff): document
835
836 2005-04-19  Angus Leeming  <leeming@lyx.org>
837
838         * BufferView_pimpl.C (cursorToggle): no longer test whether
839         any child processes have been reaped before calling
840         handleCompletedProcesses().
841
842 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
843
844         * text3.C (dispatch): fix, finally fix, the language problem in
845         new lyxtexts, without disabling on-the-fly font changes (Helge's
846         bug report)
847
848 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
849
850         * text3.C (dispatch): set cursor on double/triple click events
851         (bug 1811)
852
853 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
856         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
857
858         * rowpainter.C (paintFirst): simplify the code a little bit. In
859         particular, remove the test for secnumdepth.
860         * text.C (setHeightOfRow): only allocate space for chapter number
861         when updateCounters provided an actual label, instead of looking
862         at secnumdepth directly.
863
864         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
865
866         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
867         paragraphs when secnumdepth is large enough or, for environments,
868         when they are not the first in a sequence.
869
870 2005-04-17  Angus Leeming  <leeming@lyx.org>
871
872         * buffer.C (makeLaTeXFile): replace code to manipulate a path
873         containing space and '~' characters with a call to latex_path().
874
875 2005-04-17  Angus Leeming  <leeming@lyx.org>
876
877         * converter.C (convert): protect all args of convertDefault.sh
878         script with quotes.
879
880 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * text3.C (dispatch): change the layout to "Caption" after inserting
883         a float.
884
885 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
886
887         * text3.C (dispatch): fix language problem in newly created
888         textinsets (and main text) in non-english docs
889
890 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
891
892         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
893         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
894         * text3.C (getStatus): disable LFUN_INSET_MODIFY
895
896 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
897
898         * lyxtext.h:
899         * text.C (metrics):
900         * text2.C (getFont):
901         * rowpainter.C (getFont): Fix metrics bug introduced by inset
902         fonts fix
903
904 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
905
906         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
907         output of \item arguments without trailing text.
908
909 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * FontIterator.C (operator*): avoid a copy of the font.
912
913 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
914
915         * rowpainter.C (getFont): fix language bug from previous fix
916
917 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
918
919         * rowpainter.C (RowPainter, getFont): fix font inside inset
920         (bugs 1766, 1809)
921
922 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
923
924         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
925         preventing inserted font, deco, delim insets jumping to start of
926         surrounding inset.
927
928 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
929
930         * lyxfunc.C (dispatch): translate message before sending it to the
931         minibuffer.
932
933 2005-03-29  Angus Leeming  <leeming@lyx.org>
934
935         * lyx_main.C (priv_exec): call os::internal_path on each file passed
936         to LyX on the command line.
937
938 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
939
940         * vc-backend.C: use QuoteName to protect file names wherever
941         necessary.
942
943 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
944
945         * buffer.[Ch]:
946         * BranchList.h: fix bugs 1844,1845: document settings don't
947         stick
948
949 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
950
951         * lyxrc.C (setDefaults, read, output, getDescription): add support
952         for tex_allows_spaces.
953
954         * exporter.C (Export): allows files in directory containing spaces
955         if tex_allows_spaces is true.
956
957         * buffer.C (makeLaTeXFile): if the document path contains spaces,
958         output it in double quotes.
959
960 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
961
962         * rowpainter.C: use default text height for drawing change tracker
963         strikeout lines.
964
965 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
966
967         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
968
969 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
970
971         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
972         directory is missing.
973
974 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
975
976         * text2.C: fixed the fix, extended to other case.
977
978 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
979
980         * text2.C: fix for cursor up/down stuck in math [bug 1792]
981
982 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
983
984         * text2.C (cursorUp): get rid of a crash
985         * text.C (x2pos): add an assert
986
987 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
988
989         * lyxfunc.C (getStatus): fix warning when assertions are disabled
990
991         * text3.C:
992         * lyxfunc.C:
993         * dociterator.C: include <boost/current_function.hpp>, which is
994         needed when assertions are disabled.
995
996 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
997
998         * text2.C: fix for stuck cursor when traversing two
999         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1000
1001 2005-02-25  Andreas Vox  <avox@arcor.de>
1002
1003         * output_docbook.C (makeParagraph): suppress trailing newline
1004         after a run of paragraphs
1005
1006 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1007
1008         * paragraph.C: fix for confused change tracker when pasting
1009         text that begins with a lineseparator. [bug 1827]
1010         (setChange(0, Change::INSERTED);)
1011
1012         * paragraph_funcs.C: fix for lost changes on triple-paste
1013         in change tracking mode [bug 1827] (par.setChange()).
1014
1015 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1016
1017         * text2.C (updateCounters, setCounter, expandLabel): move to
1018         buffer_funcs.
1019
1020         * buffer_funcs.C (updateCounters): turn into a free standing
1021         function and add a buffer parameter. Remove dead code for tracking
1022         labelstring change.
1023         (setCounter): change into a free-standing function which gets a
1024         dociterator as argument. Use this iterator to fix captions in a
1025         simple way. When no float is found above the caption, use the
1026         labelstring of the caption layout as default.
1027
1028         * text.C (breakParagraph, backspace):
1029         * text2.C (init, setLayout, changeDepth):
1030         * text3.C (dispatch):
1031         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1032         updateCounters.
1033
1034         * dociterator.C (forwardPar): make it much faster by calling
1035         forwardPos() only when really necessary.
1036
1037         * output_docbook.C (makeCommand): adapt to expandLabel move.
1038
1039         * cursor.C: remove unused variable
1040
1041 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1042
1043         * paragraph_funcs.C: fix crash when pasting insets in change
1044         tracking mode [bug 1277] (honour change type in moveItem).
1045
1046 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1047
1048         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1049
1050 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * BufferView.C (setCursor): change to use a DocIterator.
1053         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1054         (putSelectionAt): adapt to BufferView::setCursor change.
1055
1056         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1057         moved here from LyXText and rewritten to use proper cursor
1058         methods. Fixes bug 1787, 616 and 835.
1059
1060         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1061         when inside an inset (part of bug 781).
1062         (dispatch): adapt to change of BufferView::setCursor.
1063         (getStatus, dispatch): handle LFUN_GOTOERROR,
1064         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1065
1066         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1067         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1068         * text3.C (gotoNextInset, gotoInset): removed.
1069
1070 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1071
1072         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1073
1074 2005-02-15  Angus Leeming  <leeming@lyx.org>
1075
1076         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1077         can be used meaningfully in a comparison.
1078
1079 2005-02-13  André Pönitz  <poenitz@gmx.net>
1080
1081         * bufferview_funcs.C (coordOffset): improve cursor drawing
1082
1083 2005-02-13  André Pönitz  <poenitz@gmx.net>
1084
1085         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1086         * Cursor.C (dispatch): use fixIfBroken
1087         * lyxfunc.C (getStatus): use fixIfBroken
1088
1089 2005-02-15  Angus Leeming  <leeming@lyx.org>
1090
1091         * lyx_main.C (error_handler):
1092         * lyxfunc.C:
1093         * lyxrc.C (setDefaults):
1094         s/GetEnv/getEnv/.
1095         #include "environment.h".
1096
1097         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1098
1099 2005-02-15  Angus Leeming  <leeming@lyx.org>
1100
1101         * lyxserver.C (startPipe): squash MSVC warning "local variable
1102         'fd' used without having been initialized".
1103
1104 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1105
1106         * BufferView_pimpl.C: revert accidental commit.
1107
1108 2005-02-14  André Pönitz  <poenitz@gmx.net>
1109
1110         * dociterator.[Ch]: new member forwardPosNoDescent(),
1111         which doesn't enter nested insets.
1112         * text2.C (setFont): use forwardPosNoDescent() instead
1113         of ForwardPos() (fixes crash on font change).
1114
1115 2005-02-13  Angus Leeming  <leeming@lyx.org>
1116
1117         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1118         only if lyxrc.path_prefix is not empty.
1119
1120 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1121
1122         * bufferparams.C (readGraphicsDriver): prevent crash
1123
1124 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1125
1126         * text2.C (setCounter): check for inInset() == 0
1127
1128 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1129
1130         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1131         but use update() to get correct screen display; use convert
1132         instead of istringstream.
1133         (getStatus): handle LFUN_GOTO_PARAGRAPH
1134
1135         * lyxfunc.C (dispatch, getStatus): do not handle
1136         LFUN_GOTO_PARAGRAPH here.
1137
1138 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1139
1140         * text3.C (dispatch): size() -> depth()
1141
1142         * text2.C: remove some debug output
1143
1144         * paragraph.C: ws changes only
1145
1146         * lyxfunc.C (getStatus): size() -> depth()
1147
1148         * dociterator.h (clear, push_back, pop_back, internalData,
1149         operator[], resize, empty): new functions
1150         Make StableDocIterator and operator== be friends. Don't inherit
1151         from std::vector use a privat class variable slices_ instead.
1152         Modify to fit.
1153
1154         * dociterator.C: update because of not inheriting from std::vector
1155         anymore. Call explictly to slices_ instead. Use depth() instead of
1156         size() and top() instead of back()
1157
1158         * cursor.C: chagne size() -> depth and back() -> top(). Also
1159         remove some direct operator[](i) calls in favour of foo[i]
1160         (getFont): remove some dead code
1161
1162         * bufferview_funcs.C (coordOffset): size() -> depth()
1163
1164         * buffer.C: ws changes only
1165
1166         * CutAndPaste.C (eraseSelection): back() -> top()
1167
1168         * BufferView_pimpl.C (selectionRequested): back() -> top()
1169
1170         * BufferView.C (setCursor): size() -> depth()
1171
1172 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1173
1174         * text3.C (cursorPrevious): return true if depm changed something
1175         (cursorNext): ditto
1176         (dispatch): rename sl to oldTopSlice, remove moving use the new
1177         NoUpdate func attrib instead. Make sure that needsUpdate is set
1178         for function that have NoUpdate, but where depm might have changed
1179         the buffer anyway.
1180
1181         * text2.C (cursorLeft): make us return true if depm changed
1182         something
1183         (cursorRight): ditto
1184         (cursorUpParagraph): ditto
1185         (curosrDownParagraph): ditto
1186         (cursorUp, cursorDown): ditto, make sure to read comments in code
1187         (deleteEmptyParagraphMechanism): remove an assert, also return
1188         true if just a single char was deleted.
1189
1190         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1191         cursor that we modify, to avoid modifying an active cursor before
1192         we call setCursor. This allows depm to run. Also return true if
1193         depm deleted something.
1194
1195         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1196         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1197         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1198         something was changed in the buffer because of them (ie. depm run)
1199
1200         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1201         debug messages. Make update by default be false. Make sure that
1202         the result of update is retained throught several calls down to
1203         dispatch.
1204
1205         * LyXAction.h: add a new func_attrib: NoUpdate
1206
1207         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1208         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1209         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1210         and LFUN_WORDLEFT
1211         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1212
1213 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1214
1215         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1216         bv_->owner(), bv_->buffer() by direct references to the private
1217         members.
1218         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1219         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1220         (fitCursor): center() is in BufferView::Pimpl.
1221         (getStatus, trackChanges, dispatch): no need for a temporary buf
1222         variable
1223         (fitCursor, workAreaDispatch): use workarea().workheight()
1224
1225 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1226
1227         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1228
1229 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1230
1231         * buffer.C: format up to 241.
1232         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1233         break if pasting into ERT
1234         * lyxfunc.C (getStatus): suppress mathpanel and
1235         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1236
1237 2005-02-01  Angus Leeming  <leeming@lyx.org>
1238
1239         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1240
1241 2005-02-01  Angus Leeming  <leeming@lyx.org>
1242
1243         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1244         calling fs::is_directory().
1245
1246 2005-01-31  Angus Leeming  <leeming@lyx.org>
1247
1248         * lyx_main.C (priv_exec): specify explicitly the relative location
1249         of the top level build directory when run in-place.
1250
1251 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1252
1253         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1254         LyXText containing the cursor, not the top-level one.
1255
1256         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1257         true.
1258         (insertStringAsLines): rename par to pit; use temporary variable
1259         par to hold a Paragraph; do not store par.layout() in a variable,
1260         since the pointer may die when breaking paragraphs; pass pars to
1261         breakParagraph() instead of Buffer::paragraphs().
1262
1263 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1264
1265         * lyxlex_pimpl.h: #include <fstream>.
1266
1267         * BufferView.[Ch] (getLyXText): add a const version.
1268
1269         * BufferView_pimpl.C: add debug aids.
1270
1271         * RowList_fwd.h:
1272         * buffer.h:
1273         * lyxrow.h:
1274         * paragraph_funcs.h: add commentary explaining what the class does.
1275
1276
1277         * coordcache.[Ch]: add lots of commentary.
1278         (startUpdating, doneUpdating): debug aids.
1279         (arrays, insets, parPos, getParPos): accessors to private data.
1280
1281         * cursor_slice.[Ch] (text): add a const version.
1282         * dociterator.[Ch] (text, innerText): add const versions.
1283
1284         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1285         bool.
1286
1287         * paragraph.C (getRow, pos2ros): add asserts.
1288
1289         * paragraph.h: add commentary. Lots of.
1290
1291         * paragraph.[Ch] (metrucs, draw): removed.
1292
1293         * cursor.C:
1294         * rowpainter.[Ch]: const-correct changes.
1295
1296         * text.C: various obvious clean-ups. Removal of ancient cruft.
1297         Bug fixes, even.
1298
1299 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1300
1301         * vc-backend.C (find_file): rewrite to use boost.filesystem
1302         (scanMaster): ditto
1303
1304         * main.C (main): set default name check for boost.filesystem to
1305         no check
1306
1307         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1308         (open): ditto
1309         (doImport): ditto
1310         (actOnUpdatedPrefs): ditto
1311
1312         * lyx_main.C (init): rewrite to use boost.filesystem
1313         (queryUserLyXDir): ditto
1314
1315         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1316         (getContentsOfAsciiFile): ditto
1317
1318         * lastfiles.C (readFile): rewrite to use boost.filesystem
1319
1320         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1321
1322         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1323         (loadLyXFile): ditto
1324
1325         * buffer.C (Buffer): adjust for destroydir
1326         (getLogName): rewrite to use boost.filesystem
1327         (setFileName): ditto
1328         (save): use fs::copy_file (from fs_extras)
1329
1330         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1331
1332         * LaTeX.C (run): rewrite to use boost.filesystem
1333         (scanAuxFiles): ditto
1334         (handleFoundFile): ditto
1335
1336 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1337
1338         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1339
1340         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1341
1342 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1343
1344         * lyxlayout.[Ch]: change some vars from float to double
1345
1346         * buffer.C (readFile): make a local var const
1347
1348         * Several files: use convert<> instead of atoi,strToXXX and friends
1349
1350 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1351
1352         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1353         holds the contents of packages.lst. New functions getAvailable
1354         and isAvailable to parse and check that list, resp.
1355
1356         * LyXAction.C:
1357         * lfuns.h:
1358         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1359
1360         * bufferparams.[Ch]: new param output_changes.
1361
1362         * Buffer.C: increase file format to 240.
1363         Use output_changes and isVailable.
1364
1365         * changes.[Ch]:
1366         * paragraph.C:
1367         * paragraph_pimpl.C: Use output_changes and isVailable.
1368
1369 2005-01-23  Angus Leeming  <leeming@lyx.org>
1370
1371         * output_latex.C: #include "insetbibitem.h", rather than
1372         forward declare function bibitemWidest.
1373
1374 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1375
1376         * lyx_main.C (init): make it compile on the Mac.
1377
1378 2005-01-20  Angus Leeming  <leeming@lyx.org>
1379
1380         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1381         (setLyXMisc): (char string literal) != (char string literal) is
1382         performing a comparison on the addresses. Convert one operand
1383         explicitly to string to guarantee expected behaviour.
1384         From MSVC warning.
1385
1386 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1387
1388         * buffer.C:
1389         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1390
1391         * output_plaintext.C: remove unneeded #include gzstream.h.
1392
1393 2005-01-20  Angus Leeming  <leeming@lyx.org>
1394
1395         * SpellBase.h: rename some of the elements of the Result enum.
1396
1397         * aspell_local.h:
1398         * ispell.h:
1399         * pspell.h:
1400         * aspell.C (check):
1401         * ispell.C (check):
1402         * pspell.C (check): ditto
1403
1404 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1405
1406         * buffer.C: add #include <fstream>.
1407
1408         * lyx_main.C (init): Compile fix.
1409
1410         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1411
1412 2005-01-20  Angus Leeming  <leeming@lyx.org>
1413
1414         * mover.h: change commentary to reflect the changed meaning of
1415         the $$s placeholder.
1416
1417 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1418
1419         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1420
1421         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1422
1423 2005-01-20  Angus Leeming  <leeming@lyx.org>
1424
1425         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1426         printing diagnostic data by not dereferecing an iterator past the
1427         end.
1428
1429 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1430
1431         * buffer.C (readHeader): use "&&" rather than "and".
1432
1433         * lyxserver.h (inPipeName, outPipeName): make these const.
1434
1435 2005-01-19  Angus Leeming  <leeming@lyx.org>
1436
1437         * lyx_main.C (error_handler, init): protect SIGHUP with
1438         #ifdef SIGHUP guards.
1439
1440 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1443
1444 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1445
1446         * text.C (setHeightOfRow): add a margin at the top and bottom of
1447         the document (bug 1761)
1448
1449 2005-01-17  Angus Leeming  <leeming@lyx.org>
1450
1451         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1452         with "python ". Workaround for a brain-dead Windows.
1453
1454 2005-01-16  Angus Leeming  <leeming@lyx.org>
1455
1456         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1457         for MacOSX and Windows to use prependEnvPath.
1458         Strip out the hard-coded block to add elements to the PATH for
1459         MacOSX and replace it with a call to prependEnvPath using the
1460         contents of LyXRC::path_prefix.
1461         (queryUserLyXDir): strip out the code to run reconfigure, instead
1462         returning a boolean indicating the necessity to do so.
1463         (reconfigureUserLyXDir): contains the code to reconfigure the
1464         user support directory. Is now called after the various LyXRC data
1465         files have been read.
1466
1467         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1468
1469 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1470
1471         * converter.[Ch] (convert): take a new parameter try_default. Use
1472         a default converter (imagemagick) if try_default is true.
1473
1474 2005-01-13  Angus Leeming  <leeming@lyx.org>
1475
1476         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1477         os::cygwin_path_fix.
1478         (write): output LyXRC::cygwin_path_fix as necessary.
1479
1480 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1481
1482         * lyxrc.h:
1483         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1484
1485 2005-01-12  Angus Leeming  <leeming@lyx.org>
1486
1487         * lyx_main.C (init): set the PATH variable to include the
1488         directory containing the LyX binary when running on Mac or Windows.
1489
1490 2005-01-12  Angus Leeming  <leeming@lyx.org>
1491
1492         * lyx_main.C (init): remove cruft that purports to set the locale
1493         dir. It doesn't and is not needed anyway.
1494
1495 2005-01-10  Angus Leeming  <leeming@lyx.org>
1496
1497         * Makefile.am: remove the lyx_main.C special casing.
1498
1499         * BufferView_pimpl.C:
1500         * bufferlist.C:
1501         * exporter.C:
1502         * lyx_cb.C:
1503         * lyx_main.C:
1504         * lyxfunc.C:
1505         * messages.C: use support/package.h to provide the paths to the
1506         various directories used by LyX.
1507
1508 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1509
1510         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1511         layout if pasting into an empty paragraph)
1512
1513 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1514
1515         * tex-accent.C: add <string>
1516
1517 2005-01-06  José Matos  <jamatos@lyx.org>
1518
1519         * ParagraphParameters.C (write): put every parameter in its own line.
1520         * paragraph.C (write): reduce number of consecutive empty lines exported.
1521         * buffer.C (LYX_FORMAT): increase file format to 239.
1522
1523 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1524
1525         * everywhere: change support/tostr.h -> support/convert.h
1526
1527         * tabular.C: make all write_attributes templates, tostr -> convert
1528
1529         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1530         (emptyTag): and -> &&, and fix type for ret from getChar
1531         (getFirstWord): fix type for ret from getChar
1532         (onlyText): and -> &&
1533         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1534         getChar
1535
1536         * toc.C (goTo, action):
1537         * text3.C (dispatch):
1538         * text.C (currentState):
1539         * tex-accent.C (DoAccent):
1540         * sgml.C:
1541         * lyxrc.C:
1542         * lyxfunc.C (menuNew):
1543         * lyxfinc.C (replace):
1544         * counters.C (laberItem):
1545         * bufferview_funcs.C (font2string):
1546         * bufferparams.C (writeFile):
1547         * buffer.C (readFile):
1548         * Spacing.C (set):
1549         * MenuBackend.C: tostr -> convert
1550
1551         * LaTeX.C (runMessage): fix format
1552         (scanAuxFiles): tostr -> convert
1553
1554         * BufferView_pimpl.C (savePosition): fix format
1555         (restorePosition): ditto
1556         (dispatch): ditto
1557
1558 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1559
1560         * Spacing.[Ch]: New method getValueAsString().
1561
1562         * Spacing.[Ch]:
1563         * bufferparams.C:
1564         * ParagraphParameters.C:
1565         * lyxlayout.C:
1566         * text.C:
1567         * text3.C: store/read spacing value as string.
1568
1569         * rowpainter.C: change float value (spacing_val) to double.
1570
1571         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1572         broken custom document spacing).
1573
1574 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1575
1576         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1577         namespace, also more use of temp references and const
1578
1579         * cursor.[Ch] (getStatus): move to lyxfunc.C
1580
1581         * bufferparams.C: reformat slightly
1582
1583         * bufferview_funcs.C (font2string): constify arg
1584
1585         * changes.C:
1586         * converter.C:
1587         * counters.C:
1588         * bufferlist.C:
1589         * buffer_funcs.C: (many funcs): constify arg on function
1590         definitions, also make more local vars const, also add ASSERTS on
1591         pointer args.
1592
1593         * buffer.C (LYX_FORMAT): put const in correct place
1594         (many funcs): constify arg on function definitions, also make
1595         more local vars const
1596
1597         * aspell_local.h: remove "struct" from typdef setup
1598
1599         * aspell.C (check): make word_ok const
1600         (nextMiss): simplify slightly
1601         (error): ditto
1602
1603 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1604
1605         * lyxrc.[Ch]: store all float values as strings.
1606         use int (not float) for lyxrc.dpi.
1607
1608 2005-01-04  Angus Leeming  <leeming@lyx.org>
1609
1610         * lyx_cb.C (Reconfigure):
1611         * lyx_main.C (queryUserLyXDir):
1612         to run the <system_lyxdir>/configure correctly on Windows, prefix
1613         the path to the script with "sh " when generating the string that
1614         is passed to system().
1615
1616 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1617
1618         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1619
1620 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1621
1622         * lyxlength.C (asLatexString): get rid of setprecision
1623
1624 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * text2.C (setLayout): remove unused variable endpit.
1627         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1628
1629         * paragraph.C (onlyText): remove unused variable style.
1630
1631         * cursor.C (bruteFind): remove unused variables beg and end.
1632
1633         * Makefile.am (dist_noinset_DATA): not needed anymore
1634
1635         * cheaders/*: remove.
1636
1637 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1638
1639         * text3.C: fix LFUN_MATH_MODE.
1640
1641 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1642
1643         * buffer_funcs.C (countWords): new function. Counts words between
1644         two iterators.
1645
1646         * BufferView_pimpl.C (getStatus, dispatch): handle
1647         LFUN_WORDS_COUNT.
1648
1649         * LyXAction.C (init):
1650         * lfuns.h: add LFUN_WORDS_COUNT.
1651
1652 2004-12-19  Angus Leeming  <leeming@lyx.org>
1653
1654         * buffer.C (save): s/slashify_path/internal_path/.
1655
1656 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1657
1658         * lyxfind.C (findChange): do not search for end of pars, because
1659         the change tracker cannot handle this (fixes bug 1719).
1660
1661 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1662
1663         * paragraph.[Ch] (autoBreakRows): remove
1664
1665         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1666
1667         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1668         avoid using the paragraph one
1669
1670         * text2.C (LyXText, insertStringAsLines): adjust
1671
1672 2004-12-16  Angus Leeming  <leeming@lyx.org>
1673
1674         * bufferlist.C:
1675         * lyx_main.C:
1676         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1677
1678 2004-12-14  Angus Leeming  <leeming@lyx.org>
1679
1680         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1681
1682         * bufferlist.C (emergencyWrite):
1683         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1684         GetEnvPath("HOME").
1685
1686 2004-12-14  Angus Leeming  <leeming@lyx.org>
1687
1688         * main.C: (main): no longer pass pointers to os::init.
1689
1690 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1691
1692         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1693         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1694
1695 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1696
1697         * lyxfunc.C:
1698         * text3.C: remove selection_possible global flag
1699
1700 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1701
1702         * text2.C (getSelectionSpan): remove
1703         (changeDepth, changeDepthAllowed): adjust
1704
1705 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1706
1707         * Makefile.am (BOOST_LIBS): use boost variables
1708
1709 2004-12-03  José Matos  <jamatos@lyx.org>
1710
1711         * buffer.C: format up to 238.
1712
1713 2004-12-03  José Matos  <jamatos@lyx.org>
1714
1715         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1716
1717 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * cursor.C (goUpDown): remove call to idxUpDown2
1720
1721 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1722
1723         * tabular.[Ch]: use size_t-like types for cell, row and column
1724         indices
1725
1726 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1727
1728         * lyxfunc.C (getStatus): do not lose previous information when
1729         calling BufferView::getStatus; do not set a default "Command
1730         disabled" message at the beginning, but just before returning.
1731
1732 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1733
1734         * cursor.h (getStatus): add better comment from src/cursor.C
1735
1736 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1737
1738         * text3.C (getStatus): return false when the lfun is not handled
1739
1740 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1741
1742         * broken_headers.h: remove
1743
1744         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1745
1746 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1747
1748         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1749         offset_ref accessors
1750
1751         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1752         top_y_, merge fitcursor with update
1753         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1754         coord scheme
1755         (metrics): introduce
1756         (workAreaDispatch): adapt to new coord scheme
1757         (redoCurrentBuffer): remove
1758
1759         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1760
1761         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1762         CurStatus enum.
1763
1764         * coordcache.[Ch]: add paragraph cache and helpers
1765
1766         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1767         adjust everywhere
1768
1769         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1770         (targetX, setTargetX): introduce
1771
1772         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1773         baseline -> ascent, as the rest of lyx
1774
1775         * lyxtext.h: remove redoParagraphs, updateParPositions,
1776         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1777         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1778         have ascent/descent (ascent is ascent of first par)
1779
1780         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1781         step of BufferView
1782
1783         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1784
1785         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1786
1787         * pariterator.C: fix infinite loop introduced in par->pit renaming
1788
1789         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1790         in insets and LyXText, draw two off-screen paragraphs using
1791         NullPainter, and adapt to new coord scheme
1792
1793         * text.C:
1794         * text2.C:
1795         * text3.C: adapt lfun handlers to the new coord scheme, which
1796         means: there's only guaranteed coord information for onscreen pars
1797         plus one above and one below. This implies that one can do search
1798         from y coordinates in the range [-1,workHeight]
1799
1800 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1801
1802         * rename a lot of InsetOld to InsetBase
1803
1804 2004-11-25  Angus Leeming  <leeming@lyx.org>
1805
1806         * BufferView_pimpl.C:
1807         * lyx_cb.C:
1808         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1809
1810 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1811
1812         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1813         call BufferView::getStatus if LCursor::getStatus did nothing
1814         (setStatusMessage, getStatusMessage): removed.
1815
1816         * FuncStatus.C (message): new methods. Used to provide an error
1817         message indicating why a command is disabled.
1818         (clear, |=, FuncStatus): update for message.
1819
1820 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1821
1822         * lyxfunc.C (dispatch): always call sendDispatchMessage
1823
1824 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * BufferView.C:
1827         * BufferView_pimpl.C:
1828         * CutAndPaste.C:
1829         * FontIterator.C:
1830         * buffer.C:
1831         * cursor.C:
1832         * cursor_slice.[Ch]:
1833         * dociterator.[Ch]:
1834         * lyxfind.C:
1835         * paragraph_funcs.C:
1836         * pariterator.C:
1837         * rowpainter.C:
1838         * text.C:
1839         * text2.C:
1840         * text3.C:
1841         * undo.C: par->pit renaming
1842
1843 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1844
1845         * tabular.C (cellstruct): use initialization, store a shared_ptr
1846         to insettext instead of the insettext directly, adjust to fit.
1847         (operator=):  new function
1848         (swap): new function
1849         (rowstruct): use initialization
1850         (columnstruct): use initialization
1851         (ltType): use initialization
1852
1853
1854         * lyxlength.h (swap): new function
1855
1856         * LColor.[Ch] (operator=): use the common semantics
1857
1858 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1859
1860         * lyxfind.C (findNextChange): update the bufferview after setting
1861         the selection.
1862
1863 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1864
1865         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1866         number of InsetOptArgs has already been inserted.
1867
1868         * output_latex.C (latexOptArgInsets): new method. This outputs all
1869         the optarg insets, up to the limit defined in the layout file.
1870         (optArgInset): removed
1871         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1872
1873 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1874
1875         * paragraph.C (isLetter): remove special spellchecker-related
1876         code; return true also for digits
1877         (isWord, isKomma): remove
1878
1879         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1880         * lyxfind.C (MatchString()): use isLetter instead of isWord
1881
1882 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1883
1884         * pariterator.h (operatir=): comment out un-implemented member
1885         function.
1886
1887         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1888         static cast.
1889
1890 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1891
1892         * lyxfont.h: include LColor.h to satisfy concept checks.
1893
1894 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1895
1896         * pariterator.h: add typdefs for value_type, difference_type,
1897         pointer and reference to satisfy concept checks. Also add default
1898         constructor for same reason.
1899
1900         * pariterator.C (operator++): add post-increment operator to
1901         satisfy concept checks.
1902
1903         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1904         checks.
1905
1906         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1907
1908         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1909         checks. Also rename base_type to BaseType to follow naming
1910         standard better.
1911
1912         * FloatList.h: include Floating.h to satisfy concept checks.
1913
1914 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1915
1916         * lyxfunc.C (getStatus): when the origin of the request is menu or
1917         toolbar, and the LyXView does not have focus, do as if there was
1918         no buffer (bug 1720)
1919
1920         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1921         FuncRequest to individual entries of LFUN_SEQUENCE
1922
1923 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1924
1925         * output_latex.C (TeXOnePar): override runparams.moving_arg
1926         according to the needprotect value of the current paragraph (bug
1927         1739)
1928
1929         * paragraph.C (simpleTeXOnePar): no need to override
1930         runparams.moving_args here
1931
1932 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1933
1934         * vspace.C: fix off-by-one-error, related to fix #1682
1935
1936 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1937
1938         * lengthcommon.C: a more general fix for bug 1682
1939
1940 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1941
1942         * text.C (backspace): fix crash
1943
1944 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1945
1946         * format.[Ch] (getFormatFromFile): new method
1947         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1948
1949 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1950
1951         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1952
1953 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * lyxfunc.C (dispatch): remove the verbose argument
1956         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1957         instead
1958
1959         * kbmap.C (defkey): set the origin of func to KEYBOARD
1960
1961         * MenuBackend.C (MenuItem):
1962         * ToolbarBackend.C (add): set the origin of func to UI
1963
1964         * funcrequest.[Ch]: add origin member, which indicates which part
1965         of LyX requests an action
1966
1967 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1968
1969         * converter.C (move): don't lie in the error message
1970         * converter.h (isReachable, move): document
1971
1972 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1973
1974         * buffer.C: remove unused using lyx::support::atoi
1975         * paragraph_funcs.C: ditto
1976
1977 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1978
1979         * bufferlist.C (exists): use bind and equal_to instead of
1980         compare_memfun
1981         (getBuffer): ditto
1982         * lyxtextclasslist.C (NumberOfClass): ditto
1983
1984         * cursor.C (insert): use for_each instead of explicit for loop
1985
1986         * bufferlist.C (getFileNames): use std::transform and
1987         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1988
1989         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1990         for loop
1991
1992         * buffer.C (changeLanguage): use for_each instead of explicit for
1993         loop
1994         (hasParWithID): implement using getParFromID
1995
1996         * LaTeXFeatures.C: ws change only
1997
1998         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1999         to cleanup a bit.
2000
2001         * BufferView_pimpl.C (trackChanges): use for_each instead of
2002         expilicit for loop
2003
2004 2004-11-04  André Pönitz  <poenitz@gmx.net>
2005
2006         * undo.h:
2007         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2008
2009         * dociterator.C (asDocIterator): use hard assert again.
2010
2011 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2012
2013         * lyxlength.C (asLatexString): rewrite so that it does not use
2014         snprintf anymore
2015
2016 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2017
2018         * text3.C (specialChar, dispatch): make sure cursor moves to the
2019         right after inserting an inset
2020
2021 2004-11-02  José Matos  <jamatos@lyx.org>
2022
2023         * output_docbook.C (docbook):
2024         * paragraph.C (getID):
2025         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2026         garantee that the output is always legal.
2027
2028         * tabular.C (docbook):
2029         * outputprams.[Ch]: remove mixed contents.
2030
2031 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2032
2033         * text2.C (setCounter): prevent endless loop
2034
2035 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2036
2037         * exporter.C (copyFile): use the mover instead of support::copy()
2038         * exporter.C (Export): pass format and latex name to copyFile()
2039         * exporter.h (addExternalFile): document
2040         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2041
2042 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2043
2044         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2045
2046 2004-10-30  José Matos  <jamatos@lyx.org>
2047
2048         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2049         text and no inset or font change. This allows to use CDATA
2050         sections just for the whole paragraph.
2051
2052 2004-10-30  José Matos  <jamatos@lyx.org>
2053
2054         * paragraph.C (getFirstWord): remove unused variable.
2055
2056 2004-10-30  José Matos  <jamatos@lyx.org>
2057
2058         * paragraph.C (getFirstWord): the content should always be escaped
2059         there.
2060         (simpleDocBookOnePar):
2061         * output_docbook.C (makeEnvironment): replace reference to CDATA
2062         to style pass_thru.
2063
2064 2004-10-30  José Matos  <jamatos@lyx.org>
2065
2066         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2067
2068 2004-10-30  José Matos  <jamatos@lyx.org>
2069
2070         * output_docbook.C (makeParagraphs):
2071         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2072         standard paragraph has only a given type of content drop the wrapper.
2073
2074 2004-10-29  José Matos  <jamatos@lyx.org>
2075
2076         * output_docbook.C (makeEnvironment):
2077         * sgml.C (openTag):
2078         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2079
2080 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2081
2082         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2083         (cleanID): sanitize any id.
2084
2085 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2086
2087         * buffer.C, lyxlex_pimpl.C:
2088         * lyxlex_pimpl.C (setFile):
2089         s/getExtFromContents/getFormatFromContents/
2090
2091 2004-10-28  José Matos  <jamatos@lyx.org>
2092
2093         * output_docbook.C (makeEnvironment): move id to broadest possible
2094         scope.
2095
2096         * sgml.C (openTag): apply substitution of <> for all attributes.
2097
2098 2004-10-28  José Matos  <jamatos@lyx.org>
2099
2100         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2101         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2102         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2103
2104         * sgml.[Ch]: new version for open and closeTag for paragraph and
2105         for strings. Now they handle the ids of paragraphs.
2106
2107 2004-10-26  Angus Leeming  <leeming@lyx.org>
2108
2109         * Makefile.am: add mover.[Ch].
2110
2111         * converter.C (convert, move): use the new Movers to move external
2112         files to the temp directory.
2113
2114         * lyx_main.C (init): ensure that the global system_movers data
2115         is initialised.
2116
2117         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2118         preferences file.
2119
2120         * mover.[Ch]: new files, defining a Mover as a utility to move an
2121         external file between directories and, if necessary, manipulate this
2122         file using a helper script.
2123
2124 2004-10-25  José Matos  <jamatos@lyx.org>
2125
2126         * output_docbook.C (makeCommand): merge two if's that tested the
2127         same condition.
2128
2129 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2130
2131         * sgml.C (escapeString): fix warning in a better way
2132
2133 2004-10-25  José Matos  <jamatos@lyx.org>
2134
2135         * sgml.C (escapeString): import the require boosts header file for
2136         tie, and avoid a signed unsigned comparison.
2137
2138 2004-10-25  José Matos  <jamatos@lyx.org>
2139
2140         * sgml.h: add #include <string>
2141
2142 2004-10-25  José Matos  <jamatos@lyx.org>
2143
2144         * sgml.[Ch] (escapeString): new function to escape all the string.
2145
2146 2004-10-24  José Matos  <jamatos@lyx.org>
2147
2148         * paragraph.[Ch] (getFirstWord): new function to get the first
2149         word. Useful for description.
2150         (simpleDocBookOnePar): remove depth argument, add another that
2151         says where to start the paragraph.
2152
2153         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2154         use the new functions to fix cleanly the support for descriptions.
2155
2156 2004-10-24  José Matos  <jamatos@lyx.org>
2157
2158         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2159         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2160         * output_linuxdoc.C (linuxdocParagraphs):
2161         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2162         add buffer as argument.
2163
2164 2004-10-24  José Matos  <jamatos@lyx.org>
2165
2166         * output_docbook.C (makeEnvironment, searchEnvironment): place
2167         CDATA inside paragraphs and fix scope for listitems.
2168
2169 2004-10-24  José Matos  <jamatos@lyx.org>
2170
2171         * output_docbook.C: remove using statement for stack.
2172
2173 2004-10-23  José Matos  <jamatos@lyx.org>
2174
2175         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2176         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2177         docbook. The new scheme is recursive and makes use of iterators, the
2178         same as latex export works.
2179         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2180         directly with the paragraph contents. This code was moved up to
2181         output_docbook.C (docbookParagraphs).
2182         * sgml.C (openTag, closeTag): removed unneeded newlines.
2183         (closeEnvTags) removed.
2184
2185 2004-10-23  André Pönitz  <poenitz@gmx.net>
2186
2187         * undo.C (textUndoOrRedo):
2188         * dociterator.C (asDocIterator): work around crash
2189
2190         * cursor.C (getStatus): replace ASSERT by more verbose error message
2191           and manual correction of the problem. Should increase stability
2192           while providing more sensible information.
2193
2194 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2195
2196         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2197
2198         * bufferlist.C (previous, next): new methods
2199
2200         * lfuns.h:
2201         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2202
2203 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2204
2205         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2206         entities to preamble.
2207
2208 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2209
2210         * messages.C (Pimpl): strip off translation context information
2211
2212 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2215         the cursor is correct (bug 1694)
2216
2217 2004-10-13  José Matos  <jamatos@lyx.org>
2218
2219         * output_docbook.C (docbookParagraphs): fix closing tags in the
2220         end of the document.
2221
2222 2004-10-09  José Matos  <jamatos@lyx.org>
2223
2224         * buffer.C: format up to 237.
2225         * bufferparams.C (write): use tostr to convert booleans to strings.
2226
2227 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2228
2229         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2230
2231 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2232
2233         * LaTeX.C: implement use of babel language in xindy.
2234
2235 2004-10-05  José Matos  <jamatos@lyx.org>
2236
2237         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2238         Add new translators to help reading and writing the lyx file.
2239
2240 2004-10-05  José Matos  <jamatos@lyx.org>
2241
2242         * ParagraphParameters.C (read):
2243         * text.C (readParToken): replace nexToken by more appropriate lex
2244         methods.
2245
2246 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2247
2248         * LaTeX.C (runMakeIndex):
2249         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2250         (usually 'makeindex') configurable.
2251
2252         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2253         with a variable rather than with a number.
2254
2255 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2256
2257         * output_latex.C (TeXOnePar): make sure font setting is the first
2258         thing that gets output (and the last at the end). Should fix bug
2259         1404.
2260
2261 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * pch.h: use proper signal include
2264
2265         * LaTeX.h: Use preferred calling of Boost.Signal
2266         * buffer.h: ditto
2267
2268 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2269
2270         * pch.h: dont include <boost/function/function0.hpp>
2271
2272         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2273
2274         * paragraph_pimpl.h: remove usage of ShareContainer
2275
2276         * paragraph_pimpl.C: remove initialization of ShareContainer.
2277
2278 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2279
2280         Fix bug #1666
2281
2282         * BufferView.C (putSelectionAt): change the semantics when
2283         backwards == true: now, this just swaps cursor and anchor wrt the
2284         forward case
2285
2286         * BufferView.h (putSelectionAt): add some documentation
2287
2288         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2289         make sure backwardChar is done at least once (to avoid getting
2290         stuck)
2291         (findNextChange): use putSelectionAt in the forward direction
2292         (operator()): use Paragraph::isWord
2293
2294 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2295
2296         * Spacing.C (set): c_str fix
2297
2298 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2299
2300         * lyx_cb.C (Reconfigure): quote the name of configure script in
2301         case it contains spaces
2302
2303 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2304
2305         * client: new dir
2306
2307         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2308         (BOOST_LIBS): use top_buildir when looking for the file
2309
2310 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * pch.h: do not use include boost/format.hpp, multiple symbols
2313                 will result (gcc bug)
2314
2315
2316 2004-08-23  José Matos  <jamatos@lyx.org>
2317
2318         * bufferparams.C (readToken): fix reading of the author field.
2319
2320 2004-08-20  José Matos  <jamatos@lyx.org>
2321
2322         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2323
2324 2004-08-20  José Matos  <jamatos@lyx.org>
2325
2326         * lyxlex.[Ch] (findToken): remove function.
2327
2328         * ParagraphParameters.C (findToken):
2329         * bufferparams.C (findToken): replace call for previous function
2330         with local copy. This local function has one more argument, the
2331         read string argument.
2332
2333 2004-08-16  José Matos  <jamatos@lyx.org>
2334
2335         * ParagraphParameters.C (write):
2336         * Spacing.C (writeFile):
2337         * bufferparams.C (writeLaTeX):
2338         * lyx_cb.C (Reconfigure):
2339         * paragraph.C (write):
2340         * tabular.C (write): remove unnecessary space at end of line.
2341
2342
2343 2004-08-16  José Matos  <jamatos@lyx.org>
2344
2345         * text.C (readParagraph): remove debug message.
2346
2347 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2348
2349         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2350         crash
2351
2352         * output_plaintext.C (asciiParagraph): set depth correctly
2353
2354         * outputparams.h: add member depth
2355
2356         * paragraph_funcs.C (ownerPar): remove.
2357
2358         * text2.C (setCounter): remove first_pit; comment out some
2359         non-working code that uses ownerPar
2360
2361         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2362         uses ownerPar
2363
2364 2004-08-16  José Matos  <jamatos@lyx.org>
2365
2366         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2367         For the same level of importance use the same chanel to report problems.
2368         (read): add code to deal with \begin_body and \end_body.
2369
2370
2371 2004-08-15  José Matos  <jamatos@lyx.org>
2372
2373         * lyxlex.C (getString): fix comment, buffer::readBody is now
2374         buffer:readDocument.
2375
2376         * tex-strings.C (string_papersize): Default -> default,
2377         Custom -> custom, for consistency with other options.
2378
2379 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * pch.h: new file
2382
2383         * Makefile.am: support pch
2384
2385 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2386
2387         * text.C (readParToken): remove the static LyXFont variable and
2388         pass it as a parameter instead. This fixes a nasty bug where an
2389         inset will be inserted with a bad font in some situations
2390         (readParagraph): adapt
2391
2392         * text2.C (setCounter): reduce number of calls to pars_[pit]
2393
2394         * text.C (singleWidth): add an assert, fix a test
2395
2396         * rowpainter.C (paintText): reduce number of calls to singleWidth
2397
2398         * paragraph.C (isHfill):
2399         (isNewline): ws only
2400
2401 2004-08-14  André Pönitz  <poenitz@gmx.net>
2402
2403         * text.C:
2404         * text2.C:
2405         * rowpainter.C:
2406         * lyxtext.h (several functions): use a Paragraph & argument
2407         instead of par_type
2408
2409 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2410
2411         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2412
2413         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2414
2415         * text.C (singleWidth): remove useless test
2416
2417 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2418
2419         * tabular.h: remove bogus comments
2420
2421         * tabular.C (getDescentOfRow):
2422         (isPartOfMultiColumn): add assertions
2423
2424         * lyxlength.C (inPixels): remove #warning
2425
2426 2004-08-14  André Pönitz  <poenitz@gmx.net>
2427
2428         * paragraph.h: inline getChar()
2429
2430         * BufferView.h: remove unused declarations
2431
2432 2004-08-14  José Matos  <jamatos@lyx.org>
2433
2434         * Buffer.[Ch] (readDocument): new name for old readBody.
2435         * Buffer.C: new file format, new keywords: \begin_document,
2436         \begin_header, \begin_body, \end_body.
2437
2438         * bufferparams.C (readToken): replace all calls to lex.nextToken
2439         by lex.next(). Do the same to eatLine except where really needed.
2440
2441         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2442         line when writing to the lyx file.
2443
2444         * output_plaintext.C (asciiParagraph): fix Bibliography style
2445         handling.
2446
2447         * text.C (read): fix end of file handling.
2448
2449 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2450
2451         * MenuBackend.C (Menu::operator[]): new method to access
2452         individual menu items
2453         (Menu::hasFunc): new method. search for an item that corresponds
2454         to a given func
2455         (MenuBackend::specialMenu): new method
2456         (MenuBackend::expand): if a special menu has been set, skip
2457         entries whose func() appears in this menu
2458
2459 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2460
2461         * text3.C: use Debug::DEBUG a bit more
2462
2463         * text.C (leftMargin): try to simplify a tiny bit change var x to
2464         l_margin. Dont output the wide margins always.
2465         (rightMargin): no margin in inner texts
2466
2467         * rowpainter.h (nestMargin): new func
2468         (changebarMargin): new func
2469         (rightMargin): new func
2470
2471         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2472         now functions.
2473         (paintLast): ditto
2474
2475         * factory.C (createInset): modify setDrawFrame
2476
2477         * cursor.C: use Debug::DEBUG a bit more
2478
2479 2004-08-14  André Pönitz  <poenitz@gmx.net>
2480
2481         * coordcache.[Ch]:
2482         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2483         cache for all insets in (at least partially) visible (top-level)
2484         paragraphs.
2485
2486         * BufferView_pimpl.C: reset external coord cache before every update.
2487         This means the coord cache only contains valid entries.
2488
2489 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2490
2491         bug 1096
2492         * BufferView_pimpl.C (getInsetByCode): move function out of class
2493         and change in to a template in anon namespace. Also fix to do what
2494         suits us better.
2495
2496 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2497
2498         bug 1305
2499         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2500         of char
2501         (breakParagraph): rename par to par_offset and use a local
2502         reference. Add code to keep the language over a rebreak.
2503         (breakParagraphConservative): rename par to par_offset, use a
2504         local reference
2505         (mergeParagraph): ditto
2506         (outerHook): ditto
2507         (isFirstInSequence): ditto
2508         (outerFont): rename pit to par_offset
2509
2510         * paragraph.C: ws change
2511         * paragraph.h: ditto
2512         * text3.C: ditto
2513         * text.C: ditto
2514
2515 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2518         treatment for ']'
2519
2520         * paragraph.C (simpleTeXOnePar): when we have a \item with
2521         optional argument, enclose the argument with curly brackets (in
2522         case it contains a closing square bracket)
2523
2524         * text2.C (editXY):
2525         * text2.C (editXY):
2526         * text3.C (checkInsetHit): constify
2527
2528 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2529
2530         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2531         documents (bug 1629)
2532
2533 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2534
2535         Fix toggling of collapsable insets with the mouse (bug 1558)
2536
2537         * lyxfunc.C (dispatch): adapt to LCursor changes
2538
2539         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2540         make sure that dispatch is not invoked twice
2541
2542         * cursor.C (needsUpdate): new method
2543         (dispatch): return void
2544         (result): new method, to access the DispatchResult of the cursor.
2545
2546 2004-08-13  José Matos  <jamatos@lyx.org>
2547
2548         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2549
2550 2004-08-13  André Pönitz  <poenitz@gmx.net>
2551
2552         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2553
2554         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2555           multiple cells
2556
2557 2004-08-12  André Pönitz  <poenitz@gmx.net>
2558
2559         * text3.C: take out the 'cursor right' form insertInset and only
2560         do it in those places when it is really needed. Fixes crash on
2561         C-m...
2562
2563 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2564
2565         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2566
2567         * BufferView_pimpl.C (setBuffer): initialize the current font of
2568         the underlying LyXText
2569
2570 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2571
2572         * kbsequence.C (print): use UI native formatting for menu
2573         shortcuts
2574
2575         * text.C (insertChar): call Paragraph::insertChar with a font
2576         argument (cosmetic)
2577
2578         * paragraph.C (insertInset, insertChar): the version that takes a
2579         LyXFont argument is now a wrapper around the other one (the
2580         opposite used to be true).
2581
2582         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2583         argument. Font setting is done in Paragraph now.
2584
2585 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2586
2587         * outputparams.h: add new members intitle and lang.
2588
2589         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2590         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2591
2592 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2593
2594         * text3.C (dispatch): remove special handling of button 4 and 5,
2595         it is now taken care of in the frontend code.
2596
2597 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2598
2599         * Spacing.h: add <string> (STLPort compile fix)
2600
2601 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2602
2603         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2604
2605 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2606
2607         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2608         to bool.
2609
2610         * converter.C (showMessage): inherit from unary_function, make
2611         operator() const.
2612
2613         * buffer.C (writeFile): initialize retval
2614
2615         * InsetList.h: rename private variable list to list_
2616         * InsetList.[Ch]: adjust accordingly.
2617
2618 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2619
2620         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2621         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2622         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2623         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2624         * ParagraphParameters.C, LaTeXFeatures.C: replace
2625         "support/std_sstream.h" with <sstream>
2626
2627 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2630         * lyxsocket.C (LyXServerSocket): ditto
2631         (serverCallback): ditto
2632
2633 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2634
2635         * LaTeXFeatures.C: check release date when loading jurabib.
2636
2637 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * lyxserver.C (startPipe): call register_socket_callback
2640         (endPipe): call unregister_socket_callback
2641
2642 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2643
2644         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2645         (LyXServerSocket): register the callback
2646         (LyXServerSocket): unregister the callback
2647         (fd): delete function
2648         (serverCallback): improve error checking and setup the callbacks.
2649         (dataCallback): change arg to fd.
2650         (writeln): new func (copied fro the client socket) used for server
2651         write to client.
2652         (LyXDataSocket): simplify
2653         (~LyXDataSocket): close ann unregiser callback
2654         (server): delete function
2655         (fd): delete function
2656         (readln): small changes, improve some std::string usage
2657         (writeln): constify a bit
2658
2659 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2660
2661         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2662         Qt frontend
2663
2664 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2667         after it has been populated
2668
2669 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2670
2671         * text2.C (insertInset): move cursor when inserting inset.
2672
2673 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         * kbmap.C (findbindings): a couple of new methods. returns a
2676         container of kb_sequence objects. The real work is done by the
2677         private recursive version
2678         (printbindings): uses findbindings to print out a bracketed list
2679         of bindings (renamed from findbinding).
2680
2681         * MenuBackend.C (binding): use kb_keymap::findbindings
2682
2683         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2684
2685 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2686
2687         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2688
2689 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2690
2691         * paragraph.C (isWord): return true on insets that report
2692         isLetter().
2693
2694         * text.C (getWord): use Paragraph::isWord to decide what is in a
2695         word and what is not; fix bug 1609.
2696
2697 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2698
2699         * tex-strings.C: add "none" to string_paperpackages[], fixes
2700         off-by-one-error in the paperpackage selection.
2701
2702         * lyxlex.[Ch]:
2703         * tex-strings.[Ch]: char const * string[n]
2704         -> char const * const string[]
2705
2706 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2707
2708         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2709         command, return early.
2710
2711 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2712
2713         * debug.h: add DEBUG to enum and fix size of ANY.
2714
2715         * debug.C: add support for Debug::DEBUG
2716         (showTags): cast errorTags.level to unsigned int
2717
2718         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2719         (redoCurrentBuffer): ditto
2720         (updateScrollbar): ditto
2721         * cursor.C (dispatch): ditto
2722         * text2.C (setLayout): ditto
2723         (setFont): ditto
2724         (updateCounters): ditto
2725         (editXY): ditto
2726         (deleteEmptyParagraphMechanism): ditto
2727
2728 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2729
2730         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2731         annotations to cleanup the Makefile slightly.
2732
2733 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2734
2735         * lyxrc.C: do not set user_email to a default value but use empty
2736         instead. The entry used to be translated, which does not work
2737         since at the point where lyxrc is constructed there is no
2738         translation service available
2739
2740         * messages.C (getLocaleDir): remove and use directly
2741         lyx_localedir() instead
2742
2743 2004-06-02  Angus Leeming  <leeming@lyx.org>
2744
2745         Fix crash caused by dereferencing null pointer 'exportdata' in
2746         OutputParams by creating a new ExportData variable on the heap,
2747         storing it in a boost::shared_ptr.
2748         The crash was triggered when generating an Instant Preview
2749         of an external inset.
2750
2751         * Makefile.am: add outputparams.C
2752
2753         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2754         (c-tor): allocate memory to it.
2755
2756         * exporter.C (c-tor): associated changes.
2757
2758 2004-06-01  Angus Leeming  <leeming@lyx.org>
2759
2760         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2761         contains data before calling isInset(0). (Bug 1513.)
2762
2763 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2764
2765         * exporter.C (checkOverwrite): new method
2766         * exporter.C (copyFile): new method
2767         * exporter.C (Export): copy referenced files to the document dir
2768         * exporter.[Ch]: new class ExportedFile
2769         * exporter.[Ch]: new class ExportData. Contains currently the
2770         names of referenced external files
2771         * outputparams.h: add exportdata member.
2772
2773 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2776         version.C-tmp
2777
2778 2004-05-19  Angus Leeming  <leeming@lyx.org>
2779
2780         * LaTeXFeatures.C:
2781         * ToolbarBackend.C:
2782         * bufferparams.C:
2783         * lyxfunc.C: small changes due to the introduction of namespace
2784         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2785
2786 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2787
2788         * text3.C (dispatch): supress update when only moving the cursor
2789         * cursor.C (selHandle): remove commented code
2790
2791 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2792
2793         * paragraph.C (startTeXParParams): correct column count
2794         * CutAndPaste.C (pasteSelection): remove const_cast
2795         * output_docbook.C (docbookParagraphs): remove const_cast
2796         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2797         const_cast and return ParagraphList::const_iterator
2798         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2799         * output_plaintext.C (writeFileAscii): remove const_cast
2800         * paragraph.[Ch] (simpleTeXOnePar): make const
2801         * paragraph_funcs.C (outerPar): use const iterators
2802         * paragraph_pimpl.C (validate): use const iterators
2803         * text.C (setHeightOfRow): use const iterators
2804
2805 2004-05-17  Angus Leeming  <leeming@lyx.org>
2806
2807         * lfuns.h:
2808         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2809
2810         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2811         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2812         if the citation engine has changed.
2813
2814 2004-05-14  José Matos  <jamatos@lyx.org>
2815
2816         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2817         if the textclass does not provide it. Have it different for sgml and
2818         xml.
2819         support the language of document.
2820         * output_docbook.C (docbookParagraphs):
2821         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2822         first anchor as the id of the paragraph, remove special case code.
2823         * sgml.C (escapeChar): escape only < & >.
2824
2825 2004-05-14  Angus Leeming  <leeming@lyx.org>
2826
2827         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2828         dependencies on src/frontends/controllers/biblio.h. Define a
2829         CiteEngine_enum wrapper class to enable the enum to be forward
2830         declared.
2831
2832 2004-05-12  Angus Leeming  <leeming@lyx.org>
2833
2834         * buffer.C: up LYX_FORMAT to 234.
2835         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2836         use_numerical_citations with a single biblio::CiteEngine cite_engine
2837         variable.
2838         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2839
2840 2004-05-13  José Matos  <jamatos@lyx.org>
2841
2842         * converter.h:
2843         * converter.C (Converter, readFlags): add xml member.
2844         * outputparams.h: add XML flavor.
2845         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2846
2847 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2848
2849         * lyxfunc.C (dispatch):
2850         (getStatus): fix handling of LFUN_SEQUENCE
2851
2852 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2853
2854         * debug.C (showLevel): do not forget the end-of-line marker
2855
2856 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2857
2858         * kbmap.C (read): do not stop parsing a bind file when an error
2859         occurs (bug 1575)
2860
2861 2004-04-29  Angus Leeming  <leeming@lyx.org>
2862
2863         * cursor.C:
2864         * factory.C:
2865         * pariterator.C:
2866         * text2.C: wrap a bunch of #warning statements
2867         inside #ifdef WITH_WARNINGS blocks.
2868
2869 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2870
2871         * buffer.C: increment format to 233.
2872
2873 2004-04-28  Angus Leeming  <leeming@lyx.org>
2874
2875         * BufferView_pimpl.C:
2876         * lyxfunc.C:
2877         * text3.C:
2878         s/updateToolbar()/updateToolbars()/
2879         s/Toolbar.h/Toolbars.h/
2880
2881 2004-04-28  Angus Leeming  <leeming@lyx.org>
2882
2883         * BufferView.[Ch] (c-tor):
2884         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2885         No longer passes these data to the WorkArea generator.
2886
2887 2004-04-28  Angus Leeming  <leeming@lyx.org>
2888
2889         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2890
2891 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2892
2893         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2894
2895 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2896
2897         * output_latex.C (TeXEnvironment): make sure that there is a line
2898         break before \end{foo} for the last paragraph of a document
2899         (TeXOnePar): if the paragraph is at the end of the document (or
2900         inset) and the language has to be reset, then make sure that the
2901         line break is _before_ the language command, not after (fixes bug
2902         1225); also make sure that the language reset command is the first
2903         thing after the paragraph (to ensure proper nesting of
2904         environments and thus fix bug 1404)
2905
2906 2004-04-21  John Levon  <levon@movementarian.org>
2907
2908         * ToolbarBackend.h:
2909         * ToolbarBackend.C: make "name" be a programmatic name
2910         and a gui_name field.
2911
2912         * lyxfunc.C: display the minibuffer on M-x
2913
2914 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2915
2916         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2917         (bug 1526)
2918
2919 2004-04-19  Angus Leeming  <leeming@lyx.org>
2920
2921         * BufferView_pimpl.C (setBuffer): changed preview interface.
2922
2923         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2924         possible values.
2925
2926 2004-04-19  John Levon  <levon@movementarian.org>
2927
2928         * BufferView_pimpl.C:
2929         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2930
2931 2004-04-05  Angus Leeming  <leeming@lyx.org>
2932
2933         * text.C (redoParagraphs): add call to updateCounters(), thereby
2934         fixing the missing "Figure #:" label from the caption of a
2935         figure float.
2936
2937 2004-04-13  Angus Leeming  <leeming@lyx.org>
2938
2939         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2940         cursor is clicked out of an inset.
2941
2942 2004-04-13  Angus Leeming  <leeming@lyx.org>
2943
2944         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2945         than an InsetOld one.
2946
2947 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2948
2949         * format.[Ch]: add editor to Format
2950         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2951         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2952
2953 2004-04-08  André Pönitz  <poenitz@gmx.net>
2954
2955         * metricsinfo.h: remove PainterInfo::width member
2956
2957 2004-04-08  Angus Leeming  <leeming@lyx.org>
2958
2959         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2960         "\providecommand" rather than "\newcommand", thereby preventing
2961         clashes with packages that define "\boldsymbol" themselves.
2962         Eg, beamer.
2963
2964 2004-04-08  Angus Leeming  <leeming@lyx.org>
2965
2966         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2967         thereby squashing an unnecessary warning.
2968
2969 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2970
2971         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2972         setBuffer()
2973
2974 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2975
2976         * BufferView.C (setCursor): call redoParagraph (some insets could
2977         have been opened)
2978         (putSelectionAt): remove the 'double update' trick
2979
2980         * BufferView_pimpl.C (fitCursor): call refreshPar
2981         (workAreaDispatch): remove an uneeded update call
2982         (dispatch): remove some manual update calls
2983
2984         * cursor.[Ch]: remove cached_y_, updatePos
2985         (selHandle): set noUpdate when appropriate
2986
2987         * lyxfunc.C (dispatch): track if we need an update
2988
2989         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2990
2991         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2992         (paintSelection): cheap optimization, do not call cursorX when not
2993         needed
2994         (paintPars): change signature
2995         (refreshPar): add
2996         (paintText): adjust
2997         (paintTextInset): adjust
2998
2999         * text.C: adjust
3000
3001 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3002
3003         * lengthcommon.C: compilation fix: remove explicit array size from
3004         unit_name[] and friends
3005
3006 2004-04-05  Angus Leeming  <leeming@lyx.org>
3007
3008         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3009
3010         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3011         present only for the preferences dialog.
3012         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3013
3014 2004-04-05  Angus Leeming  <leeming@lyx.org>
3015
3016         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3017         to enable the frontends to export changes to lyxrc correctly.
3018
3019         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3020
3021 2004-04-07  André Pönitz  <poenitz@gmx.net>
3022
3023         * cursor.[Ch] (selClear, adjust): remove math
3024
3025         * cursor_slice.C: more agressive assert
3026
3027         * lyxfunc.C:
3028         * BufferView_pimpl.C: rework mouse event dispatch
3029
3030         * dociterator.C:
3031         * paragraph.C:
3032         * text2.C:
3033         * text3.C: adjust
3034
3035 2004-04-05  André Pönitz  <poenitz@gmx.net>
3036
3037         * cursor.[Ch] (valign, halign...): remove unneeded functions
3038
3039 2004-04-05  Angus Leeming  <leeming@lyx.org>
3040
3041         * lyxlength.[Ch] (unit_name et al.): const-correct.
3042
3043 2004-04-05  Angus Leeming  <leeming@lyx.org>
3044
3045         * BufferView_pimpl.C:
3046         * buffer.C:
3047         * counters.C:
3048         * cursor.C:
3049         * lyxfunc.C
3050         * paragraph.C:
3051         * pariterator.C:
3052         * text.C:
3053         * text2.C:
3054         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3055
3056 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3057
3058         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3059
3060 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3061
3062         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3063         * BufferView_pimpl.[Ch] (getStatus)
3064         * BufferView.[Ch] (getStatus): add
3065         * lyxfunc.C (getStatus): move lfuns handled in
3066         BufferView::dispatch to te function above
3067         * Cursor.C (setSelection): set selection() = true
3068
3069 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3070
3071         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3072
3073 2004-03-31  Angus Leeming  <leeming@lyx.org>
3074
3075         * lyxfunc.C (dispatch): Fall through to the generic
3076         Dialogs::show("preamble").
3077
3078 2004-03-31  Angus Leeming  <leeming@lyx.org>
3079
3080         * lyxfunc.C (dispatch): Fall through to the generic
3081         Dialogs::show("spellchecker").
3082
3083 2004-03-31  Angus Leeming  <leeming@lyx.org>
3084
3085         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3086         preferences dialog.
3087
3088 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3089
3090         * BufferView.C
3091         * cursor.[Ch]
3092         * dociterator.[Ch]:
3093         * insetiterator.[Ch]:
3094         * lyxfind.C:
3095         * lyxfunc.C:
3096         * pariterator.[Ch]:
3097         * text2.C:
3098         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3099
3100 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3101
3102         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3103         insets where we are putting the cursor.
3104
3105 2004-03-31  Angus Leeming  <leeming@lyx.org>
3106
3107         * lfuns.h:
3108         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3109
3110         * lyxrc.[Ch] (read, write): overloaded member functions taking
3111         a std::[io]stream arguments.
3112
3113         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3114
3115 2004-03-31  Angus Leeming  <leeming@lyx.org>
3116
3117         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3118         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3119
3120         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3121         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3122
3123 2004-03-31  Angus Leeming  <leeming@lyx.org>
3124
3125         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3126         the LFUN_ALL_INSETS_TOGGLE code.
3127
3128 2004-03-30  Angus Leeming  <leeming@lyx.org>
3129
3130         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3131         has died. Fall through to the generic Dialogs::show("document").
3132
3133 2004-03-30  Angus Leeming  <leeming@lyx.org>
3134
3135         * lfuns.h:
3136         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3137         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3138
3139         * lyxfunc.C (getStatus, dispatch): define the actions for these
3140         lfuns. Little more than a cut and pste job from ControlDocument.C
3141
3142         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3143
3144 2004-03-30  Angus Leeming  <leeming@lyx.org>
3145
3146         * lfuns.h:
3147         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3148         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3149
3150         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3151         open/closed state of ollapsable insets. Usage:
3152
3153         all-inset-toggle <state> <name>, where
3154         <state> == "open" || "closed" || "toggle" and
3155         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3156
3157         * lyxtext.h, text2.C (toggleInset): removed.
3158
3159         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3160         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3161         now passes LFUN_INSET_TOGGLE to the found inset.
3162
3163         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3164         is now invoked as "all-insets-toggle toggle branch".
3165
3166 2004-03-30  Angus Leeming  <leeming@lyx.org>
3167
3168         * dociterator.C:
3169         * insetiterator.C:
3170         * pariterator.[Ch]: added/corrected header blurb.
3171
3172 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3173
3174         * dociterator.[Ch]: add an inset_ member
3175         (backwardPos): implemented
3176         (backwardPos, forwardPos): use inset_ when the stack is empty.
3177         (doc_iterator_begin, doc_iterator_end): implemented
3178         * pariterator.[Ch]: adjust, add begin, end
3179         * insetiterator.[Ch]: adjust, add begin, end
3180         * cursor.C:
3181         * document.C:
3182         * BufferView.C:
3183         * BufferView_pimpl.C:
3184         * CutAndPaste.C: adjust
3185
3186 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3187
3188         * buffer.C: increment file format to 232.
3189         * LaTeXFeatures.C: add bibtopic package.
3190         * bufferparams.[Ch]: param \use_bibtopic.
3191
3192         * lyxrc.[Ch]: add lyxrc bibtex_command
3193         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3194
3195         * buffer.C: increment file format to 231.
3196
3197 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3198
3199         * dociterator.C: implement forwardPar
3200         * iterators.[Ch]: remove, replaced by
3201         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3202         * BufferView.C:
3203         * BufferView_pimpl.C:
3204         * CutAndPaste.C:
3205         * buffer.C:
3206         * bufferview_funcs.C:
3207         * cursor.C:
3208         * lyxfind.C
3209         * lyxfunc.C
3210         * paragraph_funcs.C
3211         * toc.C:
3212         * Makefile.am: adjust
3213
3214 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3215
3216         * CutAndPaste.C (pasteSelection): fix 2 crashes
3217         (eraseSelection): fix a crash
3218         * paragraph_funcs.C: remove a warning
3219
3220 2004-03-28  Angus Leeming  <leeming@lyx.org>
3221
3222         * lfuns.h:
3223         * LyXAction.C (init): new LFUN_PRINT.
3224
3225         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3226
3227 2004-03-27  Angus Leeming  <leeming@lyx.org>
3228
3229         * lfuns.h:
3230         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3231
3232         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3233
3234 2004-03-27  Angus Leeming  <leeming@lyx.org>
3235
3236         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3237         insetlist always contains non-null pointers to insets.
3238
3239 2004-03-26  Angus Leeming  <leeming@lyx.org>
3240
3241         * src/BufferView_pimpl.C:
3242         * src/CutAndPaste.C:
3243         * src/buffer.C:
3244         * src/iterators.C:
3245         * src/output_plaintext.C:
3246         * src/outputparams.h:
3247         * src/paragraph_funcs.C:
3248         * src/rowpainter.C:
3249         * src/text.C:
3250         * src/text2.C:
3251         * src/frontends/controllers/ControlErrorList.C:
3252         * src/frontends/gtk/FileDialogPrivate.C:
3253         * src/frontends/gtk/GPainter.C:
3254         * src/frontends/gtk/GToolbar.C:
3255         * src/frontends/qt2/QRef.C:
3256         * src/mathed/math_scriptinset.C: squash compiler warnings.
3257
3258 2004-03-26  Angus Leeming  <leeming@lyx.org>
3259
3260         * ispell.C (LaunchIspell::start):
3261         * lyx_cb.C (AutoSaveBuffer::start):
3262         invoke run(DontWait) rather than runNonBlocking().
3263
3264 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3265
3266         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3267
3268 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3269
3270         * kbsequence.C (print): adjust
3271
3272         * kbmap.C (printKeySym): rename and change signature
3273         (printKey): use LyXKeySym::print()
3274
3275 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3276
3277         * undo.C: add using std::advance to compile for stlport
3278
3279 2004-03-24  Angus Leeming  <leeming@lyx.org>
3280
3281         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3282         it leads to a crash when no buffer is present.
3283
3284 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3285             Martin Vermeer  <martin.vermeer@hut.fi>
3286
3287         * lyxfunc.C (dispatch):
3288         * bufferparams.C (readToken): use the new LColor::setColor
3289
3290         * LColor.[Ch] (setColor): new version that takes two strings as
3291         argument and creates a new color entry if necessary
3292
3293 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3294
3295         * buffer.C (makeLaTeXFile): if the main latex file that is
3296         processed is usually a subdocument of some master, then pretend
3297         for a while that it is actually the master
3298
3299 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3300
3301         * buffer.C (getLabelList):
3302         (getBibkeyList): use getMasterBuffer()
3303         (getMasterBuffer): new method. Returns the main document in the
3304         case where one is using included documents.
3305
3306 2004-03-25  André Pönitz  <poenitz@gmx.net>
3307
3308         * Makefile.am:
3309         * iterators.[Ch]:
3310         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3311
3312         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3313
3314         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3315         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3316
3317         * ParameterStruct.h: merge with ParagraphParameters
3318
3319         * lyxtext.h: remove LyXText::parOffset() and getPar()
3320
3321         * text3.C: Remove all 'manual' update calls. We do now one per user
3322         interaction which is completely sufficient.
3323
3324         * Bidi.C:
3325         * BufferView.[Ch]:
3326         * BufferView_pimpl.C:
3327         * FontIterator.[Ch]:
3328         * MenuBackend.C:
3329         * ParagraphParameters.[Ch]:
3330         * buffer.C:
3331         * buffer.h:
3332         * bufferlist.C:
3333         * cursor.[Ch]:
3334         * cursor_slice.[Ch]:
3335         * dociterator.[Ch]:
3336         * errorlist.[Ch]:
3337         * factory.C:
3338         * lfuns.h:
3339         * lyxfind.C:
3340         * lyxfunc.C:
3341         * output_docbook.[Ch]:
3342         * output_latex.[Ch]:
3343         * output_linuxdoc.[Ch]:
3344         * output_plaintext.[Ch]:
3345         * paragraph.[Ch]:
3346         * paragraph_funcs.[Ch]:
3347         * paragraph_pimpl.[Ch]:
3348         * rowpainter.C:
3349         * tabular.[Ch]:
3350         * text.C:
3351         * text2.C:
3352         * toc.C:
3353         * undo.[Ch]: adjust
3354
3355         * frontends/controllers/ControlDocument.C:
3356         * frontends/controllers/ControlErrorList.C:
3357         * frontends/controllers/ControlSpellchecker.C:
3358         * insets/inset.C:
3359         * insets/inset.h:
3360         * insets/insetbase.h:
3361         * insets/insetbibitem.C:
3362         * insets/insetbox.C:
3363         * insets/insetbranch.C:
3364         * insets/insetcaption.C:
3365         * insets/insetcharstyle.C:
3366         * insets/insetcharstyle.h:
3367         * insets/insetcollapsable.C:
3368         * insets/insetcollapsable.h:
3369         * insets/insetert.C:
3370         * insets/insetfloat.C:
3371         * insets/insetfoot.C:
3372         * insets/insetmarginal.C:
3373         * insets/insetnote.C:
3374         * insets/insetoptarg.C:
3375         * insets/insettabular.C:
3376         * insets/insettext.C:
3377         * insets/insettext.h:
3378         * insets/insetwrap.C:
3379         * mathed/math_mboxinset.C:
3380         * mathed/math_nestinset.C:
3381         * mathed/math_scriptinset.C:
3382         * mathed/math_scriptinset.h:
3383         * support/types.h:
3384
3385 2004-03-24  Angus Leeming  <leeming@lyx.org>
3386
3387         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3388         deal with any child processes that have finished but are waiting to
3389         communicate this fact to the rest of LyX.
3390
3391 2004-03-24  Angus Leeming  <leeming@lyx.org>
3392
3393         64-bit compile fixes.
3394
3395         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3396         (c-tor): pass lyx::pos_types rather than ints.
3397
3398         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3399         lyx::pos_type.
3400
3401         * text.C (Delete): compile fix.
3402         (getPar): ensure that function declaration is the same as that in
3403         the header file.
3404
3405 2004-03-23  Angus Leeming  <leeming@lyx.org>
3406
3407         * ispell.C (LaunchIspell):
3408         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3409         a boost::shred_ptr rather than a std::auto_ptr.
3410
3411 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3412
3413         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3414         handle LFUN_FILE_INSERT_*
3415
3416         * lyxrc.C (setDefaults, getDescription, output, read):
3417         * lyxrc.h: remove ps_command
3418
3419 2004-03-22  Angus Leeming  <leeming@lyx.org>
3420
3421         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3422         Ensure that error_handler is processed once only and that all data
3423         is saved before attempting to output any warning messages.
3424
3425         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3426
3427 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3428
3429         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3430
3431 2004-03-19  André Pönitz  <poenitz@gmx.net>
3432
3433         * cursor.[Ch] (reset): take main text inset as argument
3434
3435         * BufferView: adjust
3436         * BufferView_pimpl.C: adjust
3437
3438         * paragraph.[Ch]: fix completely broken operator=()
3439
3440 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3441
3442         * LColor.C (getFromLyXName): make sure that the color name is used
3443         as lowercase.
3444
3445 2004-03-17  Angus Leeming  <leeming@lyx.org>
3446
3447         * lfuns.h:
3448         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3449
3450         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3451         dialog and to kill a forked process.
3452
3453 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3454
3455         * text2.C (setCursorFromCoordinates): fix font problem
3456
3457 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3458
3459         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3460         bogus "rebuild cursor" code
3461
3462 2004-03-11  André Pönitz  <poenitz@gmx.net>
3463
3464         * buffer.[Ch]: use InsetText instead of LyXText as container for
3465         the main lyx text.
3466
3467         * dociterator.[Ch]: drop the BufferView * member which is not needed
3468         anymore after the change to buffer.C
3469
3470         * paragraph_funcs.C:
3471         * text.C:
3472         * text2.C:
3473         * BufferView.[Ch]:
3474         * BufferView_pimpl.[Ch]:
3475         * cursor.[Ch]:
3476         * cursor_slice.[Ch]: adjust
3477
3478         * text3.C: fix bug in mathDispatch
3479
3480 2004-03-08  André Pönitz  <poenitz@gmx.net>
3481
3482         * undo.[Ch]: use 'StableDocumentIterator' as base for
3483         the Undo struct.
3484
3485 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3486
3487         * LaTeXFeatures.C:
3488         * bufferparams.[Ch]: add jurabib support and param.
3489
3490         * LaTeX.C: add FIXME/comment.
3491
3492 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3493
3494         * buffer.C: increment file format to 230.
3495
3496 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3497
3498         * cursor.C (dispatch): avoid infinite loops
3499
3500 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3501
3502         * rowpainter.C (paintSelection): fix x coordinates
3503
3504 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3505
3506         * text.C (rowBreakPoint): fix breaking before displayed insets
3507
3508 2004-03-01  André Pönitz  <poenitz@gmx.net>
3509
3510         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3511
3512         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3513
3514         * Makefile.am:
3515         * BufferView.C:
3516         * BufferView_pimpl.C:
3517         * buffer.C:
3518         * lyxfind.C:
3519         * lyxfunc.C:
3520         * text.C:
3521         * text2.C:
3522         * text3.C: adjust
3523
3524 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3525
3526         * lyxtext.h:
3527         * text.C:
3528         * text2.C:
3529         * rowpainter.C:
3530         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3531         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3532
3533 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3534
3535         * Bidi.[Ch] (computeTables): const correctness
3536         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3537         fill_hfill, fill_label_hfill and x from Row
3538         * lyxtext.h: prepareToPrint returns a RowMetrics
3539         * rowPainter.C: adjust
3540         * text.C (prepareToPrint): use width, not textWidth. adjust
3541         (redoParagraphInternal, cursorX): adjust
3542         * text2.C (getColumnNearX): adjust
3543         (init): put a default value to the top LyXText::width
3544
3545 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3546
3547         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3548
3549 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3550
3551         * lyxtext.h: add FontIterator class
3552
3553         * text.C (FontIterator, operator*, operator->, operator++): add
3554         (rowBreakPoint, setRowWidth): adjust (fixing a
3555         rebreaking bug)
3556
3557 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3558
3559         * BufferView_pimpl.C (workAreaDispatch): allow also
3560         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3561
3562 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3563
3564         * text.C (rowBreakPoint): fix a bug showing with very large insets
3565
3566 2004-02-25  André Pönitz  <poenitz@gmx.net>
3567
3568         * text3.C:
3569         * cursor.[Ch]: move some mathed specific code to mathed
3570
3571 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3572
3573         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3574         use_tempdir in preferences
3575         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3576         tempfile creation
3577         * lyx_main.C: ensure that tempdir is valid
3578         * lyxlex.h: correct typo
3579         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3580         * paragraph.[Ch] (isMultiLingual): make const
3581         * cursor.[Ch] (openable): make const
3582
3583 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3584
3585         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3586
3587 2004-02-20  André Pönitz  <poenitz@gmx.net>
3588
3589         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3590
3591         * cursor.[Ch]: prepare for localized getStatus()
3592
3593         * lyxtext.h:
3594         * tabular.C:
3595         * text.C:
3596         * text2.C:
3597         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3598
3599 2004-02-20  André Pönitz  <poenitz@gmx.net>
3600
3601         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3602
3603 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * text2.C (setCursorFromCoordinates): switch to absolute coords
3606         (cursorUp): adjust
3607         (cursorDown): adjust
3608         * text3.C (dispatch): adjust
3609
3610 2004-02-16  André Pönitz  <poenitz@gmx.net>
3611
3612         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3613           insets/ChangeLog)
3614
3615         * cursor_slice.[Ch]: remove unneeded acessor function
3616
3617         * lyxtext.h: rename rtl() to isRTL()
3618
3619         * rowpainter.C:
3620         * tabular.C:
3621         * text.C:
3622         * text2.C:
3623         * text3.C: adjust
3624
3625 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * rowpainter.C (paintSelection): coord fix
3628
3629 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3630
3631         * Spacing.C: compile fix
3632
3633 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3634
3635         * cursor.C (dispatch): restore current_ before returning
3636
3637 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3638
3639         * text2.C (cursorUp, cursorDown): fix coords
3640         (moveUp): fix crash
3641
3642 2004-02-12  André Pönitz  <poenitz@gmx.net>
3643
3644         * lyxtext.h:
3645         * text.C:
3646         * text2.C:
3647         * text3.C: add LCursor & parameter to most cursor movement functions
3648           remove usage of LyXText::cursorRow() and cursorPar()
3649
3650         * cursor.[Ch]: add textRow() needed members
3651
3652         * BufferView.C:
3653         * BufferView_pimpl.C:
3654         * paragraph.[Ch]:
3655         * BufferView.C:
3656         * BufferView_pimpl.C: adjust
3657
3658 2004-02-11  André Pönitz  <poenitz@gmx.net>
3659
3660         * lyxfunc.C:
3661         * BufferView.[Ch]:
3662         * BufferView_pimpl.C: shift undo/redo handling
3663
3664         * cursor.[Ch]: fix mathed crash
3665
3666         * lyxfind.C:
3667         * lyxtext.h: move selectionAsText to LCursor
3668
3669         * output_latex.C:
3670         * paragraph.C:
3671         * text.C:
3672         * text2.C:
3673         * text3.C: adjust
3674
3675         * rowpainter.C: fix excessive drawing
3676
3677 2004-02-06  André Pönitz  <poenitz@gmx.net>
3678
3679         * BufferView.[Ch]:
3680         * BufferView_pimpl.[Ch]:
3681         * text3.C: move some text specific LFUN handling
3682
3683 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3684
3685         * text3.C (checkInsetHit): adjust coords
3686         * text2.C (getColumnNearX): adjust coords
3687         (edit): adjust coords
3688         * text.C (getRowNearY): add two asserts
3689
3690 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3691
3692         * converter.C:
3693         * format.C: add using std::distance to compile on gcc 2.95/stlport
3694
3695 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3696
3697         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3698
3699 2004-02-04  André Pönitz  <poenitz@gmx.net>
3700
3701         * BufferView.[Ch] (insertInset):
3702         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3703
3704         * text2.C:
3705         * text3.C: adjust
3706
3707 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3708
3709         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3710         on the default clause of the switch
3711         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3712         wasn't catched by LCursor::dispatch
3713
3714 2004-02-03  André Pönitz  <poenitz@gmx.net>
3715
3716         * BufferView.C:
3717         * cursor.[Ch]: some additional asserts
3718
3719         * undo.[Ch]: remove LyXText dependency in interface
3720
3721         * lyxfunc.C: adjust
3722
3723         * lyxtext.h (firstPar, lastPar): remove dead functions
3724
3725         * text.C:
3726         * text2.C:
3727         * text3.C:
3728         * paragraph.[Ch]: adjust
3729
3730 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3731
3732         * lyxfind.C (find): fix argument order in call to ::find
3733
3734 2004-02-02  André Pönitz  <poenitz@gmx.net>
3735
3736         * cursor.[Ch]: remove direct access to anchor
3737
3738         * text.C: remove findText() hack
3739
3740 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3741
3742         * iterators.[Ch] (lockPath): remove in favour of...
3743         * BufferView.[Ch] (setCursor): this addition
3744         * BufferView.C (putSelectionAt): adjust
3745         * undo.C (performUndoOrRedo): adjust
3746         * lyxfunc.C (dispatch): adjust
3747
3748 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3749
3750         * iterators.C (lockPath): add a missing slice
3751         * undo.C (performUndoOrRedo): remove redundant positioning code
3752
3753 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3754
3755         * vc-backend.C (scanMaster): ";" -> ';'
3756
3757 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3758
3759         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3760         std::binary_function
3761
3762         * lyxtextclass.C (compare_name): rename to...
3763         (LayoutNamesEqual): ...this
3764
3765         * lyxlex_pimpl.C (compare_tags): inherit from
3766         std::binary_function, put back into anon namespace
3767
3768         * lyxfind.C (MatchString): inherig from std::binary_function
3769         (findChange): use empty() istead of !size()
3770
3771         * format.C (FormatNamesEqual): new functor
3772         (getFormat): use it
3773         (getNumber): use it
3774         (add): use it
3775         (erase): use it
3776         (setViewer): use it
3777
3778         * converter.C (compare_Converter): rename to...
3779         (ConverterEqual): ...this, and fixup a bit.
3780         (getConverter): use it, and make function const
3781         (getNumber): use it, and make function const
3782         (add): use it
3783         (erase): use it:
3784
3785         * bufferlist.C: add using boost::bind
3786
3787         * MenuBackend.C (MenuNamesEqual): new functor
3788         (hasMenu): use it, and make function const
3789         (hasSubmenu): use nested bind to get rid of compare_memfun.
3790
3791 2004-01-30  André Pönitz  <poenitz@gmx.net>
3792
3793         * BufferView_pimpl.C:
3794         * cursor.C:
3795         * cursor.h:
3796         * cursor_slice.[Ch]:
3797         * lyxfunc.C:
3798         * lyxtext.h:
3799         * paragraph_funcs.C:
3800         * paragraph_funcs.h:
3801         * rowpainter.C:
3802         * text.C:
3803         * text2.C:
3804         * text3.C: move some of the edit(x,y) handling to the insets
3805         some coordinate changes.
3806
3807 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3808
3809         * text.C: add using statements for std::advance and std::distance
3810
3811         * paragraph.C: add using statement for std::distance
3812
3813         * lyxfind.C: add using statement for std::advance
3814
3815         * cursor.C (region): remove std:: from swap
3816         (openable): use nucleus in stead of operator->
3817
3818         * BufferView.C: add using statements for std::distance and std::swap
3819
3820 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * iterators.C: Remove the pimple, move the needed structures to
3823         the header file. Create accessor for the positions stack.
3824         (asPosIterator): remove function
3825
3826         * PosIterator.C (PosIterator): move constructors to top of file
3827         (PosIterator): reimplement the constructor taking a ParIterator in
3828         terms of setFrom.
3829         (setFrom): new function
3830         (operator!=): inline it
3831
3832 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3833
3834         * lyxfind.C (replaceAll): use std::advance
3835
3836         * iterators.h: inherit from std::iterator.
3837
3838         * PosIterator.C (advance, distance): remove
3839         * PosIterator.h: interit from std::iterator.
3840
3841 2004-01-26  André Pönitz  <poenitz@gmx.net>
3842
3843         * BufferView.[Ch]:
3844         * BufferView_pimpl.[Ch]:
3845         * InsetList.[Ch]:
3846         * PosIterator.[Ch]:
3847         * buffer.h:
3848         * bufferview_funcs.C:
3849         * cursor.[Ch]:
3850         * cursor_slice.h:
3851         * factory.[Ch]:
3852         * iterators.[Ch]:
3853         * lyxfind.C:
3854         * lyxfunc.C:
3855         * lyxtext.h:
3856         * output_docbook.C:
3857         * output_latex.C:
3858         * output_linuxdoc.C:
3859         * output_plaintext.C:
3860         * paragraph.[Ch]:
3861         * paragraph_funcs.[Ch]:
3862         * paragraph_pimpl.[Ch]:
3863         * rowpainter.C:
3864         * tabular.C:
3865         * tabular.h:
3866         * text.C:
3867         * text2.C:
3868         * text3.C: more IU:  dumps most of the rest of the mathcursor
3869     implementation into cursor.[Ch]; "globalize" a bit of it.
3870
3871 2004-01-25  Angus Leeming  <leeming@lyx.org>
3872
3873         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3874
3875 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3876
3877         * LaTeXFeatures.h: add nice_ and nice() const
3878         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3879
3880 2004-01-20  André Pönitz  <poenitz@gmx.net>
3881
3882         * BufferView.[Ch]:
3883         * BufferView_pimpl.C:
3884         * PosIterator.C:
3885         * bufferview_funcs.C:
3886         * cursor.[Ch]:
3887         * cursor_slice.[Ch]:
3888         * factory.C:
3889         * iterators.C:
3890         * lyx_cb.C:
3891         * lyxfind.C:
3892         * lyxfunc.C:
3893         * lyxtext.h:
3894         * rowpainter.C:
3895         * text.C:
3896         * text2.C:
3897         * text3.C:
3898         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3899           LCursor and mathcursor parts to LCursor and InsetBase.
3900
3901 2004-01-15  André Pönitz  <poenitz@gmx.net>
3902
3903         * cursor_slice.[Ch]: add a few covienience functions
3904
3905         * funcrequest.[Ch]: remove BufferView * member
3906
3907         * BufferView_pimpl.C:
3908         * cursor.C:
3909         * factory.[Ch]:
3910         * lyxfind.[Ch]:
3911         * lyxfunc.C:
3912         * lyxtext.h:
3913         * text3.C:
3914         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3915
3916 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3917
3918         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3919         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3920
3921 2004-01-13  André Pönitz  <poenitz@gmx.net>
3922
3923         * textcursor.[Ch]:
3924         * lyxtext.h: hide cursor and selection anchor behind accessor function
3925
3926         * BufferView.C:
3927         * BufferView_pimpl.[Ch]:
3928         * PosIterator.C:
3929         * bufferview_funcs.C:
3930         * cursor.h:
3931         * lyxfind.C:
3932         * lyxfunc.C:
3933         * text.C:
3934         * text2.C:
3935         * text3.C:
3936         * undo.C: adjust
3937
3938         * cursor.h:
3939         * cursor_slice.[Ch]: some integer type changes for inset unification
3940
3941         * lyxcursor.[hC]: remove, it's CursorSlice now.
3942
3943         * Makefile.am:
3944         * BufferView_pimpl.[Ch]:
3945         * bufferview_funcs.C:
3946         * cursor_slice.C:
3947         * lyxtext.h:
3948         * text.C:
3949         * text2.C:
3950         * text3.C:
3951         * textcursor.[Ch]: adjust
3952
3953 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3954
3955         * text2.C (undoSpan): add and use
3956         * text.C (breakParagraph): use undoSpan (fix bug 578)
3957         * lyxtext.h: adjust
3958
3959 2004-01-08  Angus Leeming  <leeming@lyx.org>
3960
3961         * BufferView_pimpl.C (MenuInsertLyXFile):
3962         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3963         * lyxfunc.C (menuNew, open, doImport):
3964         FileFilterList change to the FileDialog open and save functions.
3965
3966 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3967
3968         * ShareContainer.h: make isEqual and isUnique adaptable
3969
3970         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3971
3972 2004-01-07  Angus Leeming  <leeming@lyx.org>
3973
3974         * LyXAction.C:
3975         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3976
3977         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3978
3979         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3980         functions replacing find, replace and replaceAll.
3981
3982         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3983         LFUN_WORDFIND(FORWARD|BACKWARD).
3984
3985 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3986
3987         * text.C (breakParagraph): remove an outdated #warning
3988
3989 2004-01-07  André Pönitz  <poenitz@gmx.net>
3990
3991         * lyxfind.C: somewhat clearer logic
3992
3993         * text.C: prevent crash in cursorX on unitialized row cache
3994
3995 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3996
3997         * lyxcursor.[Ch] (operator>): add
3998         * textcursor.C (selStart, selEnd): use std::min and std::max
3999
4000 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * Chktex.C: include boost/format.hpp
4003
4004 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4005
4006         * InsetList.C: replace functor MathcIt with adaptable functor
4007         InsetTablePosLess
4008         (insetIterator): modify accordingly
4009
4010         * BranchList.h: move the BranchNamesEqual functor here from...
4011         * BranchList.C: ... to here
4012
4013         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4014         SameName and match.
4015         (add): replace a finding loop with std::find_if.
4016
4017 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4018
4019         * output_docbook.C: moving LatexParam functionality into
4020         .layout files
4021
4022 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4023
4024         * buffer.C: increment format to 229.
4025
4026 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4027
4028         * LaTeXFeatures.C:
4029         * lyx_sty.[Ch]: remove minipageindent_def
4030
4031         * LyXAction.C:
4032         * factory.C:
4033         * lfuns.h:
4034         * lyxfunc.C:
4035         * text3.C: remove LFUN_INSET_MINIPAGE
4036
4037 2003-12-28  Angus Leeming  <leeming@lyx.org>
4038
4039         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4040
4041 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4042
4043         * text2.C (setParagraph): fix off-by-one crash
4044
4045 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4046
4047         * output_docbook.C: header stuff for AGU
4048
4049 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4050
4051         * text2.C (redoCursor): remove
4052         * text.C:
4053         * text3.C:
4054         * BufferView_pimpl.C: remove calls to redoCursor and
4055         setCursor(cursor.par(), cursor.pos()) all around
4056
4057 2003-12-15  Angus Leeming  <leeming@lyx.org>
4058
4059         * buffer.C: up the format to 228.
4060
4061 2003-12-15  André Pönitz  <poenitz@gmx.net>
4062
4063         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4064         slices
4065
4066         * Makefile.am:
4067
4068         * BufferView_pimpl.C:
4069         * cursor.[Ch]:
4070         * lyxcursor.[Ch]:
4071         * rowpainter.[Ch]:
4072         * lyxtext.h:
4073         * text.C:
4074         * text2.C:
4075         * text3.C: adjust
4076
4077 2003-12-15  Angus Leeming  <leeming@lyx.org>
4078
4079         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4080         than getFromGUIName to manipulate the color.
4081
4082 2003-12-14  Angus Leeming  <leeming@lyx.org>
4083
4084         * BranchList.[Ch]: minimize the API.
4085         (Branch::getBranch, getColor): now return a 'const &'.
4086         (Branch::setSelected) now returns a bool set to true if the
4087         selection status changes.
4088         (BranchList::clear, size, getColor, setColor, setSelected,
4089         allBranches, allSelected, separator): removed.
4090         (BranchList::find): new functions, returning the Branch with
4091         the given name.
4092         (BranchList::add, remove): return a bool indicating that
4093         the operation was successful.
4094
4095         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4096         new InsetBranch::isBranchSlected member function.
4097
4098         * LColor.[Ch]: mimimize the API.
4099         (fill): renamed as addColor and made private.
4100         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4101         versions of these functions taking a string arg have been removed.
4102
4103         * bufferparams.C (readToken):
4104         * lyxfunc.C (dispatch):
4105         * lyxrc.C (read): changes due to the altered BranchList and
4106         LColor APIs.
4107
4108         * factory.C (createInset, readInset): changes due to altered
4109         InsetBranch c-tor.
4110
4111 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4112
4113         * factory.C:
4114         * lyxfunc.C: remove insetminipage. "minipage-insert"
4115         now produces a frameless minipage box inset.
4116
4117 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4118
4119         * textcursor.[Ch] (selStart,selEnd): add new methods
4120         remove selection::start, end, use LyXCursor::operator<
4121         * lyxcursor.[Ch] (operator<): add
4122         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4123         * BufferView.[Ch] (unsetXSel): add
4124         * text2.C (clearSelection): use unsetXSel,adjust
4125         * text.C: adjust
4126         * text3.C: adjust
4127         * rowpainter.C: adjust
4128         * bufferview_funcs.C (put_selection_at): adjust
4129
4130 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * BufferView_pimpl.C: small coord. correction
4133
4134 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4135
4136         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4137         dragging over the splash screen.
4138
4139 2003-12-11  Angus Leeming  <leeming@lyx.org>
4140
4141         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4142         as it is now handled in LyXText::dispatch.
4143
4144         * text3.C (doInsertInset): remove a level of nesting.
4145
4146 2003-12-11  Angus Leeming  <leeming@lyx.org>
4147
4148         * factory.C (createInset): changes due to the changed interface to
4149         InsetCommandMailer::string2params.
4150
4151 2003-12-10  Angus Leeming  <leeming@lyx.org>
4152
4153         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4154         'dialog-show-new-inset <inset name>'
4155
4156 2003-12-10  Angus Leeming  <leeming@lyx.org>
4157
4158         * buffer.C: up the format to 227.
4159
4160         * factory.C: the box inset is now identified simply by 'Box'.
4161
4162 2003-12-10  Angus Leeming  <leeming@lyx.org>
4163
4164         * buffer.C: up the format to 226.
4165
4166         * factory.C: the note inset is now identified simply by 'Note'.
4167
4168 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4169
4170         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4171         when a pit is enough. Standarize a couple of loops.
4172
4173 2003-12-05  Angus Leeming  <leeming@lyx.org>
4174
4175         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4176         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4177         data to the re-worked "log" dialog.
4178
4179 2003-12-03  André Pönitz  <poenitz@gmx.net>
4180
4181         * PosIterator.C:
4182         * iterators.C:
4183         * lyxtext.h:
4184         * output_latex.C:
4185         * paragraph_funcs.C:
4186         * text.C:
4187         * text2.C: use Inset::getText instead of Inset::getParagraph
4188
4189 2003-12-03  André Pönitz  <poenitz@gmx.net>
4190
4191         * buffer.[Ch]:
4192         * lyxtext.h:
4193         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4194         InsetText::read() as LyXText::read()
4195
4196 2003-12-02  Angus Leeming  <leeming@lyx.org>
4197
4198         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4199         type. Add a comment in the implementation that the function uses
4200         the stream's bad() function rather than fail() as the std::streams
4201         would do.
4202
4203 2003-12-02  André Pönitz  <poenitz@gmx.net>
4204
4205         * lyxlex.[Ch]: make interface more similar to std::stream
4206
4207         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4208
4209 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4210
4211         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4212
4213 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4214
4215         * vspace.[Ch]: remove VSpace::NONE
4216
4217 2003-12-01  André Pönitz  <poenitz@gmx.net>
4218
4219         * buffer.[Ch]:
4220         * lyxtext.h: move ParagraphList member to LyXText
4221         rename LyXText::ownerParagraphs to LyXText::paragraph
4222
4223         * CutAndPaste.C:
4224         * bufferview_funcs.C:
4225         * iterators.[Ch]:
4226         * lyx_cb.C:
4227         * paragraph.C:
4228         * rowpainter.C:
4229         * tabular.C:
4230         * text.C:
4231         * text2.C:
4232         * text3.C: adjust
4233
4234         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4235
4236         * undo.C: fix cursor positioning
4237
4238 2003-12-01  John Levon  <levon@movementarian.org>
4239
4240         * BufferView_pimpl.C: fix a crash on exit with
4241         a buffer open
4242
4243 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4244
4245         * BranchList.C: fix setSelected() method.
4246
4247 2003-11-28  André Pönitz  <poenitz@gmx.net>
4248
4249         * ParagraphParameters.[Ch]:
4250         * ParameterStruct.h: remove space above/below from Paragraph to
4251          InsetVSpace
4252
4253         * BufferView_pimpl.C:
4254         * factory.C:
4255         * lyxfunc.C:
4256         * lyxtext.h:
4257         * output_latex.C:
4258         * paragraph.C:
4259         * paragraph_funcs.C:
4260         * rowpainter.[Ch]:
4261         * text.C:
4262         * text2.C:
4263         * text3.C: adjust
4264
4265 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4266
4267         * factory.C: Syntax change for CharStyles
4268
4269 2003-11-28  André Pönitz  <poenitz@gmx.net>
4270
4271         * BufferView.[Ch]:
4272         * BufferView.[Ch]:
4273         * buffer.[Ch]:
4274         * buffer.[Ch]: move LyXText member
4275
4276 2003-11-28  André Pönitz  <poenitz@gmx.net>
4277
4278         * BufferView.[Ch]: make LyXText * text a private member
4279
4280         * BufferView_pimpl.C:
4281         * cursor.C:
4282         * iterators.C:
4283         * lyx_cb.C:
4284         * lyxfind.C:
4285         * lyxtext.h:
4286         * rowpainter.[Ch]:
4287         * text.C:
4288         * text2.C:
4289         * undo.C: adjust
4290
4291         * output_plaintext.C: cleanup
4292
4293 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4294
4295         * buffer.C:
4296         * lyxtextclass.[Ch]: parametrize SGML document header
4297
4298 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4299
4300         * converter.[Ch]:
4301         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4302         getFlavor().
4303
4304 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4305
4306         * text2.C (setFont): rework using PosIterator (no more recursive)
4307         (setCharFont): no more needed
4308         (setLayout): no more selection cursors fiddling (done by redoCursor)
4309         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4310         destroy remaining ones)
4311
4312 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4313
4314         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4315         * lyxtext.h: ditto
4316         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4317         selection cursors
4318         * lyxfunc.C: adjust
4319         * text3.C: adjust + re-allow multi par depth changes
4320         * textcursor.C: simplify a bit
4321
4322 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4323
4324         * src/buffer.C:
4325         * src/lyxlayout.C:
4326         * src/lyxlayout.h:
4327         * src/lyxtext.h:
4328         * src/output_docbook.C:
4329         * src/output_latex.C:
4330         * src/paragraph.C:
4331         * src/paragraph.h:
4332         * src/sgml.C:
4333         * src/sgml.h:
4334         * src/text2.C: Introducing a number of tags parametrizing various
4335         XML formats that we may want to support
4336
4337 2003-11-25  André Pönitz  <poenitz@gmx.net>
4338
4339         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4340
4341         * lyxtext.h (leftMargin/rightMargin): simplify interface
4342
4343         * rowpainter.C:
4344         * text.C:
4345         * text2.C:
4346         * text3.C: adjust
4347
4348 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4349
4350         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4351         master file to any child files. Fixes bug 546.
4352
4353 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4354
4355         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4356
4357 2003-11-24  André Pönitz  <poenitz@gmx.net>
4358
4359         * rowpainter.C: simplification
4360
4361         * text2.C (updateCounters): remove call to redoParagraph on
4362         changed labels as this is far too expensive.
4363
4364 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4365
4366         * converter.C (convert): fix a crash: this function gets
4367         called with buffer == 0 from importer code.
4368
4369 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * text3.C (cursorPrevious): make sure that we do not compare
4372         iterators form different containers.
4373         (cursorNext): ditto
4374
4375         * rowpainter.C (paintSelection): make sure that we do not compare
4376         iterators from different containers.
4377
4378         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4379         iterators from different ParagraphList containers.
4380         [NEXT] ditto
4381
4382         * text2.C (LyXText): change order of initialization slightly
4383         (operator=): new function. copy all variables except cache_par_
4384         (moveUp): make sure that we do not compare iterators from
4385         different ParagraphList constainers.
4386         (moveDown): ditto
4387
4388         * text.C (firstPar): new function
4389         (lastPar): new function
4390         (endPar): new function
4391
4392         * lyxtext.h: move things around and group public functions, public
4393         variables, private functions, private variables
4394
4395 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4396
4397         * factory.C: change call to InsetERT constructor to avoid
4398         additional invocation of method status
4399         * text2.C (toggleInset): remove redundant update() call
4400         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4401         instead of a Bufferview pointer
4402
4403 2003-11-21  André Pönitz  <poenitz@gmx.net>
4404
4405         * rowpainter.C: simplification
4406
4407 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4408
4409         * text3.C (dispatch): make possible to extend a word/row selection
4410         with the mouse
4411
4412 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4413
4414         * lyxtext.h: x0_,y0_ -> xo_,yo_
4415         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4416         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4417         * rowpainter.C (paintRows): paint full paragraphs
4418
4419 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4420
4421         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4422         screen coordinates)
4423
4424 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4425
4426         * lyxtext.h: add x0_, y0_
4427         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4428         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4429
4430 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4431
4432         * text2.C (setCursorIntern): move the x_target update here *
4433         * text3.C: change some bv() to true/false in calls to
4434         cursorUp/Down/Right/Left
4435         * cursor.C: use helper function.
4436
4437 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4438
4439         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4440         * paragraph_funcs.[Ch]: correct comment
4441         * rowpainter.C: do not paint selections away from bv->cursor()
4442         Fix a long standing selection painting bug.
4443         * text3.C: generalize mouse-selection code to LyXTexts other that
4444         top one
4445         * textcursor.C: do not use y coords if we can use par offsets
4446
4447 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4448
4449         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4450         cursor position after e.g. inset insert)
4451
4452 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4453
4454         * lyxfind.C (replace): adjust to locking removal + some
4455         code simplification
4456
4457 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4458
4459         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4460         of the path
4461
4462 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4463
4464         * lyxlayout.[Ch]:
4465         * output_docbook.C: XML sanitation: new layout
4466         parameters InnerTag and CommandDepth
4467
4468 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4469
4470         * BufferView_pimpl.C:
4471         * factory.C:
4472         * text3.C: Fix the insertion and modification of button-style
4473         insets
4474
4475 2003-11-13  André Pönitz  <poenitz@gmx.net>
4476
4477         * InsetList.[Ch]: remove deleteLyXText
4478
4479         * paragraph.[Ch]: cache beginOfBody position
4480
4481         * Bidi.C:
4482         * text.C:
4483         * text2.C:
4484         * text3.C: remove superfluous update() calls
4485
4486         * vspace.C: cleanup
4487
4488 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4489
4490         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4491         * BufferView.C (fitLockedInsetCursor): remove
4492         * cursor.[Ch] (getDim): add
4493         * text.C (getRowNearY): add faster version
4494         * text3.C: remove some update calls
4495
4496 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4497
4498         * LaTeXFeatures.C:
4499         * LyXAction.C:
4500         * MenuBackend.C:
4501         * MenuBackend.h:
4502         * dispatchresult.h:
4503         * factory.C:
4504         * lfuns.h:
4505         * lyxfunc.C:
4506         * lyxtextclass.C:
4507         * lyxtextclass.h:
4508         * text3.C: The Character Style /XML short element patch.
4509
4510 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4511
4512         * text3.C:
4513         * factory.C: Small step to solving 'unable to insert some insets'
4514         problem
4515
4516 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4517
4518         * cursor.[Ch] (updatePos): new function for updating the y
4519         position of the tip inset
4520         * bufferview_funcs.C (put_selection_at):
4521         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4522
4523 2003-11-11  André Pönitz  <poenitz@gmx.net>
4524
4525         * text.C: remove big comment on invalid Paragraph pointers as it is
4526         not valid anymore
4527
4528 2003-11-11  André Pönitz  <poenitz@gmx.net>
4529
4530         * text_funcs.[Ch]: merge with ...
4531
4532         * text.C: ... this
4533
4534         * lyxtext.h:
4535         * text2.C:
4536         * text3.C: adjust
4537
4538         * Makefile.am: remove text_funcs.[Ch]
4539
4540 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * cursor.C (getPos): return absolute cached y coord
4543
4544         * BufferView_pimpl.C (fitCursor): new simplistic code
4545         (workAreaDispatch): add a fitCursor call
4546
4547 2003-11-10  André Pönitz  <poenitz@gmx.net>
4548
4549         * BufferView.[Ch]:
4550         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4551
4552 2003-11-10  André Pönitz  <poenitz@gmx.net>
4553
4554         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4555         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4556         indicate that the cursor needs to leave an inset
4557
4558         * lyxtext.h: remove inset locking
4559
4560         * cursor.[Ch]: re-implement functionality provided by inset locking
4561
4562         * BufferView.[Ch]:
4563         * BufferView_pimpl.[Ch]:
4564         * LyXAction.C:
4565         * bufferview_funcs.[Ch]:
4566         * factory.C:
4567         * funcrequest.[Ch]:
4568         * iterators.C:
4569         * lyx_cb.C:
4570         * lyxfind.C:
4571         * lyxfunc.C:
4572         * text.C:
4573         * text2.C:
4574         * text3.C:
4575         * undo.C: adjust
4576
4577 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4578
4579         * PosIterator.[Ch]: replace the stack with a vector, add inset
4580         accesor
4581         * iterators.[C]: adjust
4582
4583 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4584
4585         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4586         replaced
4587         * paragraph_funcs.C (readParToken): put the correct id in the
4588         error item, not the id of the top paragraph
4589
4590 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4591
4592         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4593         * bufferview_funcs.C (put_selection_at): use the above
4594
4595 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4596
4597         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4598
4599 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4600
4601         * output_linuxdoc.h:
4602         * output_plaintext.h:
4603         * output.h:
4604         * output_docbook.h: add #include statements
4605
4606 2003-11-05  José Matos  <jamatos@lyx.org>
4607
4608         * output_docbook.[Ch]:
4609         * output_latex.[Ch]:
4610         * output_linuxdoc.[Ch]:
4611         * output_plaintext.[Ch]: New files for output formats.
4612         * output.[Ch]: New file for helper functions.
4613
4614         * buffer.[Ch]:
4615         * paragraph_funcs.[Ch]: output functions moved to new files.
4616
4617         * outputparams.h: rename of latexrunparams.h
4618
4619         * LaTeX.[Ch]:
4620         * buffer.[Ch]:
4621         * bufferlist.[Ch]:
4622         * converter.[Ch]:
4623         * exporter.C:
4624         * paragraph.[Ch]:
4625         * paragraph_funcs.[Ch]:
4626         * paragraph_pimpl.[Ch]:
4627         * tabular.[Ch]: rename ascii to plaintext
4628         and LatexRunParams to OutputParams.
4629
4630 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * iterators.[Ch] (text): require bv argument
4633         * undo.C (recordUndo):
4634         * lyxfunc.C (dispatch):
4635         * bufferview_funcs.C (put_selection_at): adjust
4636
4637 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4638
4639         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4640
4641 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4642
4643         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4644         nestings
4645
4646 2003-11-04  André Pönitz  <poenitz@gmx.net>
4647
4648         * cursor.[Ch]: restructure
4649
4650         * BufferView.[Ch]:
4651         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4652
4653         * iterators.[Ch] (asCursor): remove
4654
4655         * lfuns.h: remove LFUN_INSET_EDIT
4656
4657         * lyxfunc.C:
4658         * tabular.C:
4659         * text.C:
4660         * text2.C:
4661         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4662
4663 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4664
4665         * lyxfind.[Ch]: complete overhaul
4666         * BufferView_pimpl.C:
4667         * lyxfunc.C: adjust
4668         * paragraph.[Ch] (insert): add
4669
4670 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4671
4672         * BufferView.[Ch]:
4673         * lyxtext.h:
4674         * text.C: remove dead spellcheck code
4675
4676 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4677
4678         * dispatchresult.h: add a val setter
4679
4680         * cursor.C (dispatch): use a tempvar for data_[i]
4681
4682 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4683
4684         * PosIterator.[Ch]: compile fix
4685
4686 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4687
4688         * text.C (cursorPar): deactivate the cursor cache
4689
4690 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4691
4692         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4693
4694 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4695
4696         * text3.C (dispatch): adjust for new DisptchResult semantics.
4697
4698         * lyxfunc.C (dispatch): handle update when return from
4699         Cursor::dispatch, adjust for new DispatchResult semantics.
4700
4701         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4702         DispatchResult(true) mean to not update. Add class functions for
4703         setting dispatched and update, as well as reading.
4704
4705         * cursor.C (dispatch): don't handle update here
4706
4707 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4708
4709         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4710         * trans_mgr.C: adjust
4711
4712         * paragraph_funcs.C (readParToken): exception safety
4713
4714         * lyxvc.h: store the vcs pointer in a scoped_ptr
4715         * lyxvc.C: adjust
4716
4717         * lyxsocket.C (serverCallback): exception safety
4718
4719         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4720
4721         * ispell.C (clone): make it return a auto_ptr
4722
4723         * factory.C (createInset): exception safety
4724         (readInset): exception safety
4725
4726         * bufferlist.C (newBuffer): exception safety
4727
4728         * Thesaurus.C (Thesaurus): use initialization for aik_
4729
4730         * MenuBackend.C (expandToc): exception safety.
4731
4732 2003-11-03  André Pönitz  <poenitz@gmx.net>
4733
4734         * buffer.C:
4735         * buffer.h:
4736         * bufferview_funcs.C: remove getInsetFromId()
4737
4738         * lyxcursor.[Ch]:
4739         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4740
4741         * lyxfunc.C:
4742         * text2.C:
4743         * text3.C: adjust
4744
4745 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4746
4747         * PosIterator.C (distance, advance): new
4748         * bufferview_funcs.[Ch] (put_selection_at): new
4749         * iterators.[Ch] (lockPath): new
4750
4751 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4752
4753         * iterators.[Ch] (asPosIterator): added
4754         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4755         * PosIterator.[Ch]: added
4756
4757 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4758
4759         * text3.C:
4760         * lyxfunc.C:
4761         * cursor.C (dispatch):
4762         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4763
4764         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4765         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4766         contructor, add a class function dispatched. Remove operator>=
4767
4768 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * debug.C: only use the default constructor for debugstream
4771         (lyxerr) here.
4772
4773         * main.C (main): include debug.h and setup the lyxerr streambuf
4774         here.
4775
4776 2003-10-31  José Matos  <jamatos@lyx.org>
4777
4778         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4779
4780         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4781         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4782         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4783         * paragraph_pimpl.C (simpleTeXSpecialC):
4784         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4785         add LatexRunParams argument.
4786
4787         * exporter.C (Export): change call accordingly.
4788
4789         * latexrunparams.h: add new member to take care of the other backends.
4790 2003-10-30  José Matos  <jamatos@lyx.org>
4791
4792         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4793         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4794         factorise code for paragraph output.
4795         * buffer.[Ch]:
4796         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4797         move functions.
4798
4799 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * text3.C (dispatch):
4802         * lyxfunc.C (dispatch):
4803         * cursor.C (dispatch):
4804         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4805
4806         * dispatchresult.h: make the dispatch_result_t ctor explicit
4807
4808 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4809
4810         * sgml.[Ch]:
4811         * buffer.C: small refactoring of docbook stuff
4812
4813 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4816         meaning.
4817
4818 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4821         operator dispatch_result_t, and operators for == != and >=
4822
4823         * cursor.C (dispatch): adjust for operator dispatch_result_t
4824         removal. comment out call to update
4825
4826         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4827
4828 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * text3.C:
4831         * text2.C:
4832         * text.C:
4833         * lyxtext.h:
4834         * lyxfunc.C:
4835         * cursor.C:
4836         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4837         (dispatch):
4838
4839         * dispatchresult.h: new file, DispatchResult broken out of
4840         insets/insetbase.h
4841
4842         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4843
4844 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * text.C (rowBreakPoint): put a hack inside #if 0
4847
4848 2003-10-28  André Pönitz  <poenitz@gmx.net>
4849
4850         * lyxtext.h:
4851         * metricsinfo.C:
4852         * paragraph_funcs.C:
4853         * rowpainter.C:
4854         * text.C:
4855         * text2.C: general cleanup (lots of small stuff)
4856
4857 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4858
4859         * text2.C (cursorEnd): simple fix to the "end key goes to one
4860         before the end on last row" bug
4861
4862 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * text.C (backspace): fix the "zombie characters"
4865
4866 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4867
4868         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4869
4870 2003-10-27  André Pönitz  <poenitz@gmx.net>
4871
4872         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4873
4874         * factory.C: handle new InsetPagebreak, InsetLine
4875
4876         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4877         and move handling into new InsetPagebreak, InsetLine
4878
4879         * BufferView_pimpl.C:
4880         * LyXAction.C:
4881         * ParagraphParameters.C:
4882         * ParameterStruct.h:
4883         * lyxfunc.C:
4884         * lyxtext.h:
4885         * paragraph.C:
4886         * paragraph.h:
4887         * paragraph_funcs.C:
4888         * paragraph_pimpl.C:
4889         * rowpainter.C:
4890         * text.C:
4891         * text2.C:
4892         * text3.C: adjust
4893
4894 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4895
4896         * text.C:
4897         * lyxrow_funcs.[Ch]:
4898         * Bidi.C:
4899         * paragraph.C:
4900         * lyxtext.h:
4901         * rowpainter.C:
4902         * text2.C:
4903         * text3.C: remove lastPos uses in favour of Row::endpos
4904
4905 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4906
4907         * undo.C (performUndoOrRedo): fix two crashes by setting a
4908         cursor by hand and reordering some calls. Use bv->lockInset instead
4909         of inset->edit because the latter loses cursor information
4910
4911 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4912
4913         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4914         by Martin
4915         (rowBreakPoint): fix width. change point to point + 1.
4916         Add a missing check.
4917
4918 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4919
4920         * MenuBackend.C:
4921         * lyxfunc.C: fix (at least partly) the problems
4922         with the Nav menu and headers inside branch insets
4923         reported by Kayvan
4924
4925 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4926
4927         * paragraph.C (getChar): add strong asserts
4928
4929         * lyxrow_funcs.C (lastPos): remove hideous hack
4930
4931         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4932         (fill): adjust to that (avoid an infinite loop)
4933
4934 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4937
4938 2003-10-23  André Pönitz  <poenitz@gmx.net>
4939
4940         * RowList_fwd.h: change list<> to vector<> to gain speed
4941         after suggestion from Alfredo
4942
4943 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4944
4945         * lyxtext.h: move the bidi stuff from here...
4946         * text.C: and here
4947         * text2.C: and here
4948         * Bidi.[Ch]: ... to here
4949
4950 2003-10-23  André Pönitz  <poenitz@gmx.net>
4951
4952         * lyxtext.h:
4953         * text.C (isLastRow, isFirstRow): new functions
4954
4955         * paragraph.h: new width cache member
4956
4957         * rowpainter.C: replace RowList::iterator with Row & where possible
4958
4959         * lyxfunc.C: replace several view()->text with a single call
4960
4961         * toc.C: fix 'unused' warning
4962
4963 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4966         when woring with stream::pos_type
4967         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4968
4969 2003-10-22  André Pönitz  <poenitz@gmx.net>
4970
4971         * lyxtext.h:
4972         * text.C: use Row & instead of RowList::iterator
4973
4974         * lyxrow.h: rename end() to endpos()
4975
4976         * rowpainter.C:
4977         * text.C:
4978         * text2.C: adjust
4979
4980 2003-10-22  Angus Leeming  <leeming@lyx.org>
4981
4982         * buffer.[Ch] (fully_loaded): new member function, returning true
4983         only when the file has been loaded fully.
4984         Used to prevent the premature generation of previews and by the
4985         citation inset to prevent computation of the natbib-style label.
4986
4987         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4988         templates are all set up.
4989
4990         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4991
4992 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4993
4994         * text.C: fixed an "oops" in the "is a bit silly"
4995         bug fix
4996
4997 2003-10-21  André Pönitz  <poenitz@gmx.net>
4998
4999         * FuncStatus.[Ch]: small stuff, whitespace
5000
5001         * lyxfont.[Ch]: operator<<() for debug reasons
5002
5003         * lyxfunc.C:
5004         * lyxrow_funcs.C:
5005         * lyxtext.h: whitespace, spelling
5006
5007         * paragraph.C: naming of variables
5008
5009         * text.C:
5010         * text2.C: small stuff
5011
5012
5013 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5014
5015         * text.C: (1) finish off the inset display() work;
5016         (2) fix the "is a bit silly" bug (accessing char
5017         past end of par).
5018
5019 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5020
5021         * text.C: re-introduce display() for insets, fixing the
5022         various bugs (stretch of line above, math inset
5023         positioning, ...)
5024
5025 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5026
5027         * text.C (rightMargin): remove spurious semicolon
5028
5029         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5030         1415)
5031
5032 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5033
5034         * text3.C: fix one crash due to wrong cursor def
5035
5036 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * vc-backend.C (scanMaster): make the regex static
5039
5040         * LaTeX.C (scanAuxFile): make the regexs static
5041
5042         * text3.C (doInsertInset, dispatch, dispatch):
5043         * text2.C (cursorUp, cursorDown):
5044         * text.C (selectNextWordToSpellcheck):
5045         * BufferView_pimpl.C (dispatch):
5046         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5047
5048 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5049
5050         * lyxsocket.C: include <cerrno>
5051
5052 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * lyxfunc.C (dispatch): remove textcache stuff
5055
5056         * bufferlist.C (release): remove textcache stuff
5057         (closeAll): ditto
5058
5059         * TextCache.C: delete file
5060         * TextCache.h: delete file
5061
5062         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5063
5064         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5065         delete of the bv_->text.
5066         (resizeCurrentBuffer): remove texcache stuff
5067         (workAreaResize): ditto
5068
5069 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5070
5071         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5072         action.
5073
5074 2003-10-16  André Pönitz  <poenitz@gmx.net>
5075
5076         * lyxrow.[Ch]:
5077         * paragraph.h:
5078         * rowpainter.C:
5079         * text.C:
5080         * text2.C:
5081         * text3.C: speed up by storing y positions per paragraph plus per-row
5082         offset instead of having a 'full' y position in the row.
5083
5084 2003-10-15  André Pönitz  <poenitz@gmx.net>
5085
5086         * iterators.[Ch]:
5087         * iterators.[Ch]:
5088         * undo.[Ch]: make undo aware of inner insets
5089
5090 2003-10-14  Angus Leeming  <leeming@lyx.org>
5091
5092         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5093         static member functions LyX::ref() and LyX::cref.
5094         (lastfiles): new accessor functions for the new lastfiles_ member var.
5095         (addLyXView, views_): add a new LyXView to the list of views_.
5096         (updateInset): loop over all LyXViews to call their own updateInset
5097         member function, returning a pointer to the Buffer owning the inset.
5098
5099         * BufferView_pimpl.C (loadLyXFile):
5100         * MenuBackend.C (expandLastfiles):
5101         * bufferlist.C (MenuWrite, QuitLyX):
5102         lastfiles is no longer a global variable.
5103         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5104
5105         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5106         static function. Access through LyX::cref().emergencyCleanup().
5107
5108 2003-10-14  André Pönitz  <poenitz@gmx.net>
5109
5110         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5111
5112         * undo.[Ch]: restoring part of 'undo in insets'
5113
5114         * Makefile.am:
5115         * undo_funcs.[Ch]: merge with undo.[Ch]
5116
5117         * tabular.C: small cleansing stuff
5118
5119 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5120
5121         * paragraph_funcs.C (readParToken): report unknown insets as error
5122         boxes. Use the outer paragraph as location (also for unknown
5123         tokens).
5124
5125         * factory.C (readInset): do not abort on reading an unknown inset.
5126         Eat it and return 0.
5127
5128 2003-10-13  Angus Leeming  <leeming@lyx.org>
5129
5130         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5131
5132         * lyxrc.C: displayTranslator is now a function,
5133         declared in GraphicsTypes.h.
5134
5135 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5136
5137         * format.C: new placeholder $$a to pass the socket address.
5138
5139         * bufferlist.[Ch]: new function getBufferFromTmp.
5140
5141         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5142           files in the temporary dir.
5143
5144 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5145
5146         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5147
5148         * Makefile.am: add lyxsocket.[Ch].
5149
5150         * lyx_main.C (error_handler): handle SIGPIPE.
5151
5152 2003-10-13  André Pönitz  <poenitz@gmx.net>
5153
5154         * BufferView_pimpl.C:
5155         * lyxtext.h:
5156         * text.C:
5157         * text2.C:
5158         * text3.C:
5159         * undo_funcs.[Ch]: use paroffset_type instead of
5160           ParagraphList::iterators to prevent multiple conversion
5161           (and get a more robust interface)
5162
5163 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5166         * lyxtext.h: ditto
5167         * text3.C (dispatch): ditto
5168
5169 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5170
5171         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5172         move the onlyfile, use onlyfile instead of foundfile in a couple
5173         of places.
5174
5175         * DepTable.C (update): flush the error stream a bit more
5176
5177 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5178
5179         * lyxserver.C (callback): adjust
5180
5181         * lyxfunc.C (getStatus): add a missing brace in commented code
5182         (ensureBufferClean): reindent
5183         (dispatch): delete version taking a string
5184
5185 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5186
5187         * LaTeX.C (deplog): move found file handlig from here...
5188         (handleFoundFile): .. to new function here.
5189         (deplog): make sure to discover several files mentioned on the
5190         same log line.
5191
5192 2003-10-10  André Pönitz  <poenitz@gmx.net>
5193
5194         * lyxfunc.C:
5195         * lyxtext.h:
5196         * tabular.C:
5197         * text.C:
5198         * text2.C:
5199         * text3.C: fix some of the tabular crashes
5200
5201 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5202
5203         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5204
5205         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5206
5207 2003-10-09  André Pönitz  <poenitz@gmx.net>
5208
5209         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5210
5211         * BufferView.C:
5212         * BufferView_pimpl.C:
5213         * bufferview_funcs.C:
5214         * lyx_cb.C:
5215         * lyxcursor.C:
5216         * lyxfind.C:
5217         * lyxfunc.C:
5218         * lyxtext.h:
5219         * text.C:
5220         * text2.C:
5221         * text3.C:
5222         * text_funcs.[Ch]:
5223         * textcursor.[Ch]:
5224         * undo_funcs.C: adjust
5225
5226 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5227
5228         * text2.C (incrementItemDepth): new function, use a backtracking
5229         algorithm to discover the correct item depth.
5230         (resetEnumCounterIfNeeded): new function, use a backtracking
5231         algorithm to discover if counter reset is needed.
5232         (setCounter): use them. Simplify a bit. Add different labels for
5233         different item depths for itemize.
5234
5235         * paragraph.C (Paragraph): remove initialization of enumdepth
5236         (operator=): ditto
5237
5238         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5239         enumerate and itemize. Change the type of itemdepth to signed char.
5240
5241 2003-10-08  André Pönitz  <poenitz@gmx.net>
5242
5243         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5244           thing assignable.
5245         * text.C:
5246         * text2.C: adjust
5247
5248         * tabular.[Ch]: fix crash after 'row-insert'
5249
5250 2003-10-08  Angus Leeming  <leeming@lyx.org>
5251
5252         Fix doxygen warnings.
5253
5254         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5255         Remove CutAndPaste:: prefix from header file declaration.
5256
5257         * LColor.h (fill): remove LColor:: prefix from declaration.
5258
5259         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5260         use lyx::depth_type rather than Paragraph::depth_type so that
5261         header file and .C file match.
5262
5263         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5264
5265         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5266         * aspell.C: \file aspell_local.C -> \file aspell.C
5267         * gettext.C: \file gettext.C -> \file src/gettext.C
5268         * gettext.h: \file gettext.h -> \file src/gettext.h
5269         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5270         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5271         * text.C: \file text.C -> \file src/text.C
5272
5273         * toc.C: move comment so that doxygen is not confused.
5274
5275 2003-10-07  Angus Leeming  <leeming@lyx.org>
5276
5277         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5278
5279 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5280
5281         * aspell.C:
5282         * aspell_local.h: add forgotten std::string's.
5283
5284 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5285
5286         * LaTeXFeatures.C:
5287         * LyXAction.C:
5288         * factory.C:
5289         * lfuns.h:
5290         * lyxfunc.C:
5291         * text3.C: The Box patch. Fancybox support, minipage, parbox
5292
5293 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5294
5295         * CutAndPaste.h:
5296         * DepTable.h:
5297         * FloatList.h:
5298         * LaTeXFeatures.h:
5299         * ParagraphParameters.h:
5300         * TextCache.h:
5301         * Thesaurus.h:
5302         * bufferlist.h:
5303         * exporter.h:
5304         * importer.h:
5305         * lastfiles.h:
5306         * lyxfind.h:
5307         * lyxfont.h:
5308         * lyxlex.h:
5309         * lyxtextclasslist.h:
5310         * messages.h:
5311         * paragraph.h:
5312         * paragraph_pimpl.C:
5313         * textcursor.h: add <string> and other small fixes to make Lars'
5314         std::string patch compile with STLport.
5315
5316 2003-10-06  Angus Leeming  <leeming@lyx.org>
5317
5318         * LColor.h: Add missing #include <string>.
5319
5320 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * All most all file in all subdirs: Make <string> be the prefered
5323         way of getting to std::string, add using declarations.
5324
5325 2003-10-06  André Pönitz  <poenitz@gmx.net>
5326
5327         * metricsinfo.C: initialize LyXFont before changing attribute.
5328         (fixes the 'math in \emph is upright' bug)
5329
5330 2003-10-06  André Pönitz  <poenitz@gmx.net>
5331
5332         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5333
5334 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5335
5336         * graph.C:
5337         * paragraph_pimpl.C: Small fixes to build using STLport
5338
5339 2003-10-02  André Pönitz  <poenitz@gmx.net>
5340
5341         * lyxfunc.C:
5342         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5343
5344 2003-10-01  André Pönitz  <poenitz@gmx.net>
5345
5346         * factory.C: assert early
5347
5348 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5349
5350         * lyx_main.C: remove the global debug object
5351
5352         * debug.h: adjust for new debugstream
5353
5354         * debug.C: adjust for new debugstream and keep the global debug
5355         object here.
5356
5357 2003-09-22  Angus Leeming  <leeming@lyx.org>
5358
5359         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5360         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5361         an incomplete class LyXFont.
5362
5363 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5364
5365         * factory.C: bug fix in branches
5366
5367 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * lyxfunc.C (processKeySym): adjust
5370         (dispatch): adjust
5371         (dispatch): change arg name from ev to func, adjust
5372         (sendDispatchMessage): ditto
5373
5374         * lyx_main.C (defaultKeyBindings): adjust keybindings
5375         (deadKeyBindings): ditto
5376
5377         * kbsequence.C (addkey): return a FuncRequest
5378
5379         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5380
5381         * kbmap.C (bind): take a FuncRequest as arg, adjust
5382         (read): adjust
5383         (lookup): adjust
5384         (defkey): change to take a FuncRequest as arg, adjust
5385         (findbinding): take a FuncRequest as arg, adjust.
5386
5387         * funcrequest.h (operator=): added
5388
5389         * funcrequest.C (FuncRequest): default kb_action changed from
5390         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5391
5392         * buffer.C (dispatch): simplify
5393         (dispatch): adjust to take a FuncRequest as arg, adjust
5394
5395         * boost.C (assertion_failed): change assertion message slightly
5396
5397         * ToolbarBackend.C (read): simplify
5398
5399         * MenuBackend.C (binding): adjust call to findbinding, add a
5400         message if no binding is found.
5401         (read): simplify
5402         (expandToc): correct by adding a empty FuncRequest
5403
5404         * LyXAction.C: include <boost/assert.hpp>
5405         (isPseudoAction): delete function
5406         (LookupFunc): change name to...
5407         (lookupFunc): this. change return type to FuncRequest.
5408         (getActionName): take kb_action as arg, simplify
5409         (funcHasFlag): add an assert, simplify.
5410
5411 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5412
5413         * toc.C (action): return a FuncRequest, simplify
5414
5415         * lyxfunc.C (processKeySym): adjust
5416         (getStatus): delete version that takes an int.
5417         (getStatus): adjust
5418         (dispatch): delete version that takes action as int
5419         (dispatch): adjust
5420         (sendDispatchMessage): simplify and adjust
5421
5422         * funcrequest.C (getArg): take unsigned int as arg
5423
5424         * ToolbarBackend.C (read): adjust
5425         (add): delete version that takes func as a string.
5426         (getIton): take a FuncRequest as arg
5427
5428         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5429         action.
5430
5431         * MenuBackend.C (MenuItem): add a new construct that only takes a
5432         Kind, simplify the constructor use for submenus.
5433         (add): adjust
5434         (expandLastfiles): adjust
5435         (expandDocuments): adjust
5436         (expandFormats): adjust
5437         (expandFloatListInsert): adjust
5438         (expandFloatInsert): adjust
5439         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5440
5441         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5442         Remove class variables lyx_pseudo_map and lyx_arg_map
5443
5444         * LyXAction.C (searchActionArg): delete function
5445         (getPseudoAction): delete function
5446         (retrieveActionArg): delete function
5447         (LookupFunc): make it return kb_action, simplify.
5448         (getActionName): simplify
5449
5450         * factory.C (createInset): fix new bug
5451
5452 2003-09-19  Angus Leeming  <leeming@lyx.org>
5453
5454         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5455         masterFilename_ parameter in the include inset.
5456
5457         * factory.C (createInset): changes due to the changes to InsetInclude.
5458
5459 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5460
5461         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5462
5463 2003-09-18  Angus Leeming  <leeming@lyx.org>
5464
5465         * buffer.C:
5466         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5467         Inset::fillWithBibKeys.
5468         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5469
5470 2003-09-18  Angus Leeming  <leeming@lyx.org>
5471
5472         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5473         variables.
5474         (ctor): pass and store a 'Buffer const &'
5475         (buffer): new member function.
5476
5477         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5478         '*this' to the LaTeXFeatures ctor.
5479
5480 2003-09-18  Angus Leeming  <leeming@lyx.org>
5481
5482         * LColor.h:
5483         * lyxfont.C:
5484         * lyxfont.h:
5485         * lyxtext.h:
5486         * text.C: rename EnumLColor as LColor_color.
5487
5488 2003-09-18  Angus Leeming  <leeming@lyx.org>
5489
5490         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5491         remove #include "insets/insetbase.h" from cursor.h.
5492
5493 2003-09-18  Angus Leeming  <leeming@lyx.org>
5494
5495         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5496         InsetOld_code to remove #include "inset.h".
5497
5498         * iterators.C: add #include "insets/inset.h"
5499
5500 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5501
5502         * BufferView.C: remove more locking stuff that apparently doesn't
5503         do anything sensible.
5504
5505 2003-09-16  André Pönitz  <poenitz@gmx.net>
5506
5507         * paragraph.[Ch]:
5508         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5509           performance boost.
5510
5511 2003-09-16  Angus Leeming  <leeming@lyx.org>
5512
5513         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5514
5515         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5516         arg/return type.
5517
5518         * paragraph.h: remove #include "lyxfont.h". Forward declare
5519         LyXFont_size.
5520
5521 2003-09-16  Angus Leeming  <leeming@lyx.org>
5522
5523         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5524         of support/textutils.h.
5525         (isWord): move the contents of support/textutils.h's IsWordChar here.
5526
5527         * buffer.C:
5528         * lyxfind.C:
5529         * rowpainter.C:
5530         * text.C:
5531         * text2.C: add #include "paragraph.h".
5532
5533         * rowpainter.C:
5534         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5535
5536 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5537
5538         * main.C:
5539         * lyx_main.C:
5540         * lyx_cb.C:
5541         * buffer.C:
5542         * LaTeX.C: use namespace alias for lyx::support::os
5543
5544 2003-09-16  Angus Leeming  <leeming@lyx.org>
5545
5546         * bufferparams.C:
5547         * bufferview_funcs.C:
5548         * factory.C:
5549         * lyxfunc.C:
5550         * paragraph_pimpl.C:
5551         * rowpainter.C:
5552         * text.C: add #include "LColor.h".
5553
5554 2003-09-16  Angus Leeming  <leeming@lyx.org>
5555
5556         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5557         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5558         return LyXFont &.
5559         Store the FontBits::color variable as an int rather than as an
5560         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5561         file.
5562
5563         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5564         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5565         string calls together.
5566
5567         * lyxrc.C: add #include "LColor.h".
5568
5569 2003-09-15  Angus Leeming  <leeming@lyx.org>
5570
5571         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5572         a cow_ptr.
5573
5574 2003-09-15  Angus Leeming  <leeming@lyx.org>
5575
5576         * LColor.h: add an EnumLColor wrapper for LColor::color.
5577
5578         * lyxfont.[Ch] (color, setColor, realColor):
5579         * lyxtext.h, text.C (backgroundColor):
5580         pass EnumLColor args to/from the functions, rather than LColor::color
5581         ones.
5582
5583         * lyxfont.h:
5584         * lyxtext.h: forward declare EnumLColor.
5585
5586         * lyx_main.C: add #include "LColor.h".
5587
5588 2003-09-15  Angus Leeming  <leeming@lyx.org>
5589
5590         * .cvsignore: add lyx-gtk.
5591
5592 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * Chktex.C
5595         * LaTeX.C
5596         * LaTeXFeatures.C
5597         * ParagraphParameters.C
5598         * Spacing.C
5599         * buffer.C
5600         * bufferparams.C
5601         * bufferview_funcs.C
5602         * chset.C
5603         * counters.C
5604         * funcrequest.C
5605         * lyxfont.C
5606         * lyxgluelength.C
5607         * lyxlength.C
5608         * paragraph.C
5609         * paragraph_funcs.C
5610         * text3.C
5611         * vc-backend.C: remove usage of STRCONV
5612
5613 2003-09-15  Angus Leeming  <leeming@lyx.org>
5614
5615         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5616         explicitly define the color passed to the painter.
5617
5618 2003-09-15  Angus Leeming  <leeming@lyx.org>
5619
5620         * bufferparams.C (BufferParams): reorder member initializers to avoid
5621         compiler warning.
5622
5623 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5624
5625         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5626         * text.C (updateRowPositions): remove an unusual nop
5627
5628 2003-09-12  André Pönitz  <poenitz@gmx.net>
5629
5630         * BufferView_pimpl.C:
5631         * Bullet.C:
5632         * layout.h:
5633         * lyxfunc.C:
5634         * lyxlayout.[Ch]:
5635         * lyxtextclass.C:
5636         * rowpainter.C:
5637         * text.C:
5638         * text2.C:
5639         * Counters.[Ch]: finish the 'automatic counters' job
5640
5641 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5642
5643         * aspell.C: include <boost/assert.cpp> (compile fix)
5644
5645 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5646
5647         * boost.C (assertion_failed): use lyx::support::abort instead of
5648         assert.
5649
5650 2003-09-10  Angus Leeming  <leeming@lyx.org>
5651
5652         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5653         with their _fwd progeny.
5654
5655 2003-09-09  Angus Leeming  <leeming@lyx.org>
5656
5657         134 files throughtout the source tree: replace 'using namespace abc;'
5658         directives with the appropriate 'using abc::xyz;' declarations.
5659
5660 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5661
5662         * boost.C (emergencyCleanup): moved here from LAssert.c
5663         (assertion_failed): new function, called by BOOST_ASSERT
5664
5665         * several files: change Assert to BOOST_ASSERT
5666
5667 2003-09-09  Angus Leeming  <leeming@lyx.org>
5668
5669         * buffer.[Ch]: Add an Impl class and move Buffer's member
5670         variables into it. As a result move several header files out of
5671         buffer.h.
5672
5673         Add header files to lots of .C files all over the tree as a result.
5674
5675 2003-09-09  Angus Leeming  <leeming@lyx.org>
5676
5677         * buffer.[Ch]: make Buffer's member variables private. Add
5678         accessor functions.
5679
5680         Lots of changes all over the tree as a result.
5681
5682 2003-09-08  Angus Leeming  <leeming@lyx.org>
5683
5684         * graph.C: #include <config.h>.
5685
5686 2003-09-08  Angus Leeming  <leeming@lyx.org>
5687
5688         * BranchList.C:
5689         * BufferView.C:
5690         * BufferView_pimpl.C:
5691         * CutAndPaste.C:
5692         * DepTable.C:
5693         * LaTeX.C:
5694         * LaTeXFeatures.C:
5695         * LyXAction.C:
5696         * MenuBackend.C:
5697         * TextCache.C:
5698         * aspell.C:
5699         * buffer.C:
5700         * bufferlist.C:
5701         * changes.C:
5702         * chset.C:
5703         * converter.C:
5704         * counters.C:
5705         * debug.C:
5706         * graph.C:
5707         * ispell.C:
5708         * lyx_cb.C:
5709         * lyxfind.C:
5710         * lyxfunc.C:
5711         * lyxlex_pimpl.C:
5712         * lyxrc.C:
5713         * lyxrow.C:
5714         * paragraph.C:
5715         * rowpainter.C:
5716         * texrow.C:
5717         * text.C:
5718         * text2.C:
5719         * toc.C: remove redundant using directives.
5720
5721 2003-09-07  Angus Leeming  <leeming@lyx.org>
5722
5723         * LaTeXFeatures.h: remove #include "support/types.h".
5724         * ToolbarBackend.h: remove #include <algorithm>.
5725         * changes.h: remove #include <ctime>.
5726         * debug.h: remove #include <iosfwd>.
5727         * graph.h: remove #include "support/std_string.h".
5728         * lyx_main.h: remove #include <csignal>.
5729         * lyxlex_pimpl.h: remove #include <fstream>.
5730         * sgml.h: remove #include <algorithm>, <utility>.
5731         * toc.h: remove #include "support/std_ostream.h".
5732         Add #include <iosfwd>.
5733
5734 2003-09-07  Angus Leeming  <leeming@lyx.org>
5735
5736         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5737
5738         * converter.h: forward declare LatexRunParams.
5739         * encoding.h: remove #include "lyxrc.h".
5740         * lyxtext.h: remove #include "LColor.h".
5741         * lyxtextclass.h: remove #include "support/types.h".
5742         * trans.h: remove #include "tex-accent.h".
5743         * trans_mgr.h: remove #include "tex-accent.h".
5744         * insets/inset.h: remove #include "support/types.h", <vector>.
5745         * insets/insetcollapsable.h: remove #include "LColor.h".
5746         * insets/insetinclude.h: remove #include "dimension.h".
5747         * insets/insetlatexaccent.h: remove #include "dimension.h".
5748         * insets/insetoptarg.h:: remove #include "insettext.h".
5749         * insets/insettext.h: remove #include "dimension.h",
5750         <boost/shared_ptr.hpp>
5751
5752         * insets/renderers.h: add #include "dimension.h".
5753         * insets/updatableinset.h: add #include "support/types.h".
5754
5755         * many .C files: Associated changes.
5756
5757 2003-09-06  Angus Leeming  <leeming@lyx.org>
5758
5759         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5760         one, inside testInvariant.
5761
5762         * PrinterParams.C: new file.
5763         * PrinterParams.[Ch]: move the function bodies out of line.
5764
5765 2003-09-06  Angus Leeming  <leeming@lyx.org>
5766
5767         * ParagraphParameters.h: forward declare ParameterStruct rather than
5768         including its header file.
5769         (depth): moved out-of-line.
5770
5771 2003-09-06  Angus Leeming  <leeming@lyx.org>
5772
5773         * BufferView_pimpl.h:
5774         * kbmap.h:
5775         * kbsequence.h:
5776         * lyxfunc.h: forward declare LyXKeySym rather than
5777         #include "frontends/LyXKeySym.h".
5778
5779         * BufferView_pimpl.C:
5780         * kbmap.C:
5781         * kbsequence.C:
5782         * lyxfunc.C: associated changes.
5783
5784 2003-09-06  Angus Leeming  <leeming@lyx.org>
5785
5786         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5787         As a result, can remove the #include "insets/inset.h" from BufferView.h
5788
5789 2003-09-06  Angus Leeming  <leeming@lyx.org>
5790
5791         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5792         As a result, can remove the #include "insets/inset.h" from BufferView.h
5793
5794 2003-09-06  Angus Leeming  <leeming@lyx.org>
5795
5796         * buffer_funcs.C:
5797         * buffer.h:
5798         * bufferlist.C:
5799         * BufferView.C:
5800         * bufferview_funcs.C:
5801         * BufferView_pimpl.C:
5802         * CutAndPaste.C:
5803         * lyx_cb.C:
5804         * lyxfunc.C:
5805         * paragraph.h:
5806         * ParagraphParameters.C:
5807         * tabular.C:
5808         * text3.C:
5809         * toc.C:
5810         * undo_funcs.C:
5811         * frontends/controllers/ControlDocument.C:
5812         * insets/insetcaption.C: rearrange the #includes into some sort of
5813         coherent order.
5814
5815         * buffer.h: remove #includes ErrorList.h, undo.h
5816
5817 2003-09-06  Angus Leeming  <leeming@lyx.org>
5818
5819         * support/types.h: add a 'depth_type' typedef, used to store the
5820         nesting depth of a paragraph.
5821
5822         * paragraph.h:
5823         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5824         defining explicitly.
5825
5826         * buffer.h:
5827         * paragraph_funcs.h:
5828         * ParagraphParameters.h:
5829         * sgml.h: use lyx::depth_type rather than Paragraph or
5830         ParameterStruct's depth_type.
5831
5832         * buffer.h
5833         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5834
5835         * BufferView.C:
5836         * BufferView_pimpl.C:
5837         * CutAndPaste.C:
5838         * ParagraphParameters.C:
5839         * buffer_funcs.C:
5840         * bufferlist.C:
5841         * bufferview_funcs.C:
5842         * lyx_cb.C:
5843         * lyxfunc.C:
5844         * tabular.C:
5845         * text3.C:
5846         * toc.C:
5847         * undo_funcs.C:
5848         * frontends/LyXView.C:
5849         * frontends/controllers/ControlDocument.C:
5850         * frontends/controllers/ControlErrorList.C:
5851         * insets/insetbibitem.C:
5852         * insets/insetbranch.C:
5853         * insets/insetcaption.C:
5854         * insets/insetcollapsable.C:
5855         * insets/insetenv.C:
5856         * insets/insetert.C:
5857         * insets/insetfloat.C:
5858         * insets/insetfoot.C:
5859         * insets/insetfootlike.C:
5860         * insets/insetnewline.C:
5861         * insets/insetquotes.C:
5862         * insets/insettabular.C:
5863         * insets/insettext.C:
5864         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5865
5866         * frontends/controllers/ControlChanges.C: #include "changes.h".
5867
5868 2003-09-06  Angus Leeming  <leeming@lyx.org>
5869
5870         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5871         than #including paragraph.h.
5872
5873         * ParagraphList.h:
5874         * RowList.h: deleted. Superfluous.
5875
5876         * CutAndPaste.h:
5877         * iterators.h:
5878         * lyxcursor.h:
5879         * lyxtext.h:
5880         * text_funcs.h:
5881         * undo.h:
5882         * undo_funcs.h:
5883         * insets/inset.h:
5884         * insets/insettext.h: use ParagraphList_fwd.h rather than
5885         ParagraphList.h.
5886
5887         * paragraph.h: don't forward declare ParagraphList.
5888
5889         * buffer.h:
5890         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5891         rather than ParagraphList.h. paragraph.h is still needed for the
5892         Paragraph::depth_type parameters.
5893
5894         * textcursor.h: enable it to compile stand-alone in light of the
5895         above changes.
5896
5897         * bufferview_funcs.C:
5898         * iterators.C:
5899         * lyxfunc.C:
5900         * lyxrow_funcs.C:
5901         * paragraph.C:
5902         * rowpainter.C:
5903         * text.C:
5904         * text2.C:
5905         * text3.C:
5906         * text_funcs.C:
5907         * textcursor.C:
5908         * undo.C:
5909         * frontends/controllers/ControlParagraph.C:
5910         * frontends/controllers/ControlTabular.C:
5911         * insets/insetmarginal.C:
5912         * insets/insetminipage.C:
5913         * insets/insetnote.C:
5914         * insets/insetoptarg.C: add header files needed to compile again.
5915
5916 2003-09-06  Angus Leeming  <leeming@lyx.org>
5917
5918         * RowList_fwd.h: new file, forward-declaring Row rather than
5919         #including lyxrow.h.
5920
5921         * lyxrow_funcs.h:
5922         * lyxtext.h:
5923         * paragraph.h:
5924         * insets/insettext.h: use it instead of RowList.h
5925
5926         * bufferview_funcs.C:
5927         * lyxfunc.C:
5928         * lyxrow_funcs.C:
5929         * paragraph.C:
5930         * rowpainter.C:
5931         * text.C:
5932         * text2.C:
5933         * text3.C: #include "RowList.h".
5934
5935 2003-09-05  Angus Leeming  <leeming@lyx.org>
5936
5937         * factory.C (createInset):
5938         * vspace.C (c-tor): replace sscanf call with an istringstream.
5939         * ispell.C: re-add missing HP/UX headers.
5940         * lyxserver.C: re-add missing  os2 headers.
5941
5942 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5943
5944         * BranchList.C:
5945         * graph.C:
5946         * ispell.C:
5947         * lastfiles.C:
5948         * lyx_cb.C:
5949         * lyxserver.C:
5950         * texrow.C:
5951         * text3.C: re-add missing system headers, needed for 2.95.2.
5952
5953 2003-09-05  Angus Leeming  <leeming@lyx.org>
5954
5955         Changes most place everywhere due to the removal of using directives
5956         from support/std_sstream.h.
5957
5958 2003-09-05  Angus Leeming  <leeming@lyx.org>
5959
5960         Replace LString.h with support/std_string.h,
5961         Lsstream.h with support/std_sstream.h,
5962         support/LIstream.h with support/std_istream.h,
5963         support/LOstream.h with support/std_ostream.h.
5964
5965         Changes resulting throughout the tree.
5966
5967 2003-09-05  Angus Leeming  <leeming@lyx.org>
5968
5969         * sgml.h: ensure that the header file can be compiled stand-alone.
5970         * *.C: strip out redundant #includes. (320 in total.)
5971
5972 2003-09-04  Angus Leeming  <leeming@lyx.org>
5973
5974         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5975         here (from getPackages).
5976
5977         * debug.[Ch]: add a new EXTERNAL tag.
5978
5979 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5980
5981         * text2.C (cursorEnd): simplify
5982         (setCursor): adjust
5983         (getColumnNearX): adjust
5984
5985         * text.C (computeBidiTables): adjust
5986         (fill): adjust
5987
5988         * rowpainter.C (paintChars): adjust
5989         (paintSelection): adjust
5990         (paintChangeBar): adjust
5991         (paintText): adjust
5992
5993         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5994         lastPos instead.
5995         (numberOfSeparators): adjust
5996
5997 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5998
5999         * LyXAction.C:
6000         * box.[Ch]:
6001         * lfuns.h:
6002         * lyxfunc.C:
6003         * text3.C: Restricts the mouse click functionality
6004         of insets like bibtex, include, toc and floatlist to the visible
6005         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6006         up the dialogs. Cursor has to be in front of the inset (i.e.
6007         start of row) for this to function.
6008
6009 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6010
6011         * bufferview_funcs.C (currentState): output row information
6012
6013 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6014
6015         * bufferview_funcs.C (currentState): output paragraph position
6016
6017 2003-09-04  Angus Leeming  <leeming@lyx.org>
6018
6019         * FloatList.h: move out #include "Floating.h".
6020         * LaTeX.h: move out #include "DepTable.h".
6021         * LyXAction.h: move out #include "funcrequest.h".
6022         * buffer.h: move out #include "author.h", "iterators.h".
6023         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6024         * lyx_main.h: move out #include "errorlist.h".
6025         * lyxfunc.h: move out #include "FuncStatus.h".
6026         * lyxtext: move out #include "lyxcursor.h".
6027         * paragraph_pimpl.h: move out #include "counters.h".
6028
6029 2003-09-03  Angus Leeming  <leeming@lyx.org>
6030
6031         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6032         preamble_snippets list, enabling us to add snippets to the preamble
6033         only if the snippet was not there already.
6034
6035 2003-09-04  Angus Leeming  <leeming@lyx.org>
6036
6037         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6038
6039 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6042         update
6043
6044 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6045
6046         * BranchList.C: point fix, earlier forgotten
6047
6048 2003-09-02  Angus Leeming  <leeming@lyx.org>
6049
6050         * box.C (contains): renamed from 'contained' after a fantastic
6051         amount of hot air.
6052
6053 2003-09-02  John Levon  <levon@movementarian.org>
6054
6055         * BufferView.C:
6056         * lyxcursor.h:
6057         * lyxcursor.C:
6058         * lyxfunc.C:
6059         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6060
6061 2003-09-02  John Levon  <levon@movementarian.org>
6062
6063         * text2.C: simplification of cursorEnd(), including partial
6064         fix for bug 1376
6065
6066 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * buffer.C (readFile): add a space
6069
6070 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6071
6072         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6073
6074 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * buffer.C (readFile): new function, take a filename and a
6077         ParagraphList::iterator
6078         (readFile): adjust
6079         (readFile): adjust, make it private. don't use setStream, make
6080         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6081         always contain the filename.
6082
6083         * BufferView.C (insertLyXFile): simplify and make it work for
6084         gzipped files.
6085
6086 2003-08-30  John Levon  <levon@movementarian.org>
6087
6088         * Makefile.am: fix dist (from Kayvan)
6089
6090 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * most files: change to use const Buffer refs
6093
6094 2003-08-27  André Pönitz  <poenitz@gmx.net>
6095
6096         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6097         on top of ownerPar().
6098
6099 2003-08-27  John Levon  <levon@movementarian.org>
6100
6101         * funcrequest.C: properly initialise POD members
6102
6103 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6104
6105         * lyxtext.h (top_y): move top_y from here
6106         * text.C:
6107         * text2.C:
6108         * text3.C:
6109         * BufferView.[Ch]:
6110         * BufferView_pimpl.[Ch]: to here
6111         * frontends/screen.C:
6112         * insets/insettabular.C:
6113         * insets/insettext.C: adjust
6114         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6115
6116 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6117
6118         * BufferView.[Ch]:
6119         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6120
6121 2003-08-26  André Pönitz  <poenitz@gmx.net>
6122
6123         * paragraph_func.[Ch] (outerPar): new function
6124
6125         * paragraph.C:
6126         * paragraph_funcs.C:
6127         * paragraph_funcs.h:
6128         * paragraph_pimpl.C:
6129         * text2.C: remove Inset::par_owner
6130
6131 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6132
6133         * lyxrow_funcs.C:
6134         * lyxtext.h:
6135         * text.C:
6136         * text2.C: eliminates the needFullRow/display() stuff
6137         altogether, putting the logic in metrics/draw in the insets.
6138
6139 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6140
6141         * text2.C (redoParagraphInternal, redoParagraphs):
6142         * text.C (redoParagraph): add a call to updateRowPositions at the
6143         end of each 'metrics-like' call. Remove all others.
6144         (getRow): remove the 'y-computing' version.
6145         (getRowNearY): do not compute nor return the real y. Solve the
6146         'y < 0' problem and simplify.
6147
6148 2003-08-22  Angus Leeming  <leeming@lyx.org>
6149
6150         * *.[Ch]: clean-up of licence and author blurbs.
6151         Also move config.h out of a few .h files and into a few .C files.
6152
6153 2003-08-22  André Pönitz  <poenitz@gmx.net>
6154
6155         * lyxrow.[Ch]: add x_ and *fill_ members
6156
6157         * lyxtext.h:
6158         * text.C:
6159         * rowpainter.C:
6160         * text2.C: adjust/remove prepareToPrint() calls
6161
6162 2003-08-22  André Pönitz  <poenitz@gmx.net>
6163
6164         * lyxrow.[Ch]: add  end_ member
6165
6166         * lyxrow_funcs.C: use LyXRow::end_
6167
6168         * lyxtext.h (singleWidth): add LyXFont parameter
6169
6170         * rowpainter.C:
6171         * text2.C: adjust LyXText::singleWidth() calls
6172
6173         * text.C (redoParagraph): simplify row breaking logic
6174
6175
6176 2003-08-19  André Pönitz  <poenitz@gmx.net>
6177
6178         * funcrequest.C: initialize button_ member
6179
6180         * text3.C:
6181         * rowpainter.[Ch]: interface consolidation
6182
6183 2003-08-18  André Pönitz  <poenitz@gmx.net>
6184
6185         * BufferView.C:
6186         * BufferView_pimpl.C:
6187         * lyxfind.C:
6188         * paragraph_funcs.C:
6189         * rowpainter.C:
6190         * text3.C: remove LyXScreen::draw() and fitCursor calls
6191
6192         * BranchList.h: remove spurious semicolons
6193
6194         * MenuBackend.C: fix branchlist related crash
6195
6196 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6197
6198         * BranchList.[Ch]:
6199         * InsetList.[Ch]:
6200         * LColor.[Ch]:
6201         * LyXAction.C:
6202         * Makefile.am:
6203         * MenuBackend.[Ch]:
6204         * bufferparams.[Ch]:
6205         * factory.C:
6206         * lfuns.h:
6207         * lyxfunc.C:
6208         * text3.C: implements the 'branch inset'
6209         idea. This allows the output of various versions of a document
6210         from a single source version, selectively outputing or suppressing
6211         output of parts of the text.
6212         This implementation contains a 'branch list editor' in a separate
6213         tab of the document settings dialog. Branches are user definable
6214         and have a "display colour" to distinguish them on-screen.
6215
6216         ColorHandler was somewhat cleaned up.
6217         (1) make possible a dynamically growing LColor list by allowing
6218         the graphic context cache to grow along (vector);
6219         (2) eliminate an IMHO unnecessary step in colour allocation.
6220
6221 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6222
6223         * BufferView_pimpl.C: compile fix
6224
6225 2003-08-15  André Pönitz  <poenitz@gmx.net>
6226
6227         * rowpainter.C: remove extra metrics calls
6228
6229         * lyxtext.h: merge the two constructors into a single one,
6230           pass reference to owner's par list
6231
6232         * BufferView_pimpl.C:
6233         * text.C:
6234         * text2.C: adjust
6235
6236 2003-08-15  André Pönitz  <poenitz@gmx.net>
6237
6238         * lyxrow_funcs.[Ch]:
6239         * lyxtext.h:
6240         * paragraph.h:
6241         * paragraph_funcs.C:
6242         * rowpainter.C:
6243         * text.C:
6244         * text2.C:
6245         * text3.C:
6246         * text_funcs.C: split LyXText::rowlist_ into individual
6247         Paragraph::rows_ chunks
6248
6249         * BufferView.[Ch]:
6250         * BufferView_pimpl.[Ch]:
6251         * lyxfind.C:
6252         * lyxtext.h:
6253         * text3.C: remove toggleSelection()
6254
6255 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6256
6257         * bufferlist.C: beautify two alerts (shorter text of buttons)
6258         * buffer.C: Remove redundant ' ' from message
6259         * tabular.h:
6260         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6261         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6262         rename VALIGN_CENTER to VALIGN_MIDDLE
6263
6264 2003-08-11  André Pönitz  <poenitz@gmx.net>
6265
6266         * lyxtext.h (getPar):
6267         * text.C: new function
6268
6269 2003-08-11  André Pönitz  <poenitz@gmx.net>
6270
6271         * Makefile.am:
6272         * tracer.[Ch]: remove unneeded files
6273
6274         * InsetList.[Ch]: remove resizeInsetsLyXText()
6275
6276         * lyxtext.h:
6277         * text.C:
6278         * text2.C:
6279         * text3.C: merge insertParagraphs() and appendParagraph()
6280         remove breakAgain(), update()
6281
6282         * BufferView_pimpl.[Ch]:
6283         * bufferview_funcs.[Ch]:
6284         * lyxfunc.C:
6285         * paragraph.[Ch]:
6286         * rowpainter.C:
6287         * tabular.C: adjust after text & InsetList changes.
6288
6289 2003-08-08  André Pönitz  <poenitz@gmx.net>
6290
6291         * text.C (insertChar, backspace): replace rowlist fiddling
6292         with rebreak of full par
6293
6294         * lyxtext.h:
6295         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6296         checkParagraph, updateInset): removed
6297
6298 2003-08-07  André Pönitz  <poenitz@gmx.net>
6299
6300         * paragraph.C:
6301         * text3.C: merge some LFUN handlers, remove dead code
6302
6303 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6304
6305         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6306
6307 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * text2.C (DEPM): fix part of bug 1255 and 1256
6310
6311 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6312
6313         * BufferView_pimpl.C (workAreaDispatch): change to use
6314         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6315         that are no mouse related.
6316
6317 2003-08-05  André Pönitz  <poenitz@gmx.net>
6318
6319         * BufferView.[Ch]:
6320         * BufferView_pimpl.[Ch]:
6321         * bufferview_funcs.C:
6322         * text2.C:
6323         * text3.C: rip out "deep update"
6324
6325         * textcursor.[Ch] (last_sel_cursor): remove unused member
6326
6327 2003-08-04  André Pönitz  <poenitz@gmx.net>
6328
6329         * BufferView.[Ch]:
6330         * BufferView_pimpl.[Ch]:
6331         * ParagraphParameters.C:
6332         * bufferview_funcs.C:
6333         * lyx_cb.C:
6334         * lyxfind.C:
6335         * lyxfunc.C:
6336         * text.C:
6337         * text2.C:
6338         * text3.C: replace "complicated" BufferView::update(...) calls with
6339         simpler ones.
6340
6341         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6342
6343 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6344
6345         * Makefile.am (lyx_SOURCES): add paper.h
6346
6347 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6348
6349         * Makefile.am: move things around so that both lyx-qt and
6350         lyx-xforms can be built (according to --with-frontend). Then lyx
6351         is a symbolic link to lyx-[firstfrontend]
6352
6353 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6354
6355         * Always use std::endl with lyxerr
6356
6357 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6358
6359         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6360
6361 2003-08-01  André Pönitz  <poenitz@gmx.net>
6362
6363         * BufferView.[Ch]:
6364         * BufferView_pimpl.[Ch]:
6365         * lyxfunc.C:
6366         * text3.C: merge BufferView::repaint() and BufferView::update()
6367
6368 2003-08-01  José Matos  <jamatos@lyx.org>
6369
6370         * buffer.[Ch]: file_format is no longer a buffer data element.
6371
6372 2003-08-01  André Pönitz  <poenitz@gmx.net>
6373
6374         * BufferView.C:
6375         * lyxtext.h:
6376         * text.C:
6377         * text2.C: make redoParagraph more independent of current cursor
6378
6379         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6380         * text.C:
6381         * text2.C: remove unneeded members
6382
6383 2003-07-30  André Pönitz  <poenitz@gmx.net>
6384
6385         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6386
6387         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6388           create a single function...
6389
6390         * paragraph_funcs.C (moveItem): ... here.
6391
6392         * text.C:
6393           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6394
6395 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6396
6397         * LColor.[Ch]: Add comment and greyedout logical colors.
6398
6399 2003-07-30  André Pönitz  <poenitz@gmx.net>
6400
6401         * tabular.C: don't use Assert too heavily. This crashes where it
6402           shouldn't
6403
6404 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6407         is disabled (bug 1232)
6408
6409 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6410
6411         * factory.C: limited 'arg' scope
6412
6413 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6414
6415         * factory.C: fixed Note submenu issues
6416
6417 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6418
6419         * factory.C: submenu for Note/Comment/Greyedout
6420
6421 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6422
6423         * lyx_main.C (LyX):
6424         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6425
6426 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6427
6428         * LaTeXFeatures.C:
6429         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6430         greyedout. Patch provided by Jürgen Spitzmüller.
6431
6432 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6433
6434         * kbmap.C (read): fix error message when reading bind files
6435
6436 2003-07-29  Angus Leeming  <leeming@lyx.org>
6437
6438         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6439         certainly does not do what it purports to do. I am doing it, and
6440         us, a favour by killing it.
6441
6442 2003-07-28  José Matos  <jamatos@lyx.org>
6443
6444         * buffer.C (readBody, do_writeFile):
6445         * paragraph.C(readParagraph): \end_document replaces \the_end.
6446
6447 2003-07-29  André Pönitz  <poenitz@gmx.net>
6448
6449         * BufferView.[Ch]:
6450         * BufferView_pimpl.[Ch]:
6451         * lyxfunc.C:
6452         * text2.C:
6453         * text3.C:
6454         * textcursor.[Ch]: remove toggleToggle & Co
6455
6456 2003-07-28  José Matos  <jamatos@fep.up.pt>
6457
6458         * buffer.C (readParagraph):
6459         * params_func (readParToken, readParagraph):
6460         * paragraph.C (write): \layout -> \begin_layout.
6461
6462 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * lyxlex_pimpl.C (setFile): clean up slightly.
6465
6466         * bufferparams.h: add compressed var
6467
6468         * buffer_funcs.C (readFile): adjust for LyXLex change
6469         (newFile): ditto + simplify
6470
6471         * buffer.C (writeFile): handle writing of compressed files
6472
6473         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6474         Check if the file is compressed and set a bufferparm if so.
6475
6476         * Makefile.am (lyx_LDADD): remove explicit -lz
6477
6478 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6479
6480         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6481         makeDocBookFile): put the real LyX version in the first line of
6482         the file
6483
6484         * version.h:
6485         * version.C.in: remove lyx_docversion
6486
6487         * tabular.C (write_attribute): add a template-based version to
6488         write enums properly
6489
6490 2003-07-28  André Pönitz  <poenitz@gmx.net>
6491
6492         * lyxtext.h:
6493         * text.C:
6494         * text2.C:
6495         * text3.C: use doubles again for x-coordinates. They are needed.
6496
6497 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6498
6499         * messages.C (getLocaleDir): use lyx_localedir()
6500
6501         * lyxlex_pimpl.C (setFile): compress stuff
6502
6503         * buffer.C (writeFile): add some compression stuff
6504         (do_writeFile): new func, dont call expliti close... will this
6505         breake anything?
6506
6507         * Makefile.am (lyx_LDADD): add -lz
6508
6509 2003-07-28  José Matos  <jamatos@fep.up.pt>
6510
6511         * buffer.C: increment file format.
6512         * paragraph_funcs (readParagraph, readParToken):
6513         * paragraph.C (readParagraph): add \end_layout.
6514
6515 2003-07-27  Angus Leeming  <leeming@lyx.org>
6516
6517         * Makefile.am: remove special casing for configure-time setting of
6518         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6519
6520         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6521         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6522
6523 2003-07-26  André Pönitz  <poenitz@gmx.net>
6524
6525         * paragraph_func.[Ch]:
6526         * paragraph.C (realizeFont): inline it whereever it is used
6527
6528         * rowpainter.C:
6529         * text.C:
6530         * text2.C:
6531         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6532
6533
6534 2003-07-26  André Pönitz  <poenitz@gmx.net>
6535
6536         *       lyxtext.h:
6537         * text.C:
6538         * text2.C: get rid of LyXText::need_break_row
6539
6540 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6541
6542         * toc.[Ch]: put namespace toc inside namespace lyx
6543
6544         * MenuBackend.C (expandToc2): adjust for lyx::toc
6545         (expandToc): ditto
6546
6547         * lyxfunc.C (dispatch): adjust for lyx::find
6548
6549         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6550         lyx::find instead. Reorganize a bit.
6551         (LyXReplace): rename to replace
6552         (LyXFind): rename to find
6553
6554         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6555         (dispatch): ditto
6556
6557 2003-07-26  André Pönitz  <poenitz@gmx.net>
6558
6559         * text.C (setHeightOfRow): restrict scope of temporary variable
6560
6561         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6562           code (never has been used?)
6563
6564 2003-07-27  Asger Alstrup  <alstrup@local>
6565
6566         * text.C (fill): Optimise algorithm to exploit that we can reuse
6567         the LyXFont for many characters.
6568         (setHeightOfRow): Same thing.
6569         (rowBreakPoint): Same thing.
6570
6571 2003-07-26  Asger Alstrup  <alstrup@local>
6572
6573         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6574
6575         * text.C (singleWidth): Spurious font copying in hot-spot
6576         singleWidth avoided. Reorder tests for arabic for efficiency.
6577
6578         * text.C (fill): handle empty paragraphs better.
6579
6580 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6581
6582         * ispell.C:
6583         * encoding.h: add includes
6584
6585         * lyxrc.C: remove reading of bind files
6586
6587         * lyx_main.C (init): setup bindings and menus only if we have a
6588         gui.
6589
6590         * kbmap.C (read): new method. Do the actual reading of bind
6591         files.
6592
6593         * converter.C (dvipdfm_options):
6594         * bufferparams.C:
6595         * lyxrc.C (read):
6596         (output): adapt PAPER_* enums.
6597
6598         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6599
6600         * bufferparams.h: remove paper-related enums from there
6601
6602         * paper.h: New file. A trivial header file to hold paper-related
6603         enums. It should later expand to contain many paper-related
6604         horrors access.
6605
6606         * lyxrc.C: declare extern displayTranslator
6607
6608 2003-07-27  José Matos  <jamatos@fep.up.pt>
6609
6610         * tabular.[Ch] (linuxdoc): add support for tables and figures
6611         (linuxdoc).
6612
6613 2003-07-27  José Matos  <jamatos@fep.up.pt>
6614
6615         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6616         consistency in both functions.
6617         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6618
6619 2003-07-26  Asger Alstrup  <alstrup@local>
6620
6621         * rowpainter.C (paintRows): Change algorithm to work directly on
6622         the insets rather than asking every character in the document
6623         whether its an inset.
6624
6625 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6626
6627         * buffer.C (openFileWrite): factorize some code
6628
6629 2003-07-26  Angus Leeming  <leeming@lyx.org>
6630
6631         * lyx_cb.C:
6632         * lyx_main.[Ch]: replace occurances of system_tempdir with
6633         os::getTmpDir().
6634
6635 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6636
6637         * rename Inset to InsetOld
6638
6639 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6640
6641         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6642         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6643         which I think is a bit clearer. EDIT is gone, since it was
6644         premature optimisation, and broken for mathed anyway.
6645         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6646         with cursor positioning in insets as well (math insets still do not
6647         work, but that's a different story anyway.) It mysteriously
6648         crashes sometimes with undo in the first paragraph, but I'm fairly
6649         confident that this is a compiler bug.
6650
6651 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * paragraph.C (Paragraph): adjust for new clone return type
6654         (operator==): ditto
6655         (copyIntoMinibuffer): ditto
6656
6657 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6658
6659         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6660         by not having a special case, and always doing a full rebreak of
6661         the document after undo.
6662
6663 2003-07-23  Angus Leeming  <leeming@lyx.org>
6664
6665         * factory.C (createInset): InsetExternal::setParams now takes a
6666         Buffer const * arg.
6667
6668 2003-07-23  Angus Leeming  <leeming@lyx.org>
6669
6670         * factory.C (createInset): changed interface to the external and
6671         graphics mailers' string2params functions.
6672
6673 2003-07-23  Angus Leeming  <leeming@lyx.org>
6674
6675         * factory.C (createInset): pass a
6676         Buffer const * parameter to InsetExternalMailer's string2params.
6677
6678 2003-07-22  John Levon  <levon@movementarian.org>
6679
6680         * Thesaurus.h: include the right aiksaurus header
6681
6682 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6683
6684         * MenuBackend.C (expand): check menu shortcuts unconditionally
6685
6686 2003-07-21  Angus Leeming  <leeming@lyx.org>
6687
6688         * factory.C (createInset): pass a
6689         buffer_path parameter to InsetGraphicsMailer's string2params.
6690
6691 2003-07-21  Angus Leeming  <leeming@lyx.org>
6692
6693         * BufferView_pimpl.C (buffer):
6694         * buffer.C (d-tor):
6695         * lyx_main.C (LyX):
6696         * lyxfunc.C (dispatch):
6697         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6698         rather than the grfx shortcut.
6699
6700 2003-07-21  André Pönitz  <poenitz@gmx.net>
6701
6702         * rowpainter.C: remove unused variables
6703
6704         * tabular_funcs.C:
6705         * tabular_funcs.h: move to tabular.C
6706         * Makefile.am: adjust
6707
6708         * tabular.[Ch]: basic optical cleaning
6709
6710         * author.h: pass references, not values
6711
6712 2003-07-18  André Pönitz  <poenitz@gmx.net>
6713
6714         * lyxtext.h:
6715         * metricsinfo.C:
6716         * metricsinfo.h:
6717         * rowpainter.C:
6718         * text.C:
6719         * text2.C:
6720         * text3.C: two-phase drawing for InsetText and InsetTabular
6721         some float -> int changes.
6722
6723 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6724
6725         * lyx_main.C: fix the fix
6726
6727 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6728
6729         * lyx_main.C: fix a crash in batch mode if no files specified
6730         * converter.C: ws
6731
6732 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6733
6734         * format.[Ch] (papersize): moved to BufferParams
6735         * converter.[Ch] (dvips_options): moved to BufferParams
6736         (dvipdfm_options): moved to anon namespace
6737         * bufferparams.[Ch]: added above functions.
6738
6739 2003-07-17  André Pönitz  <poenitz@gmx.net>
6740
6741         * lyxtext.h:
6742         * rowpainter.C:
6743         * text2.C: don't call inset->update() anymore
6744
6745         * metricsinfo.[Ch]: add convenience constructor
6746
6747 2003-07-16  André Pönitz  <poenitz@gmx.net>
6748
6749         * lyxcursor.[Ch]:
6750         * lyxfunc.[Ch]:
6751         * text.C:
6752         * text2.C: replace the LyXCursor::irow_ member with
6753          on-demand computation of the value
6754
6755 2003-07-16  John Levon  <levon@movementarian.org>
6756
6757         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6758
6759 2003-07-15  André Pönitz  <poenitz@gmx.net>
6760
6761         * text.C:
6762         * text2.C: remove no more needed refresh_row
6763
6764 2003-07-15  André Pönitz  <poenitz@gmx.net>
6765
6766         * lyxtext.h:
6767         * rowpainter.C:
6768         * text2.C:
6769         * text3.C: refresh_status tristate -> need_update bool
6770
6771 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6772
6773         * lyxtext.h (init): remove reinit argument (act as if always true)
6774         * text2.C: adjust to that
6775
6776 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6777
6778         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6779         * text3.C: use it to delete selections in some cases
6780         (bugs 441, 673, 702, 954).
6781
6782 2003-07-14  André Pönitz  <poenitz@gmx.net>
6783
6784         * rowpainter.[Ch]: reduce interface
6785
6786 2003-07-14  André Pönitz  <poenitz@gmx.net>
6787
6788         * BufferView_pimpl.C:
6789         * text2.C: adjust after removing unused BufferView * argument
6790
6791 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6792
6793         * text2.C (init): fix a crash fired on resize
6794
6795 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6796
6797         * buffer.[Ch]: added new closing signal
6798         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6799         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6800         BufferView::Pimpl via the closing the signal
6801
6802 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6803
6804         * buffer.[Ch]: take out all bv-related from buffer
6805         * BufferView.C:
6806         * BufferView_pimpl.[Ch]: connect to new signals
6807         * CutAndPaste.C: removed useless asserts
6808         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6809         * lyxvc.[Ch]:
6810         * vc-backend.[Ch]:
6811         * lyxfunc.C: moved view-related funciontality from vc here
6812         * paragraph.C: removed outdated comments
6813         * text.C: ws
6814
6815 2003-07-10  André Pönitz  <poenitz@gmx.net>
6816
6817         * BufferView_pimpl.C:
6818         * tabular.h:
6819         * tabular_funcs.C:
6820         * text.C:
6821         * text2.C: remove InsetText::InnerCache, clean up consequences
6822
6823 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6824
6825         * ispell.C: fix two typos in error messages
6826
6827 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6828
6829         * Extend Note inset to other forms of annotation like Comment
6830         and Greyedout. Right button click gives dialog.
6831
6832         Files modified or added (+):
6833
6834         * insetnote.[Ch]
6835         * FormNote.[Ch]      +
6836         * ControlNote.[Ch]   +
6837         * form_note.fd       +
6838         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6839         frontends/controllers
6840         * xforms/Dialogs.C
6841         * factory.C
6842
6843 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6844
6845         * aspell.C: add missing namespace lyx::support
6846
6847 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6848
6849         * BufferView.[Ch] (newFile): Add
6850         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6851         * LaTeX.[Ch] (message): added this signal and use it
6852         * buffer.[Ch] (busy, message): added these signals and use them
6853         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6854         * converter.C:
6855         * exporter.C:
6856         * format.C:
6857         * importer.C: use buffer signals instead of direct bv calling
6858         * lyx_cb.[Ch] (ShowMessage): removed
6859         * lyx_main.C:
6860         * lyxfunc.C:
6861         * paragraph_funcs.C:
6862         * text2.C: use buffer signals
6863
6864 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * introduce namespace lyx::graphics
6867
6868 2003-07-02  André Pönitz  <poenitz@gmx.net>
6869
6870         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6871
6872 2003-07-01  André Pönitz  <poenitz@gmx.net>
6873
6874         * text.C:
6875         * text2.C:
6876         * text3.C:
6877         * text_funcs.[Ch]:
6878         * textcursor.h:
6879         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6880           text*.C to text_func.C
6881
6882 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6883
6884         * introduce namespace lyx::support
6885
6886 2003-06-30  André Pönitz  <poenitz@gmx.net>
6887
6888         * Chktex.C:
6889         * funcrequest.C:
6890         * lyxtext.h:
6891         * text.C: re-enable --with-included-string
6892
6893 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6894
6895         * textcursor.C: add <config.h>
6896
6897         * text.C (getWord): remove const from word_location arg
6898
6899         * lyxvc.C (getLogFile): fix const type order
6900
6901         * lyxtext.h: remove const from word_location arg, add arg name
6902
6903         * lyxlayout.h: currect type on labeltype.
6904
6905         * importer.C: correct \file
6906
6907         * converter.C (intToFormat): use std:: on ret val, ws changes
6908
6909         * bufferlist.h: correct \file
6910
6911         * buffer.C (makeLinuxDocFile): fix const type order
6912         (makeDocBookFile): ditto
6913         (fillWithBibKeys): use std:: on stdlib args.
6914
6915         * CutAndPaste.C: fix authors.
6916         (availableSelections): use std:: on return vector
6917
6918 2003-06-27  André Pönitz  <poenitz@gmx.net>
6919
6920         * BufferView_pimpl.C:
6921         * bufferview_funcs.C:
6922         * lyxcursor.C:
6923         * lyxcursor.h:
6924         * lyxfunc.C:
6925         * lyxtext.h:
6926         * rowpainter.C:
6927         * text.C:
6928         * text2.C:
6929         * text3.C: remove LyXCursor::row_ member
6930
6931         * lyxtext.h:
6932         * text.C: rename fullRebreak() to partialRebreak() and implement
6933           a fullRebreak() that really bereks fully
6934
6935         * textcursor.h: new struct for cursor-related data
6936
6937 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6938
6939         * lyx_main.C (LyX): get full path of document loaded on the
6940         command line
6941
6942 2003-06-26  André Pönitz  <poenitz@gmx.net>
6943
6944         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6945           remove unused/broken operator>,<,>=.
6946
6947         *       text.C: remove only use of broken operator<= in an Assert().
6948
6949 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6950
6951         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6952         moved errorlist_.clear to showErrorList
6953
6954 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6955
6956         * converter.C (scanLog, runLaTeX):
6957         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6958         move the bv->showErrorList call to the callers
6959         * lyxfunc.C: i.e. here...
6960         * text2.C: and here
6961         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6962         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6963         namespace, the second to...
6964         * buffer_funcs (BufferFormat, parseErrors): added
6965         * errorlist.C (ErrorList(TeXErrors const &)): removed
6966
6967 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6968
6969         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6970
6971 2003-06-24  "Garst R. Reese" <reese@isn.net>
6972
6973         * debug.C: fix typo
6974
6975 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6976
6977         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6978
6979         * version.C.in: change docversion to 1.4
6980
6981 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6982
6983         * buffer.C: fix a bug just introduced
6984
6985 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6986
6987         * buffer.[Ch]: added the parseError signal and use it, removed
6988         sgmlError
6989         * BufferView.[Ch] (addError): moved to ...
6990         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6991         to the Buffer::parseError signal to catch (guess what) parse errors
6992         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6993
6994 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6995
6996         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6997         ability to create a buffer and to return an existing one from
6998         the list. Moved these functions to...
6999         * buffer_funcs.[Ch]: added
7000         * BufferView.[Ch] (loadLyXFile): added
7001         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7002         job removed from bufferlist::loadLyXFile.
7003         * buffer.C (setReadOnly): make it work without view
7004         (i.e added an if (users))
7005
7006 2003-06-19  Angus Leeming  <leeming@lyx.org>
7007
7008         * lfuns.h:
7009         * LyXAction.C (init):
7010         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7011         with LFUN_DIALOG_SHOW <name> <data>.
7012
7013 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7014
7015         * CutAndPaste.C (availableSelections): small compilation fix for
7016         ancient (gcc 2.9x) compilers
7017
7018 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7019
7020         * text3.C (cursorNext): add tmp var
7021
7022         * text2.C (updateCounters): for function calling out of for clause
7023         (replaceSelectionWithString): ditto
7024         (insertStringAsParagraphs): ditto
7025         (getColumnNearX): add tmp var
7026         (setCursorFromCoordinates): add tmp var
7027         (cursorDownParagraph): add tmp var
7028         (deleteEmptyParagraphMechanism): add tmp var
7029
7030         * text.C (insertChar): add tmp var
7031
7032         * rowpainter.C (paintDepthBar): add tmp var
7033
7034         * CutAndPaste.C (availableSelections): potentially check all
7035         paragraphs in a cut to fill the shown strings.
7036
7037 2003-06-18  André Pönitz  <poenitz@gmx.net>
7038
7039         * kbmap.[Ch]: use vector<> instead of list<>
7040
7041 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7042
7043         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7044         pasteSelection with index
7045
7046         * text2.C (pasteSelection): modify, call pasteSelection with index
7047
7048         * paragraph.C (asString): reimplement version with no interval to
7049         call the one with interval.
7050
7051         * lyxtext.h: add index arg to pasteSelection
7052
7053         * MenuBackend.C (MenuItem): handle PasteRecent
7054         (Menu::read::Menutags): add md_pasterecent
7055         (read): handle it
7056         (expandPasteRecent): new function
7057         (expand): use it
7058
7059         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7060
7061         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7062         the limited stack
7063         (availableSelections): new function
7064
7065 2003-06-17  Angus Leeming  <leeming@lyx.org>
7066
7067         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7068
7069 2003-06-17  Angus Leeming  <leeming@lyx.org>
7070
7071         * lfuns.h:
7072         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7073
7074         * lyxfunc.C (dispatch): invoke it.
7075
7076 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7077
7078         * iterators.C (operator++, ParPosition): reintroduce some
7079         const_cast for the benefit of older compilers.
7080
7081 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7082
7083         * text3.C (dispatch): do not modify clipboard when doing
7084         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7085         LFUN_DELETE_SKIP on a selection selection
7086
7087 2003-06-16  André Pönitz  <poenitz@gmx.net>
7088
7089         * BufferView.C:
7090         * buffer.C:
7091         * buffer.h:
7092         * paragraph.C:
7093         * tabular.[Ch]: IU of clone() and getLabelList();
7094
7095 2003-06-13  André Pönitz  <poenitz@gmx.net>
7096
7097         * tabular.h: compactification
7098
7099 2003-06-12  André Pönitz  <poenitz@gmx.net>
7100
7101         * tabular.C:
7102         * tabular.h:
7103         * tabular_funcs.h: some renaming plus whitespace
7104
7105 2003-06-12  André Pönitz  <poenitz@gmx.net>
7106
7107         * BufferView.C:
7108         * BufferView_pimpl.C:
7109         * CutAndPaste.C:
7110         * buffer.C:
7111         * iterators.[Ch]:
7112         * lyxfunc.C:
7113         * text.C:
7114         * toc.C: Return a Paragraph & for ParIterator::operator*()
7115
7116 2003-06-11  John Levon  <levon@movementarian.org>
7117
7118         * lyx_main.C:
7119         * ToolbarBackend.h:
7120         * ToolbarBackend.C: add "Toolbars" section and
7121         put the flags there
7122
7123 2003-06-10  Angus Leeming  <leeming@lyx.org>
7124
7125         * lfuns.h:
7126         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7127
7128         * lyxfunc.C (dispatch): invoke it.
7129
7130 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7131
7132         * main.C: protect <ios> with HAVE_IOS
7133         (main): protect sync_with_stdio with HAVE_IOS
7134
7135 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7136
7137         * text2.C (cutSelection): adjust
7138         (pasteSelection): adjust
7139
7140         * messages.C: handle get of empty string
7141
7142         * main.C (main): use sync_with_stdio(false)
7143
7144         * lyxfunc.C (dispatch): adjust
7145
7146         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7147         (WriteAs): remove unneeded BufferView arg.
7148
7149         * bufferparams.h: use correct types on papersize, papersize2 and
7150         paperpackage.
7151
7152         * bufferparams.C (readToken): adjust for type
7153         (writeLaTeX): add missing cases to switch.
7154
7155         * bufferlist.C (quitWriteBuffer): adjust
7156         (close): adjust
7157
7158         * buffer.C (asciiParagraph): remove some commented code.
7159
7160         * CutAndPaste.C: remove current_view extern variable.
7161         (cutSelection): add BufferParams arg.
7162         (eraseSelection): add BufferParams arg.
7163         (pasteSelection): add Buffer const & arg
7164
7165 2003-06-07  John Levon  <levon@movementarian.org>
7166
7167         * buffer.C:
7168         * paragraph_funcs.C:
7169         * paragraph_pimpl.C:
7170         * text.C:
7171         * text2.C:
7172         * paragraph.h:
7173         * paragraph.C: allow InsetERT to freely space lines,
7174         and some consolidation of code
7175
7176 2003-06-06  José Matos  <jamatos@fep.up.pt>
7177
7178         * buffer.C (makeDocBookFile): fix bug #821
7179
7180 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7181
7182         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7183
7184 2003-06-04  Angus Leeming  <leeming@lyx.org>
7185
7186         * buffer.C: bump format to 224.
7187
7188 2003-06-05  André Pönitz  <poenitz@gmx.net>
7189
7190         * text2.C (redoParagraphs): remove two const_cast<>
7191
7192 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7193
7194         * ParagraphList.h: remove last remnants of NO_STD_LIST
7195
7196 2003-06-03  Angus Leeming  <leeming@lyx.org>
7197
7198         * factory.C (createInset): small change to the way InsetExternal's params
7199         are set.
7200
7201 2003-06-04  André Pönitz  <poenitz@gmx.net>
7202
7203         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7204
7205         * paragraph_pimpl.h:
7206         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7207
7208         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7209
7210         * undo_funcs.C: make some simple cases of undo work again
7211
7212 2003-06-03  John Levon  <levon@movementarian.org>
7213
7214         * ispell.C: HPUX doesn't have sys/select.h
7215         (from Albert Chin)
7216
7217 2003-06-03  John Levon  <levon@movementarian.org>
7218
7219         * CutAndPaste.C: update tabular and include inset
7220         buffer references
7221
7222         * buffer.h:
7223         * paragraph.h:
7224         * paragraph.C: remove owningBuffer(), don't pass Buffer
7225         to clone()
7226
7227         * factory.C: insetGraphicsParams changed
7228
7229 2003-06-02  John Levon  <levon@movementarian.org>
7230
7231         * LyXAction.C:
7232         * factory.C:
7233         * lfuns.h:
7234         * lyxfunc.C:
7235         * text3.C: remove insetparent
7236
7237 2003-06-02  John Levon  <levon@movementarian.org>
7238
7239         * buffer.h:
7240         * buffer.C: fix inset_iterator.end(), move out of line
7241         (bug 1149)
7242
7243 2003-06-01  John Levon  <levon@movementarian.org>
7244
7245         * text3.C: use a proper cut/paste when doing inset
7246         insert (from Jürgen Spitzmüller)
7247
7248 2003-06-01  John Levon  <levon@movementarian.org>
7249
7250         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7251
7252 2003-05-30  André Pönitz  <poenitz@gmx.net>
7253
7254         * rowpainter.C: unify second drawing phase
7255
7256 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7257
7258         * trans_mgr.C: remove one case of current_view
7259
7260         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7261
7262         * paragraph_funcs.h: remove paragraph.h include
7263
7264         * paragraph.h: delete NO_STD_LIST stuff
7265
7266         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7267
7268         * buffer.h: remove paragraph.h include
7269
7270         * ParagraphList.C: delete file
7271
7272         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7273
7274         * toc.C (getTocList): adjust
7275
7276         * paragraph_pimpl.C (validate): adjust
7277
7278         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7279
7280         * paragraph.C (Paragraph): adjust
7281         (getPositionOfInset): use const_iterator, adjust
7282         (bibitem): use const_iterator, adjust
7283         (setInsetOwner): adjust
7284
7285         * iterators.C (operator++): adjust
7286
7287         * InsetList.[Ch]: Replace selfmade iterator with standard
7288         vector::iterator also introduce const_iterator. Remove getPos,
7289         getInset and setInset from InsetTable. Adjust accordingly.
7290
7291         * BufferView.C (lockInset): adjust
7292         (ChangeInsets): adjust
7293
7294         * tabular.[Ch]: delete commented same_id functions
7295
7296 2003-05-28  John Levon  <levon@movementarian.org>
7297
7298         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7299
7300 2003-05-28  André Pönitz  <poenitz@gmx.net>
7301
7302         * metricsinfo.[Ch]: remove 'fullredraw' member
7303
7304 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7305
7306         * lyxtextclass.C (operator): remove caching.
7307
7308 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * text3.C: adjust
7311
7312         * text2.C (cursorBottom): adjust
7313         (setCounter): use ParagraphList::find, adjust
7314
7315         * text.C (workWidth): use ParagraphList::find, adjust
7316
7317         * lyxcursor.C (LyXCursor): adjust
7318
7319         * buffer.C (inset_iterator): adjust
7320
7321         * ParagraphList.h: make iterator(value_type) private, make
7322         ParagraphList a friend of iterator.
7323
7324         * ParagraphList.C (find): new function
7325
7326         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7327
7328 2003-05-27  André Pönitz  <poenitz@gmx.net>
7329
7330         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7331
7332 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7333
7334         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7335
7336 2003-05-26  John Levon  <levon@movementarian.org>
7337
7338         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7339
7340 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * remove same_id from function signatures, adjust.
7343
7344 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7347
7348         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7349
7350         * paragraph.C (Paragraph): get rid of same_ids parameter
7351
7352         * ParagraphList.C (insert): adjust
7353         (push_back): adjust
7354
7355 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * paragraph_funcs.C (breakParagraph): adjust
7358         (breakParagraphConservative): adjust
7359
7360         * buffer.C (readParagraph): adjust
7361
7362         * ParagraphList.C (insert): take a reference instead of a pointer
7363         (insert): adjust
7364
7365         * paragraph.[Ch] (id): new function
7366
7367         * bufferlist.C (newFile): adjust
7368
7369         * ParagraphList.C (ParagraphList): adjust
7370         (assign): adjust
7371         (push_back): take a reference instead of a pointer.
7372
7373         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7374
7375         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7376         instead.
7377
7378         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7379         set else use old code.
7380
7381         * ParagraphList.C: remove all NO_NEXT code and only compile this
7382         code of NO_STD_LIST is set.
7383
7384 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7385
7386         * BufferView_pimpl.C:
7387         * TextCache.C:
7388         * TextCache.h:
7389         * bufferlist.C:
7390         * errorlist.h:
7391         * format.C:
7392         * format.h:
7393         * graph.C:
7394         * lyxfunc.C:
7395         * lyxrc.C:
7396         * graphics/GraphicsConverter.C:
7397         * graphics/PreviewLoader.C: header adjustment
7398
7399 2003-05-23  Angus Leeming  <leeming@lyx.org>
7400
7401         * LaTeXFeatures.[Ch] (useBabel): new method.
7402         * bufferparams.C (writeLaTeX): use it.
7403
7404 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7405
7406         * ParagraphList.h (set): remove unused function.
7407
7408 2003-05-23  André Pönitz  <poenitz@gmx.net>
7409
7410         * BufferView.C:
7411         * BufferView_pimpl.C:
7412         * buffer.C:
7413         * buffer.h:
7414         * lyxfunc.C:
7415         * undo_funcs.C: setUndo reworked
7416
7417         * iterators.[Ch]: add access to topmost ParagraphList
7418
7419         * lyxtext.[Ch] (workWidth): add a const
7420
7421 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7422
7423         * texrow.[Ch] (increasePos): remove function
7424         * exporter.C (export): removed unused var and outdated comment
7425
7426 2003-05-23  Angus Leeming  <leeming@lyx.org>
7427
7428         * latexrunparams.h: rename fragile as moving_arg.
7429         * paragraph.C (simpleTeXOnePar): ditto.
7430         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7431
7432 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7433
7434         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7435         (createUndo): ditto
7436         (textUndoOrRedo): comment out a currently unused var.
7437
7438         * paragraph.h (NO_NEXT): enable NO_NEXT
7439
7440         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7441
7442         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7443
7444         * exporter.C (Export): adjust for removeAutoInsets removal.
7445
7446         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7447
7448         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7449
7450         * BufferView.[Ch] (removeAutoInsets): delete function
7451
7452 2003-05-22  Angus Leeming  <leeming@lyx.org>
7453
7454         * latexrunparams.h: add a free_spacing variable.
7455
7456         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7457         to pass moving_arg, as the data is stored in runparams.fragile.
7458
7459         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7460         to Inset::latexOptional or to simpleTeXOnePar.
7461
7462         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7463         free_spacing arg to Inset::latexOptional.
7464
7465         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7466         free_spacing arg.
7467
7468 2003-05-22  Angus Leeming  <leeming@lyx.org>
7469
7470         * latexrunparams.h: add fragile and use_babel variables.
7471
7472         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7473         * buffer.C (makeLaTeXFile): store this returned value in
7474         runparams.use_babel, thus passing it to the inset::latex methods.
7475
7476         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7477         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7478
7479         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7480         longer has a fragile arg, as it is stored in runparams.fragile.
7481
7482         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7483         moving_arg parameter as the data is stored in runparams.fragile.
7484
7485         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7486         a fragile parameter as the data is stored in runparams.fragile.
7487
7488 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7489
7490         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7491
7492 2003-05-22  Angus Leeming  <leeming@lyx.org>
7493
7494         * latexrunparams.h: add a 'bool nice' which defaults to false.
7495
7496         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7497         now encapsulated within runparams.
7498
7499         * bufferlist.C (updateIncludedTeXfiles):
7500         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7501
7502 2003-05-22  Angus Leeming  <leeming@lyx.org>
7503
7504         * latexrunparams.h: new file containing struct LatexRunParams.
7505         * Makefile.am: add new file.
7506
7507         * LaTeX.[Ch] (c-tor, run):
7508         * buffer.[Ch] (makeLaTeXFile):
7509         * bufferlist.[Ch] (updateIncludedTeXfiles):
7510         * converter.C (convert, scanLog):
7511         * converter.[Ch] (runLaTeX):
7512         * exporter.C (Export):
7513         * paragraph.[Ch] (simpleTeXOnePar):
7514         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7515         * paragraph_funcs.[Ch] (latexParagraphs):
7516         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7517         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7518         pass around a LatexRunParams parameter.
7519
7520 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * paragraph.[Ch]: remove unused constructor
7523
7524         * ParagraphList.C (erase): new function, taking two iterators
7525
7526 2003-05-22  André Pönitz  <poenitz@gmx.net>
7527
7528         * undo_funcs.C: remove duplicated code
7529
7530         * iterator.[Ch]: operator=
7531
7532 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7533
7534         * tabular.C (SetMultiColumn): ws changes
7535
7536         * rowpainter.C (paintFirst): get rid of a ->previous
7537
7538         * lyx_cb.C (getPossibleLabel): parlist simplification
7539
7540         * BufferView.C (ChangeInsets): simplify slightly.
7541
7542 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7543
7544         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7545         * lfuns.h: new LFUN_SPACE
7546         * lyxfunc.C: protected space has a new lfun
7547         * paragraph_funcs.C: read new space insets
7548         * text3.C:
7549         * factory.C: handle new space insets
7550
7551 2003-05-22  André Pönitz  <poenitz@gmx.net>
7552
7553         * BufferView.C:
7554         * BufferView_pimpl.C:
7555         * buffer.[Ch]:
7556         * lyxfunc.C:
7557         * undo_funcs.C: return a ParIterator from getParFromID.
7558
7559         * iterators.[Ch]: add two const's
7560
7561 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * toc.C (getTocList): adjust
7564
7565         * iterators.[Ch]: rework for parlist
7566
7567         * buffer.C (par_iterator_begin): adjust
7568         (par_iterator_end): adjust
7569
7570         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7571
7572         * BufferView.C (removeAutoInsets): adjust
7573         (ChangeInsets): adjust
7574
7575 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7576
7577         * text.C (top_y): fix bug 1110
7578
7579 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7580
7581         * errorlist.[Ch]: added
7582         * buffer.C:
7583         * BufferView.[Ch]:
7584         * BufferView_pimpl.C:
7585         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7586         instead
7587
7588 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7589
7590         * Makefile.am: ensure that lyx is relinked upon changes to the
7591         various "convenience" libs.
7592
7593 2003-05-20  Angus Leeming  <leeming@lyx.org>
7594
7595         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7596         files are compiled in alphabetical order again.
7597
7598         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7599
7600 2003-05-19  Angus Leeming  <leeming@lyx.org>
7601
7602         * gettext.[Ch]: remove "char const * _(char const *)".
7603
7604 2003-05-19  André Pönitz  <poenitz@gmx.net>
7605
7606         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7607
7608         * Makefile.am:
7609         * BufferView.C:
7610         * DepTable.h:
7611         * LaTeXFeatures.C:
7612         * buffer.C:
7613         * lyxfont.C:
7614         * lyxlex.h:
7615         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7616
7617 2003-05-19  André Pönitz  <poenitz@gmx.net>
7618
7619         * buffer.C:
7620         * lyxlayout.[Ch]:
7621         * lyxtextclass.[Ch]:
7622         * paragraph.C:
7623         * paragraph_funcs.[Ch]:
7624         * text2.C:
7625         * text3.C: more insetenv work
7626
7627 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7628
7629         * ParagraphParameters.C (params2string): small bug fixed
7630
7631 2003-05-16  André Pönitz  <poenitz@gmx.net>
7632
7633         * debug.C:
7634         * bufferview_funcs.C: patch from Kornel Benko to prevent
7635           crash when _(...) is called twice in a statement
7636
7637 2003-05-16  André Pönitz  <poenitz@gmx.net>
7638
7639         * BufferView.C:
7640         * lyxfunc.C:
7641         * text.C:
7642         * text2.C:
7643         * text3.C:
7644         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7645
7646 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7647
7648         * lyx_main.C (init): remove spurious static_cast
7649
7650 2003-05-14  André Pönitz  <poenitz@gmx.net>
7651
7652         * BufferView.C: fix format string
7653
7654 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7655
7656         * BufferView.[Ch] (insertErrors): removed
7657         * BufferView.[Ch] (showErrorList): added
7658         * buffer.C (runChkTeX):
7659         * converter.C (scanLog): call showErrorList instead of inserterrors
7660
7661 2003-05-13  André Pönitz  <poenitz@gmx.net>
7662
7663         * BufferView_pimpl.C:
7664         * buffer.C:
7665         * bufferview_func.C:
7666         * MenuBackend.C:
7667         * lyxfunc.C:
7668         * lyxrc.C:
7669         * tex-accent.C:
7670         * text3.C:
7671         * toc.C:
7672         * tabular_funcs.h: tostr() from its own header
7673
7674         * ParagraphParameters.C:
7675         * ToolbarBackend.C:
7676         * bufferparams.C:
7677         * format.C:
7678         * lyxlex_pimpl.C:
7679         * text3.C: STRCONV()
7680
7681 2003-05-12  André Pönitz  <poenitz@gmx.net>
7682
7683         * BufferView.C:
7684         * BufferView_pimpl.C:
7685         * CutAndPaste.C:
7686         * LaTeX.C:
7687         * LaTeXFeatures.C:
7688         * ParagraphParameters.C:
7689         * buffer.C:
7690         * bufferlist.C:
7691         * bufferparams.C:
7692         * bufferview_funcs.C:
7693         * converter.C:
7694         * counters.C:
7695         * debug.C:
7696         * exporter.C:
7697         * format.C:
7698         * importer.C:
7699         * lyx_cb.C:
7700         * lyx_main.C:
7701         * lyxfont.C:
7702         * lyxfunc.C:
7703         * lyxvc.C:
7704         * paragraph.C:
7705         * paragraph_funcs.C:
7706         * tabular.C:
7707         * tabular_funcs.C:
7708         * text2.C:
7709         * text3.C:  boost::format -> bformat  all over the place
7710
7711
7712 2003-05-09  André Pönitz  <poenitz@gmx.net>
7713
7714         * LColor.[Ch]: Pimpl the #include <map> away
7715
7716 2003-05-09  John Levon  <levon@movementarian.org>
7717
7718         * bufferlist.C: never remove emergency saves
7719
7720 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7721
7722         * Makefile.am: better lib building
7723
7724 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7725
7726         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7727         instead.
7728         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7729         (simpleTeXSpecialChars): adjust
7730         (simpleTeXSpecialChars): adjust
7731         * paragraph.C (simpleTeXOnePar): adjust
7732         * buffer.C (makeLaTeXFile): adjust
7733
7734         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7735
7736         * text2.C (changeDepth): parlist cleanup
7737         (getColumnNearX): ditto
7738
7739         * rowpainter.C (getLabelFont): parlist cleanup
7740
7741         * bufferlist.C (newFile): parlist cleanup
7742
7743         * CutAndPaste.C (eraseSelection): parlist cleanup
7744
7745         * BufferView_pimpl.C (trackChanges): parlist cleanup
7746         (dispatch): ditto
7747
7748         * BufferView.C (lockInset): parlist cleanup.
7749         (ChangeInsets): ditto
7750
7751 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * CutAndPaste.h: Update file header.
7754
7755         * CutAndPaste.C: Update file header.
7756         Store the parts cut out of the Document in a limited_stack.
7757         (copySelection): adjust
7758         (pasteSelection): new function, takes the index in the limited stack.
7759         (nrOfParagraphs): adjust
7760         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7761         simplify error inset insertion.
7762         (checkPastePossible): adjust
7763
7764 2003-05-06  John Levon  <levon@movementarian.org>
7765
7766         * text2.C: don't cast wrap inset to float
7767
7768 2003-05-05  André Pönitz  <poenitz@gmx.net>
7769
7770         * iterator.C:
7771         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7772
7773         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7774           few naked Paragraph *.
7775
7776 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7777
7778         * bufferparams.C: Output warning if a document with missing
7779         TeX document class is loaded
7780         * exporter.C: Disable TeX exports if the document class is missing
7781         * lyxtextclass.C:
7782         * lyxtextclass.h:
7783         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7784         isTeXClassAvailable()
7785
7786 2003-05-03  John Levon  <levon@movementarian.org>
7787
7788         * BufferView.h:
7789         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7790         explicit cursor show/hide
7791
7792         * BufferView_pimpl.h:
7793         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7794         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7795
7796         * lyxfunc.C: hide cursor before dispatching.
7797
7798         * lyx_cb.C:
7799         * lyxfind.C:
7800         * text.C:
7801         * text3.C: remove explicit cursor hides
7802
7803 2003-05-02  André Pönitz  <poenitz@gmx.net>
7804
7805         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7806
7807         * undo_funcs.C:
7808         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7809           linked lists
7810
7811         * text2.C: tiny whitespace
7812
7813 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7814
7815         * undo_funcs.C: almost only ws changes.
7816
7817         * ParagraphList.C (splice): just return if pl is empty.
7818
7819 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7820
7821         * ParagraphList.C (splice): new function.
7822
7823         * CutAndPaste.C (pasteSelection): use it
7824
7825 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * CutAndPaste.C (pasteSelection): remove the last next and
7828         previous from this file.
7829
7830 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * CutAndPaste.C (pasteSelection): more clean up, user proper
7833         ParagraphList functions for pasteing.
7834
7835         * ParagraphList.C (insert): new function, three arg insert
7836
7837 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * ParagraphList.C (insert): new function, three arg insert
7840
7841         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7842         not on paragraphs.
7843
7844 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7847
7848 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7851
7852 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7853
7854         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7855         (copySelection): clean up a bit.
7856         (pasteSelection): use make_pair
7857
7858         * ParagraphList.C (ParagraphList): implement copy constructor
7859         (operator=): implement, base on copy constructor.
7860         (assign): new func
7861
7862         * paragraph.C (erase): return a bool
7863
7864         * paragraph_pimpl.C (erasePos): remove function, move contents...
7865         (erase): ... here. Return a bool.
7866         (erase): call erase instead of erasePos.
7867
7868 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7869
7870         * ParagraphList.h: define PitPosPair
7871         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7872         ParagraphList, fix a bug on pasting multiple pars
7873         * text2.C: change interface to C&P
7874
7875 2003-04-30  André Pönitz  <poenitz@gmx.net>
7876
7877         * undo_func.C: revert part of yesterday's patch 2
7878
7879 2003-04-30  John Levon  <levon@movementarian.org>
7880
7881         * LColor.C: s/tabular/table/
7882
7883 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7884
7885         * text3.C (dispatch): do not convert iterator -> pointer
7886         * undo_funcs.C (setCursorParUndo): ditto
7887         * text_funcs.C (transposeChars): ditto
7888
7889         * text2.C (setLayout): ws changes only
7890
7891         * text.C (breakParagraph): do not convert iterator -> pointer
7892         (insertChar): ditto
7893         (acceptChange): ditto
7894         (rejectChange): ditto
7895         (changeCase): ditto
7896         (Delete): ditto
7897         (backspace): ditto
7898
7899         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7900         pointer
7901
7902 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7903
7904         * text3.C (gotoInset): YABG (yet another bad getChar)
7905
7906 2003-04-29  André Pönitz  <poenitz@gmx.net>
7907
7908         * paragraph.h: make operator= private unimplemented as long as
7909           it is unusable
7910
7911         * ParagraphList.C: whitespace
7912
7913         * paragraph.[Ch]:
7914         * paragraph_pimpl.[Ch]:
7915         * paragraph_funcs.C:
7916         * CutAndPaste.C:
7917         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7918
7919         * text2.C:
7920           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7921
7922 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7923
7924         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7925         * paragraph.[Ch] (erase):
7926         * paragraph_pimpl.[Ch] (erase): change return type and value
7927         * text2.C (cutSelection): some rework
7928
7929 2003-04-28  John Levon  <levon@movementarian.org>
7930
7931         * bufferlist.C: changes for unsaved changes dialog
7932
7933 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * bufferlist.C (newFile): set language (messages_) for new
7936         documents also.
7937
7938         * buffer.C (readFile): ws changes only.
7939
7940 2003-04-28  André Pönitz  <poenitz@gmx.net>
7941
7942         * undo_funcs.C:
7943         * lyxfunc.C:
7944         * buffer.[Ch]:
7945         * BufferView_pimpl.C:
7946         * BufferView.C: getParFromID related ParagraphList::iterator changes
7947
7948 2003-04-28  André Pönitz  <poenitz@gmx.net>
7949
7950         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7951           Changes
7952
7953 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7954
7955         * messages.C: remove one more localedir class variable.
7956
7957 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7958
7959         * messages.C (getLocaleDir): singleton generation function
7960         (Pimpl): use it.
7961         (Messages): add a default constructor.
7962
7963         * main.C (main): do not setup localedir here, do not call
7964         gettext_init.
7965
7966         * gettext.C (_): use it.
7967         (gettext_init): delete funciton
7968
7969 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * gettext.C (getLyXMessages): new singleton generating function.
7972
7973         * buffer.C (updateDocLang): adjust
7974
7975         * Makefile.am (messages.o): add target
7976         (main.o): remove target
7977
7978 2003-04-27  John Levon  <levon@movementarian.org>
7979
7980         * bufferlist.C:
7981         * lyx_cb.C:
7982         * lyxfunc.C:
7983         * lyxvc.C: specify cancel button in Alert::prompt
7984
7985 2003-04-26  John Levon  <levon@movementarian.org>
7986
7987         * text3.C:
7988         * lyxfunc.C:
7989         * lfuns.h:
7990         * LyXAction.C: add LFUN_INSET_SETTINGS
7991
7992         * lyxfunc.C: don't enable tabular-feature when there's
7993         just any locking inset
7994
7995 2003-04-26  John Levon  <levon@movementarian.org>
7996
7997         * bufferlist.C: re-add Cancel to buffer close question
7998
7999         * lyxfunc.C: fix import UI a bit
8000
8001 2003-04-25  John Levon  <levon@movementarian.org>
8002
8003         * gettext.C: remove the broken asserts for now
8004
8005 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * messages.C: make case where setlocale cannot comply work better.
8008
8009         * buffer.C (updateDocLang): new function
8010         (changeLanguage): use it
8011         (readFile): use it
8012
8013         * text2.C (setCounter): use B_ a bit.
8014
8015         * lyxlayout.C (Read): be sure to trim the label strings.
8016
8017         * messages.C (Messages): fix typo in comment
8018
8019         * buffer.C (readFile): set message_ after file is loaded.
8020         (makeDocBookFile): remove double return
8021         (changeLanguage): reset message_ upon language change.
8022         (B_): new func, use this to get translated buffer strings.
8023
8024         * main.C: add myself and Jean Marc as authors.
8025
8026 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * messages.[hC]: pimplify Messages, and three different pimpls to be
8029         used in different circumstances.
8030
8031         * gettext.[Ch]: change for use with new message code.
8032
8033 2003-04-24 André Pönitz <poenitz@gmx.net>
8034
8035         * factory.C: support for eqref
8036
8037 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8038
8039         * messages.[Ch]: add missing char
8040
8041         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8042
8043         * messages.[Ch]: New files
8044
8045 2003-04-18  John Levon  <levon@movementarian.org>
8046
8047         * BufferView.h:
8048         * BufferView.C:
8049         * BufferView_pimpl.C:
8050         * lfuns.h:
8051         * LyXAction.C:
8052         * lyxtext.h:
8053         * text2.C: remove layout-copy/paste (bug 778)
8054
8055 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8056
8057         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8058
8059 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8060
8061         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8062         if they succeed. Act accordingly.
8063
8064 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8065
8066         * text2.C (setCharFont): adjust
8067         (setCounter): adjust
8068         (insertStringAsLines): adjust
8069
8070         * text.C (leftMargin): adjust
8071         (setHeightOfRow): adjust
8072
8073         * rowpainter.C (paintFirst): adjust
8074         (paintLast): adjust
8075
8076         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8077         (outerHook): ditto
8078         (isFirstInSequence): ditto
8079         (getEndLabel): ditto
8080         (outerFont): adjust
8081
8082         * paragraph.C (getParLanguage): comment out some hard stuff.
8083
8084         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8085         (sgmlError): ditto
8086         (simpleDocBookOnePar): ditto
8087         (makeDocBookFile): use ParagraphList::iterator
8088
8089         * CutAndPaste.C (pasteSelection): adjust
8090
8091 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8092
8093         * text2.C (getFont): adjust
8094         (getLayoutFont): adjust
8095         (getLabelFont): adjust
8096
8097         * paragraph_funcs.C (TeXOnePar): adjust
8098
8099         * buffer.C (simpleLinuxDocOnePar): adjust
8100         (simpleDocBookOnePar): adjust
8101
8102         * CutAndPaste.C (pasteSelection): adjust
8103
8104         * BufferView.C (getEncoding): adjust
8105
8106         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8107
8108 2003-04-16  John Levon  <levon@movementarian.org>
8109
8110         * lyxfind.C: use parlist stuff for search/changes
8111
8112 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8113
8114         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8115
8116         * text2.C (deleteEmptyParagraphMechanism): adjust
8117
8118         * text2.[Ch] (ownerParagraph): delete func (both of them
8119
8120 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8121
8122         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8123
8124 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8125
8126         * ParagraphList.C: prepare for NO_NEXT
8127
8128 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8129
8130         * text2.C (getFont): adjust
8131         (getLayoutFont): adjust
8132         (getLabelFont): adjust
8133
8134         * paragraph.C (getFont): adjust
8135         (getLabelFont): adjust
8136         (getLayoutFont): adjust
8137
8138         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8139
8140 2003-04-15  John Levon  <levon@movementarian.org>
8141
8142         From Angus Leeming
8143
8144         * lyx_main.C: handle Include in .ui files
8145
8146 2003-04-15  John Levon  <levon@movementarian.org>
8147
8148         * MenuBackend.C: make the doc files length shorter
8149
8150         * ToolbarBackend.h:
8151         * ToolbarBackend.C: handle toolbar placement flags,
8152         Minibuffer
8153
8154 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8157         adjust
8158
8159         * paragraph_funcs.C (TeXOnePar): adjust
8160
8161         * paragraph.C (getLabelFont): add outerfont arg, adjust
8162         (getLayoutFont): ditto
8163         (simpleTeXOnePar): adjust
8164
8165         * paragraph_pimpl.C (realizeFont): delete func
8166
8167 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8168
8169         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8170         row argument, constify cur argument.
8171
8172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8173
8174         * text2.C (getFont): adjust
8175         (getLayoutFont): adjust
8176         (getLabelFont): adjust
8177
8178         * paragraph_funcs.C (TeXOnePar): adjust
8179         (outerFont): new func...
8180         (realizeFont): ...moved out from here, changed this to facilitate
8181         transition
8182
8183         * paragraph.C (getFont): take outerfont as arg, adjust
8184         (simpleTeXOnePar): add outerfont arg, adjust
8185
8186         * buffer.C (simpleLinuxDocOnePar): adjust
8187         (simpleDocBookOnePar): adjust
8188
8189         * CutAndPaste.C (pasteSelection): adjust
8190
8191         * BufferView.C (getEncoding): adjust
8192
8193 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8194
8195         * text2.C (setCharFont): adjust
8196         (setCounter): adjust
8197
8198         * text.C (leftMargin): adjust
8199         (setHeightOfRow): adjust
8200
8201         * rowpainter.C (paintFirst): adjust
8202         (paintLast): adjust
8203
8204         * paragraph_pimpl.C (realizeFont): adjust
8205
8206         * paragraph.C (isFirstInSequence): move from here...
8207         * paragraph_funcs.C (isFirstInSequence): ...to here
8208
8209         * paragraph.C (outerHook): move from here...
8210         * paragraph_funcs.C (outerHook): ...to here
8211
8212         * paragraph.C (depthHook): move from here...
8213         * paragraph_funcs.C (depthHook): ...to here
8214
8215         * paragraph.C (getEndLabel): move from here...
8216         * paragraph_funcs.C (getEndLabel): ...to here
8217
8218         * text2.C (realizeFont): move from here...
8219         * paragraph_funcs.C (realizeFont): ...to here
8220
8221 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8222
8223         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8224
8225 2003-04-14  Angus Leeming  <leeming@lyx.org>
8226
8227         * LColor.[Ch]: scrap LColor mathcursor.
8228
8229 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * lyxlex.[Ch] (text): delete function
8232         * trans.C (Load): adjust
8233         * paragraph_funcs.C (readParToken): adjust
8234
8235 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8238         vector<char> instead of a char[].
8239
8240         * lyxlex_pimpl.C (getString): adjust
8241         (next): adjust
8242         (lex): use getString
8243         (eatLine): adjust
8244         (nextToken): adjust
8245
8246         * lyxlex.C (text): use pimpl_->getString()
8247         (getBool): ditto
8248         (findToken): ditto
8249
8250 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8253         (makeFontEntriesLayoutSpecific): temp var for par.size()
8254         (setLayout): temp var for ownerParagraphs().end()
8255         (fullRebreak): temp var for rows().end()
8256         (selectionAsString): temp var for boost::next(startpit), realize
8257         that the while really is a regular for loop.
8258         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8259         setCursor in one place.
8260         (setParagraph): temp vr for ownerParagraphs().end()
8261         (updateCounters): make the while loop a for loop
8262         (cutSelection): temp var for ownerParagraphs().end()
8263         (updateInset): make the do {} while() a regular for loop
8264         (getCursorX): use temp vars
8265         (setCurrentFont): use temp vars
8266         (getColumnNearX): use temp vars
8267
8268 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8269
8270         * text.C (transformChar): use temp var for getChar
8271         (computeBidiTables): use temp var for row->par()
8272         (fill): move temp vars for row->par() and pit->layout() earlier in
8273         the function.
8274         (labelFill): use temp var for row->par()
8275         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8276         asc and desc, realize that pit never changes and that firstpit is
8277         just a duplicate and not needed. Exchange rit->par() with pit in a
8278         lot of places.
8279         (breakAgain): use a temp var for boost::next(rit)
8280         (breakAgainOneRow): ditto
8281         (breakParagraph): use a temp var for rows().begin()
8282         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8283         (cursorRightOneWord): use temp var for cursor.par() and
8284         cursor.pos(), remove usage of tmpcursor.
8285         (cursorLeftOneWord): use temp var for cursor.par() and
8286         cursor.pos() only set cur at end of function.
8287
8288 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * text.C, text2.C: exchange all usage of Paragraph::next with
8291         boost::next(ParagraphList::iterator)
8292
8293         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8294
8295         * text2.C (cursorTop): simplify implementation
8296         (cursorBottom): ditto
8297         (setParagraph): use ParagraphList::iterator
8298         (setCurrentFont): adjust
8299         (getColumnNearX): adjust
8300         (cursorRight): adjust
8301         (cursorLeft): remove usage of Paragraph::previous
8302         (cursorUpParagraph): ditto
8303         (deleteEmptyParagraphMechanism): slight cleanup
8304
8305         * text.C (isBoundary): take a Paragraph const & instead of a
8306         pointer as arg.
8307         (addressBreakPoint): ditto
8308         (leftMargin): remove usage of Paragraph::previous.
8309         (setHeightOfRow): ditto
8310         (cursorLeftOneWord): ditto
8311         (selectNextWordToSpellcheck): ditto
8312         (Delete): ditto
8313         (backspace): ditto
8314         (breakParagraph): remove one usage of Paragraph::next
8315         (redoParagraph): ditto
8316         (acceptChange): ditto
8317         (insertChar): adjust
8318         (rowBreakPoint): adjust
8319
8320         * bufferview_funcs.C (toggleAndShow): adjust
8321
8322 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8323
8324         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8325         methods to access it.
8326         * lyxtext.h:
8327         * text.C: Added updateRowPositions to compute all row positions.
8328         Make top_y and getRowNearY() to use the cached y position
8329
8330 2003-04-11  John Levon  <levon@movementarian.org>
8331
8332         * text.C (rowBreakPoint): reintroduce the labelEnd
8333         checks, code copied from the row fill stuff. Deep voodoo.
8334
8335         * text.C (fill): add a comment and debugging for the
8336         next poor soul.
8337
8338 2003-04-11  John Levon  <levon@movementarian.org>
8339
8340         * text.C: make sure fullrow insets get wrapped to the next line,
8341         even when they're in a manual label
8342
8343 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * text2.C (insertParagraph): make it take ParagraphList::iterator
8346         as arg.
8347         (setLayout): make it return ParagraphList::iterator
8348         (redoParagraphs): ditto
8349         (setCounter): ditto
8350         (checkParagraph): ditto
8351
8352         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8353
8354         * text2.C: adjust several funcs.
8355         (realizeFont): take a ParagraphList::iterator as arg.
8356         (getLayoutFont): ditto
8357         (getLabelFont): ditto
8358         (setCharFont): ditto
8359
8360         * text.C: adjust several funcs.
8361
8362 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8363
8364         * text.C (selectNextWordToSpellcheck): don't accidentally
8365         skip insets
8366
8367 2003-04-10  John Levon  <levon@movementarian.org>
8368
8369         * ToolbarBackend.C (getIcon): special handling for
8370         LFUN_MATH_DELIM
8371
8372 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8373
8374         * text2.C (cursorRight): a getChar assert fixed
8375
8376 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8377
8378         * text2.C (getFont): change to take a ParagraphList::iterator
8379         instead of Paragraph*
8380         Adjust several functions.
8381
8382         * text.C (transformChar): change to take a ParagraphList::iterator
8383         instead of Paragraph*
8384         (singleWidth): ditto
8385         Adjust several functions.
8386
8387         * rowpainter.C: adjust several functions
8388         * rowpainter.h:store a ParagraphList::iterator and not a
8389         Paragraph&.
8390
8391
8392 2003-04-09  John Levon  <levon@movementarian.org>
8393
8394         * lyxfunc.C:
8395         * lfuns.h:
8396         * LyXAction.h:
8397         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8398         and the "help" bits as well
8399
8400 2003-04-09  John Levon  <levon@movementarian.org>
8401
8402         * ToolbarBackend.h:
8403         * ToolbarBackend.C: allow multiple toolbars
8404
8405 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8406
8407         * undo_funcs.C (setCursorParUndo): adjust
8408
8409         * text_funcs.C (transposeChars): adjust
8410
8411         * text3.C (gotoNextInset): adjust
8412         (dispatch): adjust
8413
8414         * text2.C (setLayout): adjust
8415         (changeDepth): adjust
8416         (setFont): adjust
8417         (redoParagraphs): adjust
8418         (selectionAsString): adjust
8419         (setParagraph): adjust
8420         (insertInset): adjust
8421         (cutSelection): adjust
8422         (copySelection): adjust
8423         (pasteSelection): adjust
8424         (insertStringAsLines): adjust
8425         (updateInset): adjust
8426         (setCursor): change to take a ParagraphList::iterator parameter
8427         (setCursorIntern): change to take a ParagraphList::iterator parameter
8428         (setCurrentFont): adjust
8429         (cursorLeft): adjust
8430         (cursorRight): adjust
8431         (deleteEmptyParagraphMechanism): adjust
8432
8433         * text.C (breakParagraph): adjust
8434         (insertChar): adjust
8435         (acceptChange): adjust
8436         (rejectChange): adjust
8437         (selectNextWordToSpellcheck): adjust
8438         (changeCase): adjust
8439         (Delete): adjust
8440         (backspace): adjust
8441
8442         * lyxfind.C (SearchForward): adjust
8443         (SearchBackward): adjust
8444         (nextChange): adjust
8445
8446         * lyxcursor.C (par): adjust
8447
8448         * lyxcursor.h: store a ParagraphList::iterator instead of a
8449         Paragraph*
8450
8451         * lyx_cb.C (getPossibleLabel): adjust
8452
8453         * bufferview_funcs.C (toggleAndShow): adjust
8454
8455         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8456         (dispatch): adjust
8457
8458         * BufferView.C (removeAutoInsets): adjust
8459         (lockedInsetStoreUndo): adjust
8460
8461 2003-04-09  John Levon  <levon@movementarian.org>
8462
8463         * ToolbarBackend.C: try icon without argument
8464         if with argument fails
8465
8466 2003-04-08  John Levon  <levon@movementarian.org>
8467
8468         * ToolbarBackend.h:
8469         * ToolbarBackend.C: add getIcon(), handle tooltip,
8470         and change from "Icon" to "Item".
8471
8472 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8473
8474         * BufferView.C (lockInset): another bad getchar crunched
8475
8476 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8477
8478         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8479         again)
8480
8481 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8482
8483         * lyxfind.C (searchForward, searchBackwards): bug 782
8484
8485 2003-04-07  John Levon  <levon@movementarian.org>
8486
8487         * paragraph.C: remove dead comment
8488
8489         * text.C: remove troublesome depth-fiddling code
8490         in leftMargin() and rightMargin() (bug 1017)
8491
8492         * text.C: fix breaking of rows in nested lists
8493         (bug 1004)
8494
8495         * text2.C (updateCounters): fix up depth values
8496         (bug 1013)
8497
8498 2003-04-07  John Levon  <levon@movementarian.org>
8499
8500         * BufferView_pimpl.C: clear message when doc finishes resizing,
8501         and after a mouse event
8502
8503         * lyxfunc.C: clear message after exiting inset
8504
8505 2003-04-07  John Levon  <levon@movementarian.org>
8506
8507         * bufferview_funcs.C: show math status not outside
8508         status in the statusbar
8509
8510 2003-04-07  John Levon  <levon@movementarian.org>
8511
8512         * lyxfunc.C: note status changed after a depth change
8513
8514 2003-04-04  Angus Leeming  <leeming@lyx.org>
8515
8516         * LaTeX.h: move AuxInfo operator==, != out of line.
8517         Remove LaTeX virtual destructor; nothing derives from it.
8518         Move operator()() out of public area and rename it startscript().
8519         Change protected for private.
8520
8521 2003-04-04  Angus Leeming  <leeming@lyx.org>
8522
8523         * lyxfunc.C:
8524         * text2.C: remove unneeded #includes.
8525
8526 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8527
8528         * text2.C (dEPM): fix the heigth of the next row
8529
8530 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8531
8532         * text.C: squashed an invalid getChar requester + some ws changes
8533
8534 2003-04-03  John Levon  <levon@movementarian.org>
8535
8536         * bufferview_funcs.h:
8537         * bufferview_funcs.C:
8538         * lyxfunc.C:
8539         * lyxtext.h:
8540         * text2.C: make getStatus work for the env depth lfuns
8541
8542 2003-04-03  John Levon  <levon@movementarian.org>
8543
8544         * bufferview_funcs.h:
8545         * bufferview_funcs.C:
8546         * lyxfunc.C:
8547         * lyxtext.h:
8548         * text2.C: parlistize decDepth(), by merging it with incDepth()
8549
8550 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * lyxrow.h: store a ParagraphList::iterator instead of a
8553         Paragraph* and adjust other class functions to suit.
8554
8555         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8556         above.
8557
8558 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8559
8560         * text2.C (setCursor): do not anchor to cursor row for the time being
8561
8562 2003-04-02  John Levon  <levon@movementarian.org>
8563
8564         * LyXAction.C:
8565         * lfuns.h:
8566         * lyx_main.C:
8567         * lyxtext.h:
8568         * text.C:
8569         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8570
8571 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8572
8573         * paragraph.h: make ParagraphList and ParagraphList::iterator
8574         friends of Paragraph.
8575
8576         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8577
8578         * ParagraphList.C: Use the private next_ and previous_ from
8579         Paragraph.
8580
8581 2003-04-01  John Levon  <levon@movementarian.org>
8582
8583         * ToolbarBackend.h:
8584         * ToolbarBackend.C:
8585         * Makefile.am: rename, remove defaults gunk
8586
8587         * MenuBackend.h:
8588         * MenuBackend.C: remove defaults gunk
8589
8590         * Languages.h:
8591         * Languages.C: remove defaults gunk
8592
8593         * lyx_main.h:
8594         * lyx_main.C: error out if files couldn't be found.
8595
8596 2003-04-02  John Levon  <levon@movementarian.org>
8597
8598         * text2.C: make incDepth() use parlist
8599
8600 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8601
8602         * undo_funcs.C (firstUndoParagraph): adjust
8603
8604         * text3.C (gotoInset): adjust
8605         (dispatch): adjust, and rewrite loop.
8606
8607         * text2.C (init): adjust, and rewrite loop.
8608         (redoParagraphs): adjust
8609         (updateInset): adjust, and rewrite loop.
8610         (deleteEmptyParagraphMechanism): adjust
8611
8612         * tabular.C (LyXTabular): adjust
8613         (SetMultiColumn): adjust
8614         (TeXRow): adjust
8615
8616         * lyxtext.[Ch] (ownerParagraph): delete function
8617         (ownerParagraphs): new function returns a ParagraphList.
8618
8619         * BufferView.C (removeAutoInsets): adjust
8620         (insertErrors): adjust
8621         (setCursorFromRow): adjust
8622
8623 2003-04-01  Angus Leeming  <leeming@lyx.org>
8624
8625         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8626         in the frontends.
8627
8628 2003-04-02  John Levon  <levon@movementarian.org>
8629
8630         * lyxtext.h:
8631         * text.C:
8632         * Makefile.am:
8633         * text_funcs.h:
8634         * text_funcs.C: make transposeChars a free function
8635
8636         * lyxrow_funcs.C: remove wrong comment
8637
8638 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8639
8640         * lyxtext.h: adjust
8641         * rowpainter.C: adjust
8642         * text.C: adjust
8643         * text2.C: adjust
8644         * text3.C: adjust
8645
8646         * lyxrow_funcs. [Ch]: new files
8647
8648         * lyxrow.[Ch]: remove next and previous pointers
8649         (next,previous): remove accessor functions
8650         (isParEnd): move to lyxrow_funcs
8651         (lastPos): move to lyxrow_funcs
8652         (nextRowIsAllInset): move to lyxrow_funcs
8653         (lastPrintablePos): move to lyxrow_funcs
8654         (numberOfSeparators): move to lyxrow_funcs
8655         (numberOfHfills): move to lyxrow_funcs
8656         (numberOfLabelHfills): move to lyxrow_funcs
8657         (hfillExpansion): move to lyxrow_funcs
8658
8659         * lyxfunc.C: adjust
8660
8661         * bufferview_funcs.C (toggleAndShow): adjust
8662
8663         * RowList.h: Remove class RowList from file leave just a
8664         std::list<Row>.
8665
8666         * RowList.C: delete file
8667
8668         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8669         and lyxrow_funcs.h
8670
8671 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8672
8673         * text3.C (cursorPrevious): adjust
8674         (cursorNext): adjust
8675         (dispatch): adjust
8676
8677         * text2.C (redoHeightOfParagraph): adjust
8678         (redoDrawingOfParagraph): adjust
8679         (setCursor): adjust
8680
8681         * text.C (breakParagraph): adjust
8682         (insertChar): adjust
8683         (backspace): adjust
8684
8685         * rowpainter.C (RowPainter): adjust
8686         (leftMargin): simplify and adjust
8687         (most rowpainter functions): adjust.
8688
8689         * rowpainter.h: store the row as RowList::iterator not as Row*
8690
8691         * lyxcursor.C (row): taka RowList::iterator as arg
8692         (irow): ditto
8693
8694         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8695         of Row*.
8696
8697 2003-04-01  Angus Leeming  <leeming@lyx.org>
8698
8699         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8700         stuff like bool Bool.
8701
8702 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8703
8704         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8705         rewrite a loop
8706
8707 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8708
8709         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8710         RowList::iterator.
8711
8712         * lyxtext.h (rows): drop one version and leve a const variant that
8713         returns a RowList::iterator.
8714
8715 2003-03-31  Angus Leeming  <leeming@lyx.org>
8716
8717         * text.C (fill): ensure that the signature is the same as that in the
8718         header file.
8719
8720 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8721
8722         * text2.C (redoParagraphs): adjust
8723         (updateCounters): adjust
8724         (checkParagraph): adjust
8725         (getColumnNearX): adjust and reformat a bit.
8726
8727         * text.C (top_y): adjust
8728         (workWidth): adjust
8729         (leftMargin): adjust
8730         (prepareToPrint): adjust
8731         (getRow): adjust
8732         (getRowNearY): adjust
8733
8734         * lyxtext.h: make rowlist_ mutable.
8735
8736         * RowList.h: add const_iterator
8737         * RowList.C: adjust for RowList::const_iterator.
8738
8739         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8740         adjust.
8741
8742 2003-03-31  John Levon  <levon@movementarian.org>
8743
8744         * lyxrc.h:
8745         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8746
8747         * lyx_main.C: set default fonts from using lyx_gui funcs
8748
8749         * exporter.C: pdf_mode moved from lyxrc
8750
8751         * lyx_cb.C:
8752         * lyxfunc.C: changes from above
8753
8754 2003-03-31  John Levon  <levon@movementarian.org>
8755
8756         * lyx_main.C: fix to the last fix
8757
8758 2003-03-31  John Levon  <levon@movementarian.org>
8759
8760         * bufferlist.C: "Load original" -> "Load Original"
8761
8762         * converter.C:
8763         * exporter.C:
8764         * importer.C:
8765         * lyx_main.C:
8766         * format.C: more Alert cleanups
8767
8768 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8769
8770         * text2.C (removeParagraph): make it take a RowList::iterator as
8771         arg, adjust.
8772         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8773         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8774
8775         * text.C (anchor_row): make it take a RowList::iterator as arg,
8776         adjust.
8777         (computeBidiTables): make it take a const reference to Row instead
8778         of Row pointer, adjust.
8779         (leftMargin): make it take a RowList::iterator as arg, adjust.
8780         (rowBreakPoint): adjust
8781         (breakAgainOneRow): make it take a RowList::iterator as arg,
8782         adjust.
8783         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8784
8785         * bufferview_funcs.C (toggleAndShow): adjust
8786
8787 2003-03-30  John Levon  <levon@movementarian.org>
8788
8789         * Makefile.am:
8790         * BoostFormat.h:
8791         * boost-inst.C: moved to support
8792
8793         * several files: changes as a result
8794
8795 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8796
8797         * text2.C (LyXText): adjust.
8798         (init): adjust
8799         (removeRow): make it take a RowList::iterator as arg, adjust.
8800         (fullRebreak): adjust
8801         (deleteEmptyParagraphMechanism): adjust
8802         (clearPaint): adjust
8803         (postPaint): adjust
8804
8805         * text.C (top_y): adjust
8806         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8807         (breakAgain): make it take a RowList::iterator as arg, adjust.
8808         (breakParagraph): adjust
8809         (insertChar): adjust
8810         (backspace): adjust
8811
8812         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8813         need_break_row, and refresh_row.
8814
8815         * text3.C (dispatch): adjust
8816
8817         * text2.C (checkParagraph): adjust
8818         (setCursor): adjust
8819         (setCursorFromCoordinates): adjust
8820
8821         * text.C (top_y): adjust
8822         (workWidth): adjust
8823         (getRow): make it return a RowList::iterator, adjust
8824         (getRowNearY): make it return a RowList::iterator, adjust
8825
8826         * text2.C (init): adjust
8827         (insertRow): remove function
8828         (insertParagraph): adjust
8829         (redoParagraphs): adjust
8830         (fullRebreak): adjust
8831         (updateCounters): adjust
8832
8833         * text.C (top_y): rewrite to use RowList iterators.
8834         (top_y): adjust
8835         (setHeightOfRow): rewrite to sue RowList iterators.
8836         (appendParagraph): adjust
8837         (breakAgain): adjust
8838         (breakAgainOneRow): adjust
8839         (breakParagraph): adjust
8840         (getRow): adjust
8841         (getRowNearY): adjust, and remove commented code.
8842
8843         * lyxtext.h (firstRow): delete function
8844         (lastRow): delete function
8845         (rows): new function (const and non-const versions.)
8846         (insertRow): delete function
8847
8848         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8849
8850 2003-03-29  John Levon  <levon@movementarian.org>
8851
8852         * BufferView_pimpl.C: always update scrollbar top
8853         because pasting text when we're anchored could mean we
8854         miss an update altogether
8855
8856 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8857
8858         * text2.C (init): use rowlist_.end() and not 0.
8859         (insertRow): change to take a RowList::iterator as arg, adjust
8860         for this.
8861         (insertParagraph): change to take a RowList::iterator as arg,
8862         adjust for this.
8863         (redoParagraphs): remove some debug msgs.
8864
8865         * text.C (appendParagraph): change to take a RowList::iterator
8866         arg, adjust for this.
8867         (breakAgain): add an assert
8868         (breakAgainOneRow): ditto
8869
8870 2003-03-29  John Levon  <levon@movementarian.org>
8871
8872         * text2.C: do not clear selection after inc/decDepth
8873         (bug 550)
8874
8875 2003-03-29  John Levon  <levon@movementarian.org>
8876
8877         * BufferView.C:
8878         * buffer.C: fix broken strerrors according to Lars
8879
8880 2003-03-29  John Levon  <levon@movementarian.org>
8881
8882         * converters.C: more Alert cleanups
8883
8884 2003-03-29  John Levon  <levon@movementarian.org>
8885
8886         * bufferview_funcs.C: remove pointless Alert
8887
8888         * buffer.C: fix confusing error message when
8889         a template is chmoded 000
8890
8891 2003-03-29  John Levon  <levon@movementarian.org>
8892
8893         * BufferView.C:
8894         * BufferView.h:
8895         * BufferView_pimpl.C: Alert fixes
8896
8897         * Makefile.am:
8898         * tabular.C:
8899         * tabular-old.C: remove unused table compat reading
8900
8901 2003-03-29  John Levon  <levon@movementarian.org>
8902
8903         * BufferView.C:
8904         * buffer.C:
8905         * lyx_cb.h:
8906         * lyx_cb.C: more Alert cleanups
8907
8908         * lyxfunc.C: don't allow chktex if not latex document
8909
8910 2003-03-29  John Levon  <levon@movementarian.org>
8911
8912         * lyx_cb.C:
8913         * BufferView.C:
8914         * buffer.C: warnings pushed down from support/,
8915         kill err_alert
8916
8917 2003-03-29  John Levon  <levon@movementarian.org>
8918
8919         * lyxfunc.C: safety check for C-r (revert)
8920
8921 2003-03-29  John Levon  <levon@movementarian.org>
8922
8923         * bufferlist.h:
8924         * bufferlist.C: several UI fixes using Alert::prompt.
8925         Fix the pointless looping quit code. Fix stupid revert
8926         behaviour (bug 938)
8927
8928         * lyxvc.h:
8929         * lyxvc.C:
8930         * lyx_cb.C: use Alert::prompt
8931
8932         * lyx_main.C: remove a silly question
8933
8934         * lyxfunc.C: remove a couple of silly questions,
8935         use Alert::prompt
8936
8937 2003-03-28  John Levon  <levon@movementarian.org>
8938
8939         * text2.C: fix bug 974 (End on empty par)
8940
8941 2003-03-28  John Levon  <levon@movementarian.org>
8942
8943         * BufferView_pimpl.C:
8944         * LyXAction.C:
8945         * lfuns.h: remove do-nothing math greek lfuns
8946
8947 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8948
8949         * lyxgluelength.h (isValidGlueLength): add default arg on
8950         parameter 2. Remove default arg from friend in class.
8951
8952         * lyxlength.h (isValidLength): add default arg on parameter 2.
8953         Remove default arg from friend in class.
8954
8955         * text2.C (LyXText): adjust, initialize refresh_row.
8956         (init): adjust
8957         (removeRow): adjust
8958         (insertRow): adjust
8959         (insertParagraph): adjst
8960         (redoParagraphs): adjust
8961         (fullRebreak): adjust
8962         (updateCounters): adjust
8963         (deleteEmptyParagraphMechanism): first attempt at fixing a
8964         crashing bug.
8965
8966         * text.C (top_y): adjust
8967         (setHeightOfRow): adjust
8968         (getRow): adjust
8969         (getRowNearY): adjust
8970
8971         * lyxtext.h: include RowList.h
8972         (~LyXText): not needed anymore, deleted.
8973         (firstRow): modify for RowList
8974         (lastRow): new function
8975         Delete firstrow and lastrow class variables, add a Rowlist
8976         rowlist_ class variable.
8977
8978         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8979         paragraph is empty.
8980
8981         * RowList.C (insert): fix case where it == begin().
8982
8983 2003-03-26  Angus Leeming  <leeming@lyx.org>
8984
8985         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8986         the thesaurus dialog.
8987
8988 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8989
8990         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8991
8992         * RowList.[Ch]: new files
8993
8994         * ParagraphList.C (erase): handle the case where it == begin
8995         correctly.
8996
8997 2003-03-25  John Levon  <levon@movementarian.org>
8998
8999         * Makefile.am:
9000         * aspell_local.h:
9001         * aspell.C: add new aspell support
9002
9003         * lyxrc.h:
9004         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9005         have it accessible.
9006
9007 2003-03-25  Angus Leeming  <leeming@lyx.org>
9008
9009         * lfuns.h:
9010         * LyXAction.C (init): new LFUN_INSET_INSERT.
9011
9012         * BufferView_pimpl.C (dispatch): split out part of the
9013         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9014
9015         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9016         LFUN_INSET_APPLY.
9017
9018 2003-03-25  Angus Leeming  <leeming@lyx.org>
9019
9020         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9021
9022 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9023
9024         * text2.C:
9025         * text3.C: remove useless row->height(0)
9026
9027 2003-03-25  John Levon  <levon@movementarian.org>
9028
9029         * lyxtext.h:
9030         * text2.C:
9031         * text3.C: rename the refreshing stuff to better names
9032
9033 2003-03-24  John Levon  <levon@movementarian.org>
9034
9035         * BufferView_pimpl.h:
9036         * BufferView_pimpl.C: update layout choice on a mouse
9037         press/release
9038
9039 2003-03-23  John Levon  <levon@movementarian.org>
9040
9041         * Makefile.am: fix commandtags.h reference
9042
9043 2003-03-22  John Levon  <levon@movementarian.org>
9044
9045         * BufferView_pimpl.C:
9046         * lyxtext.h:
9047         * rowpainter.C:
9048         * rowpainter.h:
9049         * text.C:
9050         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9051
9052 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9053
9054         * lyxtext.h:
9055         * text.C: take the rtl methods out of line
9056
9057 2003-03-21 André Pönitz <poenitz@gmx.net>
9058
9059         * metricsinfo.[Ch]: new files containing structures to be passed around
9060         during the two-phase-drawing...
9061
9062 2003-03-21 André Pönitz <poenitz@gmx.net>
9063
9064         * lyxtextclass.C: read 'environment' tag.
9065
9066 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9067
9068         * text2.C (removeRow): fix bug 964
9069
9070 2003-03-20  John Levon  <levon@movementarian.org>
9071
9072         * rowpainter.C:
9073         * text.C:
9074         * text2.C: paint cleanups. Inset::update() dropped font
9075         parameter
9076
9077 2003-03-19  John Levon  <levon@movementarian.org>
9078
9079         * lyxfunc.C: only fitcursor/markDirty if available()
9080
9081 2003-03-19  John Levon  <levon@movementarian.org>
9082
9083         * commandtags.h: rename to ...
9084
9085         * lfuns.h: ... this, and renumber / cleanup
9086
9087 2003-03-19  John Levon  <levon@movementarian.org>
9088
9089         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9090         fit the cursor after an lfun
9091
9092         * BufferView.h:
9093         * BufferView.C:
9094         * BufferView_pimpl.h:
9095         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9096
9097         * LyXAction.C: layout-character should have ReadOnly
9098
9099         * ParagraphParameters.C:
9100         * buffer.C:
9101         * bufferview_funcs.C:
9102         * lyx_cb.C:
9103         * lyxfind.C:
9104         * lyxtext.h:
9105         * text.C:
9106         * text2.C:
9107         * text3.C:
9108         * undo_funcs.C: changes from above
9109
9110 2003-03-18  John Levon  <levon@movementarian.org>
9111
9112         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9113         remove it from update()
9114
9115         * lyxfunc.C: update layout choice after an lfun
9116
9117         * text3.C: remove extra updateLayoutChoice()s
9118
9119 2003-03-18  John Levon  <levon@movementarian.org>
9120
9121         * text.C: top_y change means full repaint, fix
9122         a drawing bug with cursor movement
9123
9124 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9125
9126         * lyxtext.h:
9127         * text.C:
9128         * text2.C: anchor row on setCursor
9129
9130 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9131
9132         * lyxtext.h: remove almost all mutable keywords
9133         * text.C:
9134         * text2.C:
9135         * text3.C: remove const keywords accordingly
9136
9137 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9138
9139         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9140         anon namespace
9141         (TeXEnvironment): ditto
9142         (TeXOnePar): ditto
9143
9144 2003-03-17  John Levon  <levon@movementarian.org>
9145
9146         * text.C (rowBreakPoint): remove attempt to fix displayed
9147         math insets inside a manual label
9148
9149 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9150
9151         * lyxtext.h: remove BufferView* as first arg from almost all class
9152         functions.
9153         * other files: adjust.
9154
9155 2003-03-17  John Levon  <levon@movementarian.org>
9156
9157         * lyxtext.h:
9158         * undo_funcs.C:
9159         * text2.C: more paint cleanups
9160
9161         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9162
9163         * rowpainter.h:
9164         * rowpainter.C: remove "smart" background painting code
9165
9166 2003-03-16  John Levon  <levon@movementarian.org>
9167
9168         * lyxtext.h:
9169         * text.C:
9170         * text2.C:
9171         * text3.C: add helper functions for setting refresh_row/y
9172
9173 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9174
9175         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9176         newline inset which *can* get inserted in the pass_thru layouts.
9177         This is primarily for literate documents.
9178
9179 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9180
9181         * buffer.C: increment LYX_FORMAT to 223
9182
9183 2003-03-14 André Pönitz <poenitz@gmx.net>
9184
9185         * textclass.h: prepare for environment handling, ws changes
9186         * lyxlayout.C: read latexheader and latexfooter tags
9187
9188 2003-03-14  John Levon  <levon@movementarian.org>
9189
9190         * text2.C: rewrite ::status() a bit
9191
9192 2003-03-13  John Levon  <levon@movementarian.org>
9193
9194         * lyxtext.h: add some docs
9195
9196 2003-03-13  John Levon  <levon@movementarian.org>
9197
9198         * lyxtext.h:
9199         * text.C:
9200         * text2.C:
9201         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9202
9203 2003-03-13  John Levon  <levon@movementarian.org>
9204
9205         * text3.C: fix appendix redrawing
9206
9207 2003-03-13  John Levon  <levon@movementarian.org>
9208
9209         * text.C (setHeightOfRow):
9210         * rowpainter.h:
9211         * rowpainter.C: make appendix mark have the text
9212           "Appendix" so the user knows what it is
9213
9214         * LColor.h:
9215         * LColor.C: s/appendixline/appendix/ from above
9216
9217 2003-03-13  John Levon  <levon@movementarian.org>
9218
9219         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9220
9221         * text.C: fix a getChar(pos) bug properly
9222
9223 2003-03-13  Angus Leeming  <leeming@lyx.org>
9224
9225         * commandtags.h:
9226         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9227         Probably only temporary. Let's see how things pan out.
9228
9229         * BufferView.C (unlockInset):
9230         * BufferView_pimpl.C (fitCursor):
9231         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9232
9233         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9234         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9235
9236         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9237         new functions that convert ParagraphParameters to and from a string.
9238
9239         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9240         BufferView::Pimpl's dispatch.
9241         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9242
9243 2003-03-13 André Pönitz <poenitz@gmx.net>
9244
9245         * lyxfunc.C:
9246         * text3.C:
9247         * factory.C: make it aware of InsetEnv
9248
9249 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9250
9251         * text2.C (setCursor): never ask for one past last
9252         (setCursor): add some debugging messages.
9253
9254         * text.C (singleWidth): never ask for one past last
9255         (singleWidth): ditto
9256         (leftMargin): ditto
9257         (rightMargin): ditto
9258         (rowBreakPoint): ditto
9259         (setHeightOfRow): ditto
9260         (prepareToPrint): ditto
9261
9262         * rowpainter.C (paintBackground): never ask for one past last
9263         (paintText): never ask for one past last
9264
9265         * paragraph_pimpl.C (getChar): make the assert stricter, never
9266         allow the one past last pos to be taken
9267
9268         * paragraph.C (getChar): ws changes only
9269
9270         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9271         (numberOfSeparators): ditto
9272         (numberOfHfills): ditto
9273
9274 2003-03-12  John Levon  <levon@movementarian.org>
9275
9276         * author.h:
9277         * author.C:
9278         * bufferparams.h:
9279         * bufferparams.C:
9280         * paragraph_funcs.C: fix per-buffer authorlists
9281
9282 2003-03-12  John Levon  <levon@movementarian.org>
9283
9284         * text.C: fix newline in right address
9285
9286 2003-03-12  Angus Leeming  <leeming@lyx.org>
9287
9288         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9289         duplicate those in LyXFunc::dispatch.
9290
9291         * commandtags.h:
9292         * LyXAction.C:
9293         * ToolbarDefaults.C:
9294         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9295         Add LFUN_FONTFREE_UPDATE.
9296
9297         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9298         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9299
9300         * bufferview_func.[Ch]: several new functions to facilliate
9301         transfer of data to and from the character dialog.
9302
9303 2003-03-12  John Levon  <levon@movementarian.org>
9304
9305         * buffer.C:
9306         * paragraph.h:
9307         * paragraph.C:
9308         * paragraph_funcs.C:
9309         * paragraph_pimpl.C:
9310         * sgml.C:
9311         * tabular.C:
9312         * text.C:
9313         * text3.C: remove META_NEWLINE in favour of an inset
9314
9315         * rowpainter.h:
9316         * rowpainter.C: remove paintNewline (done by inset)
9317
9318 2003-03-12  John Levon  <levon@movementarian.org>
9319
9320         * paragraph_pimpl.C: complain about bad getChar()s
9321         for a while at least
9322
9323 2003-03-12  John Levon  <levon@movementarian.org>
9324
9325         * buffer.h:
9326         * buffer.C: move paragraph read into a separate function,
9327         a little renaming to reflect that.
9328
9329         * bufferparams.h:
9330         * bufferparams.C: remove the author_ids map, not necessary now
9331
9332         * factory.h:
9333         * factory.C: moved Buffer::readInset to here
9334
9335         * paragraph_funcs.h:
9336         * paragraph_funcs.C: readParagraph free function moved from
9337         buffer.C
9338
9339         * tabular.C: name change
9340
9341 2003-03-12  John Levon  <levon@movementarian.org>
9342
9343         * buffer.C:
9344         * ParagraphParameters.C: move par params input to
9345         a read() method
9346
9347         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9348         behave like a normal read from the stream wrt reading
9349         a line vs. a \\token
9350
9351 2003-03-12  John Levon  <levon@movementarian.org>
9352
9353         * paragraph.C:
9354         * ParagraphParameters.h:
9355         * ParagraphParameters.C: move output code to a
9356         ::write() method
9357
9358 2003-03-12  John Levon  <levon@movementarian.org>
9359
9360         * BufferView.C (insertLyXFile):
9361         * buffer.h:
9362         * buffer.C:
9363         * tabular.C: use a parlist iterator for creating the
9364           document.
9365
9366 2003-03-12  John Levon  <levon@movementarian.org>
9367
9368         * buffer.C: make current_change static local not
9369           static file-scope
9370
9371 2003-03-12  John Levon  <levon@movementarian.org>
9372
9373         * buffer.C: fix insertStringAsLines for change tracking
9374
9375 2003-03-12  John Levon  <levon@movementarian.org>
9376
9377         * BufferView.C:
9378         * tabular.C:
9379         * buffer.h:
9380         * buffer.C:
9381         * bufferparams.h:
9382         * bufferparams.C: move author list into params. Rename some
9383           functions. Move the header reading into a separate token
9384           loop. Move the header token reading into BufferParams.
9385
9386 2003-03-12  John Levon  <levon@movementarian.org>
9387
9388         * changes.C: put debug inside lyxerr.debugging() checks
9389
9390 2003-03-11 André Pönitz <poenitz@gmx.net>
9391
9392         * factory.C: make it aware of InsetHFill
9393
9394 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9395
9396         * buffer.C (latexParagraphs): move function from here...
9397         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9398         args.
9399
9400 2003-03-10  Angus Leeming  <leeming@lyx.org>
9401
9402         * LyXAction.C (init): fix bug in poplating array with multiple entries
9403         with the same LFUN (spotted by JMarc).
9404
9405 2003-03-10  John Levon  <levon@movementarian.org>
9406
9407         * text.C:
9408         * text2.C: move getColumnNearX() near its
9409         only call site
9410
9411 2003-03-10  John Levon  <levon@movementarian.org>
9412
9413         * text.C: fix break before a minipage
9414
9415 2003-03-10  John Levon  <levon@movementarian.org>
9416
9417         * text.C: fix the last commit
9418
9419 2003-03-09  John Levon  <levon@movementarian.org>
9420
9421         * lyxtext.h:
9422         * text.C:
9423         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9424         bug 365 (don't break before insets unless needed). Don't
9425         return a value > last under any circumstances.
9426
9427 2003-03-09  Angus Leeming  <leeming@lyx.org>
9428
9429         * BufferView_pimpl.C (trackChanges, dispatch): call
9430         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9431
9432 2003-03-09  Angus Leeming  <leeming@lyx.org>
9433
9434         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9435         than Dialogs::showAboutlyx().
9436
9437 2003-03-09  Angus Leeming  <leeming@lyx.org>
9438
9439         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9440         than Dialogs::showTabularCreate().
9441
9442 2003-03-09  John Levon  <levon@movementarian.org>
9443
9444         * lyxtext.h:
9445         * text.C:
9446         * text2.C: 3rd arg to nextBreakPoint was always the same.
9447           Use references.
9448
9449 2003-03-08  John Levon  <levon@movementarian.org>
9450
9451         * lyxrow.C:
9452         * paragraph.C:
9453         * paragraph.h:
9454         * rowpainter.C:
9455         * text.C:
9456         * text2.C: Remove the "main" bit from the "main body"
9457           notion.
9458
9459 2003-03-08  John Levon  <levon@movementarian.org>
9460
9461         * text.C (leftMargin): The left margin of an empty
9462         manual label paragraph should not include the label width
9463         string length.
9464
9465         * text.C (prepareToPrint): don't attempt to measure hfills
9466         for empty manual label paragraphs - the answer should be 0
9467
9468 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9469
9470         * CutAndPaste.C: remove commented code and reindent.
9471
9472 2003-03-08  John Levon  <levon@movementarian.org>
9473
9474         * lyxfunc.h:
9475         * lyxfunc.C: move reloadBuffer()
9476
9477         * BufferView.h:
9478         * BufferView.C: to here
9479
9480         * lyxvc.C: add comment
9481
9482         * vc-backend.h:
9483         * vc-backend.C: call bv->reload() to avoid
9484           getStatus() check on MENURELOAD
9485
9486 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9487
9488         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9489         to an old format .dep file.
9490
9491 2003-03-07  Angus Leeming  <leeming@lyx.org>
9492
9493         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9494         when the LFUN_MOUSE_RELEASE should have been handled by
9495         inset->localDispatch.
9496
9497 2003-03-07  Angus Leeming  <leeming@lyx.org>
9498
9499         * BufferView_pimpl.C (dispatch):
9500         * LyXAction.C (init):
9501         * ToolbarDefaults.C (init):
9502         * commandtags.h:
9503         * lyxfunc.C (getStatus):
9504         remove LFUN_INSET_GRAPHICS.
9505
9506         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9507
9508 2003-03-07  Angus Leeming  <leeming@lyx.org>
9509
9510         * commandtags.h:
9511         * LyXAction.C (init):
9512         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9513
9514         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9515
9516         * commandtags.h:
9517         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9518
9519         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9520         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9521
9522 2003-03-07  Angus Leeming  <leeming@lyx.org>
9523
9524         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9525         remove "ert".
9526
9527 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9528
9529         * ParagraphList.C (front): new function
9530         (back): implement
9531
9532 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9533
9534         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9535         and top_row_offset_. removed var first_y.
9536         * text.C (top_y):
9537         * text2.C (LyXText, removeRow):
9538         * text3.C:
9539         * BufferView_pimpl.C:
9540         use these methods instead of using first_y
9541
9542 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9543
9544         * text2.C (pasteSelection): adjust for checkPastePossible
9545
9546         * CutAndPaste.C: remove Paragraph * buf and replace with
9547         ParagraphList paragraphs.
9548         (DeleteBuffer): delete
9549         (cutSelection): change the tc type to textclass_type
9550         (copySelection): change the tc type to textclass_type
9551         (copySelection): adjust for ParagraphList
9552         (pasteSelection): change the tc type to textclass_type
9553         (pasteSelection): adjust for Paragraphlist
9554         (nrOfParagraphs): simplify for ParagraphList
9555         (checkPastePossible): simplify for ParagraphList
9556         (checkPastePossible): remove unused arg
9557
9558         * ParagraphList.C (insert): handle the case where there are no
9559         paragraphs yet.
9560
9561         * CutAndPaste.h: make CutAndPaste a namespace.
9562
9563         * text3.C (dispatch): adjust
9564
9565         * text.C (breakParagraph): add a ParagraphList as arg
9566
9567         * paragraph_funcs.C (breakParagraph): change to take a
9568         BufferParams and a ParagraphList as args.
9569         (breakParagraphConservative): ditto
9570         (mergeParagraph): ditto
9571         (TeXDeeper): add a ParagraphList arg
9572         (TeXEnvironment): ditto
9573         (TeXOnePar): ditto
9574
9575         * buffer.C (readLyXformat2): adjust
9576         (insertStringAsLines): adjust
9577         (latexParagraphs): adjust
9578
9579         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9580         (cutSelection): adjust
9581         (pasteSelection): adjust
9582
9583         * BufferView_pimpl.C (insertInset): adjust
9584
9585 2003-03-05  Angus Leeming  <leeming@lyx.org>
9586
9587         * commandtags.h:
9588         * LyXAction.C (init):
9589         * BufferView_pimpl.C (dispatch):
9590         * lyxfunc.C (getStatus):
9591         remove LFUN_CHILD_INSERT.
9592
9593         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9594
9595 2003-03-05  Angus Leeming  <leeming@lyx.org>
9596
9597         * commandtags.h:
9598         * LyXAction.C (init):
9599         * src/factory.C (createInset):
9600         * lyxfunc.C (getStatus):
9601         * text3.C (dispatch):
9602         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9603
9604         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9605
9606 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9607
9608         * ParagraphList.C (insert): handle insert right before end()
9609         (erase): fix cases where it can be first or last paragraph.
9610
9611 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9612
9613         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9614         Paragraph::next and Paragraph::previous
9615         (TeXOnePar): ditto
9616
9617         * text.C (breakParagraph): adjust
9618
9619         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9620         BufferParams& as arg.
9621         (breakParagraph): use ParagraphList::insert
9622         (breakParagraphConservative): take a Buffer* instead of a
9623         BufferParams& as arg.
9624         (breakParagraphConservative): use ParagraphList::insert.
9625
9626         * buffer.C (insertStringAsLines): un-const it
9627         (insertStringAsLines): adjust
9628
9629         * ParagraphList.C (insert): new function
9630
9631         * CutAndPaste.C (pasteSelection): adjust
9632
9633         * text.C (backspace): adjust
9634
9635         * tabular.C (SetMultiColumn): adjust
9636
9637         * CutAndPaste.C (cutSelection): adjust
9638         (pasteSelection): adjust
9639
9640         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9641         Buffer const * as arg
9642
9643         * ParagraphList.C (erase): new function
9644         * paragraph_funcs.C (mergeParagraph): use it
9645         (mergeParagraph): make it take a Buffer* instead of a
9646         BufferParams* as arg
9647
9648         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9649         as arg
9650         (breakParagraphConservative): ditto
9651
9652         * paragraph.h: remove the breakParagraph friend
9653
9654         * paragraph.C (eraseIntern): new function
9655         (setChange): new function
9656
9657         * paragraph_funcs.C (mergeParagraph): make it take a
9658         ParagraphList::iterator instead of a Paragraph *, adjust
9659         accordingly.
9660
9661         * paragraph.h: move an #endif so that the change tracking stuff
9662         also works in the NO_NEXT case.
9663
9664 2003-03-04  Angus Leeming  <leeming@lyx.org>
9665
9666         * commandtags.h:
9667         * LyXAction.C: new LFUN_INSET_MODIFY.
9668
9669         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9670         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9671
9672 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9673
9674         * several files: ws changes only
9675
9676         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9677         (TeXEnvironment): ditto
9678         (TeXDeeper): ditto
9679
9680         * buffer.C (makeLaTeXFile): adjust
9681         (latexParagraphs): make it take ParagraphList::iterator as args
9682
9683 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9684
9685         * buffer.C (latexParagraphs): adjust
9686
9687         * paragraph.C (TeXOnePar): move function...
9688         (optArgInset): move function...
9689         (TeXEnvironment): move function...
9690         * paragraph_pimpl.C (TeXDeeper): move function...
9691         * paragraph_funcs.C: ...here
9692
9693         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9694
9695 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9696
9697         * buffer.C (readInset): remove compability code for old Figure and
9698         InsetInfo insets
9699
9700 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9701
9702         * buffer.C: ws changes
9703         (readInset):
9704
9705         * BufferView_pimpl.C: ditto
9706         * author.C: ditto
9707         * buffer.h: ditto
9708         * bufferlist.h: ditto
9709         * changes.h: ditto
9710         * lyxfunc.C: ditto
9711
9712 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9713
9714         * converter.[Ch]: split into itself +
9715         * graph.[Ch]
9716         * format.[Ch]
9717         * Makefile.am: += graph.[Ch] + format.[Ch]
9718         * MenuBackend.C
9719         * buffer.C
9720         * exporter.C
9721         * importer.C
9722         * lyx_main.C
9723         * lyxfunc.C
9724         * lyxrc.C: added #include "format.h"
9725
9726 2003-02-27  Angus Leeming  <leeming@lyx.org>
9727
9728         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9729           a label.
9730
9731         * factory.C (createInset): add "label" to the factory.
9732
9733         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9734           string and do no more.
9735
9736 2003-02-27  Angus Leeming  <leeming@lyx.org>
9737
9738         * commandtags.h:
9739         * LyXAction.C (init):
9740         * factory.C (createInset):
9741         * BufferView_pimpl.C (dispatch):
9742           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9743
9744         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9745
9746         * lyxfunc.C (dispatch):
9747         * text3.C (dispatch): pass name to params2string.
9748
9749 2003-02-26  Angus Leeming  <leeming@lyx.org>
9750
9751         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9752           blocks together.
9753           Rearrange the ~includes. Strip out the unnecessary ones.
9754
9755         * factory.C (createInset): reformat.
9756           create new insets for the various LFUN_XYZ_APPLY lfuns.
9757
9758 2003-02-26  John Levon  <levon@movementarian.org>
9759
9760         * lyxrow.h:
9761         * lyxrow.C: add isParStart,isParEnd helpers
9762
9763         * paragraph.h: make isInserted/DeletedText take refs
9764
9765         * paragraph_funcs.h:
9766         * paragraph_funcs.C: remove #if 0'd code
9767
9768         * lyxtext.h:
9769         * text3.C:
9770         * text2.C:
9771         * text.C: use lyxrow helpers above.
9772           Move draw and paint routines to RowPainter.
9773           Make several methods use refs not pointers.
9774           Make backgroundColor() const.
9775           Add markChangeInDraw(), isInInset().
9776           Merge changeRegionCase into changeCase.
9777           Make workWidth() shouldn't-happen code into an Assert.
9778
9779         * rowpainter.h:
9780         * rowpainter.C: new class for painting a row.
9781
9782         * vspace.h:
9783         * vspace.C: make inPixels take a ref
9784
9785 2003-02-26  Angus Leeming  <leeming@lyx.org>
9786
9787         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9788         LFUN_REF_APPLY.
9789
9790 2003-02-25  John Levon  <levon@movementarian.org>
9791
9792         * ispell.C: give the forked command a more accurate name
9793
9794 2003-02-22  John Levon  <levon@movementarian.org>
9795
9796         * toc.h:
9797         * toc.C: make TocItem store an id not a Paragraph *
9798           (bug #913)
9799
9800 2003-02-21  Angus Leeming  <leeming@lyx.org>
9801
9802         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9803           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9804           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9805           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9806           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9807           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9808
9809         * BufferView_pimpl.C (dispatch):
9810         * LyXAction.C (init):
9811         * factory.C (createInset):
9812         * lyxfunc.C (getStatus, dispatch):
9813         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9814
9815 2003-02-21  Angus Leeming  <leeming@lyx.org>
9816
9817         * BufferView_pimpl.C (MenuInsertLyXFile):
9818         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9819         * lyxfunc.C (menuNew, open, doImport):
9820           no longer pass a LyXView & to fileDlg.
9821
9822 2003-02-21  Angus Leeming  <leeming@lyx.org>
9823
9824         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9825         * LyXAction.C: change, BIBKEY to BIBITEM.
9826         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9827         Change InsetBibKey to InsetBibitem.
9828         Change BIBKEY_CODE to BIBITEM_CODE.
9829         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9830         * factory.C: replace insetbib.h with insetbibitem.h.
9831         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9832         * paragraph.C: replace insetbib.h with insetbibitem.h.
9833         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9834         Change bibkey() to bibitem().
9835         * text.C: remove insetbib.h.
9836         * text2.C: replace insetbib.h with insetbibitem.h.
9837         change bibkey() to bibitem().
9838         * text3.C: remove insetbib.h.
9839         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9840
9841 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9842
9843         * lyxrc.C (output): enclose user email in quotes (in case there are
9844         several words)
9845
9846 2003-02-18  John Levon  <levon@movementarian.org>
9847
9848         * buffer.h: add std::
9849
9850 2003-02-17  John Levon  <levon@movementarian.org>
9851
9852         * SpellBase.h:
9853         * ispell.h:
9854         * ispell.C:
9855         * pspell.h:
9856         * pspell.C: reworking. Especially in ispell, a large
9857           number of clean ups and bug fixes.
9858
9859         * lyxfunc.C: fix revert to behave sensibly
9860
9861 2003-02-17 André Pönitz <poenitz@gmx.net>
9862
9863         * LyXAction.C:
9864         * commandtags.h: new LFUN_INSERT_BIBKEY
9865
9866         * layout.h:
9867         * lyxlayout.C:
9868         * buffer.C:
9869         * factory.C:
9870         * text.C:
9871         * text2.C:
9872         * text3.C:
9873         * paragraph.[Ch]:
9874         * paragraph_func.C: remove special bibkey handling
9875
9876 2003-02-17  John Levon  <levon@movementarian.org>
9877
9878         * text.C (Delete): fix case where delete at the end of
9879           the very first paragraph would not merge the pars
9880
9881 2003-02-17  John Levon  <levon@movementarian.org>
9882
9883         * lyxrow.C: fix lastPrintablePos()
9884
9885 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * bufferparams.C (writeLaTeX): add a std:here
9888
9889         * buffer.C: and remove a using directive there
9890
9891 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9892
9893         * buffer.C (makeLaTeXFile): move the code that generates the
9894           preamble...
9895
9896         * bufferparams.C (writeLaTeX): ... in this new method
9897
9898         * LaTeXFeatures.C (getEncodingSet): make const
9899           (getLanguages): make const
9900
9901         * MenuBackend.C (binding): returns the binding associated to this
9902           action
9903           (add): sets the status of each item by calling getStatus. Adds
9904           some intelligence.
9905           (read): add support for OptSubMenu
9906           (expand): remove extra separator at the end of expanded menu
9907
9908 2003-02-15  John Levon  <levon@movementarian.org>
9909
9910         * BufferView.C:
9911         * BufferView_pimpl.C:
9912         * bufferlist.h:
9913         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9914           inset code that had no actual effect. Remove unneeded status
9915           code.
9916
9917 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9918
9919         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9920           in preamble
9921
9922 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9923
9924         * text.C (drawLengthMarker): also draw an arrow marker for
9925           symbolic lengths (medskip...)
9926
9927 2003-02-14  John Levon  <levon@movementarian.org>
9928
9929         * tabular.h:
9930         * tabular.C: better method names
9931
9932 2003-02-14  John Levon  <levon@movementarian.org>
9933
9934         * BufferView_pimpl.C:
9935         * bufferlist.C:
9936         * buffer.C:
9937         * converter.C:
9938         * lyx_cb.C:
9939         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9940           it's a more accurate name. Remove some pointless uses.
9941
9942 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9943
9944         * text2.C (LyXText): change order of initilizers to shut off
9945           warnings
9946
9947 2003-02-14  John Levon  <levon@movementarian.org>
9948
9949         * buffer.C: use ParIterator for getParFromID()
9950
9951         * paragraph.h:
9952         * paragraph.C:
9953         * paragraph_pimpl.h:
9954         * paragraph_pimpl.C: remove unused getParFromID()
9955
9956 2003-02-14  John Levon  <levon@movementarian.org>
9957
9958         * buffer.C: remove some very old #if 0'd parse code
9959
9960 2003-02-13  John Levon  <levon@movementarian.org>
9961
9962         * text.h:
9963         * text.C:
9964         * text2.C: move hfillExpansion(), numberOfSeparators(),
9965           rowLast(), rowLastPrintable(), numberofHfills(),
9966           numberOfLabelHfills() ...
9967
9968         * lyxrow.h:
9969         * lyxrow.C: ... to member functions here.
9970
9971         * paragraph.h:
9972         * paragraph.C:
9973         * lyxtext.h:
9974         * text.C: remove LyXText::beginningOfMainBody(), and call
9975           p->beginningOfMainBody() directly. Move the check for
9976           LABEL_MANUAL into the latter.
9977
9978         * text.h:
9979         * text.C:
9980         * text2.C:
9981         * vspace.C:
9982         * BufferView.h:
9983         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9984
9985         * text.h:
9986         * text.C:
9987         * text2.C:
9988         * text3.C:
9989         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9990           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9991
9992 2003-02-13  John Levon  <levon@movementarian.org>
9993
9994         * CutAndPaste.C: remove debug
9995
9996 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9997
9998         * paragraph.C (asString): remove two unused variables
9999
10000         * lyxtextclass.C (readTitleType):
10001           (Read):
10002           (LyXTextClass): handle new members titletype_ and titlename_
10003
10004         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10005
10006 2003-02-09  John Levon  <levon@movementarian.org>
10007
10008         * buffer.h:
10009         * buffer.C: replace hand-coded list with a map for the dep clean
10010
10011 2003-02-08  John Levon  <levon@movementarian.org>
10012
10013         * LaTeX.C: consolidate code into showRunMessage() helper
10014
10015 2003-02-08  John Levon  <levon@movementarian.org>
10016
10017         * lyxfind.C:
10018         * lyxtext.h:
10019         * text2.C:
10020         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10021           and pass the size in explicitly
10022
10023         * BufferView_pimpl.h:
10024         * BufferView_pimpl.C:
10025         * BufferView.h:
10026         * BufferView.C: add getCurrentChange()
10027
10028         * BufferView_pimpl.h:
10029         * BufferView_pimpl.C: handle change lfuns
10030
10031         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10032           for changes. Mark pasted paragraphs as new.
10033
10034         * support/lyxtime.h:
10035         * support/lyxtime.C:
10036         * DepTable.C: abstract time_t as lyx::time_type
10037
10038         * LColor.h:
10039         * LColor.C: add colours for new text, deleted text, changebars
10040
10041         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10042           package use "usenames" option.
10043
10044         * commandtags.h:
10045         * lyxfunc.C:
10046         * LyXAction.C: add change lfuns
10047
10048         * Makefile.am:
10049         * author.h:
10050         * author.C: author handling
10051
10052         * buffer.h:
10053         * buffer.C: add a per-buffer author list, with first entry as
10054           current author. Handle new .lyx tokens for change tracking. Output
10055           author list to .lyx file. Output dvipost stuff to .tex preamble.
10056           Bump lyx format to 222.
10057
10058         * bufferlist.h:
10059         * bufferlist.C: add setCurrentAuthor() to reset current author details
10060           in all buffers.
10061
10062         * bufferparams.h:
10063         * bufferparams.C: add param for tracking
10064
10065         * bufferview_funcs.C: output change info in minibuffer
10066
10067         * Makefile.am:
10068         * changes.h:
10069         * changes.C: add change-tracking structure
10070
10071         * debug.h:
10072         * debug.C: add CHANGES debug flag
10073
10074         * lyxfind.h:
10075         * lyxfind.C: add code for finding the next change piece
10076
10077         * lyxrc.h:
10078         * lyxrc.C: add user_name and user_email
10079
10080         * lyxrow.h:
10081         * lyxrow.C: add a metric for the top of the text line
10082
10083         * lyxtext.h:
10084         * text.C: implement accept/rejectChange()
10085
10086         * lyxtext.h:
10087         * text.C: paint changebars. Paint new/deleted text in the chosen
10088         colours. Strike through deleted text.
10089
10090         * paragraph.h:
10091         * paragraph.C:
10092         * paragraph_pimpl.h:
10093         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10094           in the current change to the insert functions. Rework erase to
10095           mark text as deleted, adding an eraseIntern() and a range-based
10096           erase(). Implement per-paragraph change lookup and
10097           accept/reject.
10098
10099         * paragraph_funcs.C: Fixup paste for change tracking.
10100
10101         * tabular.C: mark added row/columns as new.
10102
10103         * text.C: fix rowLast() to never return -1. Don't allow
10104           spellchecking of deleted text. Track transpose changes. Don't
10105           allow paragraph break or merge where appropriate.
10106
10107         * text2.C: leave cursor at end of selection after a cut.
10108
10109 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10110
10111         * text.C (getLengthMarkerHeight):
10112         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10113         visible on screen too.
10114
10115 2003-02-07  John Levon  <levon@movementarian.org>
10116
10117         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10118
10119 2003-02-05  Angus Leeming  <leeming@lyx.org>
10120
10121         * lyxserver.C (read_ready): revert my patch of 11 September last year
10122         as it sends PC cpu through the roof. Presumably this means that
10123         the lyxserver will no longer run on an Alpha...
10124
10125 2003-01-30  Angus Leeming  <leeming@lyx.org>
10126
10127         * factory.C (createInset): create an InsetCommandParam of type "index"
10128         and use it to 'do the right thing'.
10129
10130         * text2.C (getStringToIndex): ensure that cursor position is always
10131         reset to the reset_cursor position.
10132
10133 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10134
10135         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10136         disabled.
10137
10138 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10139
10140         * bufferview.C:
10141         * lyxcb.C:
10142         * lyxfunc.C: Output messages with identical spelling, punctuation,
10143         and spaces
10144
10145 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10146
10147         * MenuBackend.C (expandFormats): List only viewable export formats
10148         in "View" menu
10149
10150         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10151         message
10152
10153         * lyxfunc.C (getStatus): Make sure that formats other than
10154         "fax" can also be disabled
10155
10156 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10157
10158         * text3.C (dispatch): put the lfuns that insert insets in 3
10159         groups, and call doInsertInset with appropriate arguments.
10160         (doInsertInset): new function, that creates an inset and inserts
10161         it according to some boolean parameters.
10162
10163 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10164
10165         * buffer.C (readFile): remember to pass on 'par' when calling
10166         readFile recursively.
10167
10168 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10169
10170         * MenuBackend.C (expandFormats): add "..." to import formats.
10171
10172 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10173
10174         * paragraph.C (asString): Remove XForms RTL hacks.
10175
10176 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10177         * buffer.C: fix typo
10178
10179 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10180
10181         * Makefile.am (LIBS): delete var
10182         (lyx_LDADD): add @LIBS@ here instead.
10183
10184 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10185
10186         * Clarify the meaning of "wheel mouse jump"
10187
10188 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10189
10190         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10191         tabular in a float
10192
10193 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10194
10195         * importer.C (Loaders): do not preallocate 3 elements in the
10196         vector, since one ends up with 6 elements otherwise
10197
10198 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10199
10200         * DepTable.C (write): write the file name as last element of the
10201         .dep file (because it may contain spaces)
10202         (read): read info in the right order
10203
10204 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10205
10206         * paragraph_pimpl.C (simpleTeXBlanks):
10207         (simpleTeXSpecialChars):
10208         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10209
10210         * tabular.C (latex): add some missing case statements. Reindent.
10211
10212         * MenuBackend.C (expandToc): remove unused variable.
10213
10214 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10215
10216         * LColor.C:
10217         * LaTeX.C:
10218         * LyXAction.C:
10219         * MenuBackend.C:
10220         * buffer.C:
10221         * exporter.C:
10222         * lyxfunc.C:
10223         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10224         and the like.
10225
10226 2003-01-05  John Levon  <levon@movementarian.org>
10227
10228         * BufferView.h:
10229         * BufferView.C: add getEncoding()
10230
10231         * kbsequence.h:
10232         * kbsequence.C: do not store last keypress
10233
10234         * lyxfunc.h:
10235         * lyxfunc.C: store last keypress here instead. Pass encoding
10236           to getISOEncoded()
10237
10238 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10239
10240         * lyx_main.C (init): remove annoying error message when following
10241         symbolic links (bug #780)
10242
10243 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10244
10245         * text.C (insertChar):
10246         * lyxrc.C (getDescription): remove extra spaces
10247
10248 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10249
10250         * lyxrc.C (getDescription): remove extra spaces
10251
10252 2002-12-20  John Levon  <levon@movementarian.org>
10253
10254         * text3.C: hack fix for page up/down across tall rows
10255
10256 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10257
10258         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10259         not been invoked
10260
10261 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10262
10263         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10264         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10265         thesaurus is not compiled in
10266
10267 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10268
10269         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10270
10271 2002-12-16  Angus Leeming  <leeming@lyx.org>
10272
10273         * lyxrc.[Ch]:
10274         * lyx_main.C (init): remove override_x_deadkeys stuff.
10275
10276 2002-12-12  John Levon  <levon@movementarian.org>
10277
10278         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10279           insert. Only remove shift modifier under strict
10280           circumstances.
10281
10282 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10283
10284         * MenuBackend.C (expandToc): fix crash.
10285
10286 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10287
10288         * MenuBackend.C (expandToc): gettext on float names.
10289
10290 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10291
10292         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10293         implement bool empty() [bug 490]
10294
10295 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10296
10297         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10298
10299 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10300
10301         * several files: ws changes
10302
10303 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10304
10305         * text2.C (setCounter): clean up a bit, use boost.format.
10306         (updateCounters): initialize par upon declaration.
10307
10308         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10309         if the layout exists. We do not just store the layout any more.
10310         (SwitchLayoutsBetweenClasses): use boost.format
10311
10312 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10313
10314         * converter.C (convert): if from and to files are the same, use a
10315         temporary files as intermediary
10316
10317 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10318
10319         * commandtags.h:
10320         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10321
10322 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10323
10324         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10325
10326 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10327
10328         * tabular.C (asciiPrintCell): use string(size, char) instead of
10329         explicit loop.
10330
10331         * sgml.C (openTag): fix order of arguments to string constructor
10332         (closeTag): ditto
10333
10334         * lyxfunc.C (dispatch): use boost.format
10335
10336         * lots of files: change "c" -> 'c'
10337
10338 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10339
10340         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10341
10342 2002-11-25  Angus Leeming  <leeming@lyx.org>
10343
10344         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10345
10346         * lyx_main.C (init): compile fix.
10347
10348 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10349
10350         * lyx_cb.C (start): boost.formatify
10351         do not include <iostream>
10352
10353         * lengthcommon.C: ws only
10354
10355         * boost-inst.C,BoostFormat.h: add more explict instantations
10356
10357 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10358
10359         * lots of files: handle USE_BOOST_FORMAT
10360
10361 2002-11-21  John Levon  <levon@movementarian.org>
10362
10363         * pspell.C: fix compile
10364
10365 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10366
10367         * lyxfunc.C (dispatch): use boost::format
10368         (open): ditto
10369         (doImport): ditto
10370
10371         * lyxfont.C (stateText): use boost::format
10372
10373         * lyx_main.C (LyX): use boost::format
10374         (init): ditto
10375         (queryUserLyXDir): ditto
10376         (readRcFile): ditto
10377         (parse_dbg): ditto
10378         (typedef boost::function): use the recommened syntax.
10379
10380         * importer.C (Import): use boost::format
10381
10382         * debug.C (showLevel): use boost::format
10383
10384         * converter.C (view): use boost::format
10385         (convert): ditto
10386         (move): ditto
10387         (scanLog): ditto
10388
10389         * bufferview_funcs.C (currentState): use boost::format
10390
10391         * bufferlist.C (emergencyWrite): use boost::format
10392
10393         * buffer.C (readLyXformat2): use boost::format
10394         (parseSingleLyXformat2Token): ditto
10395
10396         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10397
10398         * LaTeX.C (run): use boost::format
10399
10400         * Chktex.C (scanLogFile): use boost::format
10401
10402         * BufferView_pimpl.C (savePosition): use boost::format
10403         (restorePosition): ditto
10404         (MenuInsertLyXFile): ditto
10405
10406         * BoostFormat.h: help file for explicit instation.
10407
10408 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10409
10410         * tabular.C (latex): Support for block alignment in fixed width
10411         columns.
10412
10413 2002-11-17  John Levon  <levon@movementarian.org>
10414
10415         * BufferView_pimpl.C:
10416         * lyx_cb.C:
10417         * lyxfunc.C: split filedialog into open/save
10418
10419 2002-11-08  Juergen Vigna  <jug@sad.it>
10420
10421         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10422         by my last patch (hopefully).
10423
10424 2002-11-08  John Levon  <levon@movementarian.org>
10425
10426         * iterators.h:
10427         * iterators.C:
10428         * buffer.h:
10429         * buffer.C:
10430         * paragraph.h:
10431         * paragraph.C:
10432         * toc.h:
10433         * toc.C: ParConstIterator, and use it (from Lars)
10434
10435 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10436
10437         * lyxtextclass.[Ch]: revise and add doxygen comments
10438
10439 2002-11-07  John Levon  <levon@movementarian.org>
10440
10441         * text.C: fix progress value for spellchecker
10442
10443         * toc.C: fix navigate menu for insetwrap inside minipage
10444
10445         * paragraph_funcs.C: added FIXME for suspect code
10446
10447 2002-11-07  John Levon  <levon@movementarian.org>
10448
10449         * BufferView_pimpl.C: fix redrawing of insets
10450           on buffer switch
10451
10452 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10453
10454         * text2.C (updateCounters): fix bug 668
10455
10456 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10457
10458         * text3.C (dispatch): Do not make the buffer dirty when moving the
10459         cursor.
10460
10461 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10462
10463         * vc-backend.C: STRCONV
10464         (scanMaster): ditto
10465
10466         * text2.C (setCounter): STRCONV
10467
10468         * paragraph.C (asString): STRCONV
10469
10470         * lyxlength.C (asString): STRCONV
10471         (asLatexString): ditto
10472
10473         * lyxgluelength.C (asString): STRCONV
10474         (asLatexString): ditto
10475
10476         * lyxfunc.C (dispatch): STRCONV
10477         (open): ditto
10478
10479         * lyxfont.C (stateText): STRCONV
10480
10481         * importer.C (Import): STRCONV
10482
10483         * counters.C (labelItem): STRCONV
10484         (numberLabel): ditto
10485         (numberLabel): remove unused ostringstream o
10486
10487         * chset.C: STRCONV
10488         (loadFile): ditto
10489
10490         * bufferview_funcs.C (currentState): STRCONV
10491
10492         * buffer.C (readFile): STRCONV
10493         (asciiParagraph): ditto
10494         (makeLaTeXFile): ditto
10495
10496         * Spacing.C (writeEnvirBegin): STRCONV
10497
10498         * LaTeXFeatures.C (getLanguages): STRCONV
10499         (getPackages): ditto
10500         (getMacros): ditto
10501         (getBabelOptions): ditto
10502         (getTClassPreamble): ditto
10503         (getLyXSGMLEntities): ditto
10504         (getIncludedFiles): ditto
10505
10506         * LaTeX.C: STRCONV
10507         (run): ditto
10508         (scanAuxFile): ditto
10509         (deplog): ditto
10510
10511         * LString.h: add the STRCONV macros
10512
10513         * BufferView_pimpl.C (savePosition): STRCONV
10514         (restorePosition): ditto
10515         (MenuInsertLyXFile): ditto
10516
10517         * vc-backend.C (scanMaster): change from submatch[...] to
10518         submatch.str(...)
10519
10520         * funcrequest.C: include config.h
10521
10522         * factory.C: include config.h
10523
10524         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10525
10526         * box.C: include config.h
10527
10528         * LaTeX.C (scanAuxFile): change from submatch[...] to
10529         submatch.str(...)
10530         (deplog): ditto
10531
10532 2002-10-25  Angus Leeming  <leeming@lyx.org>
10533
10534         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10535
10536         * ispell.[Ch] (setError): new method.
10537         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10538         Use setError() insetead of goto END.
10539
10540         * lyx_cb.C (AutoSave): move out child process into new class
10541         AutoSaveBuffer.
10542
10543 2002-10-30  John Levon  <levon@movementarian.org>
10544
10545         * text3.C: make start appendix undoable
10546
10547 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10548
10549         * lyxlength.C (inPixels): Fix returned value.
10550
10551         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10552         environment.
10553
10554 2002-10-24  Angus Leeming  <leeming@lyx.org>
10555
10556         * lyxgluelength.h: no need to forward declare BufferParams
10557         or BufferView, so don't.
10558
10559 2002-10-21  John Levon  <levon@movementarian.org>
10560
10561         * BufferView.C: menuUndo ->undo, redo
10562
10563         * BufferView.h: document, remove dead, make some methods private
10564
10565         * paragraph_funcs.h:
10566         * paragraph_funcs.C:
10567         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10568
10569         * buffer.h:
10570         * buffer.C:
10571         * sgml.h:
10572         * sgml.C: move sgml open/close tag into sgml.C
10573
10574         * bufferview_funcs.h: unused prototype
10575
10576         * lyxfunc.h:
10577         * lyxfunc.C: remove unused
10578
10579         * lyxtext.h:
10580         * text.C: remove unused
10581
10582 2002-10-21  John Levon  <levon@movementarian.org>
10583
10584         * BufferView.h:
10585         * BufferView.C:
10586         * BufferView_pimpl.h:
10587         * BufferView_pimpl.C: fix mouse wheel handling based on
10588           patch from Darren Freeman
10589
10590 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10591
10592         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10593
10594 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10595
10596         * lyxlength.C (inPixels): Fix hanfling of negative length.
10597         Fix LyXLength::MU case.
10598
10599 2002-10-16  John Levon  <levon@movementarian.org>
10600
10601         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10602
10603 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10604
10605         * converter.C (view): add support for $$i (file name) and $$p
10606         (file path) for the viewer command. If $$i is not specified, then
10607         it is appended to the command (for compatibility with old syntax)
10608
10609 2002-10-14  Juergen Vigna  <jug@sad.it>
10610
10611         * undo_funcs.C (textHandleUndo): alter the order in which the
10612         new undopar is added to the LyXText, as we have to set first
10613         the right prev/next and then add it as otherwise the rebuild of
10614         LyXText is not correct. Also reset the cursor to the right paragraph,
10615         with this IMO we could remove the hack in "redoParagraphs()".
10616
10617 2002-10-09  Angus Leeming  <leeming@lyx.org>
10618
10619         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10620         to turn off an optimisation if a new inset is to be inserted.
10621
10622 2002-10-11 André Pönitz <poenitz@gmx.net>
10623
10624         * lyxtext.h: make some functions public to allow access
10625         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10626
10627 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10628
10629         * text3.C (dispatch): when changing layout, avoid an infinite loop
10630         [bug #652]
10631
10632 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10633
10634         * lyxrc.C (read): treat a viewer or converter command of "none" as
10635         if it were empty.
10636
10637         * MenuBackend.C (expandFormats): for an update, also allow the
10638         formats that are not viewable
10639
10640         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10641         script if it is newer than the lyxrc.defaults in user directory
10642
10643 2002-10-07 André Pönitz <poenitz@gmx.net>
10644
10645         * text.C: Vitaly Lipatov's small i18n fix
10646
10647 2002-09-25  Angus Leeming  <leeming@lyx.org>
10648
10649         * ispell.h: doxygen fix.
10650
10651 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10652
10653         * buffer.h (readFile): Add a new argument to the method, to allow
10654         reading of old-format templates.
10655
10656 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10657
10658         * toc.C (getTocList): Get TOC from InsetWrap.
10659
10660 2002-09-16  John Levon  <levon@movementarian.org>
10661
10662         * lyxfunc.C: check tabular for cut/copy too
10663
10664 2002-09-12  John Levon  <levon@movementarian.org>
10665
10666         * LyXAction.C: tidy
10667
10668         * factory.h:
10669         * factory.C: add header
10670
10671         * paragraph_funcs.h:
10672         * paragraph_funcs.C: cleanup
10673
10674 2002-09-11  John Levon  <levon@movementarian.org>
10675
10676         * PrinterParams.h: odd/even default to true
10677
10678 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10679
10680         * PrinterParams.h: update printer parameters for new xforms dialog
10681
10682 2002-09-11  Angus Leeming  <leeming@lyx.org>
10683
10684         * lyxserver.C (read_ready): re-write to make it more transparent
10685         and to make it work in coherent fashion under Tru64 Unix.
10686
10687 2002-09-11  André Pönitz <poenitz@gmx.net>
10688
10689         * commandtags.h:
10690         * LyXAction.C:
10691         * text3.C: implement LFUN_WORDSEL
10692
10693 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10694
10695         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10696         make floatlist_ a boost::shared_ptr<FloatList>
10697
10698         * lyxtextclass.C: include FloatList.h
10699         (LyXTextClass): initialize floatlist_
10700         (TextClassTags): add TC_NOFLOAT
10701         (Read): match "nofloat" to TC_NOFLOAT and use it.
10702         (readFloat): modify call to floatlist_
10703         (floats): ditto
10704         (floats): ditto
10705
10706         * FloatList.[Ch] (FloatList): remove commented out float
10707         initialization.
10708         (erase): new function
10709
10710 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10711
10712         * MenuBackend.C (expandToc): fix crash when there is no document
10713         open
10714
10715 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10716
10717         * many files: Add insetwrap.
10718
10719 2002-09-09  John Levon  <levon@movementarian.org>
10720
10721         * text2.C: remove confusing and awkward depth wraparound
10722
10723 2002-09-09  John Levon  <levon@movementarian.org>
10724
10725         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10726
10727         * buffer.h:
10728         * buffer.C: remove getIncludeonlyList()
10729
10730         * paragraph.C:
10731         * lyxfunc.C: remove headers
10732
10733 2002-09-09  Juergen Vigna  <jug@sad.it>
10734
10735         * text.C (getColumnNearX): fix form Michael this is most
10736         probably a cut&paste bug.
10737
10738 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10741
10742         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10743         references, ws changes.
10744
10745         * text2.C (init): update counters after init
10746         (insertParagraph): no need to set counter on idividual paragraphs.
10747         (setCounter): access the counters object in the textclass object
10748         on in the buffer object.
10749         (updateCounters): ditto
10750
10751         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10752         shared_ptr<Counters> to avoid loading counters.h in all
10753         compilation units.
10754         (LyXTextClass): initialize ctrs_
10755         (TextClassTags): add TC_COUNTER, and ...
10756         (Read): use it here.
10757         (CounterTags): new tags
10758         (readCounter): new function
10759         (counters): new funtion
10760         (defaultLayoutName): return a const reference
10761
10762         * counters.C (Counters): remove contructor
10763         (newCounter): remove a couple of unneeded statements.
10764         (newCounter): simplify a bit.
10765         (numberLabel): some small formatting changes.
10766
10767         * buffer.[Ch]: remove all traces of counters, move the Counters
10768         object to the LyXTextClass.
10769
10770 2002-09-06  Alain Castera  <castera@in2p3.fr>
10771
10772         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10773         package to set the horizontal alignment on fixed width columns.
10774
10775         * lyx_sty.C:
10776         * lyx_sty.h: added tabularnewline macro def.
10777
10778         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10779
10780 2002-09-06  John Levon  <levon@movementarian.org>
10781
10782         * LyXAction.C: tooltips for sub/superscript
10783
10784         * MenuBackend.C: a bit more verbose
10785
10786         * lyxfunc.C: tiny clean
10787
10788         * undo_funcs.C: document undo_frozen
10789
10790 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10791
10792         * counters.C (Counters): add missing algorithm counter.
10793
10794         * text2.C (setCounter): lookup the counter with layouts latexname
10795         instead of by section number.
10796         (setCounter): use a hackish way to lookup the correct enum
10797         counter.
10798         a float name->type change
10799         reset enum couners with counter name directly instead of depth value.
10800
10801         * counters.C (Counters): remove the push_backs, change to use the
10802         float type not the float name.
10803         (labelItem): remove unused string, float name->type change
10804
10805         * counters.h: don't include vector, loose the enums and sects vectors
10806
10807 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10808
10809         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10810         (Read): add float->TC_FLOAT to textclassTags
10811         (Read): and handle it in the switch
10812         (readFloat): new function
10813
10814         * FloatList.C (FloatList): comment out the hardcoded float
10815         definitions.
10816
10817         * lyxlayout.h: ws change.
10818
10819 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10820
10821         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10822
10823 2002-09-03  Angus Leeming  <leeming@lyx.org>
10824
10825         * BufferView_pimpl.h: qualified name is not allowed in member
10826         declaration: WorkArea & Pimpl::workarea() const;
10827
10828         * factory.C: added using std::endl directive.
10829
10830         * text3.C: added using std::find and std::vector directives.
10831
10832 2002-08-29  André Pönitz <poenitz@gmx.net>
10833
10834         * lyxtext.h:
10835         * text2.C: remove unused member number_of_rows
10836
10837         * Makefile.am:
10838         * BufferView2.C: remove file, move contents to...
10839         * BufferView.C: ... here
10840
10841         * BufferView_pimpl.C:
10842         * factory.C: move more inset creation to factory
10843
10844         * vspace.C: avoid direct usage of LyXText, ws changes
10845
10846         * BufferView.[Ch]:
10847                 don't provide direct access to WorkArea, use two simple
10848                 acessors haveSelction() and workHeight() instead
10849
10850
10851 2002-08-29  John Levon  <levon@movementarian.org>
10852
10853         * BufferView_pimpl.C (dispatch): do not continue when
10854           no buffer
10855
10856 2002-08-28  André Pönitz <poenitz@gmx.net>
10857
10858         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10859
10860         * BufferView.h:
10861         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10862
10863 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10864
10865         * buffer.C: increment LYX_FORMAT to 221
10866
10867         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10868         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10869
10870         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10871
10872         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10873
10874 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10875
10876         * factory.C (createInset): use LyXTextClass::floats
10877
10878         * MenuBackend.C (expandFloatListInsert):
10879         (expandFloatInsert):
10880         (expandToc):
10881
10882         * text2.C (setCounter):
10883
10884         * LaTeXFeatures.C (useFloat):
10885         (getFloatDefinitions):
10886
10887         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10888
10889         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10890         floatlist_, with accessor floats().
10891
10892         * FloatList.h: remove global FloatList
10893
10894 2002-08-26  André Pönitz <poenitz@gmx.net>
10895
10896         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10897
10898         * BufferView.h:
10899         * BufferView2.C:
10900         * BufferView_pimpl.C:
10901         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10902
10903 2002-08-25  John Levon  <levon@movementarian.org>
10904
10905         * LyXAction.C: fix margin note description
10906
10907 2002-08-24  John Levon  <levon@movementarian.org>
10908
10909         * buffer.C:
10910         * bufferlist.C:
10911         * bufferview_funcs.C:
10912         * lyxfont.C:
10913         * undo_funcs.C: cleanups
10914
10915         * lyxfunc.C: disable CUT/COPY when no selection
10916
10917 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10918
10919         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10920         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10921
10922         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10923         Add backward compatibility to "mono", "gray" and "no".
10924
10925 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10926
10927         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10928         (and file_format >= 200).
10929
10930 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10931
10932         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10933
10934 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10935
10936         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10937
10938 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10939
10940         * BufferView_pimpl.C:
10941         * LyXAction.C:
10942         * buffer.C:
10943         * commandtags.h:
10944         * lyxfunc.C:
10945         * paragraph.[Ch]:
10946         * text2.C:
10947         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10948         inset and code to make it  work with the paragraph code. The inset
10949         can be anywhere in the paragraph, but will only do the expected
10950         thing in LaTeX if the layout file contains the parameter line
10951                         OptionalArgs    1
10952         (or more generally, a nonzero value) for that layout.
10953
10954 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10955
10956         * paragraph.h: remove the declaration of undefined counters class
10957         function.
10958
10959 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10960
10961         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10962         Dr. Richard Hawkins.
10963
10964 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * paragraph_funcs.h: remove some unneeded includes
10967
10968         * text.C (backspace): pasteParagraph now in global scipe
10969
10970         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10971         (pasteSelection): ditto
10972
10973         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10974         * paragraph_funcs.C (pasteParagraph): ... here
10975
10976 2002-08-20  André Pönitz <poenitz@gmx.net>
10977
10978         * commandtags.h: new LFUNs for swapping/copying table row/colums
10979
10980         * LyXAction.C:
10981         * lyxfunc.C: support for new lfuns
10982
10983 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10984
10985         * tabular.C:
10986         * buffer.[Ch]: remove NO_COMPABILITY stuff
10987
10988 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10989
10990         * boost.C (throw_exception): new file, with helper function for
10991         boost compiled without exceptions.
10992
10993         * paragraph.h:
10994         * lyxlength.C:
10995         * buffer.C:
10996         * ParameterStruct.h:
10997         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10998
10999         * bufferlist.C (emergencyWriteAll): use boost bind
11000
11001         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11002
11003         * text.C: include paragraph_funcs.h
11004         (breakParagraph): breakParagraph is now in global scope
11005
11006         * paragraph_funcs.[Ch]: new files
11007
11008         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11009         global scope
11010
11011         * buffer.C: include paragraph_funcs.h
11012         (insertStringAsLines): breakParagraph is now in global scope
11013
11014         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11015         paragraph_funcs.C
11016
11017         * CutAndPaste.C: include paragraph_funcs.h
11018         (cutSelection): breakParagraphConservative is now in global scope
11019         (pasteSelection): ditto
11020
11021         * buffer.h: declare oprator== and operator!= for
11022         Buffer::inset_iterator
11023
11024         * bufferlist.C (emergencyWrite): don't use fmt(...)
11025
11026         * text3.C: add using std::endl
11027
11028         * BufferView.C (moveCursorUpdate): remove default arg
11029
11030 2002-08-20  André Pönitz <poenitz@gmx.net>
11031
11032         * buffer.[Ch]: move inline functions to .C
11033
11034         * BufferView2.C:
11035         * BufferView_pimpl.C:
11036         * text.C:
11037         * buffer.[Ch]: use improved inset_iterator
11038
11039         * buffer.C:
11040         * paragraph.[Ch]: write one paragraph at a time
11041
11042 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11043
11044         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11045         style if style is not specified.
11046
11047 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11048
11049         * text2.C (setCounter): when searching for right label for a
11050         caption, make sure to recurse to parent insets (so that a caption
11051         in a minipage in a figure float works) (bug #568)
11052
11053 2002-08-20  André Pönitz <poenitz@gmx.net>
11054
11055         * text3.C: new file for LyXText::dispatch() and helpers
11056
11057         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11058
11059         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11060
11061 2002-08-19  André Pönitz <poenitz@gmx.net>
11062
11063         * lyxtext.h:
11064         * text.C: new LyXText::dispatch()
11065
11066         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11067
11068 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11069
11070         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11071
11072         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11073         Hebrew text.
11074
11075 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11076
11077         * Makefile.am: use $(variables) instead of @substitutions@
11078
11079 2002-08-15  André Pönitz <poenitz@gmx.net>
11080
11081         * lyxfunc.C:
11082         * BufferView_pimpl.C: streamlining mathed <-> outer world
11083         interaction
11084
11085         * commandtags.h:
11086         * LyXAction.C: remove unused LFUN_MATH
11087
11088 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11089
11090         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11091
11092 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11093
11094         * paragraph.C (Paragraph): reformat a bit
11095         (cutIntoMinibuffer): use builtin InsetList function instad of
11096         doing it manually.
11097         (getInset): ditto
11098
11099         * buffer.C: include boost/bind.hpp, add using std::for_each
11100         (writeFileAscii): use ParagraphList iterators
11101         (validate): use for_each for validate traversal of paragraphs
11102         (getBibkeyList): use ParagraphList iterators
11103         (resizeInsets): use for_each to resizeInsetsLyXText for all
11104         paragraphs.
11105         (getParFromID): use ParagraphList iterators
11106
11107         * BufferView2.C (lockInset): use paragraph list and iterators
11108
11109 2002-08-14  John Levon  <levon@movementarian.org>
11110
11111         * lyxserver.C: remove spurious xforms include
11112
11113 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11114
11115         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11116
11117 2002-08-13  André Pönitz <poenitz@gmx.net>
11118
11119         * LyXAction.[Ch]:
11120         * lyxfunc.C: further cleaning
11121
11122 2002-08-13  André Pönitz <poenitz@gmx.net>
11123
11124         * funcrequest.h: new constructor
11125
11126         * funcrequest.C: move stuff here from .h
11127
11128         * Makefile.am:
11129         * BufferView_pimpl.C:
11130         * LyXAction.C:
11131         * toc.C:
11132         * lyxfunc.C: subsequent changes
11133
11134         * lyxfunc.h: new view() member function
11135
11136         * lyxfunc.C: subsequent changes
11137
11138 2002-08-13  Angus Leeming  <leeming@lyx.org>
11139
11140         * BufferView2.C:
11141         * BufferView_pimpl.C:
11142         * buffer.C:
11143         * converter.C:
11144         * importer.C:
11145         * lyxfunc.C:
11146         * lyxvc.C:
11147         * toc.C:
11148         * vc-backend.C:
11149         changes due to the changed LyXView interface that now returns references
11150         to member variables not pointers.
11151
11152 2002-08-13  Angus Leeming  <leeming@lyx.org>
11153
11154         * WordLangTuple (word, lang_code): return references to strings,
11155         not strings.
11156
11157         * BufferView.h:
11158         * SpellBase.h:
11159         * lyxtext.h: forward-declare WordLangTuple.
11160
11161         * BufferView2.C:
11162         * ispell.C:
11163         * pspell.C:
11164         * text.C: #include "WordLangTuple.h".
11165
11166         * lyxtext.h:
11167         * text.C: (selectNextWordToSpellcheck): constify return type.
11168
11169 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11170
11171         * buffer.C:
11172         * buffer.h:
11173         * lyxtext.h:
11174         * paragraph.C:
11175         * paragraph_pimpl.h:
11176         * text.C:
11177         * text2.C:
11178         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11179         suggested by Angus.
11180         Made updateCounter always count from start of buffer, and removed
11181         second argument (par).
11182         Reverted floats number display to '#'. Perhaps I'll try again when the
11183         code base is sanitized a bit.
11184
11185 2002-08-12  Angus Leeming  <leeming@lyx.org>
11186
11187         * buffer.[Ch] (getLabelList): constify.
11188
11189 2002-08-07  André Pönitz <poenitz@gmx.net>
11190
11191         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11192
11193         * funcrequest.h: extension to keep mouse (x,y) position
11194
11195 2002-08-12  Juergen Vigna  <jug@sad.it>
11196
11197         * BufferView2.C (insertErrors): forbid undo when inserting error
11198         insets.
11199
11200         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11201
11202 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11203
11204         * ParagraphList.[Ch]: new files
11205
11206         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11207
11208         * BufferView2.C (lockInset): ParagraphList changes
11209         * toc.C: ditto
11210         * text2.C: ditto
11211         * bufferlist.C: ditto
11212         * buffer.h: ditto
11213         * buffer.C: ditto
11214
11215 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11216
11217         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11218         unused class variable counter_,
11219
11220         * paragraph.[Ch] (getFirstCounter): delete unused function
11221
11222         * counters.C: include LAssert.h
11223         (reset): add a new function with no arg, change other version to
11224         not have def. arg and to not allow empty arg.
11225
11226         * text2.C (setCounter): remove empty arg from call to Counters::reset
11227
11228 2002-08-11  John Levon  <levon@movementarian.org>
11229
11230         * Makefile.am: add WordLangTuple.h
11231
11232 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11233
11234         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11235         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11236
11237         * insets/insettext.C: InsetList changes
11238
11239         * graphics/GraphicsSupport.C (operator()): InsetList changes
11240
11241         * toc.C (getTocList): InsetList changes
11242
11243         * paragraph_pimpl.[Ch]: InsetList changes
11244
11245         * paragraph.[Ch]: InsetList changes
11246
11247         * buffer.C (inset_iterator): InsetList changes
11248         (setParagraph): ditto
11249         * buffer.h (inset_iterator): ditto
11250         * iterators.C (operator++): ditto
11251         * iterators.h: ditto
11252
11253         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11254
11255         * InsetList.[Ch]: new files, most InsetList handling moved out of
11256         paragraph.C.
11257
11258         * BufferView2.C (removeAutoInsets): InsetList changes
11259         (lockInset): ditto
11260         (ChangeInsets): ditto
11261
11262 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11263
11264         * paragraph_pimpl.h (empty): new function
11265
11266         * paragraph.[Ch] (empty): new function
11267
11268         * other files: use the new Paragraph::empty function
11269
11270 2002-08-09  John Levon  <levon@movementarian.org>
11271
11272         * lyxtext.h: remove unused refresh_height
11273
11274 2002-08-09  John Levon  <levon@movementarian.org>
11275
11276         * Makefile.am:
11277         * sgml.h:
11278         * sgml.C:
11279         * buffer.C:
11280         * paragraph.h:
11281         * paragraph.C: move sgml char escaping out of paragraph
11282
11283         * paragraph.h:
11284         * paragraph.C: remove id setter
11285
11286         * buffer.C:
11287         * paragraph.C:
11288         * paragraph_pimpl.C: remove dead tex_code_break_column
11289
11290         * bufferview_funcs.C: small cleanup
11291
11292         * lyxfunc.C: remove dead proto
11293
11294         * lyxtext.h: make some stuff private. Remove some dead stuff.
11295
11296         * lyxgluelength.C: make as[LyX]String() readable
11297
11298 2002-08-08  John Levon  <levon@movementarian.org>
11299
11300         * LyXAction.h:
11301         * LyXAction.C:
11302         * MenuBackend.C:
11303         * ToolbarDefaults.C:
11304         * lyxfunc.C:
11305         * lyxrc.C:
11306         * toc.C: lyxaction cleanup
11307
11308 2002-08-08  John Levon  <levon@movementarian.org>
11309
11310         * BufferView2.C: small cleanup
11311
11312         * lyxfind.h:
11313         * lyxfind.C: move unnecessary header into the .C
11314
11315 2002-08-08  John Levon  <levon@movementarian.org>
11316
11317         * funcrequest.h: just tedious nonsense
11318
11319         * lyx_main.h:
11320         * lyx_main.C: cleanups
11321
11322         * buffer.C:
11323         * vspace.C: remove dead header lyx_main.h
11324
11325 2002-08-07  Angus Leeming  <leeming@lyx.org>
11326
11327         * Paragraph.[Ch]:
11328         * paragraph_pimpl.h:
11329         Forward declare class Counters in paragraph.h by moving the ctrs member
11330         variable into Paragraph::Pimpl.
11331         (counters): new method, returning a reference to pimpl_->ctrs.
11332
11333         * text2.C: ensuing changes.
11334
11335 2002-08-07  John Levon  <levon@movementarian.org>
11336
11337         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11338
11339         * BufferView_pimpl.C: announce X selection on double/triple
11340           click
11341
11342         * lyx_main.C: use correct bool in batch dispatch
11343
11344         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11345
11346 2002-08-07  André Pönitz <poenitz@gmx.net>
11347
11348         * funcrequest.h: new class to wrap a kb_action and its argument
11349
11350         * BufferView.[Ch]:
11351         * BufferView_pimpl[Ch]:
11352         * LaTeX.C:
11353         * LyXAction.[Ch]:
11354         * lyxfunc.[Ch]:
11355         * lyxrc.C: subsequent changes
11356
11357
11358 2002-08-07  John Levon  <levon@movementarian.org>
11359
11360         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11361           document options change.
11362
11363 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11364
11365         * counters.[Ch]
11366         * text2.C
11367         * paragraph.[Ch]
11368         * makefile.am: move counters functionality over from
11369         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11370
11371 2002-08-06  John Levon  <levon@movementarian.org>
11372
11373         * WordLangTuple.h: new file for word + language code tuple
11374
11375         * SpellBase.h:
11376         * pspell.h:
11377         * pspell.C:
11378         * ispell.h:
11379         * ispell.C:
11380         * lyxtext.h:
11381         * text.C:
11382         * text2.C:
11383         * BufferView.h:
11384         * BufferView2.C: use WordLangTuple
11385
11386         * layout.h:
11387         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11388
11389 2002-08-06  John Levon  <levon@movementarian.org>
11390
11391         * lyx_main.C: fix cmdline batch handling
11392
11393 2002-08-06  André Pönitz <poenitz@gmx.net>
11394
11395         * lyxrc.C: set default for show_banner to true
11396
11397 2002-08-06  John Levon  <levon@movementarian.org>
11398
11399         * pspell.C: fix a crash, and allow new aspell to work
11400
11401 2002-08-06  John Levon  <levon@movementarian.org>
11402
11403         * lyxfunc.C:
11404         * kbmap.C: small cleanup
11405
11406         * vspace.h:
11407         * vspace.C: add const
11408
11409 2002-08-05  John Levon  <levon@movementarian.org>
11410
11411         * LyXAction.C: back to tabular-insert
11412
11413 2002-08-04  John Levon  <levon@movementarian.org>
11414
11415         * BufferView.h:
11416         * BufferView.C: cosmetic change
11417
11418         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11419
11420         * bufferlist.C:
11421         * buffer.h:
11422         * buffer.C:
11423         * lyxcb.h:
11424         * lyxcb.C:
11425         * lyxserver.C:
11426         * lyxvc.C:
11427         * vc-backend.C:
11428         * BufferView2.C: purge all "Lyx" not "LyX" strings
11429
11430         * lyxcursor.h:
11431         * lyxcursor.C: attempt to add some documentation
11432
11433         * lyxfunc.C:
11434         * commandtags.h:
11435         * LyXAction.C:
11436         * ToolbarDefaults.C:
11437         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11438           merge with LFUN_TABULAR_INSERT
11439
11440         * Makefile.am:
11441         * SpellBase.h:
11442         * ispell.h:
11443         * ispell.C:
11444         * pspell.h:
11445         * pspell.C: split up i/pspell implementations into separate
11446           files, many cleanups
11447
11448         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11449
11450         * text2.C: some cleanup
11451
11452         * lyxfunc.C: don't check for isp_command == "none" any more, it
11453           didn't make any sense
11454
11455 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11456
11457         * counters.[Ch]
11458         * text2.C
11459         * paragraph.[Ch]
11460         * makefile.am: move counters functionality over
11461         from text2.C/paragraph.[Ch] to counters.[Ch], and
11462         make proper C++.
11463 2002-08-02  John Levon  <levon@movementarian.org>
11464
11465         * buffer.C: s/lyxconvert/lyx2lyx/
11466
11467 2002-08-02  Angus Leeming  <leeming@lyx.org>
11468
11469         * lyxlex.C: revert John's change as it breaks reading of the user
11470         preamble.
11471
11472 2002-08-02  Angus Leeming  <leeming@lyx.org>
11473
11474         * importer.C (Import):
11475         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11476         changes due to LyXView::view() now returning a boost::shared_ptr.
11477
11478 2002-08-02  John Levon  <levon@movementarian.org>
11479
11480         * lyxlex.C: small cleanup
11481
11482 2002-08-02  John Levon  <levon@movementarian.org>
11483
11484         * text2.C (status): small cleanup, no logic change
11485
11486 2002-08-01  John Levon  <levon@movementarian.org>
11487
11488         * buffer.h:
11489         * buffer.C (writeFile): don't output alerts, caller
11490           handles this
11491
11492         * bufferlist.C:
11493         * lyx_cb.C: from above
11494
11495         * lyxfunc.C: allow to open non-existent files
11496
11497 2002-07-31  John Levon  <levon@movementarian.org>
11498
11499         * lyxserver.C: don't let incidental errors get
11500           in the way (errno)
11501
11502 2002-07-30  John Levon  <levon@movementarian.org>
11503
11504         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11505
11506 2002-07-30  John Levon  <levon@movementarian.org>
11507
11508         * lyxserver.h:
11509         * lyxserver.C: remove I/O callback too
11510
11511 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11512
11513         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11514         log.
11515
11516 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11517
11518         * many files: strip,frontStrip -> trim,ltrim,rtrim
11519
11520 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11521
11522         * PrinterParams.h: remove extern containsOnly, and include
11523         support/lstrings.h instead.
11524
11525         * LaTeX.C (scanAuxFile): modify because of strip changes
11526         (deplog): ditto
11527         * buffer.C (makeLaTeXFile): ditto
11528         * bufferparams.C (writeFile): ditt
11529         * lyxfont.C (stateText): ditto
11530         * lyxserver.C (read_ready): ditto
11531         * vc-backend.C (scanMaster): ditto
11532
11533         * BufferView_pimpl.h: ws changes
11534
11535         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11536
11537 2002-07-26  André Pönitz <poenitz@gmx.net>
11538
11539         * kb_sequence.C: remove unnedred usings
11540
11541 2002-07-26  Juergen Vigna  <jug@sad.it>
11542
11543         * lyxfind.C (LyXReplace): we have to check better if the returned
11544         text is not of theLockingInset()->getLockingInset().
11545
11546 2002-07-25  Juergen Vigna  <jug@sad.it>
11547
11548         * lyxfind.C (LyXReplace): don't replace if we don't get the
11549         right LyXText.
11550
11551         * undo_funcs.C (createUndo): remove debugging code.
11552
11553 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11554
11555         * buffer.C (parseSingleLyXformat2Token): Use default placement
11556         when reading old floats.
11557
11558         * FloatList.C (FloatList): Change the default placement of figure
11559         and tables to "tbp".
11560
11561 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11562
11563         * MenuBackend.C: using std::max
11564
11565 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11566
11567         * MenuBackend.C (expandToc):
11568         (expandToc2): code moved from xforms menu frontend. It is now
11569         generic and TOCs are transparent to menu frontends.
11570
11571 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11572
11573         * toc.C (getTocList): protect against buf=0
11574
11575         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11576         Menu as first parameter. Now, this calls itself recursively to
11577         expand a whole tree (this will be useful for TOC handling)
11578         (expandFloatInsert): remove 'wide' version of floats
11579
11580         * MenuBackend.h (submenuname): returns the name of the submenu.
11581         (submenu): returns the submenu itself, provided it has been
11582         created by MenuBackend::expand
11583
11584 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11585
11586         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11587         insets which have noFontChange == true. (bug #172)
11588
11589 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11590
11591         * BufferView_pimpl.C: add connection objects and use them...
11592         (Pimpl): here.
11593
11594 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11595
11596         * MenuBackend.C (expandLastfiles):
11597         (expandDocuments):
11598         (expandFormats):
11599         (expandFloatListInsert):
11600         (expandFloatInsert):
11601         (expand): split expand in parts
11602
11603 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * lyx_gui.C: use lyx_gui::exit()
11606
11607 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * LyXAction.C: show the failing pseudo action
11610
11611 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11612
11613         * buffer.C (readFile): Run the lyxconvert script in order to read
11614         old files.
11615
11616 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11617
11618         * LyXAction.C:
11619         * commandtags.h:
11620         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11621
11622 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * LyXAction.C:
11625         * commandtags.h:
11626         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11627
11628 2002-07-22  Herbert Voss  <voss@lyx.org>
11629
11630         * lengthcommon.C:
11631         * lyxlength.[Ch]: add support for the vertical lengths
11632
11633 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * toc.[Ch]: std:: fixes
11636
11637 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11638
11639         * lyxrc.C: do not include lyx_main.h
11640
11641         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11642         for layouts
11643
11644         * lyxrc.C:
11645         * encoding.C:
11646         * bufferlist.C:
11647         * BufferView2.C: include "lyxlex.h"
11648
11649         * tabular.h:
11650         * bufferparams.h: do not #include "lyxlex.h"
11651
11652         * lyxtextclasslist.C (Add): remove method
11653         (classlist): renamed to classlist_
11654
11655         * paragraph_pimpl.C:
11656         * paragraph.C:
11657         * text2.C:
11658         * CutAndPaste.C:
11659         * bufferview_funcs.C:
11660         * bufferlist.C:
11661         * text.C:
11662         * LaTeXFeatures.C:
11663         * buffer.C:
11664         * toc.C (getTocList): use BufferParams::getLyXTextClass
11665
11666         * toc.C (getTocList): use InsetFloat::addToToc
11667
11668         * toc.[Ch]: new files, containing helper functions to handle table
11669         of contents
11670
11671         * lyxfunc.C (dispatch): no need to remove spaces around command
11672         given as a string
11673         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11674         first command of the sequence; it is not very clever, but I do not
11675         have a better idea, actually
11676
11677         * LyXAction.C (LookupFunc): make sure to remove space at the
11678         beginning and end of the command
11679
11680 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11681
11682         * MenuBackend.C (getMenubar): new method: return the menubar of
11683         this menu set
11684         (read): treat differently reading of menu and menubar (in
11685         particular, the menubar has no name now)
11686         (Menu::menubar): remove
11687
11688         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11689         saving is finished
11690
11691 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11692
11693         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11694         a bibitem inset in a RTL paragraph.
11695
11696 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * paragraph_pimpl.C: constify
11699
11700         * BufferView_pimpl.C:
11701         * LaTeX.C:
11702         * lyxfunc.C: fix dispatch in a nicer way
11703
11704 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11705
11706         * lyxfunc.C (dispatch):
11707         * BufferView_pimpl.C:
11708         * BufferView_pimpl.h:
11709         * BufferView.C:
11710         * BufferView.h: rename Dispatch() to dispatch()
11711
11712         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11713
11714         * lyxlayout.C (Read): honor DependsOn tag
11715
11716         * lyxlayout.[Ch] (depends_on): new method
11717
11718         * version.C.in: update lyx_docversion
11719
11720         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11721
11722         * paragraph.C (validate): remove from here...
11723         * paragraph_pimpl.C (validate): ... and move here
11724         (isTextAt): make it const
11725
11726         * buffer.C (getLists): ws cleanup
11727
11728 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11729
11730         * language.C (read): Use iso8859-1 encoding in latex_lang
11731         (this prevents LyX from crashing when using iso10646-1 encoding).
11732
11733 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11734
11735         * text2.C (toggleInset): if cursor is inside an inset, close the
11736         inset and leave cursor _after_ it
11737
11738 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * lyxfunc.C: move minibuffer completion handling out of here
11741
11742 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * BufferView_pimpl.C:
11745         * LaTeX.C: fix dispatch calls
11746
11747 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11748
11749         * text.C (drawChars): Fix Arabic text rendering.
11750
11751 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11752
11753         * LyXAction.C:
11754         * commandtags.h:
11755         * lyxfunc.C: remove message-push/pop
11756
11757         * lyxserver.C:
11758         * lyxfunc.h:
11759         * lyxfunc.C: rationalise some code by removing verboseDispatch
11760           in favour of a bool argument to dispatch()
11761
11762 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11763
11764         * lyx_main.C (init): make sure to read symlinks as absolute paths
11765
11766 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * lyxfunc.h:
11769         * lyxfunc.C: no need for commandshortcut to be a member
11770
11771 2002-07-15  André Pönitz <poenitz@gmx.net>
11772
11773         * converter.C: add support for $$s (scripts from lib/scripts dir)
11774         * lyx_main.C: white space
11775
11776 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11777
11778         * bufferlist.C:
11779         * lyxrc.h:
11780         * lyxrc.C: remove second exit confirmation
11781
11782 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * BufferView.h:
11785         * BufferView.C:
11786         * BufferView2.C:
11787         * BufferView_pimpl.h:
11788         * BufferView_pimpl.C:
11789         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11790
11791 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11792
11793         * MenuBackend.C (expand): add numeric shortcuts to document menu
11794
11795         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11796
11797 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11798
11799         * lyxfont.C (setLyXFamily):
11800         (setLyXSeries):
11801         (setLyXShape):
11802         (setLyXSize):
11803         (setLyXMisc):
11804         (lyxRead):
11805         * debug.C (value):
11806         * buffer.C (asciiParagraph): use ascii_lowercase
11807
11808 2002-07-15  Mike Fabian  <mfabian@suse.de>
11809
11810         * lyxlex_pimpl.C (search_kw):
11811         * lyxlex.C (getLongString):
11812         * converter.h (operator<):
11813         * converter.C (operator<):
11814         * buffer.C (parseSingleLyXformat2Token):
11815         (asciiParagraph):
11816         * ToolbarDefaults.C (read):
11817         * MenuBackend.C (checkShortcuts):
11818         (read):
11819         * LColor.C (getFromGUIName):
11820         (getFromLyXName): use the compare_ascii_no_case instead of
11821         compare_no_case, because in turkish, 'i' is not the lowercase
11822         version of 'I', and thus turkish locale breaks parsing of tags.
11823
11824 2002-07-16  Angus Leeming  <leeming@lyx.org>
11825
11826         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11827         now takes a Buffer const & argument.
11828
11829 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * BufferView.C (resize): check there's a buffer to resize
11832
11833 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * lyxfunc.C: remove dead code
11836
11837         * lyxserver.h:
11838         * lyxserver.C: use lyx_guii::set_read_callback
11839
11840 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11841
11842         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11843         an inset in a RTL paragraph.
11844
11845 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * lyxfunc.C: repaint after a font size update
11848
11849 2002-07-15  André Pönitz <poenitz@gmx.net>
11850
11851         * lyxlength.C: inBP should be able to return negative values
11852
11853 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * lyxfunc.C: use lyx_gui::update_fonts()
11856
11857 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * lyxfunc.C: use lyx_gui::update_color()
11860
11861 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * bufferlist.C:
11864         * lyxfunc.h:
11865         * lyxfunc.C:
11866         * lyxrc.h:
11867         * lyxrc.C: remove file->new asks for name option, and let
11868           buffer-new take an argument
11869
11870 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11871
11872         * BufferView_pimpl.C: remove unneeded extra repaint()
11873
11874 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * LyXAction.C: allow command-sequence with NoBuffer
11877
11878         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11879
11880 2002-07-10  Angus Leeming  <leeming@lyx.org>
11881
11882         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11883
11884 2002-07-09  Angus Leeming  <leeming@lyx.org>
11885
11886         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11887
11888 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11889
11890         * lengthcommon.h: whitespace
11891
11892         * lyxfunc.C: update scrollbar after goto paragraph
11893
11894         * lyxtext.h: factor out page break drawing, and fix it so
11895           page break/added space paints as selected nicely
11896
11897 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * BufferView_pimpl.C: add FIXMEs, clean up a little
11900
11901 2002-07-09  André Pönitz <poenitz@gmx.net>
11902
11903         * lyxfont.[Ch]: support for wasy symbols
11904
11905 2002-07-08  André Pönitz <poenitz@gmx.net>
11906
11907         * BufferView_pimpl.C: apply John's patch for #93.
11908
11909 2002-07-05  Angus Leeming  <leeming@lyx.org>
11910
11911         * BufferView_pimpl.C (buffer): generate previews if desired.
11912
11913         * LColor.h: add "preview" to the color enum.
11914
11915         * LColor.C (LColor): add a corresponding entry to the items array.
11916
11917         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11918         with this buffer.
11919
11920 2002-07-05  Angus Leeming  <leeming@lyx.org>
11921
11922         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11923         The body of the code is now in the method that is passed an ostream &
11924         rather than a file name.
11925         Pass an additional only_preamble parameter, useful for the forthcoming
11926         preview stuff.
11927
11928 2002-07-03  André Pönitz <poenitz@gmx.net>
11929
11930         * lyxfunc.C: simplify getStatus() a bit for math stuff
11931
11932 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11933
11934         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11935
11936 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11937
11938         * text.C (changeRegionCase): do not change case of all the
11939         document when region ends at paragraph end (bug #461)
11940
11941 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * paragraph.C (startTeXParParams):
11944         (endTeXParParams): add \protect when necessary
11945
11946 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11947
11948         * BufferView_pimpl.C (workAreaExpose): remove warning
11949
11950 2002-06-27  Angus Leeming  <leeming@lyx.org>
11951
11952         * Makefile.am: add lyxlayout_ptr_fwd.h.
11953
11954 2002-06-26  André Pönitz <poenitz@gmx.net>
11955
11956         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11957
11958 2002-06-25  Angus Leeming  <leeming@lyx.org>
11959
11960         * lyxfunc.C (dispatch): Comment out the call to
11961         grfx::GCache::changeDisplay. The method no longer exists now that the
11962         pixmap generation part of the graphics loader has been moved into
11963         InsetGraphics.
11964
11965 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11966
11967         * text2.C: layout as layout
11968
11969         * text.C: layout as layout
11970
11971         * tabular.C (OldFormatRead): layout as layout
11972
11973         * paragraph_pimpl.C (TeXDeeper): layout as layout
11974         (realizeFont): layout as layout
11975
11976         * paragraph.C (writeFile): layout as layout
11977         (validate): layout as layout
11978         (getFont): layout as layout
11979         (getLabelFont): layout as layout
11980         (getLayoutFont): layout as layout
11981         (breakParagraph): layout as layout
11982         (stripLeadingSpaces): layout as layout
11983         (getEndLabel): layout as layout
11984         (getMaxDepthAfter): layout as layout
11985         (applyLayout): layout as layout
11986         (TeXOnePar): layout as layout
11987         (simpleTeXOnePar): layout as layout
11988         (TeXEnvironment): layout as layout
11989         (layout): layout as layout
11990         (layout): layout as layout
11991
11992         * lyxtextclass.C (compare_name): new functor to work with
11993         shared_ptr, layout as layout
11994         (Read): layout as layout
11995         (hasLayout): layout as layout
11996         (operator): layout as layout
11997         (delete_layout): layout as layout
11998         (defaultLayout): layout as layout
11999
12000         * lyxlayout_ptr_fwd.h: new file
12001
12002         * lyxlayout.C (Read): layout as layout
12003
12004         * lyx_cb.C (MenuInsertLabel): layout as layout
12005
12006         * bufferlist.C (newFile): layout as layout
12007
12008         * buffer.C (readLyXformat2): layout as layout
12009         (parseSingleLyXformat2Token): layout as layout
12010         (insertStringAsLines): layout as layout
12011         (asciiParagraph): layout as layout
12012         (latexParagraphs): layout as layout
12013         (makeLinuxDocFile): layout as layout
12014         (simpleLinuxDocOnePar): layout as layout
12015         (makeDocBookFile): layout as layout
12016         (simpleDocBookOnePar): layout as layout
12017         (getLists): layout as layout
12018
12019         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12020
12021         * CutAndPaste.C (cutSelection): layout as layout
12022         (pasteSelection): layout as layout
12023         (SwitchLayoutsBetweenClasses): layout as layout
12024
12025         * BufferView_pimpl.C (Dispatch): layout as layout
12026         (smartQuote): layout as layout
12027
12028         * BufferView2.C (unlockInset): layout as layout
12029
12030 2002-06-24  André Pönitz <poenitz@gmx.net>
12031
12032         * lyxfunc.C: fix #487
12033
12034 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * lyxrc.h:
12037         * lyxrc.C:
12038         * lyxfunc.C: remove display_shortcuts, show_banner
12039
12040 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * Buffer_pimpl.C: oops, update on resize
12043
12044 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12045
12046         * buffer.C:
12047         * converter.C:
12048         * exporter.C:
12049         * lyxfunc.C:
12050         * BufferView.h:
12051         * BufferView.C: use repaint()
12052
12053         * BufferView_pimpl.h:
12054         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12055           as it's a clearer description. Remove superfluous
12056           redraws.
12057
12058 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * text.C: fix bug 488. Not ideal, but getting
12061           getWord() to work properly for the insets that
12062           matter is more difficult ...
12063
12064 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * BufferView_pimpl.C:
12067         * LyXAction.C:
12068         * commandtags.h:
12069         * lyxfunc.C: remove the six million index lyxfuncs to just
12070           one, and DTRT (bug 458)
12071
12072 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * BufferView.h:
12075         * BufferView.C:
12076         * BufferView_pimpl.h:
12077         * BufferView_pimpl.C: clean up resize() stuff,
12078           and unnecessary updateScreen()s
12079
12080 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12081
12082         * BufferView.h:
12083         * BufferView.C:
12084         * BufferView_pimpl.h:
12085         * BufferView_pimpl.C:
12086         * lyxfind.h:
12087         * lyxfind.C:
12088         * minibuffer.C: remove focus management of workarea,
12089           not needed. Use screen's greyOut()
12090
12091 2002-06-17  Herbert Voss  <voss@lyx.org>
12092
12093         * converter.C: (convert) do not post a message, when converting
12094         fails, let the calling function decide what to do in this case
12095
12096 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12097
12098         * lyxfunc.C: tidy up a little
12099
12100 2002-06-16    <alstrup@diku.dk>
12101
12102         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12103         Got rid of FORMS_H_LOCATION include. Now we are
12104         GUII.
12105
12106 2002-06-15  LyX Development team  <lyx@rilke>
12107
12108         * buffer.[Ch] (sgmlOpenTag):
12109         (sgmlCloseTag): Added support for avoiding pernicious mixed
12110         content. Return number of lines written.
12111
12112         (makeLinuxDocFile):
12113         (makeDocBookFile): Fixed calls to sgml*Tag.
12114         Simple white space clean.
12115
12116         (simpleDocBookOnePar): Simple white space clean.
12117
12118         * tabular.[Ch] (docBook): Renamed to docbook and got another
12119         argument to related with the pernicious mixed content.
12120
12121         (docbookRow): Fixed calls for docbook inset method.
12122
12123 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12124
12125         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12126         so it's X11 independent.
12127
12128         * kb*.[Ch]: ditto.
12129
12130         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12131
12132 2002-06-15  Lyx Development team  <lyx@electronia>
12133
12134         * intl.h: Renamed getTrans to getTransManager.
12135
12136 2002-06-14  Angus Leeming  <leeming@lyx.org>
12137
12138         * Makefile.am: nuke forgotten stl_string_fwd.h.
12139
12140 2002-06-12  Angus Leeming  <leeming@lyx.org>
12141
12142         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12143
12144 2002-06-13  Angus Leeming  <leeming@lyx.org>
12145
12146         * LaTeX.C:
12147         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12148
12149 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12150
12151         * kbmap.C (getiso): add support for cyrillic and greek
12152
12153 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * BufferView.h:
12156         * BufferView.C:
12157         * BufferView_pimpl.h:
12158         * BufferView_pimpl.C: move bogus scrolling logic
12159           to xforms
12160
12161 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12162
12163         * lyxfunc.C:
12164         * BufferView_pimpl.C: view->resize() change
12165
12166 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12167
12168         * BufferView_pimpl.C: topCursorVisible
12169           prototype change
12170
12171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * Makefile.am:
12174         * lyx_gui.h:
12175         * lyx_gui.C: move to frontends/
12176
12177         * main.C:
12178         * lyx_main.h:
12179         * lyx_main.C: changes from above
12180
12181 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * intl.C:
12184         * intl.h:
12185         * kbmap.C:
12186         * kbsequence.C:
12187         * lyx_cb.C:
12188         * lyx_main.C: minor tidy
12189
12190 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * BufferView_pimpl.h:
12193         * BufferView_pimpl.C:
12194         * BufferView.h:
12195         * BufferView.C: make painter() const,
12196           remove dead code
12197
12198         * BufferView2.C: use screen() accessor
12199
12200         * lyx_main.h:
12201         * lyx_main.C: some minor cleanup
12202
12203 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12204
12205         * BufferView_pimpl.h:
12206         * BufferView_pimpl.C: remove enter/leaveView,
12207           use workHeight()
12208
12209 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12210
12211         * BufferView.h:
12212         * BufferView.C:
12213         * BufferView2.C:
12214         * BufferView_pimpl.h:
12215         * BufferView_pimpl.C: only construct screen once,
12216           rename
12217
12218         * lyxrc.C: remove pointless comment
12219
12220 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12221
12222         * BufferView.h:
12223         * BufferView.C: remove active() and belowMouse()
12224
12225         * BufferView_pimpl.h:
12226         * BufferView_pimpl.C: use workarea() not workarea_,
12227           and make it use a scoped_ptr instead
12228
12229 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12230
12231         * lyx_gui.C: add debug message on BadWindow
12232
12233 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12234
12235         * sp_spell.C: fdopen is not part of the C++ standard.
12236
12237         * paragraph.C (InsetIterator): use >= instead of ==
12238
12239 2002-06-07  Angus Leeming  <leeming@lyx.org>
12240
12241         Fixes needed to compile with Compaq cxx 6.5.
12242         * BufferView_pimpl.C:
12243         * DepTable.C:
12244         * buffer.C:
12245         * converter.C:
12246         * encoding.C:
12247         * lyx_gui.C:
12248         * lyx_main.C:
12249         * lyxtextclasslist.C:
12250         * minibuffer.C:
12251         * sp_spell.C:
12252         * tabular_funcs.C:
12253         * vc-backend.C:
12254         all c-library variables have been moved into namespace std. Wrap
12255         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12256
12257         * lyxlength.C:
12258         * tabular-old.C:
12259         * tabular.C:
12260         Add a using std::abs declaration.
12261
12262         * kbmap.h (modifier_pair):
12263         * paragraph.h (InsetTable, InsetList):
12264         * lyxfont.h (FontBits):
12265         type definition made public.
12266
12267         * bufferlist.C (emergencyWriteAll): the compiler complains that
12268         there is more than one possible lyx::class_fun template to choose from.
12269         I re-named the void specialisation as lyx::void_class_fun.
12270
12271         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12272
12273         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12274         the compiler is is unable to find tostr in write_attribute.
12275
12276 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12277
12278         * buffer.C (sgmlError): hide #warning
12279
12280 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12281
12282         * xtl/*: get rid of xtl, which is not in use anyway
12283
12284         * LyXAction.C (init):
12285         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12286         were unimplemented xtl experimentation
12287
12288 2002-06-04  André Pönitz <poenitz@gmx.net>
12289
12290         * lyxfunc.C: disable array operation on simple formulae
12291
12292 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12293
12294         * converter.C: constify a bit
12295
12296 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * lyx_gui.C: check xforms version correctly
12299
12300 2002-04-30  Herbert Voss  <voss@lyx.org>
12301
12302         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12303         "keep" option
12304
12305 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12308           attempt to register it with a VCS)
12309
12310 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12311
12312         * lyx_main.C (init): honor variables LYX_DIR_13x and
12313         LYX_USERDIR_13x
12314
12315 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12316
12317         * buffer.h:
12318         * buffer.C:
12319         * lyx_main.C: fix a crash on bad command line,
12320           and give a useful exit status on error
12321
12322         * lyxfunc.C (doImport): allow -i lyx to work
12323
12324 2002-03-30  André Pönitz <poenitz@gmx.net>
12325
12326         * lyxfunc.C: mathed font changes
12327
12328 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12329
12330         * LaTeX.C:
12331         * importer.h:
12332         * importer.C:
12333         * lyx_sty.h:
12334         * lyx_sty.C:
12335         * lyxlex.C:
12336         * lyxrow.h:
12337         * lyxtext.h:
12338         * paragraph.h:
12339         * paragraph.C:
12340         * texrow.h:
12341         * texrow.C:
12342         * text.C:
12343         * trans_mgr.h: srcdocs, and some minor cleanups
12344
12345 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12346
12347         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12348         call getFont all the time)
12349
12350 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12351
12352         * switch from SigC signals to boost::signals
12353
12354 2002-05-29  André Pönitz <poenitz@gmx.net>
12355
12356         * paragraph_pimpl.C (getChar): don't call size() too often...
12357
12358 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12359
12360         * paragraph_pimpl.C (insertChar): do not try to update tables when
12361         appending (pos == size())
12362
12363         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12364         in order to reduce drastically the number of comparisons needed to
12365         parse a large document
12366
12367 2002-05-29  André Pönitz <poenitz@gmx.net>
12368
12369         * text.C:
12370         * text2.C:
12371         * lyxtextclass.C:
12372         * sp_pspell.h:
12373         * textclasslist.[Ch]:
12374         * sp_ispell.h: whitespace change
12375
12376 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12379         lyxaction directly now.
12380
12381 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12382
12383         * trans.C:
12384         * lyxfont.C:
12385         * lyxvc.C: remove unused headers
12386
12387 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * Makefile.am:
12390         * buffer.h:
12391         * undostack.h:
12392         * undostack.C:
12393         * undo_funcs.h:
12394         * undo_funcs.C: some cleanups. Use shared_ptr
12395           and a template for the undo stacks.
12396
12397 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12398
12399         * BufferView_pimpl.h:
12400         * BufferView_pimpl.C:
12401         * kbmap.h:
12402         * kbmap.C:
12403         * kbsequence.h:
12404         * kbsequence.C:
12405         * lyxfunc.h:
12406         * lyxfunc.C:
12407         * text2.C: use key_state/mouse_state
12408
12409 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12410
12411         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12412         and LSubstring
12413
12414         * chset.C: change include order
12415         (loadFile): use boost regex and get rid of LRegex and LSubstring
12416
12417         * Makefile.am (BOOST_LIBS): new variable
12418         (lyx_LDADD): use it
12419
12420         * LaTeX.C: change include order.
12421         (scanAuxFile): use boost regex and get rid of LRegex and
12422         LSubstring
12423         (deplog): ditto
12424
12425 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * ColorHandler.h:
12428         * ColorHandler.C:
12429         * FontInfo.h:
12430         * FontInfo.C: moved to frontends/xforms/
12431
12432         * FontLoader.h:
12433         * FontLoader.C: moved into frontends for GUIIzation
12434
12435         * Makefile.am:
12436         * lyx_gui.C:
12437         * lyxfont.C:
12438         * lyxfunc.C: changes from above
12439
12440 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12441
12442         * LColor.C: remove spurious X include
12443
12444         * BufferView_pimpl.C:
12445         * Makefile.am:
12446         * font.h:
12447         * font.C:
12448         * text.C:
12449         * text2.C: move font metrics to frontends/
12450
12451 2002-05-24  Juergen Vigna  <jug@sad.it>
12452
12453         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12454         setting the undo_cursor.
12455
12456         * ParagraphParameters.h: include local includes first.
12457
12458 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * BufferView_pimpl.C:
12461         * BufferView_pimpl.h:
12462         * Makefile.am:
12463         * WorkArea.h:
12464         * WorkArea.C:
12465         * screen.C: move WorkArea into frontends/
12466
12467         * lyxscreen.h:
12468         * screen.C:
12469         * text.C:
12470         * BufferView.C:
12471         * BufferView2.C: move LyXScreen into frontends/
12472
12473         * lyxlookup.h:
12474         * lyxlookup.C:
12475         * lyx_gui.C: move lyxlookup into frontends/xforms/
12476
12477 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * BufferView2.C:
12480         * BufferView_pimpl.C:
12481         * FontLoader.C:
12482         * LyXView.h:
12483         * LyXView.C:
12484         * Makefile.am:
12485         * WorkArea.C:
12486         * XFormsView.h:
12487         * XFormsView.C:
12488         * buffer.C:
12489         * bufferlist.C:
12490         * bufferview_funcs.C:
12491         * converter.C:
12492         * importer.C:
12493         * lyx_cb.C:
12494         * lyx_gui.C:
12495         * lyx_main.C:
12496         * lyx_find.C:
12497         * lyxfunc.C:
12498         * lyxvc.C:
12499         * minibuffer.C:
12500         * text.C:
12501         * text2.C:
12502         * trans.C:
12503         * vc-backend.C: move LyX/XFormsView into frontends/
12504
12505 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12506
12507         * Makefile.am:
12508         * PainterBase.C:
12509         * PainterBase.h:
12510         * Painter.C:
12511         * Painter.h:
12512         * WorkArea.C:
12513         * WorkArea.h:
12514         * screen.C:
12515         * tabular.C:
12516         * text.C:
12517         * text2.C: move Painter to frontends/
12518
12519 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12520
12521         * buffer.C: comment out some some code that depend upon lyx_format
12522         < 220
12523
12524         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12525         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12526
12527         * buffer.h (NO_COMPABILITY): turn off compability
12528
12529         * ColorHandler.C: include scoped_array.hpp
12530
12531         * font.C: Use more specific smart_ptr header.
12532         * Painter.C: ditto
12533         * gettext.C: ditto
12534         * ShareContainer.h: ditto
12535         * lyx_main.h: ditto
12536         * kbmap.h: ditto
12537         * FontInfo.h: ditto
12538         * BufferView_pimpl.h: ditto
12539         * ColorHandler.h: ditto
12540
12541         * kbmap.C (defkey): change call to shared_ptr::reset
12542
12543 2002-05-21  Juergen Vigna  <jug@sad.it>
12544
12545         * buffer.C (insertErtContents): fix to insert ert asis if it is
12546         non empty. Skip it completely if it contains only whitespaces.
12547
12548 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12549
12550         * BufferView_pimpl.C:
12551         * BufferView2.C: clear selection on paste (bug 393)
12552
12553 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * DepTable.C: include ctime
12556
12557 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12558
12559         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12560
12561 2002-05-14  Juergen Vigna  <jug@sad.it>
12562
12563         * text.C (breakParagraph): fixed function to honor the keepempty
12564         layout in the right maner and also to permit the right breaking
12565         algorithm on empty or non empyt keepempty paragraphs.
12566
12567         * paragraph.C (breakParagraph): we have to check also if the par
12568         is really empty (!size()) for isempty otherwise we do the wrong
12569         paragraph break.
12570
12571 2002-05-10  Juergen Vigna  <jug@sad.it>
12572
12573         * buffer.[Ch] : The following are only changes to the ert
12574         compatibility read reading old LaTeX layout and font stuff and
12575         convert it to ERTInsets.
12576
12577         * buffer.h: added isErtInset().
12578
12579         * buffer.C (struct ErtComp): add a fromlayout bool to check
12580         if we're inside a LaTeX layout.
12581         (isErtInset): new helper function.
12582         (insertErtContents): look for other ert insets before this one
12583         and insert the contents there, so that we don't have subsequent
12584         ERT insets with nothing between them. This way we create only one
12585         inset with multiple paragraphs. Also check if we don't insert only
12586         spaces ' ' as they are ignored anyway afterwards in the .tex file
12587         so if we have only spaces we will ignore this latex part in the
12588         new file.
12589         (parseSingleLyXformat2Token \\layout): better compatibility when
12590         reading layout-latex stuff.
12591         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12592         language tag.
12593         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12594         stuff after reading the inset only get the information back from
12595         the stack.
12596
12597 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12598
12599         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12600
12601         * LaTeXFeatures.C (getBabelOptions): New method.
12602
12603 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12604
12605         * BufferView_pimpl.C (Dispatch): work around missing argument for
12606         'layout'
12607
12608 2002-05-08  Juergen Vigna  <jug@sad.it>
12609
12610         * text.C (leftMargin): handle paragraph leftindent.
12611
12612         * paragraph.C (writeFile): write the new \\leftindent tag.
12613         (validate): handle leftindent code.
12614         (TeXEnvironment): handle paragraphleftindent code again.
12615
12616         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12617
12618         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12619         for paragrap_extra indent code and new token \\leftindent.
12620         (latexParagraphs): handle the leftindent as environment.
12621
12622         * ParameterStruct.h: added leftindent support.
12623
12624         * ParagraphParameters.C (leftIndent): added support functions for
12625         the paragraph left indent.
12626
12627         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12628         more appropriate.
12629
12630 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12631
12632         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12633         inside insetERT.
12634
12635         * text.C (computeBidiTables): No bidi in insetERT.
12636
12637         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12638         in RTL documents.
12639
12640 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * version.C.in: pre 5
12643
12644 2002-05-02  José Matos  <jamatos@fep.up.pt>
12645         * buffer.C (makeDocBookFile): white space changes, add newline to
12646         command styles.
12647         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12648
12649         * tabular.C (docBook): fix typo.
12650
12651 2002-05-03  Juergen Vigna  <jug@sad.it>
12652
12653         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12654         change in LyXText as we can not be sure it was not freed.
12655         (drawOneRow): remove unused code.
12656
12657         * text.C (drawInset): redo the calculation of the need_break_row as
12658         it could have a row which was already freed.
12659         (draw): look at the return value of drawInset and return false if
12660         it also returned false.
12661         (paintRowText): look at the return value of draw and return false if
12662         it also returned false.
12663
12664         * lyxtext.h: added bool return type to drawInset() and draw() so that
12665         if we have a change in the row so that the rowbreak has to be redone
12666         we abort drawing as it will be called again.
12667
12668 2002-05-02  Juergen Vigna  <jug@sad.it>
12669
12670         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12671         a change in the maintext also if we're inside an inset.
12672         (Dispatch): set the cursor again after a break line and after the
12673         screen has been updated as it could be we're in a different row.
12674
12675         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12676         to set the cursor behind the pargraph with > size().
12677         (setCursor): check also for the same paragraph when checking where
12678         to put the cursor if we have a NFR inset.
12679
12680         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12681         parts of layout read further up as it still was in the wrong
12682         position.
12683
12684 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * screen.C (drawFromTo): change sine fullRebreak always return
12687         true.
12688
12689         * buffer.C (parseSingleLyXformat2Token): reindent some
12690
12691         * BufferView_pimpl.C (update): change since fullRebreak always
12692         return true.
12693         (Dispatch): git rid of the last hardcoded "Standard"s.
12694
12695 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * text2.[Ch] (fullRebreak): make it return void now that we always
12698         returned true.
12699
12700 2002-04-30  Juergen Vigna  <jug@sad.it>
12701
12702         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12703         ert compatibility check for "latex" layout.
12704
12705 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12706
12707         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12708         minipages: use col% instead of p%, and also use the current font.
12709         (makeLaTeXFile): Fix use babel condition.
12710         (parseSingleLyXformat2Token): Correct font when reading old floats.
12711
12712 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12713
12714         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12715         inserting list of floats.
12716
12717 2002-04-25  Herbert Voss  <voss@lyx.org>
12718
12719         * MenuBackend.C (expand): don't add the graphics extensions to the
12720         export menu
12721
12722 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12723
12724         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12725         non-existing layout, do not complain if it was the default layout
12726         of the original class (bug #342)
12727
12728 2002-04-24  Juergen Vigna  <jug@sad.it>
12729
12730         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12731         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12732
12733 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12734
12735         * buffer.C (getBibkeyList): If using \bibliography, return the
12736         option field with the reference itself. Enables us to provide natbib
12737         support when using \bibliography.
12738
12739 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12740
12741         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12742
12743         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12744         natbib is provided by the LaTeX class.
12745
12746 2002-04-23  Juergen Vigna  <jug@sad.it>
12747
12748         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12749         Wakeup functions.
12750
12751         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12752
12753 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12754
12755         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12756
12757         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12758         ensuremath around textordmasculine, textordfeminine and
12759         textdegree.
12760
12761 2002-04-19  Juergen Vigna  <jug@sad.it>
12762
12763         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12764         reinitializing the buffer otherwise row-dimensions may be wrong.
12765         (update): reset also the selection cursors if they do exits otherwise
12766         their x/y positions may be wrong.
12767
12768         * text2.C (cursorDown): don't enter the inset if we came from a row
12769         above and are one row over the inset.
12770
12771         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12772         really leaving an inset.
12773
12774 2002-04-18  Juergen Vigna  <jug@sad.it>
12775
12776         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12777         of the selected paragraph does not have the selected layout also if
12778         the last one had!
12779
12780         * text2.C (setLayout): fixed bug which did not change last selected
12781         paragraph.
12782
12783         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12784         changed the read and substituted \\end_float with \\end_inset!
12785
12786         * BufferView_pimpl.C (cursorPrevious):
12787         (cursorNext): fixed to make it work with rows heigher than the work
12788         area without moving the cursor only the draw of the row.
12789         (workAreaMotionNotify): fix jumping over high rows.
12790
12791 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12792
12793         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12794         Ressler.
12795
12796 2002-04-16  Juergen Vigna  <jug@sad.it>
12797
12798         * text2.C (setCursor): set also the irow().
12799         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12800         (cursorUp):
12801         (cursorDown): support for locking an inset if the x_fix value goes
12802         inside it. That way I can transverse insets too with cursor up/down.
12803
12804         * lyxrow.h: added irow helper function same as other (i) functions.
12805
12806         * BufferView_pimpl.C (cursorPrevious):
12807         (cursorNext): fixed for insets!
12808
12809 2002-04-15  Juergen Vigna  <jug@sad.it>
12810
12811         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12812         position otherwise it is wrong in some cases.
12813
12814         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12815         inside the inset before the call.
12816
12817 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12818
12819         * buffer.[Ch] (getBibkeyList): make it const.
12820
12821 2002-04-12  Juergen Vigna  <jug@sad.it>
12822
12823         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12824
12825         * text2.C (getCursorX): new helper function
12826         (setCursor): compute also ix_
12827         (setCursorFromCoordinates): set also ix.
12828
12829         * lyxcursor.h: added ix_ and helper functions.
12830
12831         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12832
12833         * buffer.C (insertStringAsLines): dont break paragraph if the this
12834         paragraph is inside an inset which does not permit it!
12835
12836         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12837         also with no chars on this paragraph.
12838         (paintRowText): only paint stuff if it's inside the workarea!
12839
12840         * paragraph.C (breakParagraph): honor keepempty flag and break the
12841         paragraph always below not above.
12842
12843         * BufferView2.C (unlockInset): update the paragraph layout on inset
12844         unlock as we changed paragraph in such a case.
12845
12846         * lyxfind.C (LyXFind): clear the former selection if not found!
12847
12848         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12849         again called in insertChar().
12850
12851         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12852         an inset which uses the whole row!
12853         (rightMargin): ditto.
12854         (insertChar): force a rebreak if we inserted an inset!
12855
12856 2002-03-28  Herbert Voss  <voss@lyx.org>
12857
12858         * lyxlength.[Ch]: add inBP() to get the right PS-point
12859         units (BigPoint). With inPixels we have rounding errors
12860
12861 2002-04-11  Juergen Vigna  <jug@sad.it>
12862
12863         * text2.C (setCursorFromCoordinates): set iy to the right value.
12864         (setCursor): add check if row->previous exists!
12865
12866         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12867         an old float_type as this was the case in the old code!
12868
12869         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12870
12871         * BufferView2.C (showLockedInsetCursor): use iy
12872         (fitLockedInsetCursor): ditto
12873
12874         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12875         locked insets as there we have the right value now.
12876
12877         * lyxcursor.C: added iy_ variable and iy functions to set to the
12878         baseline of cursor-y of the locked inset.
12879
12880         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12881         (setCursor): fixed for insets which need a full row.
12882
12883         * text.C (rowLastPrintable): don't ignore the last space when before
12884         an inset which needs a full row.
12885         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12886         as last character of a row when before a inset which needs a full row.
12887
12888 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * version.C.in: update date
12891
12892         * text2.C (fullRebreak): try to always return true and see what
12893         happens...
12894
12895 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12896
12897         * MenuBackend.C (expand): use Floating::listName
12898
12899         * FloatList.C (FloatList): add listName argument to the built-in
12900         floats
12901
12902         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12903         text associated with the float.
12904
12905 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12908
12909 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12910
12911         * ShareContainer.h: add a couple of missing typenames.
12912
12913 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12914
12915         * lyxrc.C (getDescription): use _() correctly rather than N_().
12916
12917 2002-03-28  Herbert Voss  <voss@lyx.org>
12918
12919         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12920         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12921
12922 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12923
12924         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12925         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12926
12927 2002-03-29  Juergen Vigna  <jug@sad.it>
12928
12929         * lyxfunc.C (dispatch): add a missing fitCursor call.
12930
12931         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12932         it was scrolled by a cursor move, so return the bool status.
12933
12934         * BufferView.C (fitCursor): return the bool flag also to the outside
12935         world as this is needed.
12936
12937         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12938
12939         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12940         call the edit() as it is not needed (and wrong) IMO.
12941         (workAreaButtonPress): set the screen_first variable before evt.
12942         unlock the inset as this may change screen_first and then we have
12943         a wrong y position for the click!
12944
12945 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12946
12947         * MenuBackend.C (expand): another translation that I missed
12948
12949 2002-03-28  Juergen Vigna  <jug@sad.it>
12950
12951         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12952
12953         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12954
12955 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12956
12957         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12958
12959         * MenuBackend.C (expand): fix export/view/update when there is no
12960         document open.
12961
12962 2002-03-27  Herbert Voss  <voss@lyx.org>
12963
12964         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12965         and text%
12966
12967 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12968
12969         * bufferview_funcs.C (currentState): only show paragraph number
12970         for is DEVEL_VERSION is set.
12971
12972         * lyxfunc.C (dispatch): put warning in INFO channel
12973
12974         * MenuBackend.C (expand): translate the name of floats
12975
12976         * FloatList.C (FloatList): mark the float names for translation
12977
12978         * converter.C (convert): use LibScriptSearch
12979
12980 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12981
12982         * MenuBackend.C (defaults): fix default menu (we might as well get
12983         rid of it...)
12984
12985 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12986
12987         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12988         directory.
12989
12990 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * lyxvc.C: reorder includes.
12993
12994 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12995
12996         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12997           properly
12998
12999 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * CutAndPaste.C: change layouts earlier on paste
13002           to avoid crashing when calling getFont()
13003
13004 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13005
13006         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13007         irritating #error.
13008
13009 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * WorkArea.C: remove 'Pending' debug message.
13012
13013         * most files: ws cleanup
13014
13015         * buffer.[Ch]: ws changes
13016
13017         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13018
13019 2002-03-21  Juergen Vigna  <jug@sad.it>
13020
13021         * tabular.C (SetMultiColumn): collapse also the contents of the
13022         cells and set the last border right. Added a Buffer const * param.
13023
13024 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13025
13026         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13027         linking or not.
13028
13029 2002-03-19  Juergen Vigna  <jug@sad.it>
13030
13031         * text2.C (clearSelection): reset also xsel_cache.
13032
13033         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13034         where it needs to be called (John tells us to do so too :)
13035         (selectionLost): reset sel_cache.
13036
13037         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13038
13039 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13040
13041         * text2.C (setCursorIntern): put debuging code in INSETS channel
13042
13043 2002-03-19  André Pönitz <poenitz@gmx.net>
13044
13045         * lyxfunc.C: tiny whitespace change
13046
13047 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13048
13049         * ToolbarDefaults.C (init):
13050         * LyXAction.C (init):
13051         * commandtags.h:
13052         * BufferView_pimpl.C (Dispatch):
13053         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13054
13055 2002-03-19  Allan Rae  <rae@lyx.org>
13056
13057         * exporter.C (Export): removeAutoInsets before doing anything else.
13058         While I've just introduced a dependency on BufferView this really is
13059         the best place to clean the buffer otherwise you need to cleanup in
13060         a dozen places before calling export or cleanup in a dozen functions
13061         that export calls.
13062
13063         * converter.C (runLaTeX):
13064         (scanLog): Better handling of removeAutoInsets and screen updates.
13065
13066         * lyxfunc.C (dispatch): small whitespace changes
13067
13068 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * WorkArea.C (C_WorkAreaEvent): return a value.
13071         (event_cb): return 1 if we handled the event, 0 otherwise.
13072
13073         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13074
13075 2002-03-18  Juergen Vigna  <jug@sad.it>
13076
13077         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13078         (GetAdditionalWidth): ditto.
13079         (RightLine): ditto.
13080         (LeftLine): ditto.
13081
13082         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13083         inset if we're there actually (probably not used right now but this
13084         is the direction to go for unifying code).
13085         (paste): disable code to clear the selection.
13086
13087         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13088         inside an InsetText and move the check further up as it is in the
13089         wrong place.
13090
13091         * text2.C (pasteSelection): set a selection over the pasted text.
13092
13093 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13094
13095         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13096         and libgraphics to build on Cygwin.
13097
13098 2002-03-15  Juergen Vigna  <jug@sad.it>
13099
13100         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13101         inserting an Inset into the paragraph. I know this is not the best
13102         fix but we already use current_view in CutAndPaste so we will remove
13103         all of it's using at the same time.
13104
13105         * buffer.C (sgmlError): deactivated function till it is rewritten in
13106         the right mode, now it can create problems.
13107
13108         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13109         before accessing it.
13110
13111 2002-03-14  Juergen Vigna  <jug@sad.it>
13112
13113         * undo_funcs.C (textHandleUndo): do the right thing when updating
13114         the inset after the undo/redo.
13115
13116         * text2.C (setCursor): just some testcode for #44 not ready yet.
13117
13118         * undo_funcs.C (textHandleUndo): set the next() and previous()
13119         pointers of the paragraph to 0 before deleting otherwise we have
13120         problems with the Paragraph::[destructor].
13121
13122         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13123         on a paragraph insertion.
13124
13125 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13126
13127         * buffer.C (asciiParagraph): use += operator for char append to
13128         string.
13129
13130         * paragraph.C (getFontSettings): compare >= not just >
13131         (highestFontInRange): ditto
13132         (setFont): ditto
13133
13134 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13135
13136         * paragraph.C: change several algorithm to be more appripriate for
13137         the problem domain. This is lookip in FontList and in the InsetList.
13138
13139 2002-03-13  André Pönitz <poenitz@gmx.net>
13140
13141         * commandtags.h:
13142         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13143
13144 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13145
13146         * commandtags.h:
13147         * LyXAction.C:
13148         * lyxfunc.C:
13149         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13150
13151 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * Painter.C (display): anon helper function, adjust code for this
13154         change.
13155         (pixmap): remove function.
13156
13157         * Painter.h: remove private display variable.
13158
13159         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13160
13161 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13162
13163         * WorkArea.[Ch]: remove figinset_canvas cruft.
13164
13165 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13166
13167         * lyxtextclass.C (operator): add one item cache optimization.
13168
13169         * bufferlist.h: doxy changes
13170
13171         * bufferlist.C: ws changes
13172
13173         * DepTable.[Ch] (ext_exist): place const in the right spot.
13174
13175         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13176         call resizeInsets.
13177         (workAreaExpose): call resizeInsets when the with BufferView changes.
13178         (Dispatch): adjust for protectedBlank removal
13179         (specialChar): call updateInset if the insert went ok.
13180
13181         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13182         specialChar instead.
13183
13184         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13185
13186         * BufferView.h: doxy change
13187
13188         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13189
13190         * lyxtextclass.C (operator[]): remove non-const version
13191         (defaultLayout): remove non-const version
13192
13193 2002-03-12  Juergen Vigna  <jug@sad.it>
13194
13195         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13196         did resize the LyXText too.
13197
13198         * buffer.C (readLyXformat2): set layout information on newly allocated
13199         paragraphs.
13200
13201         * tabular.C (OldFormatRead): set layout information on the paragraph.
13202
13203 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13204
13205         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13206
13207 2002-03-11  Juergen Vigna  <jug@sad.it>
13208
13209         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13210         plainly wrong.
13211         (resizeCurrentBuffer): force also the insets to resize themselfes.
13212         (moveCursorUpdate): fixed up for InsetText.
13213
13214 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13215
13216         * commandtags.h:
13217         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13218         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13219         value of Dialogs::tooltipsEnabled().
13220         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13221
13222 2002-03-08  Juergen Vigna  <jug@sad.it>
13223
13224         * BufferView_pimpl.C (updateInset): update inset inside inset also
13225         if it isn't inside theLockingInset().
13226
13227 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13228
13229         * buffer.C (asciiParagraph): redo some of the word and line length
13230         handling.
13231         (getLists): look for Caption instead of caption.
13232
13233 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13234
13235         * buffer.C (Buffer): initialize niceFile to true
13236         (makeLaTeXFile):
13237         (makeLinuxDocFile):
13238         (makeDocBookFile): make sure niceFile is true on exit
13239
13240 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13241
13242         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13243
13244 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13245
13246         * LyXSendto.C: remove.
13247         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13248         * lyx_gui.C: remove now-redundant comment.
13249         * ColorHandler.h: remove forward declaration of class WorkArea.
13250         * lyxfunc.C: remove #include "WorkArea.h".
13251
13252 2002-03-07  Juergen Vigna  <jug@sad.it>
13253
13254         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13255         got moved away with the DEPM and also set the inset_owner always
13256         right which before could have been omitted.
13257
13258 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13261         wanted layout is not found.
13262
13263 2002-03-07  Juergen Vigna  <jug@sad.it>
13264
13265         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13266
13267 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13268
13269         * paragraph.C (breakParagraph): use default layout not layout of
13270         prev paragraph.
13271         (Paragraph): clear ParagraphParameters.
13272
13273 2002-03-06  Juergen Vigna  <jug@sad.it>
13274
13275         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13276         otherwise it would not be a valid lenght. Fixed a special case in
13277         the minipage compatibility read where we end the document with a
13278         minipage.
13279
13280         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13281         was set as it could be 0 for InsetTexts first entry.
13282
13283 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13284
13285         * paragraph.C (writeFile): if layout is empty write out
13286         defaultLayoutName().
13287
13288         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13289         file without named layout we set layout to defaultLayoutName().
13290
13291 2002-03-06  Juergen Vigna  <jug@sad.it>
13292
13293         * CutAndPaste.C (copySelection): set layout for new paragraph.
13294
13295         * text.C (prepareToPrint): leave ERT inset left aligned
13296         (leftMargin): don't indent paragraphs inside ERT insets
13297
13298 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13299
13300         * paragraph.C (breakParagraph): dont call clear do the work manually
13301
13302         * paragraph.[Ch] (clear): remove function
13303
13304 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13305
13306         * paragraph.C (Paragraph): dont call clear, the work has already
13307         been done.
13308
13309         * lyxtextclass.C (operator): assert if n is empty
13310
13311         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13312         work manually instead.
13313
13314 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13315
13316         * BufferView_pimpl.C: protect selectionLost against text == 0
13317
13318 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13319
13320         * text.C (breakParagraph): fix a setting layout to '0' problem.
13321
13322 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13323
13324         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13325         final location of file, for the included files, and graphics.
13326
13327 2002-03-05  Juergen Vigna  <jug@sad.it>
13328
13329         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13330
13331 2002-03-04  Juergen Vigna  <jug@sad.it>
13332
13333         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13334
13335         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13336         last column of multicolumn cells.
13337         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13338
13339 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13340
13341         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13342         file if it doesn't go to a temporary file.
13343
13344         * buffer.C (sgmlOpenTag):
13345         (sgmlCloseTag):  remove extra newline insertion.
13346
13347 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * text.C (getRowNearY): comment out debug msg
13350
13351 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * text2.C: first -> first_y
13354
13355         * text.C (getRowNearY): add some attemts at a possible
13356         optimization, not working.
13357
13358         * tabular.[Ch]: add BufferParams to several function so that newly
13359         created paragraph can be initialized to he default layotu for the
13360         buffers textclass.
13361
13362         * tabular-old.C (ReadOld): add buf->params to call of Init
13363
13364         * screen.C: rename text->first to text->first_y
13365
13366         * paragraph.C (breakParagraph): always set layout in the broken
13367         paragraph
13368
13369         * lyxtextclass.C (Read): remove lowercase
13370         (hasLayout): ditto
13371         (operator): ditto
13372         (delete_layout): ditto
13373
13374         * lyxtext.h: rename first -> first_y
13375
13376         * lyxlayout.C (Read): remove lowercase
13377         (name): ditto
13378         (setName): ditto
13379         (obsoleted_by): ditto
13380
13381         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13382
13383         * buffer.C (insertErtContents): add params are to InsetERT
13384         (parseSingleLyXformat2Token): add code to check if a paragraphs
13385         layout really exist.
13386         (parseSingleLyXformat2Token): add params to several inset
13387         constructors
13388         (asciiParagraph): remove lowercase, do the layout comparisons with
13389         no_case
13390
13391         * BufferView_pimpl.C (cursorNext): first -> first_y
13392         (resizeCurrentBuffer): first -> first_y
13393         (updateScrollbar): first -> first_y
13394         (scrollCB): first -> first_y
13395         (workAreaMotionNotify): first -> first_y
13396         (workAreaButtonPress): first -> first_y
13397         (checkInsetHit): first -> first_y
13398         (cursorPrevious): first -> first_y
13399         (cursorNext): first -> first_y
13400         (Dispatch): add buffer_->params to severl inset contructors
13401
13402 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13403
13404         * lyxlayout.C (Read): remove some debug info that I forgot.
13405
13406         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13407         clean up the code slightly.
13408         (makeLinuxDocFile): ditto
13409         (makeDocBookFile): ditto
13410
13411         * text2.C: layout as string
13412
13413         * text.C: layout as string
13414
13415         * paragraph_pimpl.C: layout as string
13416
13417         * paragraph.[Ch]: layout as string
13418
13419         * lyxtextclasslist.[Ch]: layout as string
13420
13421         * lyxtextclass.[Ch]: layout as string
13422
13423         * lyxtext.h: layout as string
13424
13425         * lyxlayout.[Ch]: layout as string
13426
13427         * lyx_cb.C: layout as string
13428
13429         * bufferview_funcs.C: layout as string
13430
13431         * bufferparams.C: layout as string
13432
13433         * buffer.C: layout as string
13434
13435         * LyXView.[Ch]: layout as string
13436
13437         * LaTeXFeatures.[Ch]: layout as string
13438
13439         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13440
13441         * BufferView_pimpl.C: change current_layout to string, remove
13442         lyx::layout_type.
13443         (Dispatch):
13444         (smartQuote):
13445         (insertInset):
13446         (workAreaButtonRelease): layout as string
13447
13448         * BufferView2.C (unlockInset): adjust
13449
13450         * vspace.C (asLatexCommand): use an explict temp variable.
13451
13452 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13453
13454         * Makefile.am: use FRONTEND_*
13455
13456 2002-03-01  Juergen Vigna  <jug@sad.it>
13457
13458         * tabular.C (SetWidthOfMulticolCell): changed to something better
13459         I hope but still work in progress.
13460         (recalculateMulticolumnsOfColumn): renamed function from
13461         recalculateMulticolCells as it is more appropriate now.
13462         (SetWidthOfCell): calculate multicols better.
13463
13464 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13465
13466         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13467
13468         * lyxfunc.C (processKeySym): print sequence also if it is
13469         `deleted' (complete)
13470
13471         * kbsequence.C (print): print sequence even if it is deleted
13472         (complete would be a better word, actually).
13473
13474         * lyxfunc.C (dispatch): print complete options after a prefix key
13475
13476         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13477
13478 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13479
13480         * text2.C (setCharFont): eliminate setCharFont code duplication.
13481
13482 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13485         LFUN_TABULAR_FEATURE (bug #177)
13486
13487 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13488
13489         * Makefile.am: remove figure.h
13490
13491 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * Bufferview_pimpl.C:
13494         * CutAndPasteC:
13495         * LaTeX.C:
13496         * LyXSendto.C:
13497         * buffer.C:
13498         * bufferlist.C:
13499         * converter.C:
13500         * language.C:
13501         * lyxfunc.C:
13502         * lyxvc.C:
13503         * paragraph.C:
13504         * text.C:
13505         * text2.C: remove #include "lyx_gui_misc.h".
13506
13507         * LaTeX.C: added #include <cstdio>
13508
13509 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13510
13511         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13512         that the paragraph following this one can have.
13513
13514         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13515
13516         * vspace.C (asLatexCommand): fix bogus gcc warning
13517
13518         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13519
13520 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13521
13522         * text2.C (setLayout): get rid of redundant code
13523
13524 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13525
13526         * text2.C (incDepth): make sure depth cannot be increased beyond
13527         reasonable values.
13528
13529 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13530
13531         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13532         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13533
13534         * PainterBase.h (image):
13535         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13536         a LyXImage const *.
13537
13538 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13539
13540         * BufferView.C:
13541         * BufferView.h:
13542         * BufferView_pimpl.C:
13543         * BufferView_pimpl.h:
13544         * LaTeXFeatures.C:
13545         * LyXAction.C:
13546         * LyXView.C:
13547         * Makefile.am:
13548         * UpdateList.h:
13549         * UpdateList.C:
13550         * buffer.C:
13551         * figure.h:
13552         * figureForm.C:
13553         * figureForm.h:
13554         * figure_form.C:
13555         * figure_form.h:
13556         * lyx_cb.C:
13557         * lyx_gui.C:
13558         * lyx_gui_misc.C:
13559         * lyxfunc.C:
13560         * sp_base.h:
13561         * sp_ispell.h:
13562         * sp_pspell.h:
13563         * sp_spell.C: remove fig inset, and the crap house of
13564           cards that follows it
13565
13566 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13567
13568         * Makefile.am:
13569         * lyxserver.C:
13570         * os2_defines.h:
13571         * os2_errortable.h:
13572         * nt_defines.h: move .h into support/
13573
13574         * vms_defines.h: remove
13575
13576         * WorkArea.C: add space in debug output
13577
13578         * text2.C:
13579         * paragraph.C:
13580         * buffer.C: add WITH_WARNINGS
13581
13582         * vc-backend.h:
13583         * vc-backend.C:
13584         * bufferlist.C: s/retrive/retrieve/, add docs
13585
13586         * vspace.h:
13587         * vspace.C:
13588         * kbmap.h:
13589         * lyxlength.h:
13590         * lyxgluelength.h:
13591         * length_common.h:
13592         * chset.h:
13593         * chset.C: add docs
13594
13595         * lyxgui.C: add ID to X error handler
13596
13597         * lyxtestclass.c: fix typo
13598
13599 2002-02-26  Juergen Vigna  <jug@sad.it>
13600
13601         * tabular_funcs.C (write_attribute): changed so that some default
13602         attributes are not written at all.
13603         (getTokenValue): set default values before trying to read the
13604         value so we have the return value always set as default if we don't
13605         find the token we search for.
13606
13607         * tabular.C (Write): write bools as bools not as strings!
13608
13609 2002-02-22  Juergen Vigna  <jug@sad.it>
13610
13611         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13612         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13613
13614         * text.C (leftMargin): don't add an indent for paragraphs inside
13615         tabular cells (fix #208).
13616
13617 2002-02-21  José Matos  <jamatos@fep.up.pt>
13618
13619         * tabular.C (docBook): fixed support for long tables.
13620
13621 2002-02-20  Juergen Vigna  <jug@sad.it>
13622
13623         * text2.C (getFont): get the drawing font of the Inset if this
13624         paragraph is inside an inset (only important for InsetERT for now).
13625
13626         * buffer.C (insertErtContents): use new lanugage params in ERT
13627         constructor.
13628
13629         * CutAndPaste.C: commenting out seemingly uneeded code.
13630
13631 2002-02-19  Allan Rae  <rae@lyx.org>
13632
13633         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13634         Iterators might be simple to use but they also get invalidated.
13635         (removeAutoInsets): renamed saved cursor tracking variables and added
13636         some comments to clarify what everything does.
13637
13638 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13639
13640         * Chktex.C:
13641         * LaTeX.C:
13642         * LyXSendto.C:
13643         * converter.C:
13644         * lyx_cb.C:
13645         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13646         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13647
13648         * lyxfunc.C:
13649         * vc-backend.h: remove #include "support/syscall.h"
13650
13651         * LaTeX.C:
13652         * LyXSendto.C:
13653         * converter.C: rearrange #includes in Lars' approved fashion.
13654
13655         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13656         forward declare class Timeout in the header file.
13657
13658         * XFormsView.C: changes due to the above.
13659
13660         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13661         similar to LyXView.
13662
13663         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13664         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13665
13666 2002-02-18  José Matos  <jamatos@fep.up.pt>
13667
13668         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13669         insets contents.
13670
13671 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13672
13673         * a lot of small ws changes
13674         * add a lot of using std::XXX
13675         * use std construcs some places where approp.
13676         * use some exisint stuff from lyxfunctional where approp.
13677         * Make file changes to use partial linking (lets test this now...)
13678
13679 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13680
13681         * Chktex.C:
13682         * buffer.C:
13683         remove #include "support/syscontr.h" as it's redundant. Always has been.
13684
13685         * Chktex.C:
13686         * LaTeX.C:
13687         * LyXSendto.C:
13688         * converter.C:
13689         * lyx_cb.C:
13690         * vc-backend.C:
13691         change Systemcalls::System to Systemcalls::Wait and
13692         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13693         No change of functionality, just reflects the stripped down Systemcalls
13694         class.
13695
13696 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13697
13698         * debug.[Ch]: add a GRAPHICS type to the enum.
13699
13700 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13701
13702         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13703
13704         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13705         there is an inset.
13706
13707 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13708
13709         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13710         match the changes below.
13711
13712         * text2.C (toggleInset): if there is not editable inset at cursor
13713         position, try to see if cursor is _inside_ a collapsable inset
13714         and close it.
13715
13716 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13717
13718         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13719         document menu has a nice checkbox
13720
13721 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13722
13723         * lyxlength.C (asLatexString): change PW to output as percent of
13724         \textwidth.
13725
13726         * lengthcommon.C: change '%' to 't%'
13727
13728         * lyxfunc.C (dispatch): a few comments from Martin
13729
13730 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13731
13732         * WorkArea.h:
13733         * WorkArea.C:
13734         * BufferView_pimpl.h:
13735         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13736           the X selection.
13737
13738 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13739
13740         * vspace.C (inPixels): fix compiler warning
13741
13742 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13743
13744         * lyxfunc.C (getStatus): fix status message for disabled commands.
13745
13746 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13747
13748         * BufferView_pimpl.C: fix crash on close buffer
13749         during selection (#227)
13750
13751 2002-01-27  Herbert Voss  <voss@lyx.org>
13752
13753         * buffer.C: link old Figure to new graphic inset
13754
13755 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13756
13757         * FontLoader.C (getFontinfo): Change the latex font names in order
13758         to match the names of type1inst.
13759
13760 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13761
13762         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13763
13764         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13765         (extchanged): ditto
13766         (ext_exist): ditto
13767         (remove_files_with_extension): ditto
13768         (remove_file): ditto
13769         (write): ditto
13770
13771         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13772         document is smaller than the work area height. Do not initialize
13773         static variables to 0.
13774
13775 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13776
13777         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13778
13779         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13780         LFUN_LAYOUT_PARAGRAPHS.
13781
13782         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13783         tabular. It is possible to provide a possible cell, which will
13784         typically be the actcell from the corresponding insettabular
13785
13786         * lyxfunc.C (getStatus): small cleanup; disable
13787         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13788         true
13789
13790 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13791
13792         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13793
13794         * paragraph.C (startTeXParParams):
13795         (endTeXParParams): new methods. The LaTeX code to
13796         start/end paragraph formatting
13797         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13798         empty (fixes bug #200)
13799
13800         * vspace.C (inPixels): adapt to the change below
13801         (inPixels): [later] more cleanups (remove unused variables)
13802
13803         * lyxlength.C (inPixels): change to use a width and a height as
13804         parameter.
13805
13806 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13807
13808         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13809         Replaced with \paperwidth
13810
13811         * DepTable.C (insert): add std:: qualifier
13812
13813 2002-01-18  Allan Rae  <rae@lyx.org>
13814
13815         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13816         updated also?
13817
13818         * text.C (drawInset): Turned out I didn't know enough about how
13819         rebreaking worked.  This fixes most of the redraw problems.  I see
13820         an occasional cursor trail when a line is broken now and the cursor
13821         placement can seem out by a few pixels also after a rebreak.
13822
13823 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13824
13825         * buffer.C (parseSingleLyXformat2Token): update because minipage
13826         width is now a LyXLength
13827
13828         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13829
13830         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13831         math insets
13832
13833 2002-01-17  Juergen Vigna  <jug@sad.it>
13834
13835         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13836
13837         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13838         is set correctly and the inset is updated correctly.
13839
13840 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13841
13842         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13843         the beginning of the loop.
13844
13845 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13846
13847         * lyxrc.C: improve help for use_scalable_fonts
13848
13849 2002-01-17  Allan Rae  <rae@lyx.org>
13850
13851         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13852
13853 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13854
13855         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13856         make sure to set their inset_owner to the right value (bug #171)
13857
13858 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13859
13860         * DepTable.h
13861         * DepTable.C: Implement mtime checking to reduce time spent doing
13862         CRCs.
13863
13864 2002-01-16  Juergen Vigna  <jug@sad.it>
13865
13866         * tabular.C (GetAdditionalHeight): one of error fixed.
13867
13868         * lyxrc.C (output): small fix in writing use_pspell.
13869
13870 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13871
13872         * sp_base.h: #include LString.h
13873
13874 2002-01-16  Allan Rae  <rae@lyx.org>
13875
13876         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13877         Can someone check this please?
13878
13879         * text.C (drawInset): It was possible that p.row would be removed by
13880         breakAgainOneRow upsetting a few other settings.  There may be another
13881         small tweak possible by setting need_break_row = 0 when p.row has been
13882         removed but I don't know enough about the logic here.
13883
13884 2002-01-15  Allan Rae  <rae@lyx.org>
13885
13886         * text.C (insertChar): removed conditional truism.
13887
13888         * BufferView2.C (removeAutoInsets): More tweaks.
13889         cur_par_prev could be a stray pointer.  Check for trailing empty line
13890         in case last line was cur_par and only had an error inset on it.
13891
13892 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13893
13894         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13895         absolute
13896
13897         * vc-backend.C (most methods):
13898         * exporter.C (Export):
13899         * converter.C (convert):
13900         (runLaTeX):
13901         * LyXSendto.C (SendtoApplyCB):
13902         * lyxfunc.C (dispatch):
13903         (menuNew):
13904         (open):
13905         (doImport):
13906         * lyx_cb.C (AutoSave):
13907         (InsertAsciiFile):
13908         * BufferView_pimpl.C (MenuInsertLyXFile):
13909         * buffer.C (runChktex): use Buffer::filePath().
13910
13911         * buffer.h: rename filename to filename_; rename filepath to
13912         filepath_ and make it private
13913         (filePath): new method
13914
13915         * buffer.C (writeFile): use fileName()
13916         (getLatexName):
13917
13918         * lyx_main.C (init): fix starting  of LyX when the binary is a
13919         link from so,ewhere else.
13920
13921         * minibuffer.C: include <cctype> for isprint
13922
13923 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13924
13925         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13926         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13927         name clash with InsetCollapsable's width function.
13928
13929 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13930
13931         * lastfiles.C: include <iterator>
13932
13933 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13934
13935         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13936         std::count.
13937
13938         * buffer.C (makeLaTeXFile): ditto.
13939         Also make loop operation more transparent.
13940
13941 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * ToolbarDefaults.C: remove trailing comma closing namespace.
13944
13945         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13946
13947         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13948         as in WorkArea.
13949
13950         * trans.C (Load): comment out unused variable, allowed.
13951
13952 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13953
13954         * minibuffer.[Ch] (append_char): new method to recieve input from the
13955         drop-down completion browser. If a key was pressed, then recieve this
13956         char and append it to the existing string.
13957         (peek_event): modify the positioning data passed to the completion
13958         browser so that it can be placed above the minibuffer rather than below.
13959 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13960
13961         * LyXAction.C (init): alloe error-next for readonly documents.
13962
13963         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13964         count.
13965
13966 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13967
13968         * bufferlist.C (readFile): create the buffer _after_ checking that
13969         the file exists.
13970
13971         * lyxfunc.C (verboseDispatch): fix handling of arguments
13972
13973         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13974
13975         * lyxrc.C: use string::erase() instead of initializing to "".
13976
13977
13978 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13979
13980         * BufferView_pimpl.h:
13981         * BufferView_pimpl.C:
13982         * WorkArea.h:
13983         * WorkArea.C:
13984         * text2.C: tell X when we have made a selection for copying
13985
13986 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13987
13988         * BufferView_pimpl.C (MenuInsertLyXFile):
13989         * lyxfunc.C (menuNew):
13990         (open):
13991         (doImport): add shortcuts to directory buttons
13992
13993         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13994         open a float)
13995
13996         * lyxfunc.C (setStatusMessage):
13997         (getStatusMessage): new methods
13998         (getStatus):use setStatusMessage instead of setErrorMessage
13999         (dispatch): when function is disabled, set error message here
14000         [instead of in getStatus previously]
14001
14002         * BufferView_pimpl.C (workAreaButtonRelease): update
14003         toolbar/menubar here too.
14004
14005 2002-01-13  Allan Rae  <rae@lyx.org>
14006
14007         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14008         Now seems indestructible.  Remaining task is to audit all other
14009         code affected by deleteEmptyParagraphMechanism.  One small quirk
14010         left is that an empty document with an error in the preamble can
14011         be made to report an error but no error box appears.  I don't know
14012         where it goes.
14013         (removeAutoInsets): Improved comments.
14014
14015 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14016
14017         * Thesaurus.h:
14018         * Thesaurus.C: update for Aiksaurus 0.14
14019
14020 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14021
14022         * text2.C (firstParagraph): removed member function, all uses
14023         replaces with ownerParagraph
14024         (redoParagraphs): here
14025         (updateInset): here
14026         (toggleAppendix): here
14027         * BufferView2.C (insertErrors): here
14028         (setCursorFromRow): here
14029
14030 2002-01-13  Allan Rae  <rae@lyx.org>
14031
14032         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14033         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14034         There is still a way to segfault this although you may have to do this
14035         multiple times: Have an InsetERT with an unknown command in it.
14036         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14037         <down-arrow>, <Enter> again, View->DVI, BANG!
14038
14039         * text2.C (setCursor):
14040         (deleteEmptyParagraphMechanism):
14041         * lyxtext.h (setCursor):
14042         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14043         Making use of the return value may help fix other bugs.
14044
14045 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14046
14047         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14048
14049         * LyXView.C (updateMenubar): call MenuBar::update here
14050         (updateToolbar): but not here
14051         (showState): do not update toolbar/menubar
14052
14053         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14054         should need to care about that.
14055
14056         * lyxfunc.C (verboseDispatch): simplify a bit
14057         (getStatus): have a version which takes a pseudoaction, and
14058         another which requires a (kb_action,string).
14059
14060         * LyXAction.C (retrieveActionArg): make it work also when action
14061         is not a pseudo-action.
14062         (getActionName): simplify a bit
14063         (helpText):
14064
14065 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14066
14067         * lyxfunc.C (verboseDispatch): new families of methods with
14068         several ways to specify a command and a bool to indicate whether
14069         the command name and shortcut should be displayed in minibuffer
14070         (eventually, we could extend that to a finer bitmask like
14071         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14072         (dispatch): the pristine dispatch command which just, well,
14073         dispatchs! Note it still sets its result to minibuffer; I'm not
14074         sure we want that.
14075
14076         * lyxfunc.h: remove setHintMessage
14077
14078         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14079
14080 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14081
14082         * BufferView_pimpl.C (specialChar): delete new inset if we have
14083         not been able to insert it.
14084
14085         * kbmap.C: revert to using int instead of kb_action, since all we
14086         are dealing with is pseudo-actions.
14087
14088         * LyXAction.C (searchActionArg): change to return int instead of
14089         kb_action, since the result is a pseudoaction.
14090
14091 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14092
14093         * buffer.C (insertErtContents): Fix (partially) the font bug.
14094
14095 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14096
14097         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14098         as the other one is broken on my machine!
14099
14100 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14101
14102         * commandtags.h:
14103         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14104
14105 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14106
14107         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14108         reflect their actual use. Provide compatibility code for older lyxrc
14109         files.
14110
14111         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14112         FL_NORMAL_STYLE.
14113         change names of popup font variables in line with the changes to lyxrc.C
14114
14115 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14116
14117         * buffer.C (asciiParagraph): avoid outputing a word twice after
14118         an inset.
14119
14120         * lyxrc.C (getDescription): document that document_path and
14121         template_path can be empty.
14122
14123 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14124
14125         * LaTeXFeatures.C (getMacros):
14126         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14127
14128         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14129
14130         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14131         getPackages.
14132         (getPackages): rename feature "floats" to "float". Use an array to
14133         iterate over 'simple' features (i.e. just a \usepackage). Add
14134         handling of "amsmath" (renamed from "amsstyle").
14135
14136 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14137
14138         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14139         features list.
14140
14141 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14142
14143         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14144         FuncStaus::FuncStatus & FuncStaus::some_method().
14145
14146 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14147
14148         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14149         of the func_satus stuff. Edited and massaged in various ways by
14150         JMarc.
14151
14152         * lyxfunc.C (getStatus): use FuncStatus
14153
14154 2002-01-08  Juergen Vigna  <jug@sad.it>
14155
14156         * text.C (nextBreakPoint): use function Inset::isChar().
14157
14158         * paragraph.C (TeXOnePar): use function
14159         Inset::forceDefaultParagraphs.
14160
14161         * buffer.C (latexParagraphs): use function
14162         Inset::forceDefaultParagraphs.
14163
14164 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14165
14166         * lyx_gui.C (init): set the style of the menu popups to
14167         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14168
14169 2002-01-07  Juergen Vigna  <jug@sad.it>
14170
14171         * text.C (setHeightOfRow): small fix
14172         (prepareToPrint): don't look at alignment if we don't have the place
14173         for doing it.
14174
14175 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14176
14177         * box.C: New file. Move the Box methods and functions out of box.h,
14178         following Lars' suggestion.
14179
14180 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14181
14182         * box.h: #include "support/LOstream.h", needed for inlined function.
14183
14184         * lyxtextclass.C:
14185         * lyxtextclasslist.C: added some using std declarations.
14186
14187 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14188
14189         * box.h: make signed dimensions to allow insets wider than
14190           the screen (bug #162)
14191
14192         * BufferView_pimpl.C: add some insetHit debug
14193
14194 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * vc-backend.C: add FIXME
14197
14198 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14199
14200         * lyxfunc.C (getStatus): enable code for showing math font status
14201         in toolbar/menu.
14202
14203 2002-01-07  Juergen Vigna  <jug@sad.it>
14204
14205         * text.C (nextBreakPoint): removed debug output not needed anymore.
14206
14207 2002-01-06  Juergen Vigna  <jug@sad.it>
14208
14209         * text.C (nextBreakPoint): fixed up this function we had this bug
14210         since ever but now hopefully we break row better.
14211         (insertChar): we have to check if an inset is the next char as it
14212         could now happen that a large inset is causing a break.
14213
14214 2002-01-05  Juergen Vigna  <jug@sad.it>
14215
14216         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14217         if it doesn't like to be drawed.
14218
14219 2002-01-04  Juergen Vigna  <jug@sad.it>
14220
14221         * BufferView2.C (lockInset): forgot to set a cursor.
14222
14223         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14224
14225 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14226
14227         * FormMathsPanel.C:
14228         * FormMathsPanel.h
14229         * MathsSymbols.C:
14230         * form_maths_panel.C:
14231         * form_maths_panel.h:
14232         * form_maths_panel.fd: implemented sub- and super- buttons in math
14233         panel.
14234
14235         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14236         (or ^ space) to be used as in TeX (req'd by Andr�.
14237
14238         * lyxfunc.C: Allow ^ and _ again to be used both as
14239         super/subscript (mathed) and as themselves (in text).
14240
14241 2002-01-03  Allan Rae  <rae@lyx.org>
14242
14243         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14244         "LyX" or the filename of the current buffer if it has one.  This is a
14245         modified form of John Levon's patch.
14246
14247         * XFormsView.C (setWindowTitle): also set icon title.
14248
14249         * LyXView.h (setWindowTitle): signature changed.
14250         * XFormsView.h (setWindowTitle): ditto.
14251
14252 2002-01-02  Juergen Vigna  <jug@sad.it>
14253
14254         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14255
14256 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14257
14258         * screen.C (topCursorVisible): introduce a temp var for
14259         text->cursor.row(), handle the case where this row is null. (kindo
14260         hachish)
14261
14262         * text2.C (setCursor): add a couple of asserts.
14263
14264         * paragraph.h (inset_iterator): add -> operator
14265
14266         * paragraph.[Ch] (autoDeleteInsets): remove member function
14267
14268         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14269         cursor pos correctly and handle inset deletion by itself.
14270         (insertErrors): move iterator declaration out of for expression
14271
14272         * lyxtextclass.C: add <algorithm>
14273
14274         * Makefile.am: added the new files to sources, removed layout.C
14275
14276         * layout.C: removed file
14277
14278         * layout.h: remove LYX_DUMMY_LAYOUT
14279
14280         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14281         layout.
14282
14283         * lyxlayout.[Ch]:
14284         * lyxtextclass.[Ch]:
14285         * lyxtextclasslist.[Ch]: new files
14286
14287         * include order changes to a lot of files, also changes because of
14288         the six new files.
14289
14290 2001-12-27  Juergen Vigna  <jug@sad.it>
14291
14292         * buffer.C (asciiParagraph): more fixes.
14293
14294         * tabular.C (ascii): make ascii export support export of only the
14295         data separated by a column-delimiter.
14296         (ascii): better support for ascii export.
14297
14298         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14299
14300 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14301
14302         * tabular_funcs.C: use a "using std::getline" instead of the
14303         previous fix from Angus (necessary for cxx + lyxstring)
14304
14305 2001-12-24  Juergen Vigna  <jug@sad.it>
14306
14307         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14308
14309         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14310         problems. First check a minipage also if we have some ert-contents
14311         (not only on par->size(), second set the right depth of the paragraph
14312         on the relink to the root-paragraph-list!
14313
14314         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14315         which then did not anymore update the main paragraphs on undo/redo!
14316
14317 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14318
14319         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14320         code. Support all font-changing funcs (even those which are not in
14321         menu currently). Support for reporting font settings in
14322         mathed (disabled until Andre provides a function on mathed's side).
14323
14324         * func_status.h (toggle): small helper function to set toggle
14325         state on a flag.
14326
14327 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14328
14329         * tabular_funcs.C: getline -> std::getline
14330
14331 2001-12-21  Juergen Vigna  <jug@sad.it>
14332
14333         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14334         accessed and could be 0 (I couldn't generate this but it seems
14335         Michael could!).
14336
14337 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14338
14339         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14340         * tabular_funcs.h: here and include iosfwd
14341
14342 2001-12-20  Juergen Vigna  <jug@sad.it>
14343
14344         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14345         inside inset but undo_par was.
14346
14347 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14348
14349         * Thesaurus.C: always include <config.h> in sources.
14350
14351         * Painter.h:
14352         * lyxlookup.h:
14353         * box.h: do not include <config.h> in header files
14354
14355         * text.C (paintLastRow): remove unused variable
14356
14357         * text.C (transformChar):
14358         (insertChar):
14359         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14360
14361         * Painter.C (text):
14362         * font.C (width): rewrite to use uppercase() instead of
14363         islower/toupper.
14364
14365         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14366
14367 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14368
14369         * lyxfind.C: clean up of find failure position change
14370
14371 2001-12-20  Juergen Vigna  <jug@sad.it>
14372
14373         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14374
14375         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14376         (TeXRow): added to LaTeX a single tabular row.
14377         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14378         (Latex): simplified and finally good LT-h/f support.
14379         (various_functions): just small adaptions for LT-h/f support.
14380
14381         * tabular_funcs.[hC]: added and moved here all not classfunctions
14382         of LyXTabular.
14383
14384 2001-12-19  Juergen Vigna  <jug@sad.it>
14385
14386         * tabular.[Ch]: better support for longtabular options (not finished
14387         yet!)
14388
14389 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14390
14391         * text.C (paintLastRow): use the label font instead of the font of
14392         the last character to compute the size of *_BOX. This makes more
14393         sense and avoids a crash with empty paragraphs.
14394         Use Painter::rectangle to draw EMPTY_BOX.
14395
14396 2001-12-19  Juergen Vigna  <jug@sad.it>
14397
14398         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14399         the paragraphs if the replaced paragraph is not the first one!
14400         Tried to delete not used paragraphs but does not work yet so for
14401         now it's inside #ifdef's and by default off!
14402
14403 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14404
14405         * MenuBackend.C: include "lyx_main.h" instead of declaring
14406         lastfiles (actually was declared as LastFiles* instead of a
14407         scoped_ptr).
14408
14409 2001-12-17  Juergen Vigna  <jug@sad.it>
14410
14411         * tabular.C (AppendColumn): applied John's fix
14412
14413 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14414
14415         * BufferView.h:
14416         * BufferView.C:
14417         * BufferView_pimpl.h:
14418         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14419
14420         * Makefile.am:
14421         * box.h: new start of class for above
14422
14423         * lyxfunc.C: ignore space-only minibuffer dispatches.
14424           Show the command name when it doesn't exist
14425
14426         * minibuffer.C: don't add empty lines to the history
14427
14428         * minibuffer.C: add a space on dropdown completion
14429
14430 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14431
14432         * text.C: fix line above/below drawing in insets
14433
14434 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14435
14436         * lyxlength.C (LyXLength): Initialize private variables.
14437
14438 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14439
14440         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14441         when inserting error insets.
14442
14443 2001-12-13  Juergen Vigna  <jug@sad.it>
14444
14445         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14446         actually sometimes the before-paragraph.
14447         (setUndo): don't clear the redostack if we're not actually undoing!
14448
14449 2001-12-06  Juergen Vigna  <jug@sad.it>
14450
14451         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14452         and fixed redoing of main paragraph, so we can use it now ;)
14453
14454         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14455
14456 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14457
14458         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14459         Juergen's request
14460
14461 2001-12-13  André Pönitz <poenitz@gmx.net>
14462
14463         * undostack.[Ch]:
14464         * undo_func.C: minor cleanup
14465
14466 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14467
14468         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14469         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14470         font in urw-fonts package which is marked as -urw-fontspecific and
14471         does not work (incidentally, changing the encoding in the
14472         fonts.dir of this package to -adobe-fontspecific fixes the
14473         problem).
14474
14475         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14476         is a crash when undoing first paragraph (Juergen, please take a
14477         look). THis does not mean the undo fix is wrong, just that it
14478         uncovers problems.
14479
14480         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14481         the (Paragraph*) version when needed instead of duplicating the
14482         code.
14483
14484         * text.C (workWidth): use Inset::parOwner to find out where the
14485         inset has been inserted. This is a huge performance gain for large
14486         documents with lots of insets. If Inset::parOwner is not set, fall
14487         back on the brute force method
14488
14489         * paragraph_pimpl.C (insertInset):
14490         * paragraph.C (Paragraph):
14491         (cutIntoMinibuffer): set parOwner of insets when
14492         inserting/removing them
14493
14494         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14495
14496 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14497
14498         * commandtags.h:
14499         * LyXAction.C:
14500         * lyx_main.C:
14501         * lyxfunc.C:
14502         * mathed/formulabase.C:
14503         * mathed/math_cursor.[Ch]:
14504         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14505
14506
14507 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14508
14509         * lyxlength.[Ch] (operator!=): new function
14510
14511 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14512
14513         * text.C (workWidth): use Inset::parOwner to find out where the
14514         inset has been inserted. This is a huge performance gain for large
14515         documents with lots of insets. If Inset::parOwner is not set, fall
14516         back on the brute force method
14517
14518         * paragraph_pimpl.C (insertInset):
14519         * paragraph.C (Paragraph):
14520         (cutIntoMinibuffer): set parOwner of insets when
14521         inserting/removing them
14522
14523         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14524
14525 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14526
14527         * tabular-old.C (getTokenValue):
14528         * tabular.C (getTokenValue):
14529         (write_attribute): new versions for LyXLength
14530         (everywhere): adjust the use of widths
14531
14532         * tabular.h: change the type of widths from string to LyXLength
14533
14534 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14535
14536         * paragraph.C: fixed missing line number count when exporting
14537         Environments to LaTeX file
14538
14539         * buffer.C: added informational message for checking line numbers.
14540
14541 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14542
14543         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14544         paragraph, do the 'double space' part, but not the 'empty
14545         paragraph' one.
14546
14547         * text.C (workWidth): small optimization
14548         (getLengthMarkerHeight): use minimal size for negative lengths.
14549
14550 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14551
14552         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14553
14554         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14555
14556 2001-12-11  André Pönitz <poenitz@gmx.net>
14557
14558         * FontLoader.C:
14559         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14560
14561 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14562
14563         * text2.C: keep selection on a setFont()
14564
14565 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14566
14567         * lyx_cb.C: another bv->text misuse, from insert label
14568
14569 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14570
14571         * kbsequence.h:
14572         * kbsequence.C: re-instate nmodifier mask
14573
14574 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14575
14576         * lyx_main.h: make lyxGUI private.
14577
14578 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14579
14580         * lyxfind.C: place the cursor correctly on failed search
14581
14582 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14583
14584         * text.C (getLengthMarkerHeight): for small heights, the arrows
14585         are not always on top/bottom of the text
14586         (drawLengthMarker): smaller arrows; take the left margin in
14587         account; draw also vfills.
14588         (paintFirstRow):
14589         (paintLastRow): remove special code for vfill and standard spaces,
14590         since everything is handled in drawLengthMarker now.
14591
14592 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14593
14594         * buffer.C (insertErtContents): try to handle font and language
14595         interaction a bit better.g
14596
14597         * ColorHandler.C (updateColor): change the hash to cover the whole
14598         LColor enum, ws cleanup
14599         (getGCLinepars): ditto
14600         (getGCLinepars): only lookup in the linecache once.
14601
14602 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14603
14604         * iterators.C (operator++): Make the iterator more robust
14605
14606         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14607         (John's patch)
14608         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14609
14610 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14611
14612         * lyxtext.h:
14613         * text.C: better added space drawing
14614
14615 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14616
14617         * LyXView.C:
14618         * BufferView2.C: fix layout combo update on inset unlock
14619
14620 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14621
14622         * Makefile.am: don't compile unused files
14623
14624 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14625
14626         * lyxfunc.C:
14627         * commandtags.h:
14628         * LyXAction.C: remove old LFUN_LAYOUTNO
14629
14630 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14631
14632         * paragraph_pimpl.h:
14633         * paragraph_pimpl.C: isTextAt() doesn't need font param
14634
14635 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14636
14637         * lyxlex.h:
14638         * lyxlex.C: little cleanup
14639
14640 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14641
14642         * BufferView_pimpl.C: fix insertAscii for insets
14643
14644 2001-12-05  Juergen Vigna  <jug@sad.it>
14645
14646         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14647         set the right font on the "multi" paragraph paste!
14648
14649 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14650
14651         * trans_decl.h:
14652         * trans_mgr.[Ch]:
14653         * trans.[Ch]:
14654         * lyxgluelength.C:
14655         * lyxlength.C: remove out-commented code.
14656
14657         * BufferView_pimpl:
14658         * CutAndPaste.C:
14659         * DepTable.C:
14660         * buffer.C:
14661         * chset.C:
14662         * lastfiles.C:
14663         * lyxlex.C:
14664         * lyxlex_pimpl.C:
14665         * lyxserver.C:
14666         * screen.C:
14667         * tabular-old.C:
14668         * tabular.C:
14669         * text.C:
14670         * trans_mgr.C:
14671         * vc-backend.C: change "while(" to "while ("
14672
14673         * lyxlength.[Ch]: add zero function to check if length is zero or
14674         not
14675         * lyxgluelength.C: use it
14676
14677 2001-12-05  Allan Rae  <rae@lyx.org>
14678
14679         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14680         Works for 2.95.3, from what I understand of Garst's reports this should
14681         work for other g++ versions.  We're screwed if the abs(int) definition
14682         changed between bugfix releases of gcc.
14683
14684 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * text.C: fix chapter label offset !
14687
14688 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14689
14690         * lyxtext.h:
14691         * text.C: fix hfill at end of line, clean up
14692
14693 2001-12-04  Juergen Vigna  <jug@sad.it>
14694
14695         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14696         that we force an update of the inset and it's owners if neccessary.
14697
14698 2001-12-03  Juergen Vigna  <jug@sad.it>
14699
14700         * text.C (rowLast): simplified code
14701
14702 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14703
14704         * lyxfunc.C: fix show options on timeout
14705
14706 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14707
14708         * screen.C (topCursorVisible): scroll half a page when the cursor
14709         reached top of bottom of screen
14710
14711 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14712
14713         * minibuffer.C: deactivate on loss of focus
14714
14715 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * vspace.[Ch] (operator!=): add operator.
14718
14719 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * BufferView_pimpl.C: refuse to open an inset when
14722         there's a selection.
14723
14724 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14725
14726         * BufferView_pimpl.C: allow to click on RHS of full row insets
14727
14728 2001-11-30  Juergen Vigna  <jug@sad.it>
14729
14730         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14731         insets for undo reasons.
14732
14733 2001-11-28  André Pönitz <poenitz@gmx.net>
14734
14735         * vspace.[Ch]: cosmetical changes
14736
14737 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * LyXAction.h:
14740         * LyXAction.C:
14741         * lyxfunc.h:
14742         * lyxfunc.C:
14743         * kbmap.h:
14744         * kbmap.C:
14745         * lyxrc.C:
14746         * kbsequence.h:
14747         * kbsequence.C: part re-write of old kb code
14748
14749         * Painter.C:
14750         * WorkArea.C: remove Lgb_bug_find_hack
14751
14752 2001-11-30  José Matos <jamatos@fep.up.pt>
14753
14754         * buffer.C (makeDocBookFile): add a comment to point a hack.
14755         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14756         Fixed a double write of labels.
14757
14758 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14759
14760         * LaTeX.C:
14761         * LaTeX.h Fixed bug in LaTeX class where it would not
14762         re-run latex if no depfiles were changed, but the .dvi was removed.
14763
14764 2001-11-28  André Pönitz <poenitz@gmx.net>
14765
14766         * all the files from the change on 2001/11/26:
14767         use lyx::layout_type instead of LyXTextClass::size_type
14768         use lyx::textclass_type instead of LyXTextClassList::size_type
14769
14770 2001-11-29  Juergen Vigna  <jug@sad.it>
14771
14772         * text.C: added support for paragraph::isFreeSpacing()
14773
14774         * buffer.C: same as above
14775
14776         * paragraph.h: inserted isFreeSpacing() function to enable
14777         FreeSpacing inside InsetERT.
14778
14779         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14780         of the paragraph's in the cut/copy buffer to 0!
14781
14782         * text2.C (removeRow): remove the assert as it can!
14783
14784         * lyxtext.h: added helper function firstRow returning firstrow and
14785         made firstrow private again.
14786
14787         * BufferView2.C (lockInset): don't relock if we're already locked!
14788
14789         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14790         the only paragraph.
14791         (removeRow): added Assert::(firstrow)
14792
14793         * debug.C: forgot to add INSETTEXT here.
14794
14795 2001-11-28  Juergen Vigna  <jug@sad.it>
14796
14797         * sp_spell.C (initialize): changed error text to more general
14798         spellchecker command use (not only ispell!)
14799
14800         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14801
14802         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14803
14804 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14805
14806         * vspace.C: initialise lyxgluelength on failure
14807
14808 2001-11-28  Allan Rae  <rae@lyx.org>
14809
14810         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14811         declaration & definition that looks like a function declaration.
14812
14813 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14814
14815         * BufferView2.C (copy):
14816         (copyEnvironment): do not clear the selection when doing a copy.
14817
14818         * text.C (paintFirstRow): compilation fix
14819
14820 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14821
14822         * tabular.C (Latex): correct line count when writing latex.
14823
14824 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * paragraph_pimpl.h:
14827         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14828           bug a bit
14829
14830 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * text.C:
14833         * LColor.h:
14834         * LColor.C: change vfillline->added_space
14835
14836         * text.C: add markers and text for added space
14837
14838         * vspace.C: fix comment
14839
14840 2001-11-28  André Pönitz <poenitz@gmx.net>
14841
14842         * paragraph.C: whitespace changes
14843         * all the other files from the change on 2001/11/26:
14844         change *::pos_type into lyx::pos_type
14845
14846 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14847
14848         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14849         language of the document when inserting error insets.
14850
14851 2001-11-26  André Pönitz <poenitz@gmx.net>
14852
14853         * BufferView_pimpl.[Ch]:
14854         *       CutAndPaste.C:
14855         * buffer.[Ch]:
14856         * lyxcursor.[Ch]:
14857         * lyxfind.C:
14858         * lyxfunc.C:
14859         * lyxrow.[Ch]:
14860         * paragraph.[Ch]:
14861         * paragraph_pimpl.[Ch]:
14862         * sp_spell.C:
14863         * text.C:
14864         * text2.C: reduce header dependencies, introduce type for positions
14865
14866 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14867
14868         * <various>: change to use Alert.h
14869
14870 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14871
14872         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14873         when encountering an unknown token.
14874         (readLyXformat2): Show an error message if there were unknown tokens.
14875
14876 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14877
14878         * BufferView2.C:
14879         * BufferView_pimpl.C:
14880         * buffer.C:
14881         * paragraph.h:
14882         * text.C:
14883         * text2.C: use par->isInset()
14884
14885 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * paragraph_pimpl.h:
14888         * paragraph_pimpl.C: cleanup
14889
14890 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14891
14892         * text2.C (removeRow):
14893         * text.C (setHeightOfRow): remove useless (and costly) call to
14894         getRow.
14895
14896 2001-11-20  Allan Rae  <rae@lyx.org>
14897
14898         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14899         Now need Inset*::checkInsertChar() to return true for appropriate
14900         cases so that the characters in the minibuffer will actually be
14901         inserted.
14902
14903 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14904
14905         * text.C: change the order of the includes.
14906         (workWidth): initialize it at once.
14907         (workWidth): make maxw unsigned
14908         (setHeightOfRow): remove unused variable (inset)
14909         (selectSelectedWord): remove unused variable (inset)
14910         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14911
14912 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14913
14914         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14915         server is not running.
14916         (openConnection):
14917         (closeConnection): add debug info when server is disabled.
14918
14919         * ColorHandler.C (getGCForeground): send debug message to GUI
14920         channel.
14921
14922         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14923
14924         * kbmap.C (bind): modify because return conventions of
14925         kb_sequence::parse have changed.
14926
14927         * kbsequence.C (parse): only ignore spaces and not any stupid
14928         control character. This avoids tests like s[i] <= ' ', which are
14929         guaranteed to fail with 8bit characters and signed chars.
14930         Change return code to string::npos when there have been no error
14931         (0 was a bad idea when error is at first character)
14932
14933 2001-11-14  José Matos  <jamatos@fep.up.pt>
14934
14935         * buffer.h:
14936         * buffer.C (simpleDocBookOnePar): removed unused argument.
14937
14938 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14941         insets which are part of a word. Paragraph::isLetter takes care of
14942         that now. Use Paragraph::isInset to identify insets.
14943         (selectSelectedWord): do not test for hyphenation break.
14944
14945         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14946         that protected spaces are considered as spaces.
14947
14948         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14949         Inset::isLetter.
14950
14951 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * lyxserver.h:
14954         * lyxserver.C: fix it. and small cleanup.
14955
14956 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14957
14958         * BufferView_pimpl.C: use inline helpers
14959
14960         * LaTeXFeatures.h:
14961         * LaTeXFeatures.C: fix typos
14962
14963         * Spacing.h:
14964         * Spacing.C: move spacing_string into class
14965
14966         * ToolbarDefaults.C: move stuff into namespace anon
14967
14968         * layout.h: update enum
14969
14970         * lyxfunc.C: use better debug
14971
14972         * minibuffer.h: fix typo
14973
14974         * debug.h:
14975         * debug.C:
14976         * WorkArea.C: add and use Debug::WORKAREA
14977
14978         * lyxtext.h:
14979         * text.C:
14980         * text2.C: code re-organisation, inline helpers
14981
14982 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14983
14984         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14985         std::vector.empty().
14986
14987 2001-11-09  Allan Rae  <rae@lyx.org>
14988
14989         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14990         '\n's after tables.  Tabular and ERT inset work now makes this no
14991         longer necessary.
14992
14993 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14994
14995         * minibuffer.h:
14996         * minibuffer.C: fix crash, improve drop-down completion
14997
14998 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14999
15000         * lyxserver.h:
15001         * lyxserver.C: invalidate fd's when doing endPipe()
15002
15003 2001-11-08  José Matos  <jamatos@fep.up.pt>
15004
15005         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15006         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15007
15008         * paragraph.h:
15009         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15010
15011 2001-11-07  José Matos  <jamatos@fep.up.pt>
15012
15013         * buffer.h:
15014         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15015         const qualifier.
15016
15017         * buffer.C (sgmlOpenTag):
15018         * buffer.C (sgmlCloseTag): removed debug info.
15019
15020         * buffer.h (sgmlOpenTag):
15021         * buffer.h (sgmlCloseTag): made public.
15022
15023 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * buffer.C (saveParamsAsDefaults):
15026         * lyx_cb.C (MenuLayoutSave): remove
15027
15028         * LyXAction.C (init):
15029         * commandtags.h:
15030         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15031
15032 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15033
15034         * buffer.C (setPaperStuff): removed from here...
15035
15036         * bufferparams.C (setPaperStuff): ... and moved there.
15037
15038 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * minibuffer.h:
15041         * minibuffer.C:
15042         * XFormsView.C: add support for drop-down completion
15043
15044 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15045
15046         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15047         commands.
15048
15049 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15050
15051         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15052         disabled.
15053
15054 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15055
15056         * lyx_main.C: change ref to known bugs
15057
15058 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15059
15060         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15061         to work around older babel problems.
15062
15063 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15064
15065         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15066
15067 2001-10-24  Juergen Vigna  <jug@sad.it>
15068
15069         * tabular-old.C (ReadOld): below variable changes reflected.
15070
15071         * tabular.[Ch]: added ltType struct for longtable header/footer
15072         defines and changed all instances where they are used. Added
15073         future support for double top/bottom rows.
15074
15075 2001-10-24  José Matos  <jamatos@fep.up.pt>
15076
15077         * buffer.h (docbookHandleCaption):
15078         * buffer.C (docbookHandleCaption): removed unused function.
15079         (makeDocBookFile): moved docbook supported version to v4.1.
15080
15081 2001-10-24  José Matos  <jamatos@fep.up.pt>
15082
15083         * tabular.h:
15084         * tabular.C (docbookRow): new function to export docbook code of a row.
15085         (DocBook): now honors the longtable flags.
15086
15087 2001-10-23  José Matos  <jamatos@fep.up.pt>
15088
15089         * LaTeXFeatures.h:
15090         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15091         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15092
15093         * buffer.C (makeLinuxDocFile):
15094         (makeDocBookFile): reworked the preamble, more clean, and with
15095         support for lyx defined entities. Changed the document declaration
15096         to be more XML friendly.
15097
15098         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15099         if we need to output XML that should be done with a filter.
15100
15101 2001-10-22  Juergen Vigna  <jug@sad.it>
15102
15103         * sp_pspell.h (class PSpell): add alive function needed in the
15104         controller to see if the spellchecker could be started.
15105
15106 2001-10-22  Juergen Vigna  <jug@sad.it>
15107
15108         * buffer.C (insertStringAsLines): modify the font for inserting
15109         chars in certain conditions by calling checkInsertChar(font).
15110
15111 2001-10-19  Juergen Vigna  <jug@sad.it>
15112
15113         * text.C (workWidth): use getRow instead of wrong algorithm.
15114         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15115
15116 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * lyxserver.h:
15119         * lyxserver.C:
15120         * lyx_main.h:
15121         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15122
15123 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15124
15125         * text.C (workWidth): do not search for the exact row when
15126         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15127         optimization for big documents.
15128
15129 2001-10-18  Juergen Vigna  <jug@sad.it>
15130
15131         * text.C (workWidth): new function with added Inset * parameter.
15132
15133 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15134
15135         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15136
15137         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15138         change return type of getColumnNearX.
15139
15140
15141         * text.C (changeRegionCase): use uppercase/lowercase instead of
15142         toupper/tolower.
15143         (leftMargin):
15144         (rightMargin): simplify code by factoring out the uses of
15145         textclasslist.
15146         (labelFill):
15147         (numberOfHfills):
15148         (setHeightOfRow):
15149         (appendParagraph): use Paragraph::size_type
15150
15151 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15152
15153         * vspace.C (asLatexString): add a missing break
15154
15155 2001-10-15  Herbert Voss  <voss@perce.de>
15156
15157         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15158
15159 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15162         is not available.
15163
15164 2001-10-10  André Pönitz <poenitz@gmx.net>
15165
15166         * lyxfunc.C: removed greek_kb_flag.
15167
15168 2001-10-10  Herbert Voss  <voss@perce.de>
15169
15170         * lyx_main.C: delete global string help_lyxdir.
15171
15172 2001-10-09  Herbert Voss  <voss@perce.de>
15173
15174         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15175
15176         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15177
15178         * lyx_main.C: added global string help_lyxdir.
15179
15180         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15181
15182 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15183
15184         * lyxrc.C (set_font_norm_type): support iso8859-4
15185
15186 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15187
15188         * LaTeX.C (deplog): add another regex for MikTeX
15189
15190 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15191
15192         * lyxrc.C (set_font_norm_type): support iso8859-3
15193
15194 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15195
15196         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15197
15198         * LaTeXFeatures.C: remove special case of french and index
15199
15200         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15201         before \begin{document}). This solves several incompatibilities.
15202
15203 2001-10-03  Garst Reese  <reese@isn.net>
15204
15205         * lyx_cb.C: change CheckTex error msg.
15206
15207 2001-10-03  José Matos  <jamatos@fep.up.pt>
15208
15209         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15210
15211 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15212
15213         * .cvsignore: update
15214
15215         * lyx_main.C (commandLineVersionInfo): use new style version info.
15216
15217         * buffer.C (writeFile):
15218         (makeLaTeXFile):
15219         (makeLinuxDocFile):
15220         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15221
15222         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15223
15224         * version.h: update to use stuff in version.C
15225
15226         * version.C.in: new file. Contains version information determined
15227         at compile time. This is a merging of version.h and
15228         version_info.h.in.
15229
15230 2001-10-03  Juergen Vigna  <jug@sad.it>
15231
15232         * BufferView_pimpl.C (update): don't change "dirty" status in
15233         updateInset call.
15234
15235 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15236
15237         * WorkArea.C (c-tor): re-position version string slightly.
15238
15239 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15240
15241         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15242         revert to previous code.
15243
15244         WorkArea.[Ch]: (show, destroySplash): methods removed.
15245
15246         WorkArea.C: rework code so that it's an amalgam of the codes before and
15247         after the splash screen was moved to WorkArea.
15248
15249 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15250
15251         * lyxrc.C (read):
15252         * vspace.C (inPixels):
15253         (lyx_advance):
15254         * kbmap.C (bind):
15255         * buffer.C (insertStringAsLines):
15256         (asciiParagraph): fix types to be large enough
15257
15258         * lyxlex_pimpl.h: change member status from short to int
15259
15260         * layout.h: fix type of endlabeltype
15261
15262         * kbmap.C (bind):
15263         * kbsequence.C (parse): change return type to string::size_type
15264
15265         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15266         variable
15267
15268         * Bullet.C (bulletSize):
15269         (bulletEntry): do not use short ints as parameters
15270
15271         * BufferView2.C (insertLyXFile): change a char to an int.
15272
15273         * WorkArea.C (WorkArea): remove unneeded floats in computation
15274
15275 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15276
15277         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15278
15279         * paragraph.C (asString): Do not ignore newline/hfill chars when
15280         copying to the clipboard.
15281
15282 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15283
15284         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15285         after a multi-line inset.
15286
15287 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15288
15289         * paragraph.C (validate): Set NeedLyXFootnoteCode
15290
15291 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15292
15293         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15294         and decrease-error to decrease.
15295
15296 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15297
15298         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15299         it more readable (should be equivalent)
15300
15301 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15302
15303         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15304
15305 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15306
15307         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15308         of a cursor (row, etc.) after a character has been deleted
15309         (deleteEmptyParagraphMechanism): call the method above on _all_
15310         cursors held by the LyXText when a double space has been
15311         detected/deleted.
15312
15313 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15314
15315         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15316         pixmap.
15317         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15318
15319         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15320         background. Use greyOut() and the new show() methods to toggle between
15321         the foreground and background. Add code to remove the splash after
15322         its initial showing.
15323
15324         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15325         (create_forms): no longer call Dialogs::showSplash.
15326
15327 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15328
15329         * .cvsignore: add version_info.h
15330
15331 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * version_info.h.in: new file
15334
15335         * Makefile.am: add version_info.h.in
15336
15337         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15338         version_info.h instead of VERSION_INFO
15339
15340 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15341
15342         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15343         The ERT inset now returns string().
15344
15345 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15346
15347         * lyxtext.h, text.C (selectNextWord): renamed as
15348         selectNextWordToSpellcheck.
15349
15350         * text.C (selectNextWordToSpellcheck): Modified to not select
15351         words inside an ERT inset.
15352
15353 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15354
15355         * lyx_cb.C (MenuLayoutSave): change a bit the question
15356
15357         * sp_base.h: include <sys/types.h>
15358
15359 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15360
15361         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15362
15363 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15364
15365         * several files: fix typos in user-visible strings
15366
15367 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15368
15369         * text2.C (pasteSelection): do not set the selection, since it
15370         will be cleared later. Actually, the intent was to fix the way the
15371         selection was set, but I figured rmoving the code was just as good.
15372
15373 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15374
15375         * FontLoader.C (available): Check if font is available without
15376         loading the font.
15377
15378 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15379
15380         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15381
15382 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15383
15384         * lyxrc.[Ch]: added display_graphics variable and associated code.
15385
15386 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15387
15388         * bufferparams.C (hasClassDefaults): new method. Returns true if
15389         the buffer parameters correspond to known class defaults
15390
15391 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15392
15393         * XFormsView.C (show): set minimum size to the main window.
15394
15395 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15396
15397         * text2.C (copySelection):
15398         (cutSelection):
15399         * lyxfind.C (LyXReplace):
15400         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15401         LyXText::selectionAsString.
15402
15403         * paragraph.C (asString): add "label" argument to the second form
15404
15405         * text2.C (selectionAsString): add "label" argument and pass it to
15406         Paragraph::asString.
15407
15408 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15409
15410         * lyx_main.C (commandLineHelp): remove version information
15411
15412 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15413
15414         * lyx_main.C: add -version commandline option
15415
15416 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15417
15418         * paragraph.h: make the optional constructor arg required instead.
15419         some modifications to other files because of this.
15420
15421         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15422
15423         * lyxserver.C (C_LyXComm_callback): make it static
15424
15425         * lyx_main.C (error_handler): make it static
15426
15427         * lyx_gui.C (LyX_XErrHandler): make it static
15428
15429         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15430
15431         * WorkArea.C: make the extern "C" methods static.
15432
15433         * Makefile.am (lyx_LDADD): simplify
15434
15435 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15436
15437         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15438         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15439
15440         * LyXAction.C (init):
15441         * lyxfunc.C (dispatch): associated code removal.
15442
15443 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15444
15445         * lyxfont.h (isSymbolFont): shut off warning
15446
15447         * text.C (setHeightOfRow):
15448         (getVisibleRow): fix crash with empty paragraphs which have a
15449         bottom line
15450
15451 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15452
15453         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15454         code.
15455
15456 2001-09-04  José Matos  <jamatos@fep.up.pt>
15457         * buffer.C
15458         * buffer.h
15459         * tabular.C (docbook): rename docBook method to docbook.
15460
15461 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15462
15463         * Makefile.am: add dependencies to main.o.
15464
15465 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15466
15467         * FontLoader.C (available): Return false if !lyxrc.use_gui
15468
15469 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15470
15471         * FontInfo.C (query):
15472         * converter.C (view):
15473         * importer.C (Import):
15474         * exporter.C (Export): Can not -> cannot.
15475
15476 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15477
15478         * BufferView_pimpl.C: allow to create index inset even if
15479           string is empty
15480
15481 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15482
15483         * buffer.C (getLists): replace boost::tie code with an explicit pair
15484         as boost::tie can break some compilers.
15485
15486         * iterators.h: Added a std:: declaration to the return type of
15487         ParIterator::size.
15488
15489 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15490
15491         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15492           case.
15493
15494 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15495
15496         * iterators.[Ch]: New files. Provide paragraph iterators.
15497
15498         * buffer.C (changeLanguage): Use paragraph iterators.
15499         (isMultiLingual): ditto
15500
15501         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15502
15503 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15504
15505         * FontLoader.C: Support for cmr font.
15506
15507 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15508
15509         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15510         (available): New method.
15511
15512         * FontInfo.C (getFontname): Use scalable fonts even when
15513         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15514         found.
15515
15516 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15517
15518         * converter.C (Formats::view): reverted! Incorrect fix.
15519
15520 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15521
15522         * converter.C (Formats::view): only output the -paper option
15523         if the dvi viewer is xdvi, thereby fixing bug #233429.
15524
15525 2001-08-23  Herbert Voss  <voss@perce>
15526
15527         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15528
15529 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15530
15531         * Spacing.h (Spacing): Set space to Default on in the default
15532         constructor.
15533
15534 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15535
15536         * vc-backend.h (RCS::versionString): add RCS to version
15537         (CVS::versionString): add CVS to version
15538
15539         * vc-backend.C (scanMaster): do not add CVS to version.
15540         (scanMaster): do not add RCS to version
15541
15542         * lyxvc.C (versionString): new method
15543
15544         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15545
15546 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * Spacing.C (set): initialize fval
15549
15550 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15551
15552         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15553         " or \.
15554
15555 2001-08-16  Juergen Vigna  <jug@sad.it>
15556
15557         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15558
15559 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15560
15561         * BufferView_pimpl.C:
15562         * figureForm.C:
15563         * lyxtext.h:
15564         * text2.C: setParagraph takes linespacing now
15565
15566 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15567
15568         * LyxAction.C: add internal LFUN_CITATION_INSERT
15569
15570         * LyXView.C: actually apply fix
15571
15572         * bufferlist.C: fix open non-existent file
15573
15574         * lyxfind.C: fix indentation
15575
15576         * lyxfunc.C: remove unneeded assert, fix typo
15577
15578 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15579
15580         * MenuBackend.C: use "Floatname List"
15581
15582 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15583
15584         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15585         when converting LaTeX layout to insetERT.
15586         Generate a non-collapsed float when reading old float
15587
15588 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15589
15590         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15591         ERT insets.
15592
15593 2001-08-13  Juergen Vigna  <jug@sad.it>
15594
15595         * text.C (fill): return 0 instead of 20 as this seems to be the more
15596         correct value.
15597
15598 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15599
15600         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15601         lyxrc.font_norm.
15602
15603 2001-08-13  Juergen Vigna  <jug@sad.it>
15604
15605         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15606         casesensitive off.
15607         (SearchBackward): comment out the unlocking of the inset_owner this
15608         should not be needed!
15609
15610 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15611
15612         * Many files: Remove inherit_language, and add latex_language
15613
15614         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15615         collapsible insets.
15616
15617 2001-08-10  Juergen Vigna  <jug@sad.it>
15618
15619         * text.C (prepareToPrint): fixed hfill-width in draw!
15620
15621         * BufferView2.C (selectLastWord): save the selection cursor as this
15622         now is cleared in the function LyXText::clearSelection!
15623
15624 2001-08-08  Juergen Vigna  <jug@sad.it>
15625
15626         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15627         BACKSPACE type functions.
15628
15629         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15630         is only cutted from the document but not put in the cut-buffer, where
15631         still the old stuff should be.
15632
15633         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15634
15635         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15636
15637         * tabular.C (SetWidthOfCell): fixed special case where the width
15638         was not updated!
15639         (LeftLine): handle '|' in align_special.
15640         (RightLine): ditto
15641         (LeftAlreadyDrawed): ditto
15642         (SetWidthOfCell): ditto
15643
15644 2001-08-07  Juergen Vigna  <jug@sad.it>
15645
15646         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15647
15648 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15649
15650         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15651         * lyxlex.[hC]: ditto
15652
15653 2001-08-06  Juergen Vigna  <jug@sad.it>
15654
15655         * text.C (getVisibleRow): fix up row clearing a bit.
15656
15657 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15658
15659         * minibuffer.C: make sure the X server sees the changes in the input.
15660
15661 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15662
15663         * paragraph.C (getFont): split into...
15664         (getLabelFont): this
15665         (getLayoutFont): and this
15666         * paragraph_pimpl.C (realizeFont): calling this
15667
15668         * text2.C (getFont): split into...
15669         (getLayoutFont): this
15670         (getLabelFont): and this
15671         (realizeFont): all three calling this
15672
15673         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15674         files where used.
15675
15676 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15677
15678         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15679
15680 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15681
15682         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15683         layouts from the Quote inset insertion.
15684
15685 2001-08-03  Juergen Vigna  <jug@sad.it>
15686
15687         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15688
15689         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15690         only if status not is already CHANGED_IN_DRAW (second level).
15691
15692         * text.C (draw): don't set the need_break_row when inside an
15693         InsetText LyXText.
15694
15695 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15696
15697         * buffer.C (parseSingleLyXformat2Token): handle more latex
15698         conversion cases.
15699
15700         * bufferview_funcs.[hC]: change function names to
15701         begin with small char, adjust other files.
15702
15703 2001-08-02  André Pönitz <poenitz@gmx.net>
15704
15705         * lyxfunc.C:
15706         BufferView_pimpl.C: remove broken special code for math-greek
15707
15708 2001-08-02  Juergen Vigna  <jug@sad.it>
15709
15710         * BufferView_pimpl.C (update): redone this function so that we
15711         update the text again if there was a CHANGE_IN_DRAW.
15712
15713         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15714         (drawFromTo): added a new internal bool which is used by draw() and
15715         redraw() function.
15716         (general): some cursor drawing problems fixed.
15717
15718 2001-08-01  Juergen Vigna  <jug@sad.it>
15719
15720         * lyxfind.C (LyXFind): fixed
15721         (SearchForward): ditto
15722         (SearchBackward): ditto
15723
15724         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15725         spurius drawing of the cursor in the main area.
15726
15727         * text2.C (status): small fix which could lead to a segfault!
15728         (clearSelection): remove unneeded BufferView param.
15729
15730 2001-08-01  André Pönitz <poenitz@gmx.net>
15731
15732         * lyxfunc.C: small change due to changed mathed interface
15733
15734 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15735
15736         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15737
15738 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15739
15740         * lyxfunc.c: fail gracefully if file doesn't exist
15741
15742         * LyXSendto.C:
15743         * buffer.C:
15744         * lyxfunc.C:
15745         * BufferView_pimpl.C: IsDirWriteable() proto changed
15746
15747         * LyXView.C: fix updateWindowTitle() to store the last title
15748
15749 2001-07-31  Juergen Vigna  <jug@sad.it>
15750
15751         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15752         the font (wrong since using of Paragraph::highestFontInRange).
15753
15754         * paragraph.C (highestFontInRange): added a default_size parameter.
15755
15756         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15757         (setHeightOfRow): reformat
15758
15759 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15760
15761         * converter.[hC] + affected files: move to (inital-char)lowercase
15762         function names.
15763
15764         * ParagraphParameters.C (ParagraphParameters): remove commented code
15765
15766         * PainterBase.[Ch]: remove commented code
15767
15768         * LaTeXFeatures.h: add "bool floats" for float.sty
15769
15770         * LaTeXFeatures.C (LaTeXFeatures): init floats
15771         (require): handle float
15772         (getPackages): do it with floats
15773
15774 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15775
15776         * BufferView_pimpl.C (Dispatch): improve handling of
15777         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15778
15779         * commandtags.h: #include lyxfont.h here temporarily to avoid
15780         keybinding bug.
15781
15782         * bufferlist.h: include LString.h here.
15783
15784 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15785
15786         * text2.C (getStringToIndex): new method.
15787
15788 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15789
15790         * *: Reduced header file dependencies all over.
15791
15792 2001-07-30  Baruch Even  <baruch@lyx.org>
15793
15794         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15795
15796 2001-07-29  Baruch Even  <baruch@lyx.org>
15797
15798         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15799
15800 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15801
15802         * ParameterStruct.h (endif): add a default constructor to make
15803         sure that all variables is initialized.
15804
15805         * ParagraphParameters.C (ParagraphParameters): adjust
15806
15807 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15808
15809         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15810         index; also, check that there is something to index, and that it
15811         does not span over several paragraphs.
15812         (doubleClick): use WHOLE_WORD_STRICT for double click.
15813
15814         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15815
15816         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15817         scheme.
15818
15819 2001-07-26  Baruch Even  <baruch@lyx.org>
15820
15821         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15822         an InsetFig figure, backwards compatible reading of old figure code.
15823
15824 2001-07-27  Juergen Vigna  <jug@sad.it>
15825
15826         * text2.C: font.realize function adaption.
15827
15828         * text.C (draw): add a warnings lyxerr text if needed.
15829
15830         * layout.C: font.realize function adaption.
15831
15832         * language.C: add inherit_language and implement it's handlings
15833
15834         * bufferview_funcs.C (StyleReset): remove language parameter from
15835         font creation (should be language_inherit now).
15836
15837         * bufferparams.C (writeFile): handle ignore_language.
15838
15839         * paragraph.C (getFontSettings): the language has to be resolved
15840         otherwise we have problems in LyXFont!
15841
15842         * lyxfont.C (lyxWriteChanges): added document_language parameter
15843         (update): removed unneeded language parameter
15844
15845         * paragraph.C (validate): fixed wrong output of color-package when
15846         using interface colors for certain fonts in certain environments,
15847         which should not seen as that on the final output.
15848
15849 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15850
15851         * BufferView_pimpl.C:
15852         * Thesaurus.h:
15853         * Thesaurus.C:
15854         * Makefile.am:
15855         * commandtags.h:
15856         * LyXAction.C: add thesaurus support
15857
15858         * lyxfind.h:
15859         * lyxfind.C: add "once" parameter, for thesaurus, to not
15860           move to the next match
15861
15862 2001-07-26  Juergen Vigna  <jug@sad.it>
15863
15864         * lyxfont.C (realize): honor ignore_language too!
15865         (resolved): ditto.
15866
15867         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15868
15869         * text.C (draw): one place more for ignore_language to not draw
15870         itself!
15871
15872 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15873
15874         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15875
15876 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15877
15878         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15879         the minipage conversion problem.
15880
15881 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15882
15883         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15884         insert an inset.
15885
15886 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15887
15888         * BufferView.h: don't forward declare WorkArea
15889
15890         * BufferView.C: don't include WorkArea.h
15891
15892 2001-07-25  André Pönitz <poenitz@gmx.net>
15893
15894         * commandtags.h:
15895         * LyXAction.C:
15896         * lyxfunc.C:  new LFUN 'math-space'
15897
15898         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15899
15900 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15901
15902         * text2.C (toggleInset): call open/close
15903
15904 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15905
15906         * lyxfunc.C (dispatch): add debug for the disabled case
15907
15908         * font.C (buttonText): make similar to rectText
15909
15910         * buffer.C (readInset): comment out parsing of insetlist and
15911         insttheorem
15912
15913         * PainterBase.C (rectText): small correction
15914
15915         * BufferView_pimpl.C: comment out insettheorem and insetlist
15916         * LyXAction.C: ditto
15917         * commandtags.h: ditto
15918
15919 2001-07-24  Juergen Vigna  <jug@sad.it>
15920
15921         * text.C (draw): honor the ignore_language.
15922
15923         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15924
15925 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15926
15927         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15928         char inset.
15929
15930 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15931
15932         * lyxtext.h: remove unused (and unimplemented) methods
15933
15934 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15935
15936         * text.C (getVisibleRow): honor background color
15937
15938         * PainterBase.h:
15939         * Painter.h: remove default color argument for fillRectangle
15940
15941         * text.C (backgroundColor): new method
15942
15943 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15944
15945         * text.C (getVisibleRow): adjust
15946
15947         * font.[Ch] (rectText): new method, metrics
15948         (buttonText): new method, metrics
15949
15950         * PainterBase.[hC]: make rectText and buttonText always draw and take
15951         fewer paramteres.
15952
15953 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15954
15955         * ToolbarDefaults.C (read):
15956         * MenuBackend.C (read): allow escaping in all strings
15957
15958         * BufferView_pimpl.C (insertAndEditInset): new method.
15959         (Dispatch): use insertAndEditInset whenever appropriate.
15960
15961         * BufferView_pimpl.C (insertNote): removed
15962
15963         * BufferView_pimpl.C (smartQuote): new method, moved from
15964         BufferView; if an insetquote cannot be inserted, insert a '"'
15965         character instead.
15966
15967         * BufferView2.C: remove insertCorrectQuote();
15968
15969         * lyxfunc.C (getStatus): Add support for all remaingin
15970         inset-insert lfuns.
15971
15972         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15973
15974         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15975         command (necessary to pass " as parameter of self-insert.
15976
15977         * text.C (selectWordWhenUnderCursor):
15978         (selectWord): add word_location parameter
15979         (selectWordWhenUnderCursor): same + remove special code for word
15980         boundary.
15981         (selectNextWord): use kind() to guess type of insetspecialchar,
15982         not latex().
15983
15984         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15985         (insertErtContents): create ert insets as collapsed.
15986         (readInset): better compatibility code for Info inset.
15987
15988 2001-07-20  Juergen Vigna  <jug@sad.it>
15989
15990         * lyxfunc.C (dispatch): use always LyXFind now!
15991
15992         * text2.C (init): add a reinit flag so that the LyXText can be
15993         reinited instead of deleted and reallocated (used in InsetText).
15994
15995         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15996
15997         * text.C: ditto
15998
15999         * text2.C: ditto
16000
16001 2001-07-18  Juergen Vigna  <jug@sad.it>
16002
16003         * text.C (selectNextWord): handle insets inside inset by calling
16004         always the bv->text functions so that we can go up the_locking_inset!
16005
16006         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16007         in strange locations when inside an inset!
16008
16009         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16010         handling to include insets.
16011
16012         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16013
16014 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16015
16016         * LyXAction.C (init):
16017         * commandtags.h:
16018         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16019         LIGATURE_BREAK, since the name is so stupid.
16020
16021 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16022
16023         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16024         InsetInfos.
16025
16026         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16027
16028         * sp_form.[Ch]: remove.
16029
16030         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16031
16032         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16033         InsetInfo.
16034
16035         * src/buffer.C (readInset): ditto.
16036
16037 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16038
16039         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16040         menuSeparator(), endOfSentenceDot(), ldots() and
16041         hyphenationPoint(), which are therefore removed.
16042         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16043
16044         * LyXAction.C (init):
16045         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16046
16047         * paragraph.C (getWord): removed.
16048
16049         * BufferView_pimpl.C (Dispatch): use last word or selection for
16050         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16051
16052         * lyx_main.C (queryUserLyXDir): do not ask before creating
16053         user_dir, except if it has been named explicitely.
16054
16055 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16056
16057         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16058         a document of zero size.
16059
16060 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16061
16062         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16063         approriately in the c-tor and in require().
16064         (getPackages): output the appropriate LaTeX for natbib support.
16065
16066         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16067         variables "use_natbib" and "use_numerical_citations" when reading the
16068         LyX file.
16069         (readInset): read the various natbib cite commands.
16070         (validate): white-space change.
16071
16072         * bufferparams.[Ch]: new variables "bool use_natbib" and
16073         "bool use_numerical_citations".
16074         (writeFile): output them in the LyX file.
16075
16076 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16077
16078         * lyxfunc.C (getStatus): add support for all the inset insertion
16079         commands.
16080
16081         * text2.C (insertInset):
16082         * paragraph.C (insetAllowed):
16083         * BufferView_pimpl.C (insertInset): update to take in account the
16084         renaming of insertInsetAllowed
16085
16086         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16087
16088         * text2.C (getInset): new method. returns inset at cursor position.
16089
16090         * BufferView_pimpl.C (Dispatch): changes because of this.
16091
16092         * LyXAction.C (init): rename open-stuff to inset-toggle.
16093
16094         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16095
16096         * text2.C (toggleInset): renamed from openStuff; use
16097         Inset::open().
16098
16099 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16100
16101         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16102
16103         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16104
16105 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16106
16107         * buffer.C (readLyXformat2): Add filename to the error dialog
16108
16109 2001-07-18  Juergen Vigna  <jug@sad.it>
16110
16111         * tabular.C (GetCellNumber): put an assert here instead of the check!
16112
16113 2001-07-17  Juergen Vigna  <jug@sad.it>
16114
16115         * BufferView_pimpl.C (toggleSelection): adapted too.
16116
16117         * text.C (selectNextWord): adapted for use with insets.
16118         (selectSelectedWord): ditto
16119
16120 2001-07-17  Juergen Vigna  <jug@sad.it>
16121
16122         * sp_spell.C (PSpell): fix initialitation order.
16123
16124 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16125
16126         * paragraph.C: spacing
16127
16128 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16129
16130         * sp_spell.C: repair language selection for pspell
16131
16132 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16133
16134         * lyxfunc.h: change more methods to begin with lower char.
16135
16136 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16137
16138         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16139         for unknown layouts.
16140
16141 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16142
16143         * buffer.C (readLyXformat2): Generate an error dialog if there are
16144         unknown layouts.
16145
16146 2001-07-16  Juergen Vigna  <jug@sad.it>
16147
16148         * sp_spell.C: always compile ISpell part.
16149
16150         * lyxrc.C: added use_pspell entry and it's handling.
16151
16152 2001-07-13  Juergen Vigna  <jug@sad.it>
16153
16154         * sp_spell.C: removed double includes.
16155
16156 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16157
16158         Consistent use of Lsstream.h:
16159         * Lsstream.h: added using std::stringstream for consistencies sake.
16160
16161         * buffer.C: removed using std::stringstream
16162
16163         * lyxfont.C (stateText):
16164         * paragraph.C (asString):
16165         * text.C (selectNextWord, selectSelectedWord):
16166         * text2.C (setCounter):
16167         * vspace.C (asString, asLatexString):
16168         std::ostringstream -> ostringstream.
16169
16170 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16171
16172         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16173         * commandtags.h: add LFUN_HELP_ABOUTLYX
16174         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16175
16176 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16177
16178         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16179         cursorToggle()
16180         * lyx_gui_misc.C: remove spellchecker
16181         * lyxfunc.C: showSpellchecker
16182         * sp_base.h: added
16183         * sp_ispell.h: added
16184         * sp_pspell.h: added
16185         * sp_spell.C: added
16186         * sp_form.[Ch]: removed
16187         * spellchecker.[Ch]: removed
16188
16189 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16190
16191         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16192         is set.
16193         (simpleTeXSpecialChars): Simply print the input character without
16194         any special translation if pass_thru is set.
16195
16196         * layout.h: Added bool pass_thru to layout class for being able to
16197         implement pass through of a paragraph for Literate Programming.
16198
16199         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16200         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16201         * layout.C (Read): add "passthru" to list of layout tags and add
16202         code to set the pass_thru boolean when it is read.
16203
16204 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16205
16206         * trans_decl.h: remove allowed from KmodInfo
16207
16208         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16209         remove allowed code
16210         (Load): adjust
16211
16212         * paragraph_pimpl.C (erase): use boost::prior
16213
16214         * Painter.C (text): use data() instead of c_str() when length is
16215         also provided.
16216         * WorkArea.C (putClipboard): ditto
16217         * font.h (width): ditto
16218
16219         * BufferView2.C: use it-> instead of (*it). for iterators
16220         * texrow.C: ditto
16221         * paragraph_pimpl.C: ditto
16222         * paragraph.C: ditto
16223         * minibuffer.C: ditto
16224         * language.C: ditto
16225         * kbmap.C: ditto
16226         * encoding.C: ditto
16227         * counters.C: ditto
16228         * converter.C: ditto
16229         * chset.C: ditto
16230         * Variables.C: ditto
16231         * TextCache.C: ditto
16232         * MenuBackend.C: ditto
16233         * LyXAction.C: ditto
16234         * LColor.C: ditto
16235         * FloatList.C: ditto
16236         * DepTable.C: ditto
16237         * ColorHandler.C (LyXColorHandler): ditto
16238
16239 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16240
16241         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16242
16243         * text2.C (openStuff): reintroduce this method (which had been
16244         nuked in NEW_INSETS frenzy).
16245
16246         * lyxfunc.C (Dispatch): when an action has not been handled, use
16247         its name in the error message, not its number.
16248
16249         * paragraph.C (inInset): change method name to begin with lowercase.
16250
16251         * undo_funcs.C:
16252         * text2.C: updates because of this.
16253
16254 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * ToolbarDefaults.C (add): add spaces in error message
16257
16258 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16259
16260         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16261         (readLyXformat2): rename return_par to first_par, use lyxlex's
16262         pushToken and remove the manual push handling.
16263         (parseSingleLyXformat2Token): add another ert comp. variable:
16264         in_tabular, rename return_par to first_par. handle newlines better
16265
16266 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16267
16268         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16269
16270 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16271
16272         * text2.C (getParFromID): removed
16273
16274         * buffer.C (getParFromID): new method moved form lyxtext.
16275         * BufferView2.C (insertErrors): adjust
16276         (setCursorFromRow): adjust
16277         * BufferView_pimpl.C (restorePosition): adjust
16278         * lyxfunc.C (Dispatch): adjust
16279         * undo_funcs.C (textUndo): adjust
16280         (textRedo): adjust
16281         (textHandleUndo): adjust
16282         (textHandleUndo): adjust
16283
16284 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16285
16286         * buffer.C: up' the LYX_FORMAT
16287
16288         * lyxfont.h: turn NO_LATEX on as default
16289
16290         * buffer.C (insertErtContents): new methods of tex style compability.
16291         (parseSingleLyXformat2Token): use it several places.
16292         * tabular.C (OldFormatRead): and here
16293
16294 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16295
16296         * text2.C: remove some commented code.
16297         reindent file.
16298
16299         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16300         * trans.C: changes because of the above.
16301
16302 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16303
16304         * text2.C (setCounter): Fix counters bug with bibliography layout.
16305
16306 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16307
16308         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16309         own member functions
16310         (simpleTeXSpecialChars): ditto
16311
16312 2001-07-06  Juergen Vigna  <jug@sad.it>
16313
16314         * a lot of files: changed the access to LyXText::status and the
16315         call of undo-functions.
16316
16317         * undo.[Ch]: added a inset_id to the undo informations.
16318
16319         * undo_funcs.[Ch]: added and moved here all undo functions.
16320
16321         * lyxtext.h: give the status enum a weight, made status_ a private
16322         variable and made accessor functions for it, removed the whole bunch
16323         of undo-functions as they are now in their own file, make some
16324         functions publically available. Added function ownerParagraph with
16325         int parameter.
16326
16327         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16328         made InInset() a const function, added getParFromID() function.
16329
16330         * buffer.[Ch]: added const version for inset_iterator functions,
16331         added getInsetFromID() function.
16332
16333         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16334         changed undo functions for new version.
16335
16336 2001-07-05  Juergen Vigna  <jug@sad.it>
16337
16338         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16339         unknow mechanism does not call the proper constructor but only this
16340         one also if I request the other!?
16341
16342 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16343
16344         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16345
16346         * text2.C (LyXText): use initialization lists.
16347
16348         * lyxtext.h (Selection): initialize set_ and mark_
16349         (init): remove method
16350
16351 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16352
16353         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16354
16355 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16356
16357         * screen.[Ch]: change method names to begin with lowercase
16358
16359         * BufferView_pimpl.C (updateScrollbar): simplify further and
16360         hopefully make it a bit faster.
16361
16362 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16365         calling directly xforms functions.
16366
16367         * Painter.C (Painter):
16368         * lyx_cb.C (MenuWrite):
16369         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16370         fl_display.
16371
16372         * lyx_gui.C: remove bogus guiruntime extern declaration.
16373
16374 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16375
16376         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16377         in NEW_INSETS
16378         (redoDrawingOfParagraph): ditto
16379         (redoParagraphs): ditto
16380         (cutSelection): don't create a object for CutAndPaste use the
16381         static method directly
16382         (pasteSelection): ditto
16383
16384         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16385         LyXview (+ rename)
16386
16387 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16388
16389         * modifications to some other files because of this.
16390
16391         * Makefile.am (lyx_SOURCES): add XFormsView
16392
16393         * XFormsView.[Ch]: new files
16394
16395         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16396         the main window. Move the gui dependent stuff to XFormsView
16397
16398 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16399
16400         * tabular.C (GetCellInset): update cur_cell also in the row/col
16401         version of this function.
16402
16403         * lyxfunc.C: no need to include figure_form.h here.
16404
16405         * FontLoader.h:
16406         * lyxfunc.h:
16407         * lyxscreen.h:
16408         * text2.C:
16409         * lyxvc.C: no need to include forms.h here.
16410
16411 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16412
16413         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16414
16415         * lyxfunc.C (Dispatch):
16416         * Spacing.C (set):
16417         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16418         constructor argument.
16419
16420 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16421
16422         * paragraph.C (Paragraph): dont't clear, and just set layout.
16423         (makeSameLayout): use params's copy contructor.
16424
16425         * ParagraphParameters.[Ch] (makeSame): delete method
16426
16427 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16428
16429         * Variables.[Ch]: fix indentation, rename set to isSet
16430
16431 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16432
16433         * lyxfunc.C (Dispatch): fix typo
16434
16435 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16436
16437         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16438         upper_bound.
16439
16440         * bufferlist.C: include assert.h for emergencyWrite().
16441
16442 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16443
16444         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16445           give up at last (bug #425202) !
16446
16447 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16448
16449         * lyx_gui_misc.C:
16450         * sp_form.h:
16451         * sp_form.C:
16452         * spellchecker.h:
16453         * spellchecker.C: strip spellchecker options and bring up
16454           preferences tab instead
16455
16456 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16459         the istringstream constructor
16460
16461 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16462
16463         * paragraph.C (getLayout): fix return value
16464
16465         * paragraph.h: do not declare getLayout as inline.
16466
16467         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16468
16469 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16470
16471         * lyxcursor.h (operator<): new func
16472         (operator>): new func
16473         (operator>=): new func
16474         (operator<=): new func
16475
16476         * text.C (changeCase): use selection.start and selection.end
16477         (changeRegionCase): require from to be <= to. Require par to be a
16478         valid paragraph.
16479
16480         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16481
16482 2001-06-27  Juergen Vigna  <jug@sad.it>
16483
16484         * text.C (cursorLeftOneWord): changed to return the cursor and added
16485         overlay with BufferView * parameter which calls this one.
16486         (getWord): added
16487         (selectWord): use new getWord function.
16488         (changeCase): renamed from changeWordCase as and extended to work
16489         also on selections.
16490
16491         * lyxtext.h: added enum word_location
16492
16493         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16494         changeCase as this operates now also on selections.
16495
16496 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16497
16498         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16499
16500         * many files: send debug output to Debug::INFO instead of
16501         Debug::ANY.
16502
16503         * converter.C (View):
16504         (Convert):
16505         (Move): send debug output to Debug::FILES instead of console.
16506
16507 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16508
16509         * lyxfunc.C (getStatus): use func_status
16510
16511         * func_status.h: new header, describing the results of
16512         LyXFunc::getStatus;
16513
16514         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16515         LFUN_MATH_HALIGN.
16516
16517 2001-06-25  The LyX Project  <jug@sad.it>
16518
16519         * buffer.C (sgmlOpenTag):
16520         (sgmlCloseTag):
16521         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16522
16523 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16524
16525         * text2.C: remove some dead code
16526
16527         * tabular.C (GetCellInset): store the last cell checked (gotten)
16528
16529         * tabular.h: add the helper for the speedup
16530
16531         * lyxtext.h: remove some dead code
16532
16533 2001-06-26  The LyX Project  <Asger>
16534
16535         * paragraph.C: Change export to LaTeX of alignment to
16536         \begin{center} and family for better roundtrip work with reLyX.
16537
16538         * Tune the math drawing a bit.
16539
16540 2001-06-25  The LyX Project  <Asger>
16541
16542         * LColor.C (LColor): New color for math background. New color
16543         for buttons.
16544
16545 2001-06-25  The LyX Project  <jug@sad.it>
16546
16547         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16548
16549         * lyxfunc.C (Open):
16550         * bufferlist.C (newFile): do not restrict to files ending with
16551         .lyx
16552
16553         * BufferView_pimpl.C (MenuInsertLyXFile):
16554
16555 2001-06-24  The LyX Project  <jug@sad.it>
16556
16557         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16558         of compare_no_case
16559
16560 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16561
16562         * lyxtext.h: rename most methods to begin with a small char.
16563         Lots of changes because of this.
16564
16565         * paragraph.C (Paragraph): do not call fitToSize
16566         (erase): call Pimpl::erase
16567         (insertChar): call Pimpl::insertChar
16568         (insertInset): call Pipl::insertInset
16569         (breakParagraph): do not call fitToSize
16570         (breakParagraphConservative): do not call fitToSize
16571         (fitToSize): remove method
16572
16573         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16574
16575 2001-06-24  The LyX Project  <Asger>
16576
16577         * Fix Qt compilation^2
16578
16579 2001-06-24  The LyX Project  <jug@sad.it>
16580
16581         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16582         depthHook(getDepth()-1).
16583
16584         * paragraph.h:
16585         * ParagraphParameters.h:
16586         * ParameterStruct.h: change type of depth to unsigned int ==
16587         depth_type. Many adaptations to other files before of that.
16588
16589 2001-06-24  The LyX Project  <Asger>
16590
16591         * Fix Qt compilation.
16592
16593 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16594
16595         * paragraph.h: renamed several methods to begin with small letter.
16596         several changes to many parts of the code because of this.
16597
16598 2001-06-23  The LyX Project  <jug@sad.it>
16599
16600         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16601         rewritten to discard all double spaces when KeepEmpty is off
16602         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16603         to only handle newlines but not fiddle with spaces and friends.
16604
16605         * lyxfunc.C (MenuNew): when doing 'new from template', use
16606         template_path as default directory
16607
16608 2001-06-23  The LyX Project  <Asger>
16609
16610         * Clean-up of header file includes all over
16611         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16612
16613 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16614
16615         * paragraph.h: renamed from lyxparagraph.h
16616
16617 2001-06-23  Asger  <lyx@violet.home.sad.it>
16618
16619         * Buffer.h: Removed Buffer::resize
16620         * BufferList.h: Removed BufferList::resize
16621         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16622         the document lazily when we change the width, or the font settings.
16623
16624 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16625
16626         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16627
16628 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16629
16630         * buffer.h: remove out of date comment
16631
16632 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16633
16634         * lyxscreen.h:
16635         * screen.C: fix "theoretical" GC leak
16636
16637 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16638
16639         * LaTeX.C (scanAuxFile):
16640         (deplog): remove trailing \r when reading stream (useful under
16641         win32)
16642
16643 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16644
16645         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16646         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16647         and BufferView::theLockingInset(Inset*), so should use them and not
16648         access bv_->text->the_locking_inset directly.
16649
16650         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16651
16652 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16653
16654         * Makefile.am:
16655         * tex-defs.h: remove old unused file
16656
16657 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16658
16659         * BufferView_pimpl.C: fix typo, remove minibuffer message
16660           when buffer has loaded
16661
16662 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16663
16664         * lyxfunc.C (Dispatch): use stringstream
16665         (MenuNew): use stringstream
16666         (Open): use stringstream
16667
16668         * importer.C (Import): use stringstream
16669
16670         * bufferview_funcs.C (CurrentState): use stringstream
16671
16672         * LaTeX.C (run): use stringstream
16673
16674         * BufferView_pimpl.C (savePosition): use stringstream
16675         (restorePosition): use stringstream
16676         (MenuInsertLyXFile): use stringstream
16677
16678 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16679
16680         * BufferView.C:
16681         * Bullet.C:
16682         * ColorHandler.C:
16683         * FontInfo.C:
16684         * FontLoader.C:
16685         * LColor.C:
16686         * LaTeXFeatures.C:
16687         * Painter.C:
16688         * gettext.C:
16689         * lyx_gui_misc.C:
16690         * lyxserver.C:
16691         * vspace.C: removed // -*- C++ -*- as first line.
16692
16693         * lyxfind.h:
16694         * version.h: added // -*- C++ -*- as first line.
16695
16696 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16697
16698         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16699
16700         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16701         of string
16702
16703 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16704
16705         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16706         of floats.
16707
16708 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16709
16710         * gettext.C: include LString.h even when --disable-nls is on.
16711
16712 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16713
16714         * converter.h (Get): changed argument type from int to
16715         FormatList::size_type to avoid unnecessary conversion.
16716
16717         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16718         before using it.
16719
16720 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16721
16722         * gettext.h: include LString.h even when --disable-nls is on.
16723
16724 2001-06-07  Juergen Vigna  <jug@sad.it>
16725
16726         * text.C (BreakAgain): subst spaces with tabs.
16727
16728         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16729         (resizeInsetsLyXText): set force on resizeLyXText.
16730
16731 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16732
16733         * gettext.h (gettext_init):
16734         (locale_init): use a real definition instead of a macro
16735
16736 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16737
16738         * Bufferview_pimpl.C:
16739         * LColor.h:
16740         * LColor.C: further lcolor tidies
16741
16742 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16743
16744         * BufferView_pimpl.C (updateScrollbar): simplify.
16745
16746         * BufferView2.C: don't include insets/insetinfo.h, change
16747         prototype for insertInset and call the Pimpl version. let
16748         updateInset call Pimpl version.
16749
16750         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16751         gotoInset to BufferView::Pimpl
16752
16753 2001-06-01  Juergen Vigna  <jug@sad.it>
16754
16755         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16756         inside a LockingInset (is the update needed at all?).
16757
16758 2001-05-31  Juergen Vigna  <jug@sad.it>
16759
16760         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16761         here not the old one otherwise how should we compare it afterwards
16762         if it's the same!
16763
16764 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16765
16766         * lyxfont.C:
16767         * tabular.C:
16768         * tabular-old.C:
16769         * FontInfo.C: bring C functions into global namespace when
16770         necessary
16771
16772 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16773
16774         * LString.h: make sure config.h has been loaded before LString.h.
16775
16776         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16777         (one for each char read by EatLine!).
16778
16779         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16780         variables.
16781
16782 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16783
16784         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16785         to the same as the par we break from
16786
16787 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16788
16789         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16790
16791         * MenuBackend.C (expand): also create menu entries for wide
16792         versions of the floats.
16793
16794         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16795
16796         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16797
16798         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16799         frontends/Makefile.am
16800
16801         * text2.C: adjust
16802         * text.C: adjust
16803
16804
16805         * tabular.C (getTokenValue): add std::
16806
16807         * tabular-old.C (getTokenValue): add std::
16808         (getTokenValue): ditto
16809         (getTokenValue): ditto
16810
16811         * screen.C (ToggleSelection): adjust
16812
16813         * lyxtext.h: put selection cursors inside a Selection struct.
16814
16815         * lyxfunc.C (moveCursorUpdate): adjust
16816
16817         * lyxfont.C (latexWriteStartChanges): add std::
16818
16819         * lyxfind.C: adjust
16820
16821         * font.h: delete with(char const *, LyXFont const &)
16822
16823         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16824
16825         * FontInfo.C (getFontname): add std::
16826
16827         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16828         (workAreaButtonPress): adjust
16829         (tripleClick): adjust
16830         (update): adjust
16831         (moveCursorUpdate): adjust
16832         (Dispatch): adjust
16833
16834         * BufferView2.C (gotoInset): adjust
16835
16836 2001-05-30  Juergen Vigna  <jug@sad.it>
16837
16838         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16839         to check pspell I add this as default as I now have new pspell
16840         libraries and they seem to use this.
16841
16842 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16843
16844         * text2.C (CutSelection): make the cursor valid before the call to
16845         ClearSelection.
16846
16847 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16848
16849         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16850         relied on 0 terminated strings and other horrors. Bug found due to
16851         the new assert in lyxstring!
16852
16853         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16854         KP_ keys.
16855
16856 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16857
16858         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16859         to latinkeys.bind.
16860
16861         * lyxfunc.C (processKeySym): change method of getting to the
16862         self-insert char.
16863
16864         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16865         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16866         * BufferView_pimpl.[Ch]: here as private methods.
16867
16868 2001-05-28  Juergen Vigna  <jug@sad.it>
16869
16870         * text.C (SetHeightOfRow): added the update() call again as it is
16871         needed to initialize inset dimensions!
16872
16873 2001-05-16  Juergen Vigna  <jug@sad.it>
16874
16875         * text2.C (SetCharFont): Add new function with BufferView * and
16876         bool toggleall parameters for setting insets internal fonts.
16877         (SetFont): Freeze the undo as we may change fonts in Insets and
16878         all this change should be inside only one Undo!
16879
16880         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16881         setting font's in insets as for them we have the SetFont function!
16882
16883 2001-05-15  Juergen Vigna  <jug@sad.it>
16884
16885         * text2.C (ClearSelection): to be sure we REALLY don't have any
16886         selection anymore!
16887
16888         * tabular.C (TeXCellPreamble): fixed the left border problem for
16889         multicolumn cells.
16890
16891 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16892
16893         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16894         dependancy file
16895
16896 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16897
16898         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16899         LFUN_BREAKPARAGRAPH.
16900
16901         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16902         help test to "internal only", similar for LFUN_INSERT_URL
16903
16904         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16905         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16906         auto_region_delete and deadkeys.
16907
16908 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16909
16910         * LColor.h:
16911         * LColor.C: remove some dead entries, tidy a little
16912
16913 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16914
16915         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16916         commented code.
16917         (Dispatch): implement LFUN_ESCAPE
16918
16919         * commandtags.h: add LFUN_ESCAPE
16920
16921         * LyXAction.C (init): add entry for LFUN_ESCAPE
16922
16923         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16924         Remove commented code.
16925         (insertNote): moved here
16926         (open_new_inset): moved here
16927
16928         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16929         BufferView_pimpl
16930
16931 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16932
16933         * kbmap.C (findbinding): clean it up and make it work correctly.
16934
16935         * lyx_main.C (init): do not pass argc and argv as parameters
16936
16937 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16938
16939         * buffer.C: fix path for OS/2 & Win32
16940
16941         * lyx_gui.C:
16942         * lyx_main:
16943         * lyx_main.C: Added os:: class.
16944
16945         * os2_defines.h: update
16946
16947 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16948
16949         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16950         better by trying again with reduced state.
16951
16952 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16953
16954         * lyxrc.C (read): print error about invalid key sequence only when
16955         debugging (because not all latinX keysyms are known to some X
16956         servers)
16957
16958         * kbsequence.C (getiso): add a few std:: qualifiers
16959         (getiso): comment out extra return statement.
16960
16961 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16962
16963         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16964         handling.
16965         (Dispatch): enhance the accent inset a bit. (not perfect)
16966
16967 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16968
16969         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16970
16971 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * bufferlist.C (emergencyWrite): fix assert() call
16974
16975 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16976
16977         * text.C (InsertChar): Added trivial patch to only send the "you
16978         can not do multiple spaces this way" message once during a
16979         session.
16980
16981 2001-05-08  Baruch Even  <baruch@lyx.org>
16982
16983         * Makefile.am: Changed order of libraries to get LyX to link properly
16984         with the gnome frontend.
16985
16986 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16987
16988         * LaTeXFeatures.h: add a std:: qualifier
16989
16990 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16991
16992         * paragraph.C (String): use stringstream
16993
16994 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16995
16996         * paragraph.C (writeFile): remove footflag arg
16997
16998         * buffer.C (makeLaTeXFile): use stringstream
16999         (latexParagraphs): remove footnot gurba
17000
17001         * LaTeXFeatures.C (getPackages): use stringstream
17002         (getMacros): likewise
17003         (getTClassPreamble): likewise
17004         (getFloatDefinitions): new method
17005
17006         * paragraph.C (writeFile): reindent
17007         (Erase): reindent
17008
17009         * WorkArea.h: revert the xpos + etc changes.
17010
17011         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17012
17013         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17014
17015         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17016         (pasteSelection): likewise
17017         * text2.C (CreateUndo): likewise
17018
17019 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17020
17021         * minibuffer.C (peek_event): temporarily reduce the functionality
17022         of the minibuffer (to allow args on lfuns)
17023
17024         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17025         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17026
17027         * buffer.C (readInset): add compability reading of old float
17028         lists, add reading of new style float list.
17029         (readInset): avoid reevaluation of inscmd.getCmdName()
17030         (getLists): reindent
17031
17032         * MenuBackend.C (MenuItem): implement parsing of
17033         md_floatlistinsert and md_floatinsert.
17034         (expand::LastFiles): move initalizaton of iterators out of loop,
17035         avoid reevaluation.
17036         (expand::Documents): introduce typdedef vector<string> Strings,
17037         and use it.
17038         (expand::ExportFormats): introduce typedef vector<Format const *>
17039         Formats, and use it.
17040         (expand): implement FloatListInsert and FloatInsert.
17041
17042         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17043         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17044         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17045
17046         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17047         handling.
17048         (Dispatch::LFUN_FLOAT_LIST): implement
17049
17050 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17051
17052         * LaTeX.C (run): Fix problem with --export code.
17053
17054 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17055
17056         * BufferView.[Ch] (workarea): removed.
17057         (getClipboard) new method; wrapper for workarea()->getClipboard()
17058
17059         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17060         bug.
17061
17062         * WorkArea.h (width, height, xpos, ypos): These methods all
17063         returned the dimensions of the work_area sub-area of WorkArea,
17064         resulting in a position error if the WorkArea were resized. Now
17065         return the dimensions of the entire WorkArea.
17066
17067         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17068
17069 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17070
17071         * LaTeX.C (deplog): correct the syntax of regex reg1
17072
17073 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17074
17075         * undo.C: remove !NEW_INSETS cruft
17076
17077 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17078
17079         * text2.C: remove !NEW_INSETS cruft
17080
17081         * text.C: remove !NEW_INSETS cruft
17082
17083         * tabular.C: remove !NEW_INSETS cruft
17084
17085         * spellchecker.C: remove !NEW_INSETS cruft
17086
17087         * lyxtext.h: remove !NEW_INSETS cruft
17088
17089         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17090
17091         * lyxfunc.C: remove !NEW_INSETS cruft
17092
17093         * lyxfind.C: remove !NEW_INSETS cruft
17094
17095         * lyx_cb.C: remove !NEW_INSETS cruft
17096
17097         * figureForm.C: remove  !NEW_INSETS cruft
17098
17099         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17100
17101         * buffer.[Ch]: remove !NEW_INSETS cruft
17102
17103         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17104
17105         * CutAndPaste.C: remove !NEW_INSETS cruft
17106
17107         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17108
17109         * BufferView2.C: remove !NEW_INSETS cruft
17110
17111         * BufferView.h: remove !NEW_INSETS cruft
17112
17113 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17114
17115         * Lsstream.h: include LString.h before the sstream headers to
17116         fix problem with gcc 2.95.3 and lyxstring
17117
17118 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17119
17120         * lyx_main.C: add using directives when needed for C functions
17121         declared in std:: namespace.
17122
17123 2001-04-27  Juergen Vigna  <jug@sad.it>
17124
17125         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17126         (SetHeightOfRow): comment out the update call should not be needed!
17127
17128 2001-04-13  Juergen Vigna  <jug@sad.it>
17129
17130         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17131         (LyXTabular): tried to minimize operator= operations (and realized
17132         hopfully Lars wish).
17133
17134 2001-04-27  Juergen Vigna  <jug@sad.it>
17135
17136         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17137
17138 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17139
17140         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17141
17142         * buffer.C (readInset): hack to make listof algorithm work
17143
17144         * BufferView_pimpl.C: hack to make listof algorithm work
17145
17146 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17147
17148         * LyXAction.C: removed all !NEW_INSETS cruft
17149         (init): moved lfun_item in method
17150
17151         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17152
17153 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17154
17155         * BufferView2.C (theLockingInset): white space.
17156
17157 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17158
17159         * minibuffer.C: include <iostream>
17160
17161         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17162
17163         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17164
17165         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17166
17167         * text.[Ch] (TransposeChars): new method
17168
17169 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17170
17171         * call message directly through LyXView instead of through LyXFunc
17172         * BufferView2.C: adjust
17173         * BufferView_pimpl.C: adjust
17174         * FontLoader.C: adjust
17175         * buffer.C: adjust
17176         * bufferview_funcs.C: adjust
17177         * converter.C: adjust
17178         * figureForm.C: adjust
17179         * importer.C: adjust
17180         * lyx_cb.C: adjust
17181         * lyx_gui_misc.C: adjust
17182         * lyxfunc.C: adjust
17183         * lyxvc.C: adjust
17184         * text2.C: adjust
17185         + more files in subdirs
17186
17187         * lyxparagraph.h (size): move up int file
17188         (GetLayout): ditto
17189
17190         * adjust all uses of Assert to lyx::Assert.
17191
17192         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17193         lyxfunctional in namespace lyx
17194         * layout.C (hasLayout): ditto
17195         (GetLayout): ditto
17196         (GetLayout): ditto
17197         (delete_layout): ditto
17198         (NumberOfClass): ditto
17199         * converter.C (GetFormat): ditto
17200         (GetNumber): ditto
17201         (Add): ditto
17202         (Delete): ditto
17203         (SetViewer): ditto
17204         * bufferlist.C (getFileNames): ditto
17205         (emergencyWriteAll): ditto
17206         (exists): ditto
17207         (getBuffer): ditto
17208         * MenuBackend.C (hasSubmenu): ditto
17209         (hasMenu): ditto
17210         (getMenu): ditto
17211         * BufferView_pimpl.C (getInsetByCode): ditto
17212
17213 2001-04-18  Juergen Vigna  <jug@sad.it>
17214
17215         * vspace.C (asLatexString): fixed the 100% problem.
17216
17217 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17218
17219         * lyxfunc.C (Dispatch):
17220         * minibuffer.C:
17221         * minibuffer.h: add a few std:: qualifiers
17222
17223 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17224
17225         * minibuffer.[Ch]: reimplement so that commands is initiated and
17226         run from lyxfunc, simplified som handling, and made the completion
17227         and history code for complete. wip.
17228
17229         * lyxfunc.C (processKeySym): call message
17230         (miniDispatch): new temporary method
17231         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17232         (LFUN_MESSAGE): implement
17233         (LFUN_MESSAGE_PUSH): implement
17234         (LFUN_MESSAGE_POP): implement
17235         (initMiniBuffer): the initial/defualt minibuffer message.
17236
17237         * lyxfont.[Ch]: inline some more getters
17238
17239         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17240
17241         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17242
17243         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17244         (AutoSave): use LFUN_MESSAGE
17245         (Reconfigure): ditto
17246
17247         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17248
17249         * figureForm.C: use LFUN_MESSAGE
17250
17251         * converter.C (runLaTeX): use LFUN_MESSAGE
17252
17253         * bufferview_funcs.C: use LFUN_MESSAGE
17254         (Melt): ditto
17255         (changeDepth): ditto
17256
17257         * bufferparams.h: use boost::
17258
17259         * bufferlist.h: inherit privately from noncopyable
17260
17261         * bufferlist.C (loadLyXFile): remove some commented code.
17262
17263         * buffer.C (runChktex): use LFUN_MESSAGE
17264
17265         * ShareContainer.h: inherit privately from noncopyable
17266
17267         * ParagraphParameters.[hC] (depth): inline it.
17268
17269         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17270         methods.
17271         (message): new method
17272         (messagePush): ditto
17273         (messagePop): ditto
17274         (show): init minibuffer
17275         (showState): direct call
17276
17277         * LaTeX.[Ch]: inherit privately from noncopyable
17278         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17279         instead of WriteStatus.
17280
17281         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17282
17283         * BufferView_pimpl.C (buffer): don't init minibuffer
17284         (workAreaButtonPress): use LFUN_MESSAGE
17285         (workAreaButtonRelease): ditto
17286         (savePosition): ditto
17287         (restorePosition): ditto
17288         (MenuInsertLyXFile): ditto
17289         (workAreaExpose): don't init minibuffer
17290         (update): remove commented code, simplify
17291
17292         * BufferView2.C (openStuff): use LFUN_MESSAGE
17293         (toggleFloat): ditto
17294         (menuUndo): ditto
17295         (menuRedo): ditto
17296         (copyEnvironment): ditto
17297         (pasteEnvironment): ditto
17298         (copy): ditto
17299         (cut): ditto
17300         (paste): ditto
17301         (gotoInset): ditto
17302         (updateInset): remove some commented code
17303
17304         * lastfiles.h: inherit privately from noncopyable
17305         * layout.h: ditto
17306         * lyx_gui.h: ditto
17307         * lyx_main.h: ditto
17308         * lyxlex.h: ditto
17309         * lyxlex_pimpl.h: ditto
17310
17311         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17312         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17313         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17314
17315         * LyXAction.h: inherit privately from noncopyable, add methods
17316         func_begin, func_end, returning iterators to the func map.
17317
17318         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17319         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17320         (func_begin): new method
17321         (func_end): new method
17322
17323         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17324         and not)
17325         (copySelection): ditto
17326         (pasteSelection): ditto
17327
17328         * BufferView.C: whitespace change
17329         * BufferView.h: inherit privately from noncopyable
17330
17331 2001-04-16  Allan Rae  <rae@lyx.org>
17332
17333         * tabular-old.C (l_getline):
17334         * spellchecker.C (sc_check_word):
17335         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17336         an unrecognised preprocessor directive.  So ensure they're wrapped.
17337
17338 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17339
17340         * src/exporter.C (Export): Give an error message when path to file
17341         contains spaces.
17342
17343 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17344
17345         * LaTeX.C (deplog): Always check that foundfile exists.
17346
17347 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17348
17349         * lyx_main.h:
17350         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17351
17352 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17353
17354         * tabular.[Ch] (getLabelList): implement new method
17355
17356         * minibuffer.h: comment ouf setTiimer
17357
17358         * minibuffer.C (ExecutingCB): constify res
17359         (peek_event): constify s
17360         (Set): constify ntext
17361         (Init): constify nicename
17362
17363         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17364
17365         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17366         (savePosition): use two params to Minibuffer::Set
17367         (restorePosition): ditto
17368
17369 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17370
17371         * lyx_main.C: include language.h
17372
17373         * Makefile.am (lyx_main.o): add language.h
17374
17375 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17376
17377         * exporter.C:
17378         * paragraph.C:
17379         * screen.C:
17380         * tabular.C:
17381         * CutAndPaste.C: include gettext.h
17382
17383         * lyxfont.h: remove old hack with ON and OFF.
17384
17385         * lyxparagraph.h:
17386         * lyxfont.h: do not include language.h...
17387
17388         * BufferView2.C:
17389         * LaTeXFeatures.C:
17390         * Painter.C:
17391         * bufferview_funcs.C:
17392         * font.C:
17393         * lyxfont.C:
17394         * text.C:
17395         * text2.C:
17396         * trans_mgr.C:
17397         * paragraph.C: ... but do it here instead
17398
17399 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17400
17401         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17402
17403         * tabular.C: small reformat
17404
17405         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17406         NEW_INSETS version
17407         (GetChar): ditto
17408         (BreakParagraph): ditto
17409         (SetOnlyLayout): ditto
17410         (SetLayout): ditto
17411
17412         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17413         with one arg less.
17414
17415         * lastfiles.C: removed most using decl, add std:: where needed
17416
17417         * buffer.C: ws changes
17418
17419         * MenuBackend.C (class compare_format): put into anon namespace
17420         (expand): constify label, names, action, action2
17421         (expand):
17422
17423         * text.C (SingleWidth): constify font
17424         (IsBoundary): constify rtl2
17425         (GetVisibleRow): constify ww
17426
17427         * LaTeX.C (deplog): constify logfile
17428
17429         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17430         start_x, end_x
17431         (workAreaExpose): constify widthChange, heightChange
17432
17433         * lyxrow.C (par): moved
17434         (height): moved
17435         (next): moved
17436         * lyxrow.h: as inlines here
17437
17438         * lyxfont.h (shape): moved from lyxfont.C
17439         (emph): moved from lyxfont.C
17440
17441         * lyxfont.C (LyXFont): use initialization list for all
17442         constructors
17443         (shape): move to lyxfont.h as inline
17444         (emph): move to lyxfont.h as inline
17445
17446
17447 2001-04-04  Juergen Vigna  <jug@sad.it>
17448
17449         * vspace.C: had to include stdio.h for use of sscanf
17450
17451 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17452
17453         * BufferView.h:
17454         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17455         independent of xforms.
17456
17457 2001-04-02  Juergen Vigna  <jug@sad.it>
17458
17459         * spellchecker.C: fixed namespace placing!
17460
17461 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17462
17463         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17464         the LyXParagraph * is 0.
17465
17466 2001-03-29  Juergen Vigna  <jug@sad.it>
17467
17468         * vspace.C: added support for %, c%, p%, l%.
17469         (stringFromUnit): added helper function.
17470         (asLatexString): changed to give right results for the %-values.
17471
17472         * buffer.C: convert the widthp in a width%.
17473
17474 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17475
17476         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17477         figureForm.[Ch].
17478
17479         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17480         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17481
17482         * lyx_cb.[Ch]: see above.
17483
17484         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17485         form1.[Ch].
17486
17487         * form1.[Ch]:
17488         * lyx.[Ch]: replaced by figure_form.[Ch].
17489
17490         * lyx_gui.C:
17491         * lyx_gui_misc.C:
17492         * lyxfunc.C: changed headers associated with above changes.
17493
17494 2001-03-27  Juergen Vigna  <jug@sad.it>
17495
17496         * BufferView_pimpl.C: set the temporary cursor right!
17497
17498 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17499
17500         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17501
17502 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17503
17504         * LString.h: removed "using std::getline"!
17505
17506         * BufferView_pimpl.C (Dispatch): changes due to changes in
17507         InsetInclude::Params.
17508
17509         * buffer.C (tag_name): removed redundant break statements as they were
17510         producing lots of warnings with my compiler.
17511
17512 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17513
17514         * LString.h: add "using std::getline" when using the real <string>.
17515
17516 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17517
17518         * buffer.C: removed bitset usage.
17519         PAR_TAG moved to an anonymous name space.
17520         (tag_name): new funtion, also in the anonymous namespace.
17521         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17522         (makeDocBookFile): clean code. Completed transition from string arrays
17523         to string vectors.
17524         (SimpleDocBookOnePar): code clean.
17525
17526 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17527
17528         * tabular.C: add some comments.
17529
17530 2001-03-22  Juergen Vigna  <jug@sad.it>
17531
17532         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17533         compatibility read a bit and fixed bug with minipage in different
17534         depth.
17535
17536 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17537
17538         * buffer.C (pop_tag): removed.
17539         (push_tag): removed.
17540         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17541         array replaced with vector. Added support for CDATA sections.
17542         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17543         at any nest level.
17544         (makeDocBookFile): XML conformant declaration of CDATA section,
17545         fixed bug related to <emphasis> in the first paragraph char.
17546         (sgmlOpenTag): exclude empty tags.
17547         (sgmlCloseTag): ditto.
17548
17549         * buffer.h (pop_tag): removed.
17550         (push_tag): removed.
17551
17552 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17553
17554         * language.h (Languages): added size_type and size().
17555
17556 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17557
17558         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17559         response on compability reading of minipages. One probliem is that
17560         the old usage of minipages was flertydig
17561
17562         * several files here and in subdirs: don't use static at file
17563         scope use anon namespaces instead.
17564
17565 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17566
17567         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17568         LaTeX output. This is necessary for Literate document
17569         processing.
17570
17571 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17572
17573         * buffer.C: insert hfill when needed.
17574
17575         * tabular.C (l_getline): use string::erase, small whitespace change.
17576
17577         * BufferView_pimpl.C: try the anon namespace.
17578         * WorkArea.C: ditto
17579
17580 2001-03-16  Juergen Vigna  <jug@sad.it>
17581
17582         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17583         otherwise it won't open options-dialogs.
17584
17585         * buffer.C: honor pextraWidth(p) on converting minipages.
17586
17587         * tabular.C (l_getline): changed the functions to strip trailing \r.
17588
17589 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17590
17591         * BufferView_pimpl.C:
17592         * minibuffer..C: added "using SigC::slot" declaration.
17593
17594 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17595
17596         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17597
17598         * text2.C: ditto
17599
17600         * text.C: ditto
17601
17602         * paragraph.C: ditto
17603
17604         * lyxtext.h: NO_PEXTRA
17605
17606         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17607
17608         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17609         * ParameterStruct.h: ditto
17610         * ParagraphParameters.h: ditto
17611         * lyxparagraph.h: ditto
17612
17613 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17614
17615         * buffer.C: add compability for minipage alignment.
17616         (latexParagraphs): remove unwanted pextra check.
17617
17618         * several files: remove CXX_WORKING_NAMESPACES
17619
17620         * buffer.C (pop_tag): tie is in namespace boost
17621
17622         * BufferView.h: noncopyable is in namespace boost
17623         * lyxlex.h: ditto
17624         * lyx_main.h: ditto
17625         * lyx_gui.h: ditto
17626         * layout.h: ditto
17627         * lastfiles.h: ditto
17628         * bufferlist.h: ditto
17629         * ShareContainer.h: ditto
17630         * LyXView.h: ditto
17631         * LyXAction.h: ditto
17632         * LaTeX.h: ditto
17633
17634 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17635
17636         * Merging changes from BRANCH_MVC back into HEAD.
17637
17638         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17639
17640 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17641
17642         * BufferView_pimpl.C: change from intl.C
17643
17644         * combox.h:
17645         * combox.C:
17646         * Makefile.am: move combox.*
17647
17648         * form1.h:
17649         * form1.C:
17650         * lyx_gui.C:
17651         * intl.h:
17652         * intl.C: remove dialog (covered by prefs)
17653
17654 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17655
17656         * lyxfunc.C (Dispatch): removed redundant break statement.
17657
17658 2001-03-14  Juergen Vigna  <jug@sad.it>
17659
17660         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17661
17662 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17663
17664         * buffer.C: add hack to fix compability reading of minipages.
17665
17666 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17667
17668         * buffer.C (getLists): Cleanup.
17669
17670 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17671
17672         * lyxfont.C (update): don't honor toggleall on font size.
17673
17674 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17675
17676         * bmtable.c:
17677         * bmtable.h:
17678         * Makefile.am: moved to frontends/xforms/
17679
17680         * lyx_gui_misc.C:
17681         * lyxfunc.C:
17682         * BufferView_pimpl.C: changes for moved mathpanel
17683
17684 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17685
17686         * gettext.h: fix gettext_init() in --disable-nls
17687
17688 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17689
17690         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17691
17692 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17693
17694         * lyx.C:
17695         * lyx.h: strip external form
17696
17697 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17698
17699         * BufferView_pimpl.C: add comment, destroySplash()
17700
17701 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17702
17703         * BufferView_pimpl.C:
17704         * LyXAction.C:
17705         * buffer.C:
17706         * commandtags.h:
17707         * lyxfunc.C: use re-worked insetinclude
17708
17709 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17710
17711         * buffer.C: add using std::stringstream.
17712
17713         * lyx_cb.C: readd using std::ios.
17714
17715         * buffer.C: add using std::map.
17716
17717         * BufferView_pimpl.C: add using std::vector.
17718
17719         * ShareContainer.h: add std:: to swap.
17720
17721         * buffer.h: add some typedefs
17722         * buffer.C (getLists): use them
17723         (getLists): renamed from getTocList.
17724         add a counter for the different float types and use it in the
17725         generated string.
17726         (getLists): use the same counter for the NEW_INSETS and the "non"
17727         NEW_INSETS
17728
17729         * lyx_cb.h: remove unused items, includes, using etc.
17730
17731         * ShareContainer.h: remove some commented code, add more comments
17732         and "documentation".
17733
17734 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17735
17736         * buffer.C (getTocList): make the list also when NEW_INSETS is
17737         defined.
17738
17739         * buffer.h: remove TocType
17740
17741         * buffer.C (getTocList): change to return a map<string,
17742         vector<TocItem> >, implement for dynamic number of list.
17743
17744         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17745         * text2.C (PasteSelection): adjust
17746         * CutAndPaste.C (pasteSelection): adjust
17747
17748         * FloatList.C (FloatList): update from the new_insets branch.
17749         * Floating.[Ch]: ditto
17750         * LaTeXFeatures.C: ditto
17751         * buffer.C: ditto
17752         * lyxlex_pimpl.C: ditto
17753
17754         * paragraph.C (Last): remove when NEW_INSETS is defined.
17755
17756         * other file: changes because of the above.
17757
17758 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17759
17760         * lyxparagraph.h: rename next to next_, previous to previous_,
17761         make them private for NEW_INSETS. Rename Next() to next(),
17762         Previous() to previous().
17763
17764         * other files: changes because of the above.
17765
17766 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17767
17768         * BufferView.h:
17769         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17770         problem.
17771
17772 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17773
17774         * main.C (main): pass lyx_localedir to gettext_init().
17775
17776         * gettext.h: remove locale_init and gettext_init macros
17777
17778         * gettext.C (locale_init): new function
17779         (gettext_init): new function
17780
17781         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17782         setlocale().
17783
17784 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17785
17786         * Moved credits to frontends:
17787         * credits.[Ch]: removed
17788         * credits_form.[Ch]: removed
17789         * lyx_gui_misc.C: remove credits stuff
17790         * Makefile.am:
17791
17792 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17793
17794         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17795
17796         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17797         unneeded destructor.
17798
17799         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17800         a standalone pointer again.
17801
17802         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17803
17804 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17805
17806         * Makefile.am:
17807         * filedlg.h:
17808         * filedlg.C:
17809         * LyXAction.C:
17810         * ToolbarDefaults.C:
17811         * bufferlist.C:
17812         * commandtags.h:
17813         * form1.C:
17814         * form1.h:
17815         * lyx_cb.C:
17816         * lyx_cb.h:
17817         * lyxfunc.h:
17818         * lyxfunc.C:
17819         * BufferView_pimpl.C: use new file dialog in GUII
17820
17821         * lyx_cb.h:
17822         * lyx_cb.C: remove LayoutsCB to Toolbar
17823
17824 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17825
17826         * ShareContainer.h (get): add std:: qualifier
17827
17828 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17829
17830         * ShareContainer.h: define a proper ShareContainer::value_type
17831         type (and use typename to please compaq cxx)
17832
17833 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17834
17835         * lyxparagraph.h: move serveral local vars to
17836         ParameterStruct/ParagraphParameters., use ShareContainer in
17837         FontTable., make vars in FontTable private and add getter and
17838         setter.
17839
17840         * paragraph.C: changes because of the above.
17841
17842         * lyxfont.h: remove copy constructor and copy assignment. (the
17843         default ones is ok), move number inside FontBits. move inlines to
17844         lyxfont.C
17845
17846         * lyxfont.C: add number to initializaton of statics, move several
17847         inlines here. constify several local vars. some whitespace
17848         cleanup. Dont hide outerscope variables.
17849
17850         * Spacing.h: add two new constructors to match the set methods.
17851
17852         * ShareContainer.h: new file, will perhaps be moved to support
17853
17854         * ParameterStruct.h: new file
17855
17856         * ParagraphParameters.h: new file
17857
17858         * ParagraphParameters.C: new file
17859
17860         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17861         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17862
17863         * BufferView_pimpl.C: ParagraphParameter changes.
17864         * buffer.C: Likewise.
17865         * bufferview_funcs.C: Likewise.
17866         * text.C: Likewise.
17867         * text2.C: Likewise.
17868
17869 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17870
17871         * lyxfind.C (LyXReplace): do not redefine default argument in
17872         implementation.
17873         (IsStringInText): ditto
17874         (SearchForward): ditto
17875         (SearchBackward): ditto
17876
17877 2001-03-06  Juergen Vigna  <jug@sad.it>
17878
17879         * lyxfind.C (IsStringInText): put parentes around expressions.
17880
17881 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17882
17883         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17884
17885 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17886
17887         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17888
17889         * stl_string_fwd.h: add comment
17890
17891         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17892
17893         * tabular.h:
17894         * tabular.C: remove unused DocBook methods
17895
17896         * intl.C:
17897         * language.C:
17898         * paragraph.C:
17899         * buffer.C:
17900         killed DO_USE_DEFAULT_LANGUAGE
17901
17902 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17903
17904         * lyx_gui.C: do not include language.h.
17905
17906         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17907         arguments in function implementation.
17908
17909 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17910
17911         * BufferView_pimpl.C: add <ctime>
17912
17913 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17914
17915         * BufferView_pimpl.C: add using std::find_if
17916
17917 2001-02-27  José Matos  <jamatos@fep.up.pt>
17918
17919         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17920         by OnlyPath.
17921
17922 2001-02-11  José Matos  <jamatos@fep.up.pt>
17923
17924         * buffer.C (makeDocBookFile): command styles now have a parameter as
17925         "title" by default.
17926
17927 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17928
17929         * layout_forms.[Ch]: removed
17930         * lyx_cb.[Ch]: out character
17931         * lyx_gui.C: out character
17932         * lyx_gui_misc.C: out character
17933         * bufferview_funcs.C: : out character,
17934         added toggleall as parameter in ToggleAndShow
17935
17936 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17937
17938         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17939
17940         * text2.C (SetCurrentFont): Disable number property at boundary.
17941
17942 2001-02-26  Juergen Vigna  <jug@sad.it>
17943
17944         * lyxfunc.C (getStatus): added a string argument override function so
17945         that this is correctly called from LyXFunc::Dispatch if it contains a
17946         do_not_use_argument which is used!
17947         (Dispatch): added check for "custom" export and call appropriate func.
17948
17949 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17950
17951         * lyxrc.C: Add language_command_local, language_use_babel and
17952         language_global_options.
17953
17954         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17955
17956         * buffer.C (makeLaTeXFile): Use language_use_babel and
17957         language_global_options.
17958
17959 2001-02-23  Juergen Vigna  <jug@sad.it>
17960
17961         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17962         which works with LyXText and putted it inside BufferView. Here now we
17963         only call for that part the BufferView::Dispatch() function.
17964
17965         * BufferView.C (Dispatch): added.
17966
17967         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17968         functions which needs to use a LyXText over from LyXFunc.
17969         (MenuInsertLyXFile): added
17970         (getInsetByCode): added
17971         (moveCursorUpdate): added
17972         (static TEXT): added
17973
17974 2001-02-22  Juergen Vigna  <jug@sad.it>
17975
17976         * BufferView_pimpl.C (update): call a status update to see if LyXText
17977         needs it.
17978
17979 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17980
17981         * vc-backend.C (revert): implement for CVS
17982         (getLog): implement for CVS
17983
17984 2001-02-20  Juergen Vigna  <jug@sad.it>
17985
17986         * text2.C (ClearSelection): added BufferView param for inset_owner call
17987
17988         * lyxfunc.C (TEXT): added this function and use it instead of
17989         directly owner->view()-text of getLyXText().
17990
17991 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17992
17993         * src/layout_forms.C: out preamble
17994         * src/layout_forms.h: out preamble
17995         * src/lyx_cb.C: out preamble
17996         * src/lyx_cb.h: out preamble
17997         * src/lyx_gui.C: out preamble
17998         * src/lyx_gui_misc.C: out preamble
17999         * src/lyxfunc.C: connect with guii preamble
18000
18001 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18002
18003         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18004
18005 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18006
18007         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18008         whether to run bibtex.
18009
18010 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18011
18012         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18013
18014 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18015
18016         * Makefile.am (lyx_SOURCES): removed bibforms.h
18017
18018         * vspace.h: doxygen
18019
18020         * text.C (GetVisibleRow): make several local vars const
18021
18022         * tabular.C: small cleanup.
18023
18024         * lyxserver.C (callback): use compare instead of strncmp
18025
18026         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18027         inlines to after class or to paragraph.C
18028
18029         * lyxfont.h: remove friend operator!=
18030
18031         * converter.h: move friend bool operator< to non friend and after
18032         class def.
18033
18034         * combox.h: small cleanup
18035
18036         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18037         to inlines after class def.
18038
18039         * buffer.C (pop_tag): use string operations instead of strcmp
18040
18041         * bmtable.c: doxygen, small cleanup
18042
18043         * LaTeX.h: remove friend operator==
18044
18045 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18046
18047         * screen.C:
18048         * lyxrc.[Ch]:
18049         * lyxfunc.C:
18050         * lyxfont.[Ch]:
18051         * lyx_cb.C:
18052         * intl.[Ch]:
18053         * commandtags.h:
18054         * buffer.C:
18055         * WorkArea.[Ch]:
18056         * LyXAction.C:
18057         * BufferView_pimpl.C:
18058         * BufferView.[Ch]: remove cruft
18059
18060 2001-02-14  Juergen Vigna  <jug@sad.it>
18061
18062         * lyxfunc.C: removed #if 0 unused code
18063
18064         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18065
18066         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18067
18068         * text2.C (SetSelection): added a BufferView * parameter
18069
18070 2001-02-13  Juergen Vigna  <jug@sad.it>
18071
18072         * lyxfunc.C (Dispatch): fixed protected blank problem.
18073         * BufferView2.C (protectedBlank): added LyxText * parameter.
18074
18075         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18076         (AppendColumn): same as above for column_info.
18077
18078         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18079         (moveCursorUpdate): use a LyXText param for support of InsetText.
18080
18081         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18082         (tripleClick): ditto
18083
18084         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18085
18086         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18087
18088         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18089
18090         * text2.C (SetSelection): set correct update status if inset_owner
18091         (ToggleFree): ditto
18092
18093 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18094
18095         * tabular.C: remove some commented code.
18096
18097 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18098
18099         * BufferView_pimpl.C: call hideSplash()
18100
18101         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18102
18103         * include_form.h:
18104         * bibforms.h: remove
18105
18106         * lyxfunc.C:
18107         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18108           add LFUN_CHILD_CREATE
18109
18110         * counters.h: fix tiny typo
18111
18112         * lyx_cb.C:
18113         * lyx.h:
18114         * lyx_gui.C:
18115         * lyx.C: move splash to frontends/xforms/
18116
18117         * lyx_gui_misc.C: move Include and Bibform to frontends
18118
18119         * lyxvc.h: clarify comment
18120
18121         * vspace.C: tiny housekeeping
18122
18123 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18124
18125         * text.C (PrepareToPrint): RTL Fix.
18126
18127         * paragraph.C (GetUChar): New method.
18128         (String):  Use GetUChar.
18129
18130         * buffer.C (asciiParagraph): Use GetUChar.
18131
18132 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18133
18134         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18135
18136 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18137
18138         * buffer.h:
18139         * buffer.C: rename to getLogName(), handle
18140           build log / latex log nicely
18141
18142 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18143
18144         * MenuBackend.C:
18145         * MenuBackend.h: remove support for reference menuitem type.
18146
18147 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18148
18149         * BufferView_pimpl.C: housekeeping
18150         * BufferView_pimpl.h:
18151         * LyXView.h:
18152         * Makefile.am:
18153         * Timeout.C:
18154         * Timeout.h:
18155         * minibuffer.h: move Timeout GUI-I
18156
18157 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18158
18159         * lyxrc.C (read): Update converters data-structures.
18160
18161 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18162
18163         * LaTeX.h (operator!=): add operator != for Aux_Info
18164
18165 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18166
18167         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18168
18169         * LaTeXLog.C: deleted, useful code moved to Buffer
18170
18171         * buffer.h:
18172         * buffer.C: new function getLatexLogName()
18173
18174         * lyx_gui_misc.C:
18175         * lyx_gui.C:
18176         * lyxvc.C:
18177         * lyxvc.h:
18178         * lyxfunc.C: use frontends for LaTeX and VC logs
18179
18180 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18181
18182         * LaTeX.h: yet another std:: that Allan forgot.
18183
18184         * Variables.C (set): renamed from isset(), because this clashes
18185         with some HP-UX macros (grr).
18186
18187 2001-02-06  Allan Rae  <rae@lyx.org>
18188
18189         * LaTeX.h: Another bug fix.  Missing std:: this time.
18190
18191 2001-02-04  Allan Rae  <rae@lyx.org>
18192
18193         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18194         floats problem. I've left it commented out because it's not quite
18195         correct.  It should also test that the current object is a table or
18196         figure inset.  But I haven't gotten around to figuring out how to do
18197         that.  I *think* it'll be something like: "table" == inset.type()
18198
18199         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18200         bool.
18201
18202 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18203
18204         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18205         all the citation/databases/styles in the auxilary file.
18206         (run): Rerun latex if there was a babel language error.
18207
18208 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18209
18210         * text.C (Backspace): Preserve the font when changing newline char
18211         with a space.
18212         (BreakParagraph): If the cursor is before a space, delete the space.
18213
18214         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18215
18216 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18217
18218         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18219         new argument (code).
18220         (ChangeCitationsIfUnique): New method.
18221
18222         * paragraph.C (GetPositionOfInset): Handle bibkey.
18223
18224 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18225
18226         * BufferView_pimpl.h: change type of Position::par_pos to
18227         LyXParagraph::size_type.
18228
18229 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18230
18231         * BufferView_pimpl.C (savePosition, restorePosition): Write
18232         messages to minibuffer.
18233
18234 2001-01-28  José Matos  <jamatos@fep.up.pt>
18235
18236         * buffer.C (makeDocBookFile): adds support for document language.
18237         A silly restriction on the name of LatexCommand types where removed.
18238         Added support for CDATA sections, allows to chars unescaped, used
18239         among others in code, to avoid escape < and >.
18240
18241 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18242
18243         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18244         saved positions instrad of a stack. Furthermore, a position is
18245         stored using paragraph id/paragraph position.
18246
18247         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18248         Remove LFUN_REF_BACK.
18249
18250 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18251
18252         * converter.C (dvipdfm_options): New method.
18253
18254 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18255
18256         * vspace.C (isValidLength): Fix for empty input string.
18257
18258 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18259
18260         * LyXAction.C (init): change description of LFUN_FIGURE to
18261         "Insert Graphics"
18262
18263 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18264
18265         * LaTeX.C: add using directive
18266
18267 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18268
18269         * MenuBackend.C (expand): Fix the sorting of the formats.
18270
18271 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18272
18273         * lyx_main.C: tiny error message fix
18274
18275 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18276
18277         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18278         calling fl_initialize(). This fixes the problem with ',' as
18279         decimal separator in text files.
18280
18281 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18282
18283         * trans.C (process): Fix the keymap bug.
18284
18285 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18286
18287         * LaTeX.C (scanAuxFiles): New method. Provides support for
18288         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18289         (scanLogFile) Scan for "run BibTeX" messages.
18290
18291         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18292         OT1 font encoding. Also, load the aecompl package if the ae
18293         package is loaded.
18294
18295         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18296
18297 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18298
18299         * texrow.C (increasePos): turn two error messages into debug
18300         messages.
18301
18302 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18303
18304         * LaTeX.C (scanAux): Handle the \@input macro.
18305         (runBibTeX): Use scanAux().
18306
18307         * language.C (latex_options_): New field.
18308
18309         * LaTeXFeatures.C (getMacros): Add language macros.
18310
18311         * buffer.C (makeLaTeXFile): Small fix.
18312
18313 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18314
18315         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18316
18317         * text2.C: add a using directive.
18318
18319 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18320
18321         * BufferView2.C:
18322         * lyx_gui_misc.h:
18323         * lyxfr1.C:
18324         * lyxfunc.C: kill LyXBell.
18325
18326 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18327
18328         * text.C (IsBoundary): Remove the error message
18329
18330         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18331
18332         * lyxrc.C (setDefaults): Correct initialization value for
18333         font_norm_type.
18334
18335 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18336
18337         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18338         gotoError().
18339
18340         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18341         and GotoNextNote().
18342
18343         * src/LyXAction.C: Added reference-next.
18344
18345         * text.C (InsertChar): Use contains instead of strchr.
18346
18347         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18348
18349 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18350
18351         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18352         alignment commands (when needed).
18353
18354         * text.C (InsertChar): Add ':' to number separator chars.