]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
ff33553b42030fd81a241bb8d08756d296d3fc9e
[lyx.git] / src / ChangeLog
1 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * BufferView_pimpl.C (update): choose arguments to update call so
4         that single-par update works most times
5         * text3.C (dispatch): carefully tune updating separately for
6         whole-screen and current-paragraph
7         * rowpainter.C (paintText): 1) replace painting by caching for
8         the two extra paragraphs, because we can;
9         2) suppress greying out of areas below/above drawn area in case of
10         single-par refresh
11         * lyxfunc.C (dispatch): remove superfluous update
12         * LyXAction.[Ch]: introduce SingleParUpdate
13
14 2005-10-05  Angus Leeming  <leeming@lyx.org>
15
16         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
17         always initialised before use.
18
19         * text.C (setHeightOfRow): squash warning about comparison
20         of signed and unsigned types.
21
22 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * text.C (cursorX): two fixes involving RtL text drawing
25
26 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
27
28         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
29         items, not only large ones (part of bug 2057)
30
31 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
32
33         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
34         argument, use "newcommand".
35
36 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
37
38         * cursor.C (setSelection): do not open collapsable insets;
39         the insets do by themselves now (autoopen).
40
41 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
42
43         * buffer.C: format is up to 244.
44
45 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
46
47         * text.C (redoParagraph): fix calcultation of inset width wrt 
48         leftMargin (bug 1957).
49
50         * text3.C (dispatch): leave inset to the right when hitting ESC 
51         (bug 2034).
52
53 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * text2.C: 
56         * text.C: 
57         * factory.C:
58         * messages.C: include <boost/current_function.hpp> 
59
60 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
63         when command is internal. (bug 1941)
64
65 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * text2.C (cursorRight): do not honor boundary when at the end of
68         a paragraph. (bug 2010 again)
69
70 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
73
74 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
75
76         * rowpainter.C (paintText): fix RtL space width display bug (2029)
77
78 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * text2.C (setCursor): remove the unused 'boundary' parameter for
81         the CursorSlice version; adapt the LCursor version.
82
83         * lyxrc.C (write): 
84         * paragraph_pimpl.C (markErased): 
85         * cursor.C (bruteFind2, bruteFond3): fix warnings.
86
87 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
88
89         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
90         as is already done for "chapter".
91
92 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
93
94         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
95         textclass; do not record undo if nothing is changed.
96
97 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
98
99         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
100
101 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
102
103         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
104
105 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
106
107         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
108         combox, it is necessary to search for the topmost paragraph in the
109         cursor stack (bug 1926)
110
111 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
114         end of paragraph. (bug 2010)
115
116 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
117
118         * text.C (leftMargin): check for inInset == 0
119
120 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
121
122         * text.C (leftMargin): test for insetbase's new neverIndent()
123         bool instead of listing each and every inset that does not
124         wish par indendation.
125
126 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * buffer_funcs.C (setCounter): put the code to compute enum label
129         here (where it belongs).
130
131         * counters.C (enumLabel): move code to buffer_funcs.C.
132
133 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
134
135         * outputparams.[Ch]: store local_font instead of local_language
136         * paragraph.C (simpleTeXOnePar): adapt to the change above
137
138 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
139
140         * buffer_funcs.C:
141         * counters.[Ch]: clean up special code for Hebrew.
142
143 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
144
145         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
146         than 2.
147
148 2005-09-08  Angus Leeming  <leeming@lyx.org>
149
150         * ispell.C:
151         * lyxrc.C: correct grammar describing invocation of the
152         spellchecker.
153
154 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * text.C (read): remove unused variable.
157         (readParToken): remove static Change variable (never good in
158         recursive settings...); add it as a parameter instead.
159
160         * paragraph_pimpl.C (acceptChange): make debug info conditional.
161
162         * metricsinfo.C (PainterInfo): add new member erased_.
163
164         * rowpainter.C (RowPainter): add erased_ member, initialized from
165         PainterInfo. 
166         (paintInset): pass erased_ to Inset::draw.
167
168         * lyxfunc.C (lookupChange): new function. Tells whether change 
169         tracking is disabled at a given postion.
170         (getStatus): disable some actions when in deleted text with change
171         tracking. 
172
173 2005-08-03  John Levon  <levon@movementarian.org>
174         
175         * tabular.C (appendColumn, setMultiColumn): adapt to change to
176         InsetText::clear().
177
178         * paragraph_pimpl.C (markErased): add bool argument and handle it.
179         Also make sure to mark insets recursively.
180         (rejectChange, erase): be recursive
181
182         * paragraph.C (markErased): add bool argument.
183 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
184
185         * lyxfind.C (findNextChange): tiny cleanup.
186
187         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
188         change tracking with the cursor in an inset; make sure the first
189         change is not skipped.
190
191 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
192
193         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
194         tabularStackDirty to work around bug 1919 (tabular needs
195         to know whether its own cell paste buffer or the one of 
196         texted is newer.
197         * CutAndPaste.C: mark tabular_stack_ clean after copy.
198
199 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
200
201         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
202
203 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
204
205         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
206         use old deleteion algorithm when changetracking is on.
207
208 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
209
210         * messages.C (get): add debug output.
211
212 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
213
214         * text.C (cursorX): fix bug 1965: cursor movement at
215         line end broken in RtL.
216         (drawSelection): fix bug 1970: drawing of single-line 
217         selection broken for RtL.
218
219 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         bug 465.
222
223         * dociterator.h (clear, push_back, pop_back): change from
224         protected to public.
225
226         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
227         and changed to just return the value of the item depth; take a
228         ParIterator as argument; take the itemdepth at outer nesting level
229         in account if necessary; cleanup and comment the code.
230         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
231         and changed to just return true if reset is needed; take a
232         ParIterator as argument; cleanup and comment the code.
233         (setCounter): adapt to above changes.
234
235 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         * text3.C (dispatch): make debug message optional
238
239 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
242         inset. (bug 1963)
243
244 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
245
246         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
247
248 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
249
250         * text.C (insertChar):
251         * text2.C (deleteEmptyParagraphMechanism): take care whether 
252         a blank has been deleted (in change tracking mode) (bug 1254).
253
254 2005-07-20  John Levon  <levon@movementarian.org>
255
256         * text2.C (insertStringAsLines): remove old dubious code,
257         fixing bug 1939.
258
259 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
260
261         * MenuBackend.C (expandToc): use Floating::listName() as title of
262         the floats submenus.
263
264 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
265
266         * toc.[Ch]: Do not use translatable strings (bug 1870).
267
268 2005-07-20  John Levon  <levon@movementarian.org>
269
270         * tabular.C: fix 1748 - setting multicolumn adds
271           left line to the first cell
272
273 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
274
275         bug 1920
276         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
277         pars in one go.
278
279 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
280
281         * messages.C: supress some lyxerr messages
282
283 2005-07-18  Juergen Vigna  <jug@lyx.org>
284
285         * text.C (drawSelection): honor boundary when asking for cursorX.
286
287 2005-07-17  José Matos  <jamatos@fc.up.pt>
288
289         * tabular.C (recalculateMulticolumns): fix handling of one column
290         tables.
291
292 2005-07-17  Juergen Vigna  <jug@lyx.org>
293
294         * text.C (Delete, backspace): fixed so that paragraph with the
295         same layout can be merged by Delete/Backspace.
296
297 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
298
299         * text.C (readParToken): fix spelling.
300
301 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
302
303         * text2.C: fix counter update for DEPM problem reported by
304         Georg Baum
305
306 2005-07-17  Juergen Vigna  <jug@lyx.org>
307
308         * BufferView_pimpl.C (setBuffer): save/restore the
309         cursor/selection when switching buffers
310
311         * buffer.h: 
312         * buffer.C (saveCursor): add saveDocumentIterators to save the
313         cursor when switching buffer.
314
315 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
316
317         * debug.C: fix typo
318         * buffer.C: clarify message
319         
320 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
321
322         * dociterator.C (DocIterator): fix initialization order
323
324 2005-07-17  Juergen Vigna  <jug@lyx.org>
325
326         * text2.C (cursorHome): 
327         * text.C (drawSelection, cursorX): 
328         * dociterator.C (textRow): add boundary to getRow() call
329
330         * paragraph.C (getRow): implementation of below
331
332         * paragraph.h: add parameter boundary for getRow() function
333
334 2005-07-17  José Matos  <jamatos@fc.up.pt>
335
336         * buffer.C:
337         * bufferparams.[Ch]:
338         * tex-strings.[Ch]: new file format, remove support for a4.sty,
339         a4wide.sty and a4widemargins.
340
341 2005-07-17  Juergen Vigna  <jug@lyx.org>
342
343         * text2.C (cursorLeft): fix one of error
344
345 2005-07-17  Juergen Vigna  <jug@lyx.org>
346
347         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
348                    cursorEnd):
349         more fixes for boundary handling
350
351         * text3.C (dispatch): don't reset cursor if boundary has changed
352         on cursor movement.
353
354 2005-07-16  Juergen Vigna  <jug@lyx.org>
355
356         * text2.C (getColumnNearX): hopefully got it right now,
357         check if we are on column 0 for special case.
358
359 2005-07-16  Juergen Vigna  <jug@lyx.org>
360
361         * text2.C (getColumnNearX): handle special case Newline Inset
362
363         * text.C (singleWidth): Just remove bogus check
364
365 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
366
367         * funcrequest.C (split): avoid reading uninitialized char c
368
369 2005-07-16  José Matos  <jamatos@fc.up.pt>
370
371         * buffer.C:
372         * converter.C:
373         * lyxrc.C:
374         * paper.h:
375         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
376         single papersize variable.
377
378 2005-07-16  Juergen Vigna  <jug@lyx.org>
379
380         * text3.C (dispatch): honor boundary when checking if a cursor
381         movement has been done
382
383         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
384         (setCursor, setCursorIntern): fix cursor movement with boundary
385
386 2005-07-16  Juergen Vigna  <jug@lyx.org>
387
388         * text.C (currentState): output the actual Boundary
389
390 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * factory.C (createInset): fix bad logic for tabular creation
393
394 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
395
396         * lyx_main.C (init): change some reLyX reference to tex2lyx
397
398 2005-07-16  Juergen Vigna  <jug@lyx.org>
399
400         * dociterator.C (DocIterator): initialize boundary
401
402 2005-07-16  Juergen Vigna  <jug@lyx.org>
403
404         * text2.C (getColumnNearX): Consider rows without trailing blank.  
405
406 2005-07-16  André Pönitz  <poenitz@gmx.net>
407
408         * lyxfont.h: Change order of declarations to give the compiler
409         a better chance to inline things
410
411         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
412         questions on unsaved docs for better scritability
413
414 2005-07-16  André Pönitz  <poenitz@gmx.net>
415
416         * paragraph.h (getChar): remove asserts as the same kind of security
417         can be achieved by using a suitable standard library implementation
418         and the function was in the critical path (25.9% in profiler)
419
420 2005-07-16  Juergen Vigna  <jug@lyx.org>
421
422         * cursor.C (bruteFind2):
423         * bufferview_funcs.C (coordOffset): 
424         * text.C (cursorX,cursorY): Handle cursor position after last char
425         in row before a inset which uses a whole row.
426
427 2005-07-15  José Matos <jamatos@lyx.org>
428
429         * output_plaintext.[Ch] (writeFileAscii): control reference title
430         printing.
431         (asciiParagraph): noparbreak was already deal and was incorrectly
432         used.
433
434 2005-07-15  Juergen Vigna <jug@lyx.org>
435
436         * lyxfunc.C (dispatch): save and restore the cursor after a
437         textclass switch.
438
439 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
440
441         * text.C (backspace): bug 806 for empty keepempty paragraphs we
442         change the layout to default before letting DEPM do its thing.
443
444         * paragraph_funcs.C (breakParagraph): dont reset the layout on
445         keepEmpty paragraphs
446
447         * text.C (setCursorFromCoordinates): add a debug statement
448
449         * text2.C (getColumnNearX): bug 1825 make sure that we don't
450         return a pos that is not on the row
451
452         * output_latex.C (TeXDeeper): get rid of potential dereferencing
453         of past the end iterator
454
455 2005-07-14  André Pönitz  <poenitz@gmx.net>
456
457         * undo.C (recordUndoFullBuffer): implement undo for
458         textclass switches
459
460 2005-07-14  André Pönitz  <poenitz@gmx.net>
461
462         * cursor.C (setSelection): open insets when selection is set there
463         to avoid crashs with cold coord cache
464
465 2005-07-14  André Pönitz  <poenitz@gmx.net>
466
467         * trans_mgr.C (insert): move cursor to the right after inserting
468         a char.
469
470 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
471
472         * BufferView_pimpl.C (update): dampen some of the debug blabbering
473         * factory.C (readInset): ditto
474         * text.C, text2.C: ditto
475
476 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * buffer.C: format incremented to 242. There is no file format per
479         se, but the "frenchb" language has been removed from lib/language
480         and has to be translated to "french" by lyx2lyx.
481
482 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
483
484         * cursor_slice.h, dociterator.h: add some documentation
485         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
486
487 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
488
489         * text.C (leftMargin): do not add identation to display() style
490         insets, because they are always centered (bug 1293).
491
492 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
493
494         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
495         formatted_time methods in support/lyxtime.
496
497 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
498
499         * toc.[Ch]: new method getGuiName, which is used by the frontends 
500         to set the toc combo (fixes bug 1870). Make TOC string translatable.
501
502 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
503
504         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
505         StableDocIterator const &)
506         * undo.C (recordUndo): use the above instead of cell.size() comparison
507         (fixes bug 1808; instructed by Andr�.
508
509 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
510
511         * cursor_slice.h: 
512         * dociterator.h: Fix the assert when copying rows/cols in math
513
514 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
515
516         * BufferView_pimpl.C:
517         * LyXAction.C:
518         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
519
520         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
521         (findInset): new functions, refactored from goto Inset that return 
522         the position of a certain inset without setting the buffer's cursor
523         (by Jean-Marc); 
524         (gotoInset): rewrite to call findInset and then set the cursor
525         (by Jean-Marc).
526
527 2005-06-16  Angus Leeming  <leeming@lyx.org>
528
529         * lyxrc.C (output, read): wrap all input and output of paths with
530         calls to os::internal_path and os::external_path, respectively.
531         (output): wrap bind_file inside quotes.
532
533         * format.C (view): enable the viewer to use the '$$s' placeholder.
534
535 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
536
537         * LColor.[Ch] (getFromLaTeXName): new
538
539 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
540
541         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
542
543 2005-06-14  Angus Leeming  <leeming@lyx.org>
544
545         * lyx_main.C (init): ensure that the LyX binary dir is the first
546         element in the PATH on non-POSIX builds.
547
548 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
549
550         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
551
552 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
553
554         * rowpainter.C (paintInset, paintHebrewComposeChar)
555         (paintArabicComposeChar, paintChars): add a LyXFont argument.
556         (paintChars): use getFontSpan to reduce calls to getFont to a
557         minimum; use Paragraph::lookupChange instead of isXXXText.
558         (paintForeignMark): rename LyXFont argument.
559         (paintFromPos): pass a LyXFont object to the various paintXXX
560         methods.
561
562         * FontIterator.C (FontIterator, operator++): use
563         Paragraph::getFontSpan
564
565         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
566         version that returns the font span as a pair.
567
568 2005-06-09  Angus Leeming  <leeming@lyx.org>
569
570         * converter.C (convert): Don't forget "outfile = real_outfile" as
571         the final step in a conversion where the input and output file names
572         are the same. Otherwise, future conversion steps won't work...
573
574 2005-06-09  Angus Leeming  <leeming@lyx.org>
575
576         * lyxsocket.C: remove stub code as it isn't needed by
577         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
578
579 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
580
581         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
582         effectively disabled -x
583
584 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
585
586         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
587         when it actually makes sense.
588
589 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
590
591         * BufferView_pimpl.C: revert to showCursor in connection with
592         Lars's front-end stack
593
594 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
595
596         * text.C (redoParagraph): move cursor right after a bibitem
597         has been inserted.
598
599         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
600
601 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
602
603         * buffer_funcs.C (bufferErrors): fix computation of the end of an
604         error range.
605
606 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
607
608         * BufferView.[Ch] (update):
609         * BufferView_pimpl.[Ch] (update, metrics):
610         * dimension.h (operator==):
611         * lyxfunc.C (dispatch):
612         * metricsinfo.h (ViewMetricsInfo):
613         * rowpainter.C (paintText):
614         * lyxtext.h:
615         * text.C (redoParagraph):
616         * text3.C (dispatch): Make LyX only repaint current paragraph in
617         case of character insert --> speedup. Also fix cursor draw
618         artifacts
619
620 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
621
622         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
623         avoid a crash (bug 1891)
624
625 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         Fix bug 1892:
628
629         * text2.C (getStringToIndex): constify cur argument.
630
631         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
632         argument has been given
633         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
634         try to invoke LFUN_INSET_APPLY).
635
636         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
637         if no inset was created by doInsertInset
638         (doInsertInset): return true if an inset has been inserted.
639
640 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
641
642         * vspace.C (asGUIName): new method. A version of the space
643         suitable for showing on screen.
644
645 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
646
647         * MenuBackend.C:
648         * lyxrc.C: rename "ASCII" to "Plain Text"
649
650 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
651
652         * buffer_funcs.C (expandLabel): take a Buffer as argument;
653         translate the labelstring.
654         (setCounter): translate labelstring as needed.
655
656         * output_docbook.C (makeCommand): fix expandLabel invokation
657
658 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
659
660         * BufferView.C: fix dialog title
661
662 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
663
664         * lyx_main.C (priv_exec): fix logic error with help from Angus
665         * lyx_main.C (parse_execute): set is_gui = false and remove now
666         obsolete comment about a segfault
667
668 2005-05-18  Angus Leeming  <leeming@lyx.org>
669
670         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
671
672 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
673
674         * tabular.[hC]: added setCellInset to fix tabular paste.
675
676 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
677
678         * buffer.C (save): check if destination is writable before trying
679         to copy a file
680
681 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
682
683         * BufferView_pimpl.C (update): fix processEvents -caused update
684         recursion bug
685
686 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * buffer_funcs.C (setCounter): fix test for numbering of
689         environments.
690
691         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
692         depth correctly; use optional argument when it exists
693
694         * lyxtextclass.C: remove unused MaxCounterTags enum
695         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
696         (max_toclevel, min_toclevel): new methods.
697
698         * MenuBackend.C (expandToc2): fix case where depth is smaller than
699         the smallest depth in toc.
700
701         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
702         layouts that should not appear in a table of contents.
703
704 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
705
706         * cursor.h (undispatched, noUpdate): add comments from Andr�
707 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
708
709         * lfuns.h:
710         * LyXAction.C:
711         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
712
713 2005-05-07  André Pönitz  <poenitz@gmx.net>
714
715         * cursor.[Ch] (leaveInset): new function
716
717 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
718
719         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
720
721 2005-05-04  Angus Leeming  <leeming@lyx.org>
722
723         * lyxfunc.C (getStatus): disable the spell checker dialog if
724         none of USE_[AIP]SPELL are defined.
725
726 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
727
728         * tabular.C (setWidthOfCell): remove obsolete comment
729
730 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
731
732         * paragraph.C (bibitem):
733         * buffer_funcs.C (setCounter):
734         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
735
736 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
737
738         * text3.C (getStatus): immediately return after setOnOff
739
740         * rowpainter.C: fix drawing of appendix start
741
742 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
743
744         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
745         SwitchBetweenClasses and remove the unused return value.
746         Handle character styles, too
747
748 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * factory.C (createInset): handle undefined character styles
751
752 2005-05-02  Angus Leeming  <leeming@lyx.org>
753
754         * buffer.C: protect the #include of utime.h with a preprocessor
755         guard.
756
757 2005-05-02  Angus Leeming  <leeming@lyx.org>
758
759         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
760         function so that auto-saving works, albeit in a blocking manner.
761
762         * Makefile.am: make compilation of the client sub directory, of
763         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
764         on conditionals set at configure time.
765
766         * SpellBase.[Ch]: no longer an abstract base class. Instead,
767         it can be compiled in its own right but has no-op functionality.
768
769         * aspell.C, pspell.C: remove preprocessor guards. The files should
770         be compiled only if the necessary functionality exists.
771
772         * lyxserver.C, lyxsocket.C: disable on Windows.
773
774 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
775
776         * text.C (leftMargin): Fix the parindent use bug (1764)
777         by dirty trick
778
779 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
780
781         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
782         argument.
783
784 2005-04-25  Angus Leeming  <leeming@lyx.org>
785
786         * Bidi.[Ch]:
787         * coordcache.[Ch]:
788         * ispell.C:
789         * lyxserver.C:
790         * mover.C:
791         * pch.h:
792         include <config.h> in .C files, not .h ones.
793         add licence blurb.
794         protect headers inside preprocessor guards.
795
796 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
797
798         * FuncStatus.h (StatusCodes): document
799
800 2005-04-21  André Pönitz  <poenitz@gmx.net>
801
802         * FuncStatus.h (enabled, onoff): document
803
804 2005-04-19  Angus Leeming  <leeming@lyx.org>
805
806         * BufferView_pimpl.C (cursorToggle): no longer test whether
807         any child processes have been reaped before calling
808         handleCompletedProcesses().
809
810 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
811
812         * text3.C (dispatch): fix, finally fix, the language problem in
813         new lyxtexts, without disabling on-the-fly font changes (Helge's
814         bug report)
815
816 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
817
818         * text3.C (dispatch): set cursor on double/triple click events
819         (bug 1811)
820
821 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
822
823         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
824         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
825
826         * rowpainter.C (paintFirst): simplify the code a little bit. In
827         particular, remove the test for secnumdepth.
828         * text.C (setHeightOfRow): only allocate space for chapter number
829         when updateCounters provided an actual label, instead of looking
830         at secnumdepth directly.
831
832         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
833
834         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
835         paragraphs when secnumdepth is large enough or, for environments,
836         when they are not the first in a sequence.
837
838 2005-04-17  Angus Leeming  <leeming@lyx.org>
839
840         * buffer.C (makeLaTeXFile): replace code to manipulate a path
841         containing space and '~' characters with a call to latex_path().
842
843 2005-04-17  Angus Leeming  <leeming@lyx.org>
844
845         * converter.C (convert): protect all args of convertDefault.sh
846         script with quotes.
847
848 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
849
850         * text3.C (dispatch): change the layout to "Caption" after inserting
851         a float.
852
853 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
854
855         * text3.C (dispatch): fix language problem in newly created
856         textinsets (and main text) in non-english docs
857
858 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
859
860         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
861         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
862         * text3.C (getStatus): disable LFUN_INSET_MODIFY
863
864 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
865
866         * lyxtext.h:
867         * text.C (metrics):
868         * text2.C (getFont):
869         * rowpainter.C (getFont): Fix metrics bug introduced by inset
870         fonts fix
871
872 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
873
874         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
875         output of \item arguments without trailing text.
876
877 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
878
879         * FontIterator.C (operator*): avoid a copy of the font.
880
881 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
882
883         * rowpainter.C (getFont): fix language bug from previous fix
884
885 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
886
887         * rowpainter.C (RowPainter, getFont): fix font inside inset
888         (bugs 1766, 1809)
889
890 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
891
892         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
893         preventing inserted font, deco, delim insets jumping to start of
894         surrounding inset.
895
896 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * lyxfunc.C (dispatch): translate message before sending it to the
899         minibuffer.
900
901 2005-03-29  Angus Leeming  <leeming@lyx.org>
902
903         * lyx_main.C (priv_exec): call os::internal_path on each file passed
904         to LyX on the command line.
905
906 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
907
908         * vc-backend.C: use QuoteName to protect file names wherever
909         necessary.
910
911 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
912
913         * buffer.[Ch]:
914         * BranchList.h: fix bugs 1844,1845: document settings don't
915         stick
916
917 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * lyxrc.C (setDefaults, read, output, getDescription): add support
920         for tex_allows_spaces.
921
922         * exporter.C (Export): allows files in directory containing spaces
923         if tex_allows_spaces is true.
924
925         * buffer.C (makeLaTeXFile): if the document path contains spaces,
926         output it in double quotes.
927
928 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
929
930         * rowpainter.C: use default text height for drawing change tracker
931         strikeout lines.
932
933 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
934
935         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
936
937 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
938
939         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
940         directory is missing.
941
942 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
943
944         * text2.C: fixed the fix, extended to other case.
945
946 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
947
948         * text2.C: fix for cursor up/down stuck in math [bug 1792]
949
950 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
951
952         * text2.C (cursorUp): get rid of a crash
953         * text.C (x2pos): add an assert
954
955 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
956
957         * lyxfunc.C (getStatus): fix warning when assertions are disabled
958
959         * text3.C:
960         * lyxfunc.C:
961         * dociterator.C: include <boost/current_function.hpp>, which is
962         needed when assertions are disabled.
963
964 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
965
966         * text2.C: fix for stuck cursor when traversing two
967         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
968
969 2005-02-25  Andreas Vox  <avox@arcor.de>
970
971         * output_docbook.C (makeParagraph): suppress trailing newline
972         after a run of paragraphs
973
974 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
975
976         * paragraph.C: fix for confused change tracker when pasting
977         text that begins with a lineseparator. [bug 1827]
978         (setChange(0, Change::INSERTED);)
979
980         * paragraph_funcs.C: fix for lost changes on triple-paste
981         in change tracking mode [bug 1827] (par.setChange()).
982
983 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * text2.C (updateCounters, setCounter, expandLabel): move to
986         buffer_funcs.
987
988         * buffer_funcs.C (updateCounters): turn into a free standing
989         function and add a buffer parameter. Remove dead code for tracking
990         labelstring change.
991         (setCounter): change into a free-standing function which gets a
992         dociterator as argument. Use this iterator to fix captions in a
993         simple way. When no float is found above the caption, use the
994         labelstring of the caption layout as default.
995
996         * text.C (breakParagraph, backspace):
997         * text2.C (init, setLayout, changeDepth):
998         * text3.C (dispatch):
999         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1000         updateCounters.
1001
1002         * dociterator.C (forwardPar): make it much faster by calling
1003         forwardPos() only when really necessary.
1004
1005         * output_docbook.C (makeCommand): adapt to expandLabel move.
1006
1007         * cursor.C: remove unused variable
1008
1009 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1010
1011         * paragraph_funcs.C: fix crash when pasting insets in change
1012         tracking mode [bug 1277] (honour change type in moveItem).
1013
1014 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1015
1016         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1017
1018 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * BufferView.C (setCursor): change to use a DocIterator.
1021         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1022         (putSelectionAt): adapt to BufferView::setCursor change.
1023
1024         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1025         moved here from LyXText and rewritten to use proper cursor
1026         methods. Fixes bug 1787, 616 and 835.
1027
1028         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1029         when inside an inset (part of bug 781).
1030         (dispatch): adapt to change of BufferView::setCursor.
1031         (getStatus, dispatch): handle LFUN_GOTOERROR,
1032         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1033
1034         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1035         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1036         * text3.C (gotoNextInset, gotoInset): removed.
1037
1038 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1039
1040         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1041
1042 2005-02-15  Angus Leeming  <leeming@lyx.org>
1043
1044         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1045         can be used meaningfully in a comparison.
1046
1047 2005-02-13  André Pönitz  <poenitz@gmx.net>
1048
1049         * bufferview_funcs.C (coordOffset): improve cursor drawing
1050
1051 2005-02-13  André Pönitz  <poenitz@gmx.net>
1052
1053         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1054         * Cursor.C (dispatch): use fixIfBroken
1055         * lyxfunc.C (getStatus): use fixIfBroken
1056
1057 2005-02-15  Angus Leeming  <leeming@lyx.org>
1058
1059         * lyx_main.C (error_handler):
1060         * lyxfunc.C:
1061         * lyxrc.C (setDefaults):
1062         s/GetEnv/getEnv/.
1063         #include "environment.h".
1064
1065         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1066
1067 2005-02-15  Angus Leeming  <leeming@lyx.org>
1068
1069         * lyxserver.C (startPipe): squash MSVC warning "local variable
1070         'fd' used without having been initialized".
1071
1072 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1073
1074         * BufferView_pimpl.C: revert accidental commit.
1075
1076 2005-02-14  André Pönitz  <poenitz@gmx.net>
1077
1078         * dociterator.[Ch]: new member forwardPosNoDescent(),
1079         which doesn't enter nested insets.
1080         * text2.C (setFont): use forwardPosNoDescent() instead
1081         of ForwardPos() (fixes crash on font change).
1082
1083 2005-02-13  Angus Leeming  <leeming@lyx.org>
1084
1085         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1086         only if lyxrc.path_prefix is not empty.
1087
1088 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1089
1090         * bufferparams.C (readGraphicsDriver): prevent crash
1091
1092 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1093
1094         * text2.C (setCounter): check for inInset() == 0
1095
1096 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1097
1098         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1099         but use update() to get correct screen display; use convert
1100         instead of istringstream.
1101         (getStatus): handle LFUN_GOTO_PARAGRAPH
1102
1103         * lyxfunc.C (dispatch, getStatus): do not handle
1104         LFUN_GOTO_PARAGRAPH here.
1105
1106 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1107
1108         * text3.C (dispatch): size() -> depth()
1109
1110         * text2.C: remove some debug output
1111
1112         * paragraph.C: ws changes only
1113
1114         * lyxfunc.C (getStatus): size() -> depth()
1115
1116         * dociterator.h (clear, push_back, pop_back, internalData,
1117         operator[], resize, empty): new functions
1118         Make StableDocIterator and operator== be friends. Don't inherit
1119         from std::vector use a privat class variable slices_ instead.
1120         Modify to fit.
1121
1122         * dociterator.C: update because of not inheriting from std::vector
1123         anymore. Call explictly to slices_ instead. Use depth() instead of
1124         size() and top() instead of back()
1125
1126         * cursor.C: chagne size() -> depth and back() -> top(). Also
1127         remove some direct operator[](i) calls in favour of foo[i]
1128         (getFont): remove some dead code
1129
1130         * bufferview_funcs.C (coordOffset): size() -> depth()
1131
1132         * buffer.C: ws changes only
1133
1134         * CutAndPaste.C (eraseSelection): back() -> top()
1135
1136         * BufferView_pimpl.C (selectionRequested): back() -> top()
1137
1138         * BufferView.C (setCursor): size() -> depth()
1139
1140 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1141
1142         * text3.C (cursorPrevious): return true if depm changed something
1143         (cursorNext): ditto
1144         (dispatch): rename sl to oldTopSlice, remove moving use the new
1145         NoUpdate func attrib instead. Make sure that needsUpdate is set
1146         for function that have NoUpdate, but where depm might have changed
1147         the buffer anyway.
1148
1149         * text2.C (cursorLeft): make us return true if depm changed
1150         something
1151         (cursorRight): ditto
1152         (cursorUpParagraph): ditto
1153         (curosrDownParagraph): ditto
1154         (cursorUp, cursorDown): ditto, make sure to read comments in code
1155         (deleteEmptyParagraphMechanism): remove an assert, also return
1156         true if just a single char was deleted.
1157
1158         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1159         cursor that we modify, to avoid modifying an active cursor before
1160         we call setCursor. This allows depm to run. Also return true if
1161         depm deleted something.
1162
1163         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1164         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1165         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1166         something was changed in the buffer because of them (ie. depm run)
1167
1168         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1169         debug messages. Make update by default be false. Make sure that
1170         the result of update is retained throught several calls down to
1171         dispatch.
1172
1173         * LyXAction.h: add a new func_attrib: NoUpdate
1174
1175         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1176         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1177         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1178         and LFUN_WORDLEFT
1179         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1180
1181 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1182
1183         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1184         bv_->owner(), bv_->buffer() by direct references to the private
1185         members.
1186         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1187         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1188         (fitCursor): center() is in BufferView::Pimpl.
1189         (getStatus, trackChanges, dispatch): no need for a temporary buf
1190         variable
1191         (fitCursor, workAreaDispatch): use workarea().workheight()
1192
1193 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1194
1195         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1196
1197 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1198
1199         * buffer.C: format up to 241.
1200         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1201         break if pasting into ERT
1202         * lyxfunc.C (getStatus): suppress mathpanel and
1203         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1204
1205 2005-02-01  Angus Leeming  <leeming@lyx.org>
1206
1207         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1208
1209 2005-02-01  Angus Leeming  <leeming@lyx.org>
1210
1211         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1212         calling fs::is_directory().
1213
1214 2005-01-31  Angus Leeming  <leeming@lyx.org>
1215
1216         * lyx_main.C (priv_exec): specify explicitly the relative location
1217         of the top level build directory when run in-place.
1218
1219 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1220
1221         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1222         LyXText containing the cursor, not the top-level one.
1223
1224         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1225         true.
1226         (insertStringAsLines): rename par to pit; use temporary variable
1227         par to hold a Paragraph; do not store par.layout() in a variable,
1228         since the pointer may die when breaking paragraphs; pass pars to
1229         breakParagraph() instead of Buffer::paragraphs().
1230
1231 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1232
1233         * lyxlex_pimpl.h: #include <fstream>.
1234
1235         * BufferView.[Ch] (getLyXText): add a const version.
1236
1237         * BufferView_pimpl.C: add debug aids.
1238
1239         * RowList_fwd.h:
1240         * buffer.h:
1241         * lyxrow.h:
1242         * paragraph_funcs.h: add commentary explaining what the class does.
1243
1244
1245         * coordcache.[Ch]: add lots of commentary.
1246         (startUpdating, doneUpdating): debug aids.
1247         (arrays, insets, parPos, getParPos): accessors to private data.
1248
1249         * cursor_slice.[Ch] (text): add a const version.
1250         * dociterator.[Ch] (text, innerText): add const versions.
1251
1252         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1253         bool.
1254
1255         * paragraph.C (getRow, pos2ros): add asserts.
1256
1257         * paragraph.h: add commentary. Lots of.
1258
1259         * paragraph.[Ch] (metrucs, draw): removed.
1260
1261         * cursor.C:
1262         * rowpainter.[Ch]: const-correct changes.
1263
1264         * text.C: various obvious clean-ups. Removal of ancient cruft.
1265         Bug fixes, even.
1266
1267 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1268
1269         * vc-backend.C (find_file): rewrite to use boost.filesystem
1270         (scanMaster): ditto
1271
1272         * main.C (main): set default name check for boost.filesystem to
1273         no check
1274
1275         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1276         (open): ditto
1277         (doImport): ditto
1278         (actOnUpdatedPrefs): ditto
1279
1280         * lyx_main.C (init): rewrite to use boost.filesystem
1281         (queryUserLyXDir): ditto
1282
1283         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1284         (getContentsOfAsciiFile): ditto
1285
1286         * lastfiles.C (readFile): rewrite to use boost.filesystem
1287
1288         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1289
1290         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1291         (loadLyXFile): ditto
1292
1293         * buffer.C (Buffer): adjust for destroydir
1294         (getLogName): rewrite to use boost.filesystem
1295         (setFileName): ditto
1296         (save): use fs::copy_file (from fs_extras)
1297
1298         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1299
1300         * LaTeX.C (run): rewrite to use boost.filesystem
1301         (scanAuxFiles): ditto
1302         (handleFoundFile): ditto
1303
1304 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1305
1306         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1307
1308         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1309
1310 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1311
1312         * lyxlayout.[Ch]: change some vars from float to double
1313
1314         * buffer.C (readFile): make a local var const
1315
1316         * Several files: use convert<> instead of atoi,strToXXX and friends
1317
1318 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1319
1320         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1321         holds the contents of packages.lst. New functions getAvailable
1322         and isAvailable to parse and check that list, resp.
1323
1324         * LyXAction.C:
1325         * lfuns.h:
1326         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1327
1328         * bufferparams.[Ch]: new param output_changes.
1329
1330         * Buffer.C: increase file format to 240.
1331         Use output_changes and isVailable.
1332
1333         * changes.[Ch]:
1334         * paragraph.C:
1335         * paragraph_pimpl.C: Use output_changes and isVailable.
1336
1337 2005-01-23  Angus Leeming  <leeming@lyx.org>
1338
1339         * output_latex.C: #include "insetbibitem.h", rather than
1340         forward declare function bibitemWidest.
1341
1342 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1343
1344         * lyx_main.C (init): make it compile on the Mac.
1345
1346 2005-01-20  Angus Leeming  <leeming@lyx.org>
1347
1348         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1349         (setLyXMisc): (char string literal) != (char string literal) is
1350         performing a comparison on the addresses. Convert one operand
1351         explicitly to string to guarantee expected behaviour.
1352         From MSVC warning.
1353
1354 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1355
1356         * buffer.C:
1357         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1358
1359         * output_plaintext.C: remove unneeded #include gzstream.h.
1360
1361 2005-01-20  Angus Leeming  <leeming@lyx.org>
1362
1363         * SpellBase.h: rename some of the elements of the Result enum.
1364
1365         * aspell_local.h:
1366         * ispell.h:
1367         * pspell.h:
1368         * aspell.C (check):
1369         * ispell.C (check):
1370         * pspell.C (check): ditto
1371
1372 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1373
1374         * buffer.C: add #include <fstream>.
1375
1376         * lyx_main.C (init): Compile fix.
1377
1378         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1379
1380 2005-01-20  Angus Leeming  <leeming@lyx.org>
1381
1382         * mover.h: change commentary to reflect the changed meaning of
1383         the $$s placeholder.
1384
1385 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1386
1387         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1388
1389         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1390
1391 2005-01-20  Angus Leeming  <leeming@lyx.org>
1392
1393         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1394         printing diagnostic data by not dereferecing an iterator past the
1395         end.
1396
1397 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1398
1399         * buffer.C (readHeader): use "&&" rather than "and".
1400
1401         * lyxserver.h (inPipeName, outPipeName): make these const.
1402
1403 2005-01-19  Angus Leeming  <leeming@lyx.org>
1404
1405         * lyx_main.C (error_handler, init): protect SIGHUP with
1406         #ifdef SIGHUP guards.
1407
1408 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1409
1410         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1411
1412 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1413
1414         * text.C (setHeightOfRow): add a margin at the top and bottom of
1415         the document (bug 1761)
1416
1417 2005-01-17  Angus Leeming  <leeming@lyx.org>
1418
1419         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1420         with "python ". Workaround for a brain-dead Windows.
1421
1422 2005-01-16  Angus Leeming  <leeming@lyx.org>
1423
1424         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1425         for MacOSX and Windows to use prependEnvPath.
1426         Strip out the hard-coded block to add elements to the PATH for
1427         MacOSX and replace it with a call to prependEnvPath using the
1428         contents of LyXRC::path_prefix.
1429         (queryUserLyXDir): strip out the code to run reconfigure, instead
1430         returning a boolean indicating the necessity to do so.
1431         (reconfigureUserLyXDir): contains the code to reconfigure the
1432         user support directory. Is now called after the various LyXRC data
1433         files have been read.
1434
1435         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1436
1437 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1438
1439         * converter.[Ch] (convert): take a new parameter try_default. Use
1440         a default converter (imagemagick) if try_default is true.
1441
1442 2005-01-13  Angus Leeming  <leeming@lyx.org>
1443
1444         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1445         os::cygwin_path_fix.
1446         (write): output LyXRC::cygwin_path_fix as necessary.
1447
1448 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1449
1450         * lyxrc.h:
1451         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1452
1453 2005-01-12  Angus Leeming  <leeming@lyx.org>
1454
1455         * lyx_main.C (init): set the PATH variable to include the
1456         directory containing the LyX binary when running on Mac or Windows.
1457
1458 2005-01-12  Angus Leeming  <leeming@lyx.org>
1459
1460         * lyx_main.C (init): remove cruft that purports to set the locale
1461         dir. It doesn't and is not needed anyway.
1462
1463 2005-01-10  Angus Leeming  <leeming@lyx.org>
1464
1465         * Makefile.am: remove the lyx_main.C special casing.
1466
1467         * BufferView_pimpl.C:
1468         * bufferlist.C:
1469         * exporter.C:
1470         * lyx_cb.C:
1471         * lyx_main.C:
1472         * lyxfunc.C:
1473         * messages.C: use support/package.h to provide the paths to the
1474         various directories used by LyX.
1475
1476 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1477
1478         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1479         layout if pasting into an empty paragraph)
1480
1481 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1482
1483         * tex-accent.C: add <string>
1484
1485 2005-01-06  José Matos  <jamatos@lyx.org>
1486
1487         * ParagraphParameters.C (write): put every parameter in its own line.
1488         * paragraph.C (write): reduce number of consecutive empty lines exported.
1489         * buffer.C (LYX_FORMAT): increase file format to 239.
1490
1491 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1492
1493         * everywhere: change support/tostr.h -> support/convert.h
1494
1495         * tabular.C: make all write_attributes templates, tostr -> convert
1496
1497         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1498         (emptyTag): and -> &&, and fix type for ret from getChar
1499         (getFirstWord): fix type for ret from getChar
1500         (onlyText): and -> &&
1501         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1502         getChar
1503
1504         * toc.C (goTo, action):
1505         * text3.C (dispatch):
1506         * text.C (currentState):
1507         * tex-accent.C (DoAccent):
1508         * sgml.C:
1509         * lyxrc.C:
1510         * lyxfunc.C (menuNew):
1511         * lyxfinc.C (replace):
1512         * counters.C (laberItem):
1513         * bufferview_funcs.C (font2string):
1514         * bufferparams.C (writeFile):
1515         * buffer.C (readFile):
1516         * Spacing.C (set):
1517         * MenuBackend.C: tostr -> convert
1518
1519         * LaTeX.C (runMessage): fix format
1520         (scanAuxFiles): tostr -> convert
1521
1522         * BufferView_pimpl.C (savePosition): fix format
1523         (restorePosition): ditto
1524         (dispatch): ditto
1525
1526 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1527
1528         * Spacing.[Ch]: New method getValueAsString().
1529
1530         * Spacing.[Ch]:
1531         * bufferparams.C:
1532         * ParagraphParameters.C:
1533         * lyxlayout.C:
1534         * text.C:
1535         * text3.C: store/read spacing value as string.
1536
1537         * rowpainter.C: change float value (spacing_val) to double.
1538
1539         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1540         broken custom document spacing).
1541
1542 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1543
1544         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1545         namespace, also more use of temp references and const
1546
1547         * cursor.[Ch] (getStatus): move to lyxfunc.C
1548
1549         * bufferparams.C: reformat slightly
1550
1551         * bufferview_funcs.C (font2string): constify arg
1552
1553         * changes.C:
1554         * converter.C:
1555         * counters.C:
1556         * bufferlist.C:
1557         * buffer_funcs.C: (many funcs): constify arg on function
1558         definitions, also make more local vars const, also add ASSERTS on
1559         pointer args.
1560
1561         * buffer.C (LYX_FORMAT): put const in correct place
1562         (many funcs): constify arg on function definitions, also make
1563         more local vars const
1564
1565         * aspell_local.h: remove "struct" from typdef setup
1566
1567         * aspell.C (check): make word_ok const
1568         (nextMiss): simplify slightly
1569         (error): ditto
1570
1571 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1572
1573         * lyxrc.[Ch]: store all float values as strings.
1574         use int (not float) for lyxrc.dpi.
1575
1576 2005-01-04  Angus Leeming  <leeming@lyx.org>
1577
1578         * lyx_cb.C (Reconfigure):
1579         * lyx_main.C (queryUserLyXDir):
1580         to run the <system_lyxdir>/configure correctly on Windows, prefix
1581         the path to the script with "sh " when generating the string that
1582         is passed to system().
1583
1584 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1585
1586         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1587
1588 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1589
1590         * lyxlength.C (asLatexString): get rid of setprecision
1591
1592 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1593
1594         * text2.C (setLayout): remove unused variable endpit.
1595         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1596
1597         * paragraph.C (onlyText): remove unused variable style.
1598
1599         * cursor.C (bruteFind): remove unused variables beg and end.
1600
1601         * Makefile.am (dist_noinset_DATA): not needed anymore
1602
1603         * cheaders/*: remove.
1604
1605 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1606
1607         * text3.C: fix LFUN_MATH_MODE.
1608
1609 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1610
1611         * buffer_funcs.C (countWords): new function. Counts words between
1612         two iterators.
1613
1614         * BufferView_pimpl.C (getStatus, dispatch): handle
1615         LFUN_WORDS_COUNT.
1616
1617         * LyXAction.C (init):
1618         * lfuns.h: add LFUN_WORDS_COUNT.
1619
1620 2004-12-19  Angus Leeming  <leeming@lyx.org>
1621
1622         * buffer.C (save): s/slashify_path/internal_path/.
1623
1624 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1625
1626         * lyxfind.C (findChange): do not search for end of pars, because
1627         the change tracker cannot handle this (fixes bug 1719).
1628
1629 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1630
1631         * paragraph.[Ch] (autoBreakRows): remove
1632
1633         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1634
1635         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1636         avoid using the paragraph one
1637
1638         * text2.C (LyXText, insertStringAsLines): adjust
1639
1640 2004-12-16  Angus Leeming  <leeming@lyx.org>
1641
1642         * bufferlist.C:
1643         * lyx_main.C:
1644         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1645
1646 2004-12-14  Angus Leeming  <leeming@lyx.org>
1647
1648         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1649
1650         * bufferlist.C (emergencyWrite):
1651         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1652         GetEnvPath("HOME").
1653
1654 2004-12-14  Angus Leeming  <leeming@lyx.org>
1655
1656         * main.C: (main): no longer pass pointers to os::init.
1657
1658 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1659
1660         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1661         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1662
1663 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1664
1665         * lyxfunc.C:
1666         * text3.C: remove selection_possible global flag
1667
1668 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1669
1670         * text2.C (getSelectionSpan): remove
1671         (changeDepth, changeDepthAllowed): adjust
1672
1673 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1674
1675         * Makefile.am (BOOST_LIBS): use boost variables
1676
1677 2004-12-03  José Matos  <jamatos@lyx.org>
1678
1679         * buffer.C: format up to 238.
1680
1681 2004-12-03  José Matos  <jamatos@lyx.org>
1682
1683         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1684
1685 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * cursor.C (goUpDown): remove call to idxUpDown2
1688
1689 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1690
1691         * tabular.[Ch]: use size_t-like types for cell, row and column
1692         indices
1693
1694 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1695
1696         * lyxfunc.C (getStatus): do not lose previous information when
1697         calling BufferView::getStatus; do not set a default "Command
1698         disabled" message at the beginning, but just before returning.
1699
1700 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1701
1702         * cursor.h (getStatus): add better comment from src/cursor.C
1703
1704 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1705
1706         * text3.C (getStatus): return false when the lfun is not handled
1707
1708 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1709
1710         * broken_headers.h: remove
1711
1712         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1713
1714 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1715
1716         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1717         offset_ref accessors
1718
1719         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1720         top_y_, merge fitcursor with update
1721         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1722         coord scheme
1723         (metrics): introduce
1724         (workAreaDispatch): adapt to new coord scheme
1725         (redoCurrentBuffer): remove
1726
1727         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1728
1729         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1730         CurStatus enum.
1731
1732         * coordcache.[Ch]: add paragraph cache and helpers
1733
1734         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1735         adjust everywhere
1736
1737         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1738         (targetX, setTargetX): introduce
1739
1740         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1741         baseline -> ascent, as the rest of lyx
1742
1743         * lyxtext.h: remove redoParagraphs, updateParPositions,
1744         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1745         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1746         have ascent/descent (ascent is ascent of first par)
1747
1748         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1749         step of BufferView
1750
1751         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1752
1753         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1754
1755         * pariterator.C: fix infinite loop introduced in par->pit renaming
1756
1757         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1758         in insets and LyXText, draw two off-screen paragraphs using
1759         NullPainter, and adapt to new coord scheme
1760
1761         * text.C:
1762         * text2.C:
1763         * text3.C: adapt lfun handlers to the new coord scheme, which
1764         means: there's only guaranteed coord information for onscreen pars
1765         plus one above and one below. This implies that one can do search
1766         from y coordinates in the range [-1,workHeight]
1767
1768 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1769
1770         * rename a lot of InsetOld to InsetBase
1771
1772 2004-11-25  Angus Leeming  <leeming@lyx.org>
1773
1774         * BufferView_pimpl.C:
1775         * lyx_cb.C:
1776         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1777
1778 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1781         call BufferView::getStatus if LCursor::getStatus did nothing
1782         (setStatusMessage, getStatusMessage): removed.
1783
1784         * FuncStatus.C (message): new methods. Used to provide an error
1785         message indicating why a command is disabled.
1786         (clear, |=, FuncStatus): update for message.
1787
1788 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1789
1790         * lyxfunc.C (dispatch): always call sendDispatchMessage
1791
1792 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * BufferView.C:
1795         * BufferView_pimpl.C:
1796         * CutAndPaste.C:
1797         * FontIterator.C:
1798         * buffer.C:
1799         * cursor.C:
1800         * cursor_slice.[Ch]:
1801         * dociterator.[Ch]:
1802         * lyxfind.C:
1803         * paragraph_funcs.C:
1804         * pariterator.C:
1805         * rowpainter.C:
1806         * text.C:
1807         * text2.C:
1808         * text3.C:
1809         * undo.C: par->pit renaming
1810
1811 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1812
1813         * tabular.C (cellstruct): use initialization, store a shared_ptr
1814         to insettext instead of the insettext directly, adjust to fit.
1815         (operator=):  new function
1816         (swap): new function
1817         (rowstruct): use initialization
1818         (columnstruct): use initialization
1819         (ltType): use initialization
1820
1821
1822         * lyxlength.h (swap): new function
1823
1824         * LColor.[Ch] (operator=): use the common semantics
1825
1826 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * lyxfind.C (findNextChange): update the bufferview after setting
1829         the selection.
1830
1831 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1832
1833         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1834         number of InsetOptArgs has already been inserted.
1835
1836         * output_latex.C (latexOptArgInsets): new method. This outputs all
1837         the optarg insets, up to the limit defined in the layout file.
1838         (optArgInset): removed
1839         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1840
1841 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842
1843         * paragraph.C (isLetter): remove special spellchecker-related
1844         code; return true also for digits
1845         (isWord, isKomma): remove
1846
1847         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1848         * lyxfind.C (MatchString()): use isLetter instead of isWord
1849
1850 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1851
1852         * pariterator.h (operatir=): comment out un-implemented member
1853         function.
1854
1855         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1856         static cast.
1857
1858 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1859
1860         * lyxfont.h: include LColor.h to satisfy concept checks.
1861
1862 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1863
1864         * pariterator.h: add typdefs for value_type, difference_type,
1865         pointer and reference to satisfy concept checks. Also add default
1866         constructor for same reason.
1867
1868         * pariterator.C (operator++): add post-increment operator to
1869         satisfy concept checks.
1870
1871         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1872         checks.
1873
1874         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1875
1876         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1877         checks. Also rename base_type to BaseType to follow naming
1878         standard better.
1879
1880         * FloatList.h: include Floating.h to satisfy concept checks.
1881
1882 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1883
1884         * lyxfunc.C (getStatus): when the origin of the request is menu or
1885         toolbar, and the LyXView does not have focus, do as if there was
1886         no buffer (bug 1720)
1887
1888         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1889         FuncRequest to individual entries of LFUN_SEQUENCE
1890
1891 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1892
1893         * output_latex.C (TeXOnePar): override runparams.moving_arg
1894         according to the needprotect value of the current paragraph (bug
1895         1739)
1896
1897         * paragraph.C (simpleTeXOnePar): no need to override
1898         runparams.moving_args here
1899
1900 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1901
1902         * vspace.C: fix off-by-one-error, related to fix #1682
1903
1904 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1905
1906         * lengthcommon.C: a more general fix for bug 1682
1907
1908 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1909
1910         * text.C (backspace): fix crash
1911
1912 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1913
1914         * format.[Ch] (getFormatFromFile): new method
1915         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1916
1917 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1918
1919         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1920
1921 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * lyxfunc.C (dispatch): remove the verbose argument
1924         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1925         instead
1926
1927         * kbmap.C (defkey): set the origin of func to KEYBOARD
1928
1929         * MenuBackend.C (MenuItem):
1930         * ToolbarBackend.C (add): set the origin of func to UI
1931
1932         * funcrequest.[Ch]: add origin member, which indicates which part
1933         of LyX requests an action
1934
1935 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1936
1937         * converter.C (move): don't lie in the error message
1938         * converter.h (isReachable, move): document
1939
1940 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1941
1942         * buffer.C: remove unused using lyx::support::atoi
1943         * paragraph_funcs.C: ditto
1944
1945 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1946
1947         * bufferlist.C (exists): use bind and equal_to instead of
1948         compare_memfun
1949         (getBuffer): ditto
1950         * lyxtextclasslist.C (NumberOfClass): ditto
1951
1952         * cursor.C (insert): use for_each instead of explicit for loop
1953
1954         * bufferlist.C (getFileNames): use std::transform and
1955         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1956
1957         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1958         for loop
1959
1960         * buffer.C (changeLanguage): use for_each instead of explicit for
1961         loop
1962         (hasParWithID): implement using getParFromID
1963
1964         * LaTeXFeatures.C: ws change only
1965
1966         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1967         to cleanup a bit.
1968
1969         * BufferView_pimpl.C (trackChanges): use for_each instead of
1970         expilicit for loop
1971
1972 2004-11-04  André Pönitz  <poenitz@gmx.net>
1973
1974         * undo.h:
1975         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1976
1977         * dociterator.C (asDocIterator): use hard assert again.
1978
1979 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1980
1981         * lyxlength.C (asLatexString): rewrite so that it does not use
1982         snprintf anymore
1983
1984 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1985
1986         * text3.C (specialChar, dispatch): make sure cursor moves to the
1987         right after inserting an inset
1988
1989 2004-11-02  José Matos  <jamatos@lyx.org>
1990
1991         * output_docbook.C (docbook):
1992         * paragraph.C (getID):
1993         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1994         garantee that the output is always legal.
1995
1996         * tabular.C (docbook):
1997         * outputprams.[Ch]: remove mixed contents.
1998
1999 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2000
2001         * text2.C (setCounter): prevent endless loop
2002
2003 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2004
2005         * exporter.C (copyFile): use the mover instead of support::copy()
2006         * exporter.C (Export): pass format and latex name to copyFile()
2007         * exporter.h (addExternalFile): document
2008         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2009
2010 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2011
2012         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2013
2014 2004-10-30  José Matos  <jamatos@lyx.org>
2015
2016         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2017         text and no inset or font change. This allows to use CDATA
2018         sections just for the whole paragraph.
2019
2020 2004-10-30  José Matos  <jamatos@lyx.org>
2021
2022         * paragraph.C (getFirstWord): remove unused variable.
2023
2024 2004-10-30  José Matos  <jamatos@lyx.org>
2025
2026         * paragraph.C (getFirstWord): the content should always be escaped
2027         there.
2028         (simpleDocBookOnePar):
2029         * output_docbook.C (makeEnvironment): replace reference to CDATA
2030         to style pass_thru.
2031
2032 2004-10-30  José Matos  <jamatos@lyx.org>
2033
2034         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2035
2036 2004-10-30  José Matos  <jamatos@lyx.org>
2037
2038         * output_docbook.C (makeParagraphs):
2039         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2040         standard paragraph has only a given type of content drop the wrapper.
2041
2042 2004-10-29  José Matos  <jamatos@lyx.org>
2043
2044         * output_docbook.C (makeEnvironment):
2045         * sgml.C (openTag):
2046         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2047
2048 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2049
2050         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2051         (cleanID): sanitize any id.
2052
2053 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2054
2055         * buffer.C, lyxlex_pimpl.C:
2056         * lyxlex_pimpl.C (setFile):
2057         s/getExtFromContents/getFormatFromContents/
2058
2059 2004-10-28  José Matos  <jamatos@lyx.org>
2060
2061         * output_docbook.C (makeEnvironment): move id to broadest possible
2062         scope.
2063
2064         * sgml.C (openTag): apply substitution of <> for all attributes.
2065
2066 2004-10-28  José Matos  <jamatos@lyx.org>
2067
2068         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2069         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2070         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2071
2072         * sgml.[Ch]: new version for open and closeTag for paragraph and
2073         for strings. Now they handle the ids of paragraphs.
2074
2075 2004-10-26  Angus Leeming  <leeming@lyx.org>
2076
2077         * Makefile.am: add mover.[Ch].
2078
2079         * converter.C (convert, move): use the new Movers to move external
2080         files to the temp directory.
2081
2082         * lyx_main.C (init): ensure that the global system_movers data
2083         is initialised.
2084
2085         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2086         preferences file.
2087
2088         * mover.[Ch]: new files, defining a Mover as a utility to move an
2089         external file between directories and, if necessary, manipulate this
2090         file using a helper script.
2091
2092 2004-10-25  José Matos  <jamatos@lyx.org>
2093
2094         * output_docbook.C (makeCommand): merge two if's that tested the
2095         same condition.
2096
2097 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2098
2099         * sgml.C (escapeString): fix warning in a better way
2100
2101 2004-10-25  José Matos  <jamatos@lyx.org>
2102
2103         * sgml.C (escapeString): import the require boosts header file for
2104         tie, and avoid a signed unsigned comparison.
2105
2106 2004-10-25  José Matos  <jamatos@lyx.org>
2107
2108         * sgml.h: add #include <string>
2109
2110 2004-10-25  José Matos  <jamatos@lyx.org>
2111
2112         * sgml.[Ch] (escapeString): new function to escape all the string.
2113
2114 2004-10-24  José Matos  <jamatos@lyx.org>
2115
2116         * paragraph.[Ch] (getFirstWord): new function to get the first
2117         word. Useful for description.
2118         (simpleDocBookOnePar): remove depth argument, add another that
2119         says where to start the paragraph.
2120
2121         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2122         use the new functions to fix cleanly the support for descriptions.
2123
2124 2004-10-24  José Matos  <jamatos@lyx.org>
2125
2126         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2127         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2128         * output_linuxdoc.C (linuxdocParagraphs):
2129         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2130         add buffer as argument.
2131
2132 2004-10-24  José Matos  <jamatos@lyx.org>
2133
2134         * output_docbook.C (makeEnvironment, searchEnvironment): place
2135         CDATA inside paragraphs and fix scope for listitems.
2136
2137 2004-10-24  José Matos  <jamatos@lyx.org>
2138
2139         * output_docbook.C: remove using statement for stack.
2140
2141 2004-10-23  José Matos  <jamatos@lyx.org>
2142
2143         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2144         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2145         docbook. The new scheme is recursive and makes use of iterators, the
2146         same as latex export works.
2147         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2148         directly with the paragraph contents. This code was moved up to
2149         output_docbook.C (docbookParagraphs).
2150         * sgml.C (openTag, closeTag): removed unneeded newlines.
2151         (closeEnvTags) removed.
2152
2153 2004-10-23  André Pönitz  <poenitz@gmx.net>
2154
2155         * undo.C (textUndoOrRedo):
2156         * dociterator.C (asDocIterator): work around crash
2157
2158         * cursor.C (getStatus): replace ASSERT by more verbose error message
2159           and manual correction of the problem. Should increase stability
2160           while providing more sensible information.
2161
2162 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2163
2164         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2165
2166         * bufferlist.C (previous, next): new methods
2167
2168         * lfuns.h:
2169         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2170
2171 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2172
2173         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2174         entities to preamble.
2175
2176 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2177
2178         * messages.C (Pimpl): strip off translation context information
2179
2180 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2181
2182         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2183         the cursor is correct (bug 1694)
2184
2185 2004-10-13  José Matos  <jamatos@lyx.org>
2186
2187         * output_docbook.C (docbookParagraphs): fix closing tags in the
2188         end of the document.
2189
2190 2004-10-09  José Matos  <jamatos@lyx.org>
2191
2192         * buffer.C: format up to 237.
2193         * bufferparams.C (write): use tostr to convert booleans to strings.
2194
2195 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2196
2197         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2198
2199 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2200
2201         * LaTeX.C: implement use of babel language in xindy.
2202
2203 2004-10-05  José Matos  <jamatos@lyx.org>
2204
2205         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2206         Add new translators to help reading and writing the lyx file.
2207
2208 2004-10-05  José Matos  <jamatos@lyx.org>
2209
2210         * ParagraphParameters.C (read):
2211         * text.C (readParToken): replace nexToken by more appropriate lex
2212         methods.
2213
2214 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2215
2216         * LaTeX.C (runMakeIndex):
2217         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2218         (usually 'makeindex') configurable.
2219
2220         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2221         with a variable rather than with a number.
2222
2223 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2224
2225         * output_latex.C (TeXOnePar): make sure font setting is the first
2226         thing that gets output (and the last at the end). Should fix bug
2227         1404.
2228
2229 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2230
2231         * pch.h: use proper signal include
2232
2233         * LaTeX.h: Use preferred calling of Boost.Signal
2234         * buffer.h: ditto
2235
2236 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2237
2238         * pch.h: dont include <boost/function/function0.hpp>
2239
2240         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2241
2242         * paragraph_pimpl.h: remove usage of ShareContainer
2243
2244         * paragraph_pimpl.C: remove initialization of ShareContainer.
2245
2246 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2247
2248         Fix bug #1666
2249
2250         * BufferView.C (putSelectionAt): change the semantics when
2251         backwards == true: now, this just swaps cursor and anchor wrt the
2252         forward case
2253
2254         * BufferView.h (putSelectionAt): add some documentation
2255
2256         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2257         make sure backwardChar is done at least once (to avoid getting
2258         stuck)
2259         (findNextChange): use putSelectionAt in the forward direction
2260         (operator()): use Paragraph::isWord
2261
2262 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2263
2264         * Spacing.C (set): c_str fix
2265
2266 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2267
2268         * lyx_cb.C (Reconfigure): quote the name of configure script in
2269         case it contains spaces
2270
2271 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2272
2273         * client: new dir
2274
2275         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2276         (BOOST_LIBS): use top_buildir when looking for the file
2277
2278 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2279
2280         * pch.h: do not use include boost/format.hpp, multiple symbols
2281                 will result (gcc bug)
2282
2283
2284 2004-08-23  José Matos  <jamatos@lyx.org>
2285
2286         * bufferparams.C (readToken): fix reading of the author field.
2287
2288 2004-08-20  José Matos  <jamatos@lyx.org>
2289
2290         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2291
2292 2004-08-20  José Matos  <jamatos@lyx.org>
2293
2294         * lyxlex.[Ch] (findToken): remove function.
2295
2296         * ParagraphParameters.C (findToken):
2297         * bufferparams.C (findToken): replace call for previous function
2298         with local copy. This local function has one more argument, the
2299         read string argument.
2300
2301 2004-08-16  José Matos  <jamatos@lyx.org>
2302
2303         * ParagraphParameters.C (write):
2304         * Spacing.C (writeFile):
2305         * bufferparams.C (writeLaTeX):
2306         * lyx_cb.C (Reconfigure):
2307         * paragraph.C (write):
2308         * tabular.C (write): remove unnecessary space at end of line.
2309
2310
2311 2004-08-16  José Matos  <jamatos@lyx.org>
2312
2313         * text.C (readParagraph): remove debug message.
2314
2315 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2316
2317         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2318         crash
2319
2320         * output_plaintext.C (asciiParagraph): set depth correctly
2321
2322         * outputparams.h: add member depth
2323
2324         * paragraph_funcs.C (ownerPar): remove.
2325
2326         * text2.C (setCounter): remove first_pit; comment out some
2327         non-working code that uses ownerPar
2328
2329         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2330         uses ownerPar
2331
2332 2004-08-16  José Matos  <jamatos@lyx.org>
2333
2334         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2335         For the same level of importance use the same chanel to report problems.
2336         (read): add code to deal with \begin_body and \end_body.
2337
2338
2339 2004-08-15  José Matos  <jamatos@lyx.org>
2340
2341         * lyxlex.C (getString): fix comment, buffer::readBody is now
2342         buffer:readDocument.
2343
2344         * tex-strings.C (string_papersize): Default -> default,
2345         Custom -> custom, for consistency with other options.
2346
2347 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2348
2349         * pch.h: new file
2350
2351         * Makefile.am: support pch
2352
2353 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * text.C (readParToken): remove the static LyXFont variable and
2356         pass it as a parameter instead. This fixes a nasty bug where an
2357         inset will be inserted with a bad font in some situations
2358         (readParagraph): adapt
2359
2360         * text2.C (setCounter): reduce number of calls to pars_[pit]
2361
2362         * text.C (singleWidth): add an assert, fix a test
2363
2364         * rowpainter.C (paintText): reduce number of calls to singleWidth
2365
2366         * paragraph.C (isHfill):
2367         (isNewline): ws only
2368
2369 2004-08-14  André Pönitz  <poenitz@gmx.net>
2370
2371         * text.C:
2372         * text2.C:
2373         * rowpainter.C:
2374         * lyxtext.h (several functions): use a Paragraph & argument
2375         instead of par_type
2376
2377 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2378
2379         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2380
2381         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2382
2383         * text.C (singleWidth): remove useless test
2384
2385 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2386
2387         * tabular.h: remove bogus comments
2388
2389         * tabular.C (getDescentOfRow):
2390         (isPartOfMultiColumn): add assertions
2391
2392         * lyxlength.C (inPixels): remove #warning
2393
2394 2004-08-14  André Pönitz  <poenitz@gmx.net>
2395
2396         * paragraph.h: inline getChar()
2397
2398         * BufferView.h: remove unused declarations
2399
2400 2004-08-14  José Matos  <jamatos@lyx.org>
2401
2402         * Buffer.[Ch] (readDocument): new name for old readBody.
2403         * Buffer.C: new file format, new keywords: \begin_document,
2404         \begin_header, \begin_body, \end_body.
2405
2406         * bufferparams.C (readToken): replace all calls to lex.nextToken
2407         by lex.next(). Do the same to eatLine except where really needed.
2408
2409         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2410         line when writing to the lyx file.
2411
2412         * output_plaintext.C (asciiParagraph): fix Bibliography style
2413         handling.
2414
2415         * text.C (read): fix end of file handling.
2416
2417 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2418
2419         * MenuBackend.C (Menu::operator[]): new method to access
2420         individual menu items
2421         (Menu::hasFunc): new method. search for an item that corresponds
2422         to a given func
2423         (MenuBackend::specialMenu): new method
2424         (MenuBackend::expand): if a special menu has been set, skip
2425         entries whose func() appears in this menu
2426
2427 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2428
2429         * text3.C: use Debug::DEBUG a bit more
2430
2431         * text.C (leftMargin): try to simplify a tiny bit change var x to
2432         l_margin. Dont output the wide margins always.
2433         (rightMargin): no margin in inner texts
2434
2435         * rowpainter.h (nestMargin): new func
2436         (changebarMargin): new func
2437         (rightMargin): new func
2438
2439         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2440         now functions.
2441         (paintLast): ditto
2442
2443         * factory.C (createInset): modify setDrawFrame
2444
2445         * cursor.C: use Debug::DEBUG a bit more
2446
2447 2004-08-14  André Pönitz  <poenitz@gmx.net>
2448
2449         * coordcache.[Ch]:
2450         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2451         cache for all insets in (at least partially) visible (top-level)
2452         paragraphs.
2453
2454         * BufferView_pimpl.C: reset external coord cache before every update.
2455         This means the coord cache only contains valid entries.
2456
2457 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2458
2459         bug 1096
2460         * BufferView_pimpl.C (getInsetByCode): move function out of class
2461         and change in to a template in anon namespace. Also fix to do what
2462         suits us better.
2463
2464 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2465
2466         bug 1305
2467         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2468         of char
2469         (breakParagraph): rename par to par_offset and use a local
2470         reference. Add code to keep the language over a rebreak.
2471         (breakParagraphConservative): rename par to par_offset, use a
2472         local reference
2473         (mergeParagraph): ditto
2474         (outerHook): ditto
2475         (isFirstInSequence): ditto
2476         (outerFont): rename pit to par_offset
2477
2478         * paragraph.C: ws change
2479         * paragraph.h: ditto
2480         * text3.C: ditto
2481         * text.C: ditto
2482
2483 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2484
2485         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2486         treatment for ']'
2487
2488         * paragraph.C (simpleTeXOnePar): when we have a \item with
2489         optional argument, enclose the argument with curly brackets (in
2490         case it contains a closing square bracket)
2491
2492         * text2.C (editXY):
2493         * text2.C (editXY):
2494         * text3.C (checkInsetHit): constify
2495
2496 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2497
2498         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2499         documents (bug 1629)
2500
2501 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2502
2503         Fix toggling of collapsable insets with the mouse (bug 1558)
2504
2505         * lyxfunc.C (dispatch): adapt to LCursor changes
2506
2507         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2508         make sure that dispatch is not invoked twice
2509
2510         * cursor.C (needsUpdate): new method
2511         (dispatch): return void
2512         (result): new method, to access the DispatchResult of the cursor.
2513
2514 2004-08-13  José Matos  <jamatos@lyx.org>
2515
2516         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2517
2518 2004-08-13  André Pönitz  <poenitz@gmx.net>
2519
2520         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2521
2522         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2523           multiple cells
2524
2525 2004-08-12  André Pönitz  <poenitz@gmx.net>
2526
2527         * text3.C: take out the 'cursor right' form insertInset and only
2528         do it in those places when it is really needed. Fixes crash on
2529         C-m...
2530
2531 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2532
2533         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2534
2535         * BufferView_pimpl.C (setBuffer): initialize the current font of
2536         the underlying LyXText
2537
2538 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2539
2540         * kbsequence.C (print): use UI native formatting for menu
2541         shortcuts
2542
2543         * text.C (insertChar): call Paragraph::insertChar with a font
2544         argument (cosmetic)
2545
2546         * paragraph.C (insertInset, insertChar): the version that takes a
2547         LyXFont argument is now a wrapper around the other one (the
2548         opposite used to be true).
2549
2550         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2551         argument. Font setting is done in Paragraph now.
2552
2553 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2554
2555         * outputparams.h: add new members intitle and lang.
2556
2557         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2558         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2559
2560 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2561
2562         * text3.C (dispatch): remove special handling of button 4 and 5,
2563         it is now taken care of in the frontend code.
2564
2565 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2566
2567         * Spacing.h: add <string> (STLPort compile fix)
2568
2569 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2570
2571         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2572
2573 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2576         to bool.
2577
2578         * converter.C (showMessage): inherit from unary_function, make
2579         operator() const.
2580
2581         * buffer.C (writeFile): initialize retval
2582
2583         * InsetList.h: rename private variable list to list_
2584         * InsetList.[Ch]: adjust accordingly.
2585
2586 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2587
2588         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2589         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2590         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2591         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2592         * ParagraphParameters.C, LaTeXFeatures.C: replace
2593         "support/std_sstream.h" with <sstream>
2594
2595 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2596
2597         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2598         * lyxsocket.C (LyXServerSocket): ditto
2599         (serverCallback): ditto
2600
2601 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2602
2603         * LaTeXFeatures.C: check release date when loading jurabib.
2604
2605 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2606
2607         * lyxserver.C (startPipe): call register_socket_callback
2608         (endPipe): call unregister_socket_callback
2609
2610 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2611
2612         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2613         (LyXServerSocket): register the callback
2614         (LyXServerSocket): unregister the callback
2615         (fd): delete function
2616         (serverCallback): improve error checking and setup the callbacks.
2617         (dataCallback): change arg to fd.
2618         (writeln): new func (copied fro the client socket) used for server
2619         write to client.
2620         (LyXDataSocket): simplify
2621         (~LyXDataSocket): close ann unregiser callback
2622         (server): delete function
2623         (fd): delete function
2624         (readln): small changes, improve some std::string usage
2625         (writeln): constify a bit
2626
2627 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2628
2629         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2630         Qt frontend
2631
2632 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2633
2634         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2635         after it has been populated
2636
2637 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2638
2639         * text2.C (insertInset): move cursor when inserting inset.
2640
2641 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2642
2643         * kbmap.C (findbindings): a couple of new methods. returns a
2644         container of kb_sequence objects. The real work is done by the
2645         private recursive version
2646         (printbindings): uses findbindings to print out a bracketed list
2647         of bindings (renamed from findbinding).
2648
2649         * MenuBackend.C (binding): use kb_keymap::findbindings
2650
2651         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2652
2653 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2654
2655         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2656
2657 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2658
2659         * paragraph.C (isWord): return true on insets that report
2660         isLetter().
2661
2662         * text.C (getWord): use Paragraph::isWord to decide what is in a
2663         word and what is not; fix bug 1609.
2664
2665 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2666
2667         * tex-strings.C: add "none" to string_paperpackages[], fixes
2668         off-by-one-error in the paperpackage selection.
2669
2670         * lyxlex.[Ch]:
2671         * tex-strings.[Ch]: char const * string[n]
2672         -> char const * const string[]
2673
2674 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2675
2676         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2677         command, return early.
2678
2679 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2680
2681         * debug.h: add DEBUG to enum and fix size of ANY.
2682
2683         * debug.C: add support for Debug::DEBUG
2684         (showTags): cast errorTags.level to unsigned int
2685
2686         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2687         (redoCurrentBuffer): ditto
2688         (updateScrollbar): ditto
2689         * cursor.C (dispatch): ditto
2690         * text2.C (setLayout): ditto
2691         (setFont): ditto
2692         (updateCounters): ditto
2693         (editXY): ditto
2694         (deleteEmptyParagraphMechanism): ditto
2695
2696 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2697
2698         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2699         annotations to cleanup the Makefile slightly.
2700
2701 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2702
2703         * lyxrc.C: do not set user_email to a default value but use empty
2704         instead. The entry used to be translated, which does not work
2705         since at the point where lyxrc is constructed there is no
2706         translation service available
2707
2708         * messages.C (getLocaleDir): remove and use directly
2709         lyx_localedir() instead
2710
2711 2004-06-02  Angus Leeming  <leeming@lyx.org>
2712
2713         Fix crash caused by dereferencing null pointer 'exportdata' in
2714         OutputParams by creating a new ExportData variable on the heap,
2715         storing it in a boost::shared_ptr.
2716         The crash was triggered when generating an Instant Preview
2717         of an external inset.
2718
2719         * Makefile.am: add outputparams.C
2720
2721         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2722         (c-tor): allocate memory to it.
2723
2724         * exporter.C (c-tor): associated changes.
2725
2726 2004-06-01  Angus Leeming  <leeming@lyx.org>
2727
2728         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2729         contains data before calling isInset(0). (Bug 1513.)
2730
2731 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2732
2733         * exporter.C (checkOverwrite): new method
2734         * exporter.C (copyFile): new method
2735         * exporter.C (Export): copy referenced files to the document dir
2736         * exporter.[Ch]: new class ExportedFile
2737         * exporter.[Ch]: new class ExportData. Contains currently the
2738         names of referenced external files
2739         * outputparams.h: add exportdata member.
2740
2741 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2744         version.C-tmp
2745
2746 2004-05-19  Angus Leeming  <leeming@lyx.org>
2747
2748         * LaTeXFeatures.C:
2749         * ToolbarBackend.C:
2750         * bufferparams.C:
2751         * lyxfunc.C: small changes due to the introduction of namespace
2752         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2753
2754 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2755
2756         * text3.C (dispatch): supress update when only moving the cursor
2757         * cursor.C (selHandle): remove commented code
2758
2759 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2760
2761         * paragraph.C (startTeXParParams): correct column count
2762         * CutAndPaste.C (pasteSelection): remove const_cast
2763         * output_docbook.C (docbookParagraphs): remove const_cast
2764         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2765         const_cast and return ParagraphList::const_iterator
2766         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2767         * output_plaintext.C (writeFileAscii): remove const_cast
2768         * paragraph.[Ch] (simpleTeXOnePar): make const
2769         * paragraph_funcs.C (outerPar): use const iterators
2770         * paragraph_pimpl.C (validate): use const iterators
2771         * text.C (setHeightOfRow): use const iterators
2772
2773 2004-05-17  Angus Leeming  <leeming@lyx.org>
2774
2775         * lfuns.h:
2776         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2777
2778         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2779         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2780         if the citation engine has changed.
2781
2782 2004-05-14  José Matos  <jamatos@lyx.org>
2783
2784         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2785         if the textclass does not provide it. Have it different for sgml and
2786         xml.
2787         support the language of document.
2788         * output_docbook.C (docbookParagraphs):
2789         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2790         first anchor as the id of the paragraph, remove special case code.
2791         * sgml.C (escapeChar): escape only < & >.
2792
2793 2004-05-14  Angus Leeming  <leeming@lyx.org>
2794
2795         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2796         dependencies on src/frontends/controllers/biblio.h. Define a
2797         CiteEngine_enum wrapper class to enable the enum to be forward
2798         declared.
2799
2800 2004-05-12  Angus Leeming  <leeming@lyx.org>
2801
2802         * buffer.C: up LYX_FORMAT to 234.
2803         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2804         use_numerical_citations with a single biblio::CiteEngine cite_engine
2805         variable.
2806         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2807
2808 2004-05-13  José Matos  <jamatos@lyx.org>
2809
2810         * converter.h:
2811         * converter.C (Converter, readFlags): add xml member.
2812         * outputparams.h: add XML flavor.
2813         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2814
2815 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2816
2817         * lyxfunc.C (dispatch):
2818         (getStatus): fix handling of LFUN_SEQUENCE
2819
2820 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2821
2822         * debug.C (showLevel): do not forget the end-of-line marker
2823
2824 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2825
2826         * kbmap.C (read): do not stop parsing a bind file when an error
2827         occurs (bug 1575)
2828
2829 2004-04-29  Angus Leeming  <leeming@lyx.org>
2830
2831         * cursor.C:
2832         * factory.C:
2833         * pariterator.C:
2834         * text2.C: wrap a bunch of #warning statements
2835         inside #ifdef WITH_WARNINGS blocks.
2836
2837 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2838
2839         * buffer.C: increment format to 233.
2840
2841 2004-04-28  Angus Leeming  <leeming@lyx.org>
2842
2843         * BufferView_pimpl.C:
2844         * lyxfunc.C:
2845         * text3.C:
2846         s/updateToolbar()/updateToolbars()/
2847         s/Toolbar.h/Toolbars.h/
2848
2849 2004-04-28  Angus Leeming  <leeming@lyx.org>
2850
2851         * BufferView.[Ch] (c-tor):
2852         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2853         No longer passes these data to the WorkArea generator.
2854
2855 2004-04-28  Angus Leeming  <leeming@lyx.org>
2856
2857         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2858
2859 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2860
2861         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2862
2863 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2864
2865         * output_latex.C (TeXEnvironment): make sure that there is a line
2866         break before \end{foo} for the last paragraph of a document
2867         (TeXOnePar): if the paragraph is at the end of the document (or
2868         inset) and the language has to be reset, then make sure that the
2869         line break is _before_ the language command, not after (fixes bug
2870         1225); also make sure that the language reset command is the first
2871         thing after the paragraph (to ensure proper nesting of
2872         environments and thus fix bug 1404)
2873
2874 2004-04-21  John Levon  <levon@movementarian.org>
2875
2876         * ToolbarBackend.h:
2877         * ToolbarBackend.C: make "name" be a programmatic name
2878         and a gui_name field.
2879
2880         * lyxfunc.C: display the minibuffer on M-x
2881
2882 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2883
2884         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2885         (bug 1526)
2886
2887 2004-04-19  Angus Leeming  <leeming@lyx.org>
2888
2889         * BufferView_pimpl.C (setBuffer): changed preview interface.
2890
2891         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2892         possible values.
2893
2894 2004-04-19  John Levon  <levon@movementarian.org>
2895
2896         * BufferView_pimpl.C:
2897         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2898
2899 2004-04-05  Angus Leeming  <leeming@lyx.org>
2900
2901         * text.C (redoParagraphs): add call to updateCounters(), thereby
2902         fixing the missing "Figure #:" label from the caption of a
2903         figure float.
2904
2905 2004-04-13  Angus Leeming  <leeming@lyx.org>
2906
2907         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2908         cursor is clicked out of an inset.
2909
2910 2004-04-13  Angus Leeming  <leeming@lyx.org>
2911
2912         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2913         than an InsetOld one.
2914
2915 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2916
2917         * format.[Ch]: add editor to Format
2918         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2919         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2920
2921 2004-04-08  André Pönitz  <poenitz@gmx.net>
2922
2923         * metricsinfo.h: remove PainterInfo::width member
2924
2925 2004-04-08  Angus Leeming  <leeming@lyx.org>
2926
2927         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2928         "\providecommand" rather than "\newcommand", thereby preventing
2929         clashes with packages that define "\boldsymbol" themselves.
2930         Eg, beamer.
2931
2932 2004-04-08  Angus Leeming  <leeming@lyx.org>
2933
2934         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2935         thereby squashing an unnecessary warning.
2936
2937 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2938
2939         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2940         setBuffer()
2941
2942 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2943
2944         * BufferView.C (setCursor): call redoParagraph (some insets could
2945         have been opened)
2946         (putSelectionAt): remove the 'double update' trick
2947
2948         * BufferView_pimpl.C (fitCursor): call refreshPar
2949         (workAreaDispatch): remove an uneeded update call
2950         (dispatch): remove some manual update calls
2951
2952         * cursor.[Ch]: remove cached_y_, updatePos
2953         (selHandle): set noUpdate when appropriate
2954
2955         * lyxfunc.C (dispatch): track if we need an update
2956
2957         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2958
2959         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2960         (paintSelection): cheap optimization, do not call cursorX when not
2961         needed
2962         (paintPars): change signature
2963         (refreshPar): add
2964         (paintText): adjust
2965         (paintTextInset): adjust
2966
2967         * text.C: adjust
2968
2969 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2970
2971         * lengthcommon.C: compilation fix: remove explicit array size from
2972         unit_name[] and friends
2973
2974 2004-04-05  Angus Leeming  <leeming@lyx.org>
2975
2976         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2977
2978         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2979         present only for the preferences dialog.
2980         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2981
2982 2004-04-05  Angus Leeming  <leeming@lyx.org>
2983
2984         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2985         to enable the frontends to export changes to lyxrc correctly.
2986
2987         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2988
2989 2004-04-07  André Pönitz  <poenitz@gmx.net>
2990
2991         * cursor.[Ch] (selClear, adjust): remove math
2992
2993         * cursor_slice.C: more agressive assert
2994
2995         * lyxfunc.C:
2996         * BufferView_pimpl.C: rework mouse event dispatch
2997
2998         * dociterator.C:
2999         * paragraph.C:
3000         * text2.C:
3001         * text3.C: adjust
3002
3003 2004-04-05  André Pönitz  <poenitz@gmx.net>
3004
3005         * cursor.[Ch] (valign, halign...): remove unneeded functions
3006
3007 2004-04-05  Angus Leeming  <leeming@lyx.org>
3008
3009         * lyxlength.[Ch] (unit_name et al.): const-correct.
3010
3011 2004-04-05  Angus Leeming  <leeming@lyx.org>
3012
3013         * BufferView_pimpl.C:
3014         * buffer.C:
3015         * counters.C:
3016         * cursor.C:
3017         * lyxfunc.C
3018         * paragraph.C:
3019         * pariterator.C:
3020         * text.C:
3021         * text2.C:
3022         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3023
3024 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3025
3026         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3027
3028 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3029
3030         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3031         * BufferView_pimpl.[Ch] (getStatus)
3032         * BufferView.[Ch] (getStatus): add
3033         * lyxfunc.C (getStatus): move lfuns handled in
3034         BufferView::dispatch to te function above
3035         * Cursor.C (setSelection): set selection() = true
3036
3037 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3038
3039         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3040
3041 2004-03-31  Angus Leeming  <leeming@lyx.org>
3042
3043         * lyxfunc.C (dispatch): Fall through to the generic
3044         Dialogs::show("preamble").
3045
3046 2004-03-31  Angus Leeming  <leeming@lyx.org>
3047
3048         * lyxfunc.C (dispatch): Fall through to the generic
3049         Dialogs::show("spellchecker").
3050
3051 2004-03-31  Angus Leeming  <leeming@lyx.org>
3052
3053         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3054         preferences dialog.
3055
3056 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3057
3058         * BufferView.C
3059         * cursor.[Ch]
3060         * dociterator.[Ch]:
3061         * insetiterator.[Ch]:
3062         * lyxfind.C:
3063         * lyxfunc.C:
3064         * pariterator.[Ch]:
3065         * text2.C:
3066         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3067
3068 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3071         insets where we are putting the cursor.
3072
3073 2004-03-31  Angus Leeming  <leeming@lyx.org>
3074
3075         * lfuns.h:
3076         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3077
3078         * lyxrc.[Ch] (read, write): overloaded member functions taking
3079         a std::[io]stream arguments.
3080
3081         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3082
3083 2004-03-31  Angus Leeming  <leeming@lyx.org>
3084
3085         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3086         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3087
3088         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3089         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3090
3091 2004-03-31  Angus Leeming  <leeming@lyx.org>
3092
3093         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3094         the LFUN_ALL_INSETS_TOGGLE code.
3095
3096 2004-03-30  Angus Leeming  <leeming@lyx.org>
3097
3098         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3099         has died. Fall through to the generic Dialogs::show("document").
3100
3101 2004-03-30  Angus Leeming  <leeming@lyx.org>
3102
3103         * lfuns.h:
3104         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3105         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3106
3107         * lyxfunc.C (getStatus, dispatch): define the actions for these
3108         lfuns. Little more than a cut and pste job from ControlDocument.C
3109
3110         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3111
3112 2004-03-30  Angus Leeming  <leeming@lyx.org>
3113
3114         * lfuns.h:
3115         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3116         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3117
3118         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3119         open/closed state of ollapsable insets. Usage:
3120
3121         all-inset-toggle <state> <name>, where
3122         <state> == "open" || "closed" || "toggle" and
3123         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3124
3125         * lyxtext.h, text2.C (toggleInset): removed.
3126
3127         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3128         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3129         now passes LFUN_INSET_TOGGLE to the found inset.
3130
3131         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3132         is now invoked as "all-insets-toggle toggle branch".
3133
3134 2004-03-30  Angus Leeming  <leeming@lyx.org>
3135
3136         * dociterator.C:
3137         * insetiterator.C:
3138         * pariterator.[Ch]: added/corrected header blurb.
3139
3140 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3141
3142         * dociterator.[Ch]: add an inset_ member
3143         (backwardPos): implemented
3144         (backwardPos, forwardPos): use inset_ when the stack is empty.
3145         (doc_iterator_begin, doc_iterator_end): implemented
3146         * pariterator.[Ch]: adjust, add begin, end
3147         * insetiterator.[Ch]: adjust, add begin, end
3148         * cursor.C:
3149         * document.C:
3150         * BufferView.C:
3151         * BufferView_pimpl.C:
3152         * CutAndPaste.C: adjust
3153
3154 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3155
3156         * buffer.C: increment file format to 232.
3157         * LaTeXFeatures.C: add bibtopic package.
3158         * bufferparams.[Ch]: param \use_bibtopic.
3159
3160         * lyxrc.[Ch]: add lyxrc bibtex_command
3161         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3162
3163         * buffer.C: increment file format to 231.
3164
3165 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3166
3167         * dociterator.C: implement forwardPar
3168         * iterators.[Ch]: remove, replaced by
3169         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3170         * BufferView.C:
3171         * BufferView_pimpl.C:
3172         * CutAndPaste.C:
3173         * buffer.C:
3174         * bufferview_funcs.C:
3175         * cursor.C:
3176         * lyxfind.C
3177         * lyxfunc.C
3178         * paragraph_funcs.C
3179         * toc.C:
3180         * Makefile.am: adjust
3181
3182 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3183
3184         * CutAndPaste.C (pasteSelection): fix 2 crashes
3185         (eraseSelection): fix a crash
3186         * paragraph_funcs.C: remove a warning
3187
3188 2004-03-28  Angus Leeming  <leeming@lyx.org>
3189
3190         * lfuns.h:
3191         * LyXAction.C (init): new LFUN_PRINT.
3192
3193         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3194
3195 2004-03-27  Angus Leeming  <leeming@lyx.org>
3196
3197         * lfuns.h:
3198         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3199
3200         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3201
3202 2004-03-27  Angus Leeming  <leeming@lyx.org>
3203
3204         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3205         insetlist always contains non-null pointers to insets.
3206
3207 2004-03-26  Angus Leeming  <leeming@lyx.org>
3208
3209         * src/BufferView_pimpl.C:
3210         * src/CutAndPaste.C:
3211         * src/buffer.C:
3212         * src/iterators.C:
3213         * src/output_plaintext.C:
3214         * src/outputparams.h:
3215         * src/paragraph_funcs.C:
3216         * src/rowpainter.C:
3217         * src/text.C:
3218         * src/text2.C:
3219         * src/frontends/controllers/ControlErrorList.C:
3220         * src/frontends/gtk/FileDialogPrivate.C:
3221         * src/frontends/gtk/GPainter.C:
3222         * src/frontends/gtk/GToolbar.C:
3223         * src/frontends/qt2/QRef.C:
3224         * src/mathed/math_scriptinset.C: squash compiler warnings.
3225
3226 2004-03-26  Angus Leeming  <leeming@lyx.org>
3227
3228         * ispell.C (LaunchIspell::start):
3229         * lyx_cb.C (AutoSaveBuffer::start):
3230         invoke run(DontWait) rather than runNonBlocking().
3231
3232 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3233
3234         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3235
3236 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3237
3238         * kbsequence.C (print): adjust
3239
3240         * kbmap.C (printKeySym): rename and change signature
3241         (printKey): use LyXKeySym::print()
3242
3243 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3244
3245         * undo.C: add using std::advance to compile for stlport
3246
3247 2004-03-24  Angus Leeming  <leeming@lyx.org>
3248
3249         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3250         it leads to a crash when no buffer is present.
3251
3252 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3253             Martin Vermeer  <martin.vermeer@hut.fi>
3254
3255         * lyxfunc.C (dispatch):
3256         * bufferparams.C (readToken): use the new LColor::setColor
3257
3258         * LColor.[Ch] (setColor): new version that takes two strings as
3259         argument and creates a new color entry if necessary
3260
3261 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3262
3263         * buffer.C (makeLaTeXFile): if the main latex file that is
3264         processed is usually a subdocument of some master, then pretend
3265         for a while that it is actually the master
3266
3267 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3268
3269         * buffer.C (getLabelList):
3270         (getBibkeyList): use getMasterBuffer()
3271         (getMasterBuffer): new method. Returns the main document in the
3272         case where one is using included documents.
3273
3274 2004-03-25  André Pönitz  <poenitz@gmx.net>
3275
3276         * Makefile.am:
3277         * iterators.[Ch]:
3278         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3279
3280         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3281
3282         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3283         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3284
3285         * ParameterStruct.h: merge with ParagraphParameters
3286
3287         * lyxtext.h: remove LyXText::parOffset() and getPar()
3288
3289         * text3.C: Remove all 'manual' update calls. We do now one per user
3290         interaction which is completely sufficient.
3291
3292         * Bidi.C:
3293         * BufferView.[Ch]:
3294         * BufferView_pimpl.C:
3295         * FontIterator.[Ch]:
3296         * MenuBackend.C:
3297         * ParagraphParameters.[Ch]:
3298         * buffer.C:
3299         * buffer.h:
3300         * bufferlist.C:
3301         * cursor.[Ch]:
3302         * cursor_slice.[Ch]:
3303         * dociterator.[Ch]:
3304         * errorlist.[Ch]:
3305         * factory.C:
3306         * lfuns.h:
3307         * lyxfind.C:
3308         * lyxfunc.C:
3309         * output_docbook.[Ch]:
3310         * output_latex.[Ch]:
3311         * output_linuxdoc.[Ch]:
3312         * output_plaintext.[Ch]:
3313         * paragraph.[Ch]:
3314         * paragraph_funcs.[Ch]:
3315         * paragraph_pimpl.[Ch]:
3316         * rowpainter.C:
3317         * tabular.[Ch]:
3318         * text.C:
3319         * text2.C:
3320         * toc.C:
3321         * undo.[Ch]: adjust
3322
3323         * frontends/controllers/ControlDocument.C:
3324         * frontends/controllers/ControlErrorList.C:
3325         * frontends/controllers/ControlSpellchecker.C:
3326         * insets/inset.C:
3327         * insets/inset.h:
3328         * insets/insetbase.h:
3329         * insets/insetbibitem.C:
3330         * insets/insetbox.C:
3331         * insets/insetbranch.C:
3332         * insets/insetcaption.C:
3333         * insets/insetcharstyle.C:
3334         * insets/insetcharstyle.h:
3335         * insets/insetcollapsable.C:
3336         * insets/insetcollapsable.h:
3337         * insets/insetert.C:
3338         * insets/insetfloat.C:
3339         * insets/insetfoot.C:
3340         * insets/insetmarginal.C:
3341         * insets/insetnote.C:
3342         * insets/insetoptarg.C:
3343         * insets/insettabular.C:
3344         * insets/insettext.C:
3345         * insets/insettext.h:
3346         * insets/insetwrap.C:
3347         * mathed/math_mboxinset.C:
3348         * mathed/math_nestinset.C:
3349         * mathed/math_scriptinset.C:
3350         * mathed/math_scriptinset.h:
3351         * support/types.h:
3352
3353 2004-03-24  Angus Leeming  <leeming@lyx.org>
3354
3355         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3356         deal with any child processes that have finished but are waiting to
3357         communicate this fact to the rest of LyX.
3358
3359 2004-03-24  Angus Leeming  <leeming@lyx.org>
3360
3361         64-bit compile fixes.
3362
3363         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3364         (c-tor): pass lyx::pos_types rather than ints.
3365
3366         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3367         lyx::pos_type.
3368
3369         * text.C (Delete): compile fix.
3370         (getPar): ensure that function declaration is the same as that in
3371         the header file.
3372
3373 2004-03-23  Angus Leeming  <leeming@lyx.org>
3374
3375         * ispell.C (LaunchIspell):
3376         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3377         a boost::shred_ptr rather than a std::auto_ptr.
3378
3379 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3380
3381         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3382         handle LFUN_FILE_INSERT_*
3383
3384         * lyxrc.C (setDefaults, getDescription, output, read):
3385         * lyxrc.h: remove ps_command
3386
3387 2004-03-22  Angus Leeming  <leeming@lyx.org>
3388
3389         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3390         Ensure that error_handler is processed once only and that all data
3391         is saved before attempting to output any warning messages.
3392
3393         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3394
3395 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3396
3397         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3398
3399 2004-03-19  André Pönitz  <poenitz@gmx.net>
3400
3401         * cursor.[Ch] (reset): take main text inset as argument
3402
3403         * BufferView: adjust
3404         * BufferView_pimpl.C: adjust
3405
3406         * paragraph.[Ch]: fix completely broken operator=()
3407
3408 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3409
3410         * LColor.C (getFromLyXName): make sure that the color name is used
3411         as lowercase.
3412
3413 2004-03-17  Angus Leeming  <leeming@lyx.org>
3414
3415         * lfuns.h:
3416         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3417
3418         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3419         dialog and to kill a forked process.
3420
3421 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3422
3423         * text2.C (setCursorFromCoordinates): fix font problem
3424
3425 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3426
3427         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3428         bogus "rebuild cursor" code
3429
3430 2004-03-11  André Pönitz  <poenitz@gmx.net>
3431
3432         * buffer.[Ch]: use InsetText instead of LyXText as container for
3433         the main lyx text.
3434
3435         * dociterator.[Ch]: drop the BufferView * member which is not needed
3436         anymore after the change to buffer.C
3437
3438         * paragraph_funcs.C:
3439         * text.C:
3440         * text2.C:
3441         * BufferView.[Ch]:
3442         * BufferView_pimpl.[Ch]:
3443         * cursor.[Ch]:
3444         * cursor_slice.[Ch]: adjust
3445
3446         * text3.C: fix bug in mathDispatch
3447
3448 2004-03-08  André Pönitz  <poenitz@gmx.net>
3449
3450         * undo.[Ch]: use 'StableDocumentIterator' as base for
3451         the Undo struct.
3452
3453 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3454
3455         * LaTeXFeatures.C:
3456         * bufferparams.[Ch]: add jurabib support and param.
3457
3458         * LaTeX.C: add FIXME/comment.
3459
3460 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3461
3462         * buffer.C: increment file format to 230.
3463
3464 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3465
3466         * cursor.C (dispatch): avoid infinite loops
3467
3468 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3469
3470         * rowpainter.C (paintSelection): fix x coordinates
3471
3472 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3473
3474         * text.C (rowBreakPoint): fix breaking before displayed insets
3475
3476 2004-03-01  André Pönitz  <poenitz@gmx.net>
3477
3478         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3479
3480         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3481
3482         * Makefile.am:
3483         * BufferView.C:
3484         * BufferView_pimpl.C:
3485         * buffer.C:
3486         * lyxfind.C:
3487         * lyxfunc.C:
3488         * text.C:
3489         * text2.C:
3490         * text3.C: adjust
3491
3492 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3493
3494         * lyxtext.h:
3495         * text.C:
3496         * text2.C:
3497         * rowpainter.C:
3498         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3499         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3500
3501 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3502
3503         * Bidi.[Ch] (computeTables): const correctness
3504         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3505         fill_hfill, fill_label_hfill and x from Row
3506         * lyxtext.h: prepareToPrint returns a RowMetrics
3507         * rowPainter.C: adjust
3508         * text.C (prepareToPrint): use width, not textWidth. adjust
3509         (redoParagraphInternal, cursorX): adjust
3510         * text2.C (getColumnNearX): adjust
3511         (init): put a default value to the top LyXText::width
3512
3513 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3514
3515         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3516
3517 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3518
3519         * lyxtext.h: add FontIterator class
3520
3521         * text.C (FontIterator, operator*, operator->, operator++): add
3522         (rowBreakPoint, setRowWidth): adjust (fixing a
3523         rebreaking bug)
3524
3525 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3526
3527         * BufferView_pimpl.C (workAreaDispatch): allow also
3528         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3529
3530 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * text.C (rowBreakPoint): fix a bug showing with very large insets
3533
3534 2004-02-25  André Pönitz  <poenitz@gmx.net>
3535
3536         * text3.C:
3537         * cursor.[Ch]: move some mathed specific code to mathed
3538
3539 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3540
3541         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3542         use_tempdir in preferences
3543         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3544         tempfile creation
3545         * lyx_main.C: ensure that tempdir is valid
3546         * lyxlex.h: correct typo
3547         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3548         * paragraph.[Ch] (isMultiLingual): make const
3549         * cursor.[Ch] (openable): make const
3550
3551 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3552
3553         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3554
3555 2004-02-20  André Pönitz  <poenitz@gmx.net>
3556
3557         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3558
3559         * cursor.[Ch]: prepare for localized getStatus()
3560
3561         * lyxtext.h:
3562         * tabular.C:
3563         * text.C:
3564         * text2.C:
3565         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3566
3567 2004-02-20  André Pönitz  <poenitz@gmx.net>
3568
3569         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3570
3571 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3572
3573         * text2.C (setCursorFromCoordinates): switch to absolute coords
3574         (cursorUp): adjust
3575         (cursorDown): adjust
3576         * text3.C (dispatch): adjust
3577
3578 2004-02-16  André Pönitz  <poenitz@gmx.net>
3579
3580         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3581           insets/ChangeLog)
3582
3583         * cursor_slice.[Ch]: remove unneeded acessor function
3584
3585         * lyxtext.h: rename rtl() to isRTL()
3586
3587         * rowpainter.C:
3588         * tabular.C:
3589         * text.C:
3590         * text2.C:
3591         * text3.C: adjust
3592
3593 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3594
3595         * rowpainter.C (paintSelection): coord fix
3596
3597 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3598
3599         * Spacing.C: compile fix
3600
3601 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3602
3603         * cursor.C (dispatch): restore current_ before returning
3604
3605 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3606
3607         * text2.C (cursorUp, cursorDown): fix coords
3608         (moveUp): fix crash
3609
3610 2004-02-12  André Pönitz  <poenitz@gmx.net>
3611
3612         * lyxtext.h:
3613         * text.C:
3614         * text2.C:
3615         * text3.C: add LCursor & parameter to most cursor movement functions
3616           remove usage of LyXText::cursorRow() and cursorPar()
3617
3618         * cursor.[Ch]: add textRow() needed members
3619
3620         * BufferView.C:
3621         * BufferView_pimpl.C:
3622         * paragraph.[Ch]:
3623         * BufferView.C:
3624         * BufferView_pimpl.C: adjust
3625
3626 2004-02-11  André Pönitz  <poenitz@gmx.net>
3627
3628         * lyxfunc.C:
3629         * BufferView.[Ch]:
3630         * BufferView_pimpl.C: shift undo/redo handling
3631
3632         * cursor.[Ch]: fix mathed crash
3633
3634         * lyxfind.C:
3635         * lyxtext.h: move selectionAsText to LCursor
3636
3637         * output_latex.C:
3638         * paragraph.C:
3639         * text.C:
3640         * text2.C:
3641         * text3.C: adjust
3642
3643         * rowpainter.C: fix excessive drawing
3644
3645 2004-02-06  André Pönitz  <poenitz@gmx.net>
3646
3647         * BufferView.[Ch]:
3648         * BufferView_pimpl.[Ch]:
3649         * text3.C: move some text specific LFUN handling
3650
3651 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3652
3653         * text3.C (checkInsetHit): adjust coords
3654         * text2.C (getColumnNearX): adjust coords
3655         (edit): adjust coords
3656         * text.C (getRowNearY): add two asserts
3657
3658 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3659
3660         * converter.C:
3661         * format.C: add using std::distance to compile on gcc 2.95/stlport
3662
3663 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3664
3665         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3666
3667 2004-02-04  André Pönitz  <poenitz@gmx.net>
3668
3669         * BufferView.[Ch] (insertInset):
3670         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3671
3672         * text2.C:
3673         * text3.C: adjust
3674
3675 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3676
3677         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3678         on the default clause of the switch
3679         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3680         wasn't catched by LCursor::dispatch
3681
3682 2004-02-03  André Pönitz  <poenitz@gmx.net>
3683
3684         * BufferView.C:
3685         * cursor.[Ch]: some additional asserts
3686
3687         * undo.[Ch]: remove LyXText dependency in interface
3688
3689         * lyxfunc.C: adjust
3690
3691         * lyxtext.h (firstPar, lastPar): remove dead functions
3692
3693         * text.C:
3694         * text2.C:
3695         * text3.C:
3696         * paragraph.[Ch]: adjust
3697
3698 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3699
3700         * lyxfind.C (find): fix argument order in call to ::find
3701
3702 2004-02-02  André Pönitz  <poenitz@gmx.net>
3703
3704         * cursor.[Ch]: remove direct access to anchor
3705
3706         * text.C: remove findText() hack
3707
3708 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3709
3710         * iterators.[Ch] (lockPath): remove in favour of...
3711         * BufferView.[Ch] (setCursor): this addition
3712         * BufferView.C (putSelectionAt): adjust
3713         * undo.C (performUndoOrRedo): adjust
3714         * lyxfunc.C (dispatch): adjust
3715
3716 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3717
3718         * iterators.C (lockPath): add a missing slice
3719         * undo.C (performUndoOrRedo): remove redundant positioning code
3720
3721 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3722
3723         * vc-backend.C (scanMaster): ";" -> ';'
3724
3725 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3728         std::binary_function
3729
3730         * lyxtextclass.C (compare_name): rename to...
3731         (LayoutNamesEqual): ...this
3732
3733         * lyxlex_pimpl.C (compare_tags): inherit from
3734         std::binary_function, put back into anon namespace
3735
3736         * lyxfind.C (MatchString): inherig from std::binary_function
3737         (findChange): use empty() istead of !size()
3738
3739         * format.C (FormatNamesEqual): new functor
3740         (getFormat): use it
3741         (getNumber): use it
3742         (add): use it
3743         (erase): use it
3744         (setViewer): use it
3745
3746         * converter.C (compare_Converter): rename to...
3747         (ConverterEqual): ...this, and fixup a bit.
3748         (getConverter): use it, and make function const
3749         (getNumber): use it, and make function const
3750         (add): use it
3751         (erase): use it:
3752
3753         * bufferlist.C: add using boost::bind
3754
3755         * MenuBackend.C (MenuNamesEqual): new functor
3756         (hasMenu): use it, and make function const
3757         (hasSubmenu): use nested bind to get rid of compare_memfun.
3758
3759 2004-01-30  André Pönitz  <poenitz@gmx.net>
3760
3761         * BufferView_pimpl.C:
3762         * cursor.C:
3763         * cursor.h:
3764         * cursor_slice.[Ch]:
3765         * lyxfunc.C:
3766         * lyxtext.h:
3767         * paragraph_funcs.C:
3768         * paragraph_funcs.h:
3769         * rowpainter.C:
3770         * text.C:
3771         * text2.C:
3772         * text3.C: move some of the edit(x,y) handling to the insets
3773         some coordinate changes.
3774
3775 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * text.C: add using statements for std::advance and std::distance
3778
3779         * paragraph.C: add using statement for std::distance
3780
3781         * lyxfind.C: add using statement for std::advance
3782
3783         * cursor.C (region): remove std:: from swap
3784         (openable): use nucleus in stead of operator->
3785
3786         * BufferView.C: add using statements for std::distance and std::swap
3787
3788 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * iterators.C: Remove the pimple, move the needed structures to
3791         the header file. Create accessor for the positions stack.
3792         (asPosIterator): remove function
3793
3794         * PosIterator.C (PosIterator): move constructors to top of file
3795         (PosIterator): reimplement the constructor taking a ParIterator in
3796         terms of setFrom.
3797         (setFrom): new function
3798         (operator!=): inline it
3799
3800 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * lyxfind.C (replaceAll): use std::advance
3803
3804         * iterators.h: inherit from std::iterator.
3805
3806         * PosIterator.C (advance, distance): remove
3807         * PosIterator.h: interit from std::iterator.
3808
3809 2004-01-26  André Pönitz  <poenitz@gmx.net>
3810
3811         * BufferView.[Ch]:
3812         * BufferView_pimpl.[Ch]:
3813         * InsetList.[Ch]:
3814         * PosIterator.[Ch]:
3815         * buffer.h:
3816         * bufferview_funcs.C:
3817         * cursor.[Ch]:
3818         * cursor_slice.h:
3819         * factory.[Ch]:
3820         * iterators.[Ch]:
3821         * lyxfind.C:
3822         * lyxfunc.C:
3823         * lyxtext.h:
3824         * output_docbook.C:
3825         * output_latex.C:
3826         * output_linuxdoc.C:
3827         * output_plaintext.C:
3828         * paragraph.[Ch]:
3829         * paragraph_funcs.[Ch]:
3830         * paragraph_pimpl.[Ch]:
3831         * rowpainter.C:
3832         * tabular.C:
3833         * tabular.h:
3834         * text.C:
3835         * text2.C:
3836         * text3.C: more IU:  dumps most of the rest of the mathcursor
3837     implementation into cursor.[Ch]; "globalize" a bit of it.
3838
3839 2004-01-25  Angus Leeming  <leeming@lyx.org>
3840
3841         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3842
3843 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3844
3845         * LaTeXFeatures.h: add nice_ and nice() const
3846         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3847
3848 2004-01-20  André Pönitz  <poenitz@gmx.net>
3849
3850         * BufferView.[Ch]:
3851         * BufferView_pimpl.C:
3852         * PosIterator.C:
3853         * bufferview_funcs.C:
3854         * cursor.[Ch]:
3855         * cursor_slice.[Ch]:
3856         * factory.C:
3857         * iterators.C:
3858         * lyx_cb.C:
3859         * lyxfind.C:
3860         * lyxfunc.C:
3861         * lyxtext.h:
3862         * rowpainter.C:
3863         * text.C:
3864         * text2.C:
3865         * text3.C:
3866         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3867           LCursor and mathcursor parts to LCursor and InsetBase.
3868
3869 2004-01-15  André Pönitz  <poenitz@gmx.net>
3870
3871         * cursor_slice.[Ch]: add a few covienience functions
3872
3873         * funcrequest.[Ch]: remove BufferView * member
3874
3875         * BufferView_pimpl.C:
3876         * cursor.C:
3877         * factory.[Ch]:
3878         * lyxfind.[Ch]:
3879         * lyxfunc.C:
3880         * lyxtext.h:
3881         * text3.C:
3882         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3883
3884 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3885
3886         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3887         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3888
3889 2004-01-13  André Pönitz  <poenitz@gmx.net>
3890
3891         * textcursor.[Ch]:
3892         * lyxtext.h: hide cursor and selection anchor behind accessor function
3893
3894         * BufferView.C:
3895         * BufferView_pimpl.[Ch]:
3896         * PosIterator.C:
3897         * bufferview_funcs.C:
3898         * cursor.h:
3899         * lyxfind.C:
3900         * lyxfunc.C:
3901         * text.C:
3902         * text2.C:
3903         * text3.C:
3904         * undo.C: adjust
3905
3906         * cursor.h:
3907         * cursor_slice.[Ch]: some integer type changes for inset unification
3908
3909         * lyxcursor.[hC]: remove, it's CursorSlice now.
3910
3911         * Makefile.am:
3912         * BufferView_pimpl.[Ch]:
3913         * bufferview_funcs.C:
3914         * cursor_slice.C:
3915         * lyxtext.h:
3916         * text.C:
3917         * text2.C:
3918         * text3.C:
3919         * textcursor.[Ch]: adjust
3920
3921 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3922
3923         * text2.C (undoSpan): add and use
3924         * text.C (breakParagraph): use undoSpan (fix bug 578)
3925         * lyxtext.h: adjust
3926
3927 2004-01-08  Angus Leeming  <leeming@lyx.org>
3928
3929         * BufferView_pimpl.C (MenuInsertLyXFile):
3930         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3931         * lyxfunc.C (menuNew, open, doImport):
3932         FileFilterList change to the FileDialog open and save functions.
3933
3934 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * ShareContainer.h: make isEqual and isUnique adaptable
3937
3938         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3939
3940 2004-01-07  Angus Leeming  <leeming@lyx.org>
3941
3942         * LyXAction.C:
3943         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3944
3945         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3946
3947         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3948         functions replacing find, replace and replaceAll.
3949
3950         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3951         LFUN_WORDFIND(FORWARD|BACKWARD).
3952
3953 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3954
3955         * text.C (breakParagraph): remove an outdated #warning
3956
3957 2004-01-07  André Pönitz  <poenitz@gmx.net>
3958
3959         * lyxfind.C: somewhat clearer logic
3960
3961         * text.C: prevent crash in cursorX on unitialized row cache
3962
3963 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * lyxcursor.[Ch] (operator>): add
3966         * textcursor.C (selStart, selEnd): use std::min and std::max
3967
3968 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * Chktex.C: include boost/format.hpp
3971
3972 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3973
3974         * InsetList.C: replace functor MathcIt with adaptable functor
3975         InsetTablePosLess
3976         (insetIterator): modify accordingly
3977
3978         * BranchList.h: move the BranchNamesEqual functor here from...
3979         * BranchList.C: ... to here
3980
3981         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3982         SameName and match.
3983         (add): replace a finding loop with std::find_if.
3984
3985 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3986
3987         * output_docbook.C: moving LatexParam functionality into
3988         .layout files
3989
3990 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3991
3992         * buffer.C: increment format to 229.
3993
3994 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3995
3996         * LaTeXFeatures.C:
3997         * lyx_sty.[Ch]: remove minipageindent_def
3998
3999         * LyXAction.C:
4000         * factory.C:
4001         * lfuns.h:
4002         * lyxfunc.C:
4003         * text3.C: remove LFUN_INSET_MINIPAGE
4004
4005 2003-12-28  Angus Leeming  <leeming@lyx.org>
4006
4007         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4008
4009 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4010
4011         * text2.C (setParagraph): fix off-by-one crash
4012
4013 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4014
4015         * output_docbook.C: header stuff for AGU
4016
4017 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4018
4019         * text2.C (redoCursor): remove
4020         * text.C:
4021         * text3.C:
4022         * BufferView_pimpl.C: remove calls to redoCursor and
4023         setCursor(cursor.par(), cursor.pos()) all around
4024
4025 2003-12-15  Angus Leeming  <leeming@lyx.org>
4026
4027         * buffer.C: up the format to 228.
4028
4029 2003-12-15  André Pönitz  <poenitz@gmx.net>
4030
4031         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4032         slices
4033
4034         * Makefile.am:
4035
4036         * BufferView_pimpl.C:
4037         * cursor.[Ch]:
4038         * lyxcursor.[Ch]:
4039         * rowpainter.[Ch]:
4040         * lyxtext.h:
4041         * text.C:
4042         * text2.C:
4043         * text3.C: adjust
4044
4045 2003-12-15  Angus Leeming  <leeming@lyx.org>
4046
4047         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4048         than getFromGUIName to manipulate the color.
4049
4050 2003-12-14  Angus Leeming  <leeming@lyx.org>
4051
4052         * BranchList.[Ch]: minimize the API.
4053         (Branch::getBranch, getColor): now return a 'const &'.
4054         (Branch::setSelected) now returns a bool set to true if the
4055         selection status changes.
4056         (BranchList::clear, size, getColor, setColor, setSelected,
4057         allBranches, allSelected, separator): removed.
4058         (BranchList::find): new functions, returning the Branch with
4059         the given name.
4060         (BranchList::add, remove): return a bool indicating that
4061         the operation was successful.
4062
4063         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4064         new InsetBranch::isBranchSlected member function.
4065
4066         * LColor.[Ch]: mimimize the API.
4067         (fill): renamed as addColor and made private.
4068         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4069         versions of these functions taking a string arg have been removed.
4070
4071         * bufferparams.C (readToken):
4072         * lyxfunc.C (dispatch):
4073         * lyxrc.C (read): changes due to the altered BranchList and
4074         LColor APIs.
4075
4076         * factory.C (createInset, readInset): changes due to altered
4077         InsetBranch c-tor.
4078
4079 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4080
4081         * factory.C:
4082         * lyxfunc.C: remove insetminipage. "minipage-insert"
4083         now produces a frameless minipage box inset.
4084
4085 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4086
4087         * textcursor.[Ch] (selStart,selEnd): add new methods
4088         remove selection::start, end, use LyXCursor::operator<
4089         * lyxcursor.[Ch] (operator<): add
4090         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4091         * BufferView.[Ch] (unsetXSel): add
4092         * text2.C (clearSelection): use unsetXSel,adjust
4093         * text.C: adjust
4094         * text3.C: adjust
4095         * rowpainter.C: adjust
4096         * bufferview_funcs.C (put_selection_at): adjust
4097
4098 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4099
4100         * BufferView_pimpl.C: small coord. correction
4101
4102 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4103
4104         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4105         dragging over the splash screen.
4106
4107 2003-12-11  Angus Leeming  <leeming@lyx.org>
4108
4109         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4110         as it is now handled in LyXText::dispatch.
4111
4112         * text3.C (doInsertInset): remove a level of nesting.
4113
4114 2003-12-11  Angus Leeming  <leeming@lyx.org>
4115
4116         * factory.C (createInset): changes due to the changed interface to
4117         InsetCommandMailer::string2params.
4118
4119 2003-12-10  Angus Leeming  <leeming@lyx.org>
4120
4121         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4122         'dialog-show-new-inset <inset name>'
4123
4124 2003-12-10  Angus Leeming  <leeming@lyx.org>
4125
4126         * buffer.C: up the format to 227.
4127
4128         * factory.C: the box inset is now identified simply by 'Box'.
4129
4130 2003-12-10  Angus Leeming  <leeming@lyx.org>
4131
4132         * buffer.C: up the format to 226.
4133
4134         * factory.C: the note inset is now identified simply by 'Note'.
4135
4136 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4137
4138         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4139         when a pit is enough. Standarize a couple of loops.
4140
4141 2003-12-05  Angus Leeming  <leeming@lyx.org>
4142
4143         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4144         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4145         data to the re-worked "log" dialog.
4146
4147 2003-12-03  André Pönitz  <poenitz@gmx.net>
4148
4149         * PosIterator.C:
4150         * iterators.C:
4151         * lyxtext.h:
4152         * output_latex.C:
4153         * paragraph_funcs.C:
4154         * text.C:
4155         * text2.C: use Inset::getText instead of Inset::getParagraph
4156
4157 2003-12-03  André Pönitz  <poenitz@gmx.net>
4158
4159         * buffer.[Ch]:
4160         * lyxtext.h:
4161         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4162         InsetText::read() as LyXText::read()
4163
4164 2003-12-02  Angus Leeming  <leeming@lyx.org>
4165
4166         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4167         type. Add a comment in the implementation that the function uses
4168         the stream's bad() function rather than fail() as the std::streams
4169         would do.
4170
4171 2003-12-02  André Pönitz  <poenitz@gmx.net>
4172
4173         * lyxlex.[Ch]: make interface more similar to std::stream
4174
4175         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4176
4177 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4178
4179         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4180
4181 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4182
4183         * vspace.[Ch]: remove VSpace::NONE
4184
4185 2003-12-01  André Pönitz  <poenitz@gmx.net>
4186
4187         * buffer.[Ch]:
4188         * lyxtext.h: move ParagraphList member to LyXText
4189         rename LyXText::ownerParagraphs to LyXText::paragraph
4190
4191         * CutAndPaste.C:
4192         * bufferview_funcs.C:
4193         * iterators.[Ch]:
4194         * lyx_cb.C:
4195         * paragraph.C:
4196         * rowpainter.C:
4197         * tabular.C:
4198         * text.C:
4199         * text2.C:
4200         * text3.C: adjust
4201
4202         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4203
4204         * undo.C: fix cursor positioning
4205
4206 2003-12-01  John Levon  <levon@movementarian.org>
4207
4208         * BufferView_pimpl.C: fix a crash on exit with
4209         a buffer open
4210
4211 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4212
4213         * BranchList.C: fix setSelected() method.
4214
4215 2003-11-28  André Pönitz  <poenitz@gmx.net>
4216
4217         * ParagraphParameters.[Ch]:
4218         * ParameterStruct.h: remove space above/below from Paragraph to
4219          InsetVSpace
4220
4221         * BufferView_pimpl.C:
4222         * factory.C:
4223         * lyxfunc.C:
4224         * lyxtext.h:
4225         * output_latex.C:
4226         * paragraph.C:
4227         * paragraph_funcs.C:
4228         * rowpainter.[Ch]:
4229         * text.C:
4230         * text2.C:
4231         * text3.C: adjust
4232
4233 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4234
4235         * factory.C: Syntax change for CharStyles
4236
4237 2003-11-28  André Pönitz  <poenitz@gmx.net>
4238
4239         * BufferView.[Ch]:
4240         * BufferView.[Ch]:
4241         * buffer.[Ch]:
4242         * buffer.[Ch]: move LyXText member
4243
4244 2003-11-28  André Pönitz  <poenitz@gmx.net>
4245
4246         * BufferView.[Ch]: make LyXText * text a private member
4247
4248         * BufferView_pimpl.C:
4249         * cursor.C:
4250         * iterators.C:
4251         * lyx_cb.C:
4252         * lyxfind.C:
4253         * lyxtext.h:
4254         * rowpainter.[Ch]:
4255         * text.C:
4256         * text2.C:
4257         * undo.C: adjust
4258
4259         * output_plaintext.C: cleanup
4260
4261 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4262
4263         * buffer.C:
4264         * lyxtextclass.[Ch]: parametrize SGML document header
4265
4266 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4267
4268         * converter.[Ch]:
4269         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4270         getFlavor().
4271
4272 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4273
4274         * text2.C (setFont): rework using PosIterator (no more recursive)
4275         (setCharFont): no more needed
4276         (setLayout): no more selection cursors fiddling (done by redoCursor)
4277         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4278         destroy remaining ones)
4279
4280 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4281
4282         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4283         * lyxtext.h: ditto
4284         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4285         selection cursors
4286         * lyxfunc.C: adjust
4287         * text3.C: adjust + re-allow multi par depth changes
4288         * textcursor.C: simplify a bit
4289
4290 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4291
4292         * src/buffer.C:
4293         * src/lyxlayout.C:
4294         * src/lyxlayout.h:
4295         * src/lyxtext.h:
4296         * src/output_docbook.C:
4297         * src/output_latex.C:
4298         * src/paragraph.C:
4299         * src/paragraph.h:
4300         * src/sgml.C:
4301         * src/sgml.h:
4302         * src/text2.C: Introducing a number of tags parametrizing various
4303         XML formats that we may want to support
4304
4305 2003-11-25  André Pönitz  <poenitz@gmx.net>
4306
4307         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4308
4309         * lyxtext.h (leftMargin/rightMargin): simplify interface
4310
4311         * rowpainter.C:
4312         * text.C:
4313         * text2.C:
4314         * text3.C: adjust
4315
4316 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4317
4318         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4319         master file to any child files. Fixes bug 546.
4320
4321 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4322
4323         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4324
4325 2003-11-24  André Pönitz  <poenitz@gmx.net>
4326
4327         * rowpainter.C: simplification
4328
4329         * text2.C (updateCounters): remove call to redoParagraph on
4330         changed labels as this is far too expensive.
4331
4332 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4333
4334         * converter.C (convert): fix a crash: this function gets
4335         called with buffer == 0 from importer code.
4336
4337 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * text3.C (cursorPrevious): make sure that we do not compare
4340         iterators form different containers.
4341         (cursorNext): ditto
4342
4343         * rowpainter.C (paintSelection): make sure that we do not compare
4344         iterators from different containers.
4345
4346         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4347         iterators from different ParagraphList containers.
4348         [NEXT] ditto
4349
4350         * text2.C (LyXText): change order of initialization slightly
4351         (operator=): new function. copy all variables except cache_par_
4352         (moveUp): make sure that we do not compare iterators from
4353         different ParagraphList constainers.
4354         (moveDown): ditto
4355
4356         * text.C (firstPar): new function
4357         (lastPar): new function
4358         (endPar): new function
4359
4360         * lyxtext.h: move things around and group public functions, public
4361         variables, private functions, private variables
4362
4363 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4364
4365         * factory.C: change call to InsetERT constructor to avoid
4366         additional invocation of method status
4367         * text2.C (toggleInset): remove redundant update() call
4368         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4369         instead of a Bufferview pointer
4370
4371 2003-11-21  André Pönitz  <poenitz@gmx.net>
4372
4373         * rowpainter.C: simplification
4374
4375 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4376
4377         * text3.C (dispatch): make possible to extend a word/row selection
4378         with the mouse
4379
4380 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4381
4382         * lyxtext.h: x0_,y0_ -> xo_,yo_
4383         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4384         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4385         * rowpainter.C (paintRows): paint full paragraphs
4386
4387 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4388
4389         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4390         screen coordinates)
4391
4392 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4393
4394         * lyxtext.h: add x0_, y0_
4395         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4396         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4397
4398 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4399
4400         * text2.C (setCursorIntern): move the x_target update here *
4401         * text3.C: change some bv() to true/false in calls to
4402         cursorUp/Down/Right/Left
4403         * cursor.C: use helper function.
4404
4405 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4406
4407         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4408         * paragraph_funcs.[Ch]: correct comment
4409         * rowpainter.C: do not paint selections away from bv->cursor()
4410         Fix a long standing selection painting bug.
4411         * text3.C: generalize mouse-selection code to LyXTexts other that
4412         top one
4413         * textcursor.C: do not use y coords if we can use par offsets
4414
4415 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4416
4417         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4418         cursor position after e.g. inset insert)
4419
4420 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4421
4422         * lyxfind.C (replace): adjust to locking removal + some
4423         code simplification
4424
4425 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4426
4427         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4428         of the path
4429
4430 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4431
4432         * lyxlayout.[Ch]:
4433         * output_docbook.C: XML sanitation: new layout
4434         parameters InnerTag and CommandDepth
4435
4436 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4437
4438         * BufferView_pimpl.C:
4439         * factory.C:
4440         * text3.C: Fix the insertion and modification of button-style
4441         insets
4442
4443 2003-11-13  André Pönitz  <poenitz@gmx.net>
4444
4445         * InsetList.[Ch]: remove deleteLyXText
4446
4447         * paragraph.[Ch]: cache beginOfBody position
4448
4449         * Bidi.C:
4450         * text.C:
4451         * text2.C:
4452         * text3.C: remove superfluous update() calls
4453
4454         * vspace.C: cleanup
4455
4456 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4457
4458         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4459         * BufferView.C (fitLockedInsetCursor): remove
4460         * cursor.[Ch] (getDim): add
4461         * text.C (getRowNearY): add faster version
4462         * text3.C: remove some update calls
4463
4464 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4465
4466         * LaTeXFeatures.C:
4467         * LyXAction.C:
4468         * MenuBackend.C:
4469         * MenuBackend.h:
4470         * dispatchresult.h:
4471         * factory.C:
4472         * lfuns.h:
4473         * lyxfunc.C:
4474         * lyxtextclass.C:
4475         * lyxtextclass.h:
4476         * text3.C: The Character Style /XML short element patch.
4477
4478 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4479
4480         * text3.C:
4481         * factory.C: Small step to solving 'unable to insert some insets'
4482         problem
4483
4484 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4485
4486         * cursor.[Ch] (updatePos): new function for updating the y
4487         position of the tip inset
4488         * bufferview_funcs.C (put_selection_at):
4489         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4490
4491 2003-11-11  André Pönitz  <poenitz@gmx.net>
4492
4493         * text.C: remove big comment on invalid Paragraph pointers as it is
4494         not valid anymore
4495
4496 2003-11-11  André Pönitz  <poenitz@gmx.net>
4497
4498         * text_funcs.[Ch]: merge with ...
4499
4500         * text.C: ... this
4501
4502         * lyxtext.h:
4503         * text2.C:
4504         * text3.C: adjust
4505
4506         * Makefile.am: remove text_funcs.[Ch]
4507
4508 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4509
4510         * cursor.C (getPos): return absolute cached y coord
4511
4512         * BufferView_pimpl.C (fitCursor): new simplistic code
4513         (workAreaDispatch): add a fitCursor call
4514
4515 2003-11-10  André Pönitz  <poenitz@gmx.net>
4516
4517         * BufferView.[Ch]:
4518         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4519
4520 2003-11-10  André Pönitz  <poenitz@gmx.net>
4521
4522         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4523         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4524         indicate that the cursor needs to leave an inset
4525
4526         * lyxtext.h: remove inset locking
4527
4528         * cursor.[Ch]: re-implement functionality provided by inset locking
4529
4530         * BufferView.[Ch]:
4531         * BufferView_pimpl.[Ch]:
4532         * LyXAction.C:
4533         * bufferview_funcs.[Ch]:
4534         * factory.C:
4535         * funcrequest.[Ch]:
4536         * iterators.C:
4537         * lyx_cb.C:
4538         * lyxfind.C:
4539         * lyxfunc.C:
4540         * text.C:
4541         * text2.C:
4542         * text3.C:
4543         * undo.C: adjust
4544
4545 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4546
4547         * PosIterator.[Ch]: replace the stack with a vector, add inset
4548         accesor
4549         * iterators.[C]: adjust
4550
4551 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4552
4553         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4554         replaced
4555         * paragraph_funcs.C (readParToken): put the correct id in the
4556         error item, not the id of the top paragraph
4557
4558 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4559
4560         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4561         * bufferview_funcs.C (put_selection_at): use the above
4562
4563 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4564
4565         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4566
4567 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4568
4569         * output_linuxdoc.h:
4570         * output_plaintext.h:
4571         * output.h:
4572         * output_docbook.h: add #include statements
4573
4574 2003-11-05  José Matos  <jamatos@lyx.org>
4575
4576         * output_docbook.[Ch]:
4577         * output_latex.[Ch]:
4578         * output_linuxdoc.[Ch]:
4579         * output_plaintext.[Ch]: New files for output formats.
4580         * output.[Ch]: New file for helper functions.
4581
4582         * buffer.[Ch]:
4583         * paragraph_funcs.[Ch]: output functions moved to new files.
4584
4585         * outputparams.h: rename of latexrunparams.h
4586
4587         * LaTeX.[Ch]:
4588         * buffer.[Ch]:
4589         * bufferlist.[Ch]:
4590         * converter.[Ch]:
4591         * exporter.C:
4592         * paragraph.[Ch]:
4593         * paragraph_funcs.[Ch]:
4594         * paragraph_pimpl.[Ch]:
4595         * tabular.[Ch]: rename ascii to plaintext
4596         and LatexRunParams to OutputParams.
4597
4598 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * iterators.[Ch] (text): require bv argument
4601         * undo.C (recordUndo):
4602         * lyxfunc.C (dispatch):
4603         * bufferview_funcs.C (put_selection_at): adjust
4604
4605 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4606
4607         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4608
4609 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4610
4611         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4612         nestings
4613
4614 2003-11-04  André Pönitz  <poenitz@gmx.net>
4615
4616         * cursor.[Ch]: restructure
4617
4618         * BufferView.[Ch]:
4619         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4620
4621         * iterators.[Ch] (asCursor): remove
4622
4623         * lfuns.h: remove LFUN_INSET_EDIT
4624
4625         * lyxfunc.C:
4626         * tabular.C:
4627         * text.C:
4628         * text2.C:
4629         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4630
4631 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4632
4633         * lyxfind.[Ch]: complete overhaul
4634         * BufferView_pimpl.C:
4635         * lyxfunc.C: adjust
4636         * paragraph.[Ch] (insert): add
4637
4638 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4639
4640         * BufferView.[Ch]:
4641         * lyxtext.h:
4642         * text.C: remove dead spellcheck code
4643
4644 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * dispatchresult.h: add a val setter
4647
4648         * cursor.C (dispatch): use a tempvar for data_[i]
4649
4650 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4651
4652         * PosIterator.[Ch]: compile fix
4653
4654 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * text.C (cursorPar): deactivate the cursor cache
4657
4658 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4659
4660         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4661
4662 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * text3.C (dispatch): adjust for new DisptchResult semantics.
4665
4666         * lyxfunc.C (dispatch): handle update when return from
4667         Cursor::dispatch, adjust for new DispatchResult semantics.
4668
4669         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4670         DispatchResult(true) mean to not update. Add class functions for
4671         setting dispatched and update, as well as reading.
4672
4673         * cursor.C (dispatch): don't handle update here
4674
4675 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4676
4677         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4678         * trans_mgr.C: adjust
4679
4680         * paragraph_funcs.C (readParToken): exception safety
4681
4682         * lyxvc.h: store the vcs pointer in a scoped_ptr
4683         * lyxvc.C: adjust
4684
4685         * lyxsocket.C (serverCallback): exception safety
4686
4687         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4688
4689         * ispell.C (clone): make it return a auto_ptr
4690
4691         * factory.C (createInset): exception safety
4692         (readInset): exception safety
4693
4694         * bufferlist.C (newBuffer): exception safety
4695
4696         * Thesaurus.C (Thesaurus): use initialization for aik_
4697
4698         * MenuBackend.C (expandToc): exception safety.
4699
4700 2003-11-03  André Pönitz  <poenitz@gmx.net>
4701
4702         * buffer.C:
4703         * buffer.h:
4704         * bufferview_funcs.C: remove getInsetFromId()
4705
4706         * lyxcursor.[Ch]:
4707         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4708
4709         * lyxfunc.C:
4710         * text2.C:
4711         * text3.C: adjust
4712
4713 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4714
4715         * PosIterator.C (distance, advance): new
4716         * bufferview_funcs.[Ch] (put_selection_at): new
4717         * iterators.[Ch] (lockPath): new
4718
4719 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4720
4721         * iterators.[Ch] (asPosIterator): added
4722         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4723         * PosIterator.[Ch]: added
4724
4725 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4726
4727         * text3.C:
4728         * lyxfunc.C:
4729         * cursor.C (dispatch):
4730         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4731
4732         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4733         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4734         contructor, add a class function dispatched. Remove operator>=
4735
4736 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4737
4738         * debug.C: only use the default constructor for debugstream
4739         (lyxerr) here.
4740
4741         * main.C (main): include debug.h and setup the lyxerr streambuf
4742         here.
4743
4744 2003-10-31  José Matos  <jamatos@lyx.org>
4745
4746         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4747
4748         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4749         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4750         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4751         * paragraph_pimpl.C (simpleTeXSpecialC):
4752         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4753         add LatexRunParams argument.
4754
4755         * exporter.C (Export): change call accordingly.
4756
4757         * latexrunparams.h: add new member to take care of the other backends.
4758 2003-10-30  José Matos  <jamatos@lyx.org>
4759
4760         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4761         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4762         factorise code for paragraph output.
4763         * buffer.[Ch]:
4764         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4765         move functions.
4766
4767 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4768
4769         * text3.C (dispatch):
4770         * lyxfunc.C (dispatch):
4771         * cursor.C (dispatch):
4772         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4773
4774         * dispatchresult.h: make the dispatch_result_t ctor explicit
4775
4776 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4777
4778         * sgml.[Ch]:
4779         * buffer.C: small refactoring of docbook stuff
4780
4781 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4784         meaning.
4785
4786 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4789         operator dispatch_result_t, and operators for == != and >=
4790
4791         * cursor.C (dispatch): adjust for operator dispatch_result_t
4792         removal. comment out call to update
4793
4794         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4795
4796 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4797
4798         * text3.C:
4799         * text2.C:
4800         * text.C:
4801         * lyxtext.h:
4802         * lyxfunc.C:
4803         * cursor.C:
4804         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4805         (dispatch):
4806
4807         * dispatchresult.h: new file, DispatchResult broken out of
4808         insets/insetbase.h
4809
4810         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4811
4812 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4813
4814         * text.C (rowBreakPoint): put a hack inside #if 0
4815
4816 2003-10-28  André Pönitz  <poenitz@gmx.net>
4817
4818         * lyxtext.h:
4819         * metricsinfo.C:
4820         * paragraph_funcs.C:
4821         * rowpainter.C:
4822         * text.C:
4823         * text2.C: general cleanup (lots of small stuff)
4824
4825 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4826
4827         * text2.C (cursorEnd): simple fix to the "end key goes to one
4828         before the end on last row" bug
4829
4830 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4831
4832         * text.C (backspace): fix the "zombie characters"
4833
4834 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4835
4836         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4837
4838 2003-10-27  André Pönitz  <poenitz@gmx.net>
4839
4840         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4841
4842         * factory.C: handle new InsetPagebreak, InsetLine
4843
4844         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4845         and move handling into new InsetPagebreak, InsetLine
4846
4847         * BufferView_pimpl.C:
4848         * LyXAction.C:
4849         * ParagraphParameters.C:
4850         * ParameterStruct.h:
4851         * lyxfunc.C:
4852         * lyxtext.h:
4853         * paragraph.C:
4854         * paragraph.h:
4855         * paragraph_funcs.C:
4856         * paragraph_pimpl.C:
4857         * rowpainter.C:
4858         * text.C:
4859         * text2.C:
4860         * text3.C: adjust
4861
4862 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * text.C:
4865         * lyxrow_funcs.[Ch]:
4866         * Bidi.C:
4867         * paragraph.C:
4868         * lyxtext.h:
4869         * rowpainter.C:
4870         * text2.C:
4871         * text3.C: remove lastPos uses in favour of Row::endpos
4872
4873 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4874
4875         * undo.C (performUndoOrRedo): fix two crashes by setting a
4876         cursor by hand and reordering some calls. Use bv->lockInset instead
4877         of inset->edit because the latter loses cursor information
4878
4879 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4882         by Martin
4883         (rowBreakPoint): fix width. change point to point + 1.
4884         Add a missing check.
4885
4886 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4887
4888         * MenuBackend.C:
4889         * lyxfunc.C: fix (at least partly) the problems
4890         with the Nav menu and headers inside branch insets
4891         reported by Kayvan
4892
4893 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4894
4895         * paragraph.C (getChar): add strong asserts
4896
4897         * lyxrow_funcs.C (lastPos): remove hideous hack
4898
4899         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4900         (fill): adjust to that (avoid an infinite loop)
4901
4902 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4905
4906 2003-10-23  André Pönitz  <poenitz@gmx.net>
4907
4908         * RowList_fwd.h: change list<> to vector<> to gain speed
4909         after suggestion from Alfredo
4910
4911 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4912
4913         * lyxtext.h: move the bidi stuff from here...
4914         * text.C: and here
4915         * text2.C: and here
4916         * Bidi.[Ch]: ... to here
4917
4918 2003-10-23  André Pönitz  <poenitz@gmx.net>
4919
4920         * lyxtext.h:
4921         * text.C (isLastRow, isFirstRow): new functions
4922
4923         * paragraph.h: new width cache member
4924
4925         * rowpainter.C: replace RowList::iterator with Row & where possible
4926
4927         * lyxfunc.C: replace several view()->text with a single call
4928
4929         * toc.C: fix 'unused' warning
4930
4931 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4932
4933         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4934         when woring with stream::pos_type
4935         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4936
4937 2003-10-22  André Pönitz  <poenitz@gmx.net>
4938
4939         * lyxtext.h:
4940         * text.C: use Row & instead of RowList::iterator
4941
4942         * lyxrow.h: rename end() to endpos()
4943
4944         * rowpainter.C:
4945         * text.C:
4946         * text2.C: adjust
4947
4948 2003-10-22  Angus Leeming  <leeming@lyx.org>
4949
4950         * buffer.[Ch] (fully_loaded): new member function, returning true
4951         only when the file has been loaded fully.
4952         Used to prevent the premature generation of previews and by the
4953         citation inset to prevent computation of the natbib-style label.
4954
4955         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4956         templates are all set up.
4957
4958         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4959
4960 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4961
4962         * text.C: fixed an "oops" in the "is a bit silly"
4963         bug fix
4964
4965 2003-10-21  André Pönitz  <poenitz@gmx.net>
4966
4967         * FuncStatus.[Ch]: small stuff, whitespace
4968
4969         * lyxfont.[Ch]: operator<<() for debug reasons
4970
4971         * lyxfunc.C:
4972         * lyxrow_funcs.C:
4973         * lyxtext.h: whitespace, spelling
4974
4975         * paragraph.C: naming of variables
4976
4977         * text.C:
4978         * text2.C: small stuff
4979
4980
4981 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4982
4983         * text.C: (1) finish off the inset display() work;
4984         (2) fix the "is a bit silly" bug (accessing char
4985         past end of par).
4986
4987 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4988
4989         * text.C: re-introduce display() for insets, fixing the
4990         various bugs (stretch of line above, math inset
4991         positioning, ...)
4992
4993 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4994
4995         * text.C (rightMargin): remove spurious semicolon
4996
4997         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4998         1415)
4999
5000 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5001
5002         * text3.C: fix one crash due to wrong cursor def
5003
5004 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * vc-backend.C (scanMaster): make the regex static
5007
5008         * LaTeX.C (scanAuxFile): make the regexs static
5009
5010         * text3.C (doInsertInset, dispatch, dispatch):
5011         * text2.C (cursorUp, cursorDown):
5012         * text.C (selectNextWordToSpellcheck):
5013         * BufferView_pimpl.C (dispatch):
5014         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5015
5016 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5017
5018         * lyxsocket.C: include <cerrno>
5019
5020 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * lyxfunc.C (dispatch): remove textcache stuff
5023
5024         * bufferlist.C (release): remove textcache stuff
5025         (closeAll): ditto
5026
5027         * TextCache.C: delete file
5028         * TextCache.h: delete file
5029
5030         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5031
5032         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5033         delete of the bv_->text.
5034         (resizeCurrentBuffer): remove texcache stuff
5035         (workAreaResize): ditto
5036
5037 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5038
5039         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5040         action.
5041
5042 2003-10-16  André Pönitz  <poenitz@gmx.net>
5043
5044         * lyxrow.[Ch]:
5045         * paragraph.h:
5046         * rowpainter.C:
5047         * text.C:
5048         * text2.C:
5049         * text3.C: speed up by storing y positions per paragraph plus per-row
5050         offset instead of having a 'full' y position in the row.
5051
5052 2003-10-15  André Pönitz  <poenitz@gmx.net>
5053
5054         * iterators.[Ch]:
5055         * iterators.[Ch]:
5056         * undo.[Ch]: make undo aware of inner insets
5057
5058 2003-10-14  Angus Leeming  <leeming@lyx.org>
5059
5060         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5061         static member functions LyX::ref() and LyX::cref.
5062         (lastfiles): new accessor functions for the new lastfiles_ member var.
5063         (addLyXView, views_): add a new LyXView to the list of views_.
5064         (updateInset): loop over all LyXViews to call their own updateInset
5065         member function, returning a pointer to the Buffer owning the inset.
5066
5067         * BufferView_pimpl.C (loadLyXFile):
5068         * MenuBackend.C (expandLastfiles):
5069         * bufferlist.C (MenuWrite, QuitLyX):
5070         lastfiles is no longer a global variable.
5071         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5072
5073         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5074         static function. Access through LyX::cref().emergencyCleanup().
5075
5076 2003-10-14  André Pönitz  <poenitz@gmx.net>
5077
5078         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5079
5080         * undo.[Ch]: restoring part of 'undo in insets'
5081
5082         * Makefile.am:
5083         * undo_funcs.[Ch]: merge with undo.[Ch]
5084
5085         * tabular.C: small cleansing stuff
5086
5087 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * paragraph_funcs.C (readParToken): report unknown insets as error
5090         boxes. Use the outer paragraph as location (also for unknown
5091         tokens).
5092
5093         * factory.C (readInset): do not abort on reading an unknown inset.
5094         Eat it and return 0.
5095
5096 2003-10-13  Angus Leeming  <leeming@lyx.org>
5097
5098         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5099
5100         * lyxrc.C: displayTranslator is now a function,
5101         declared in GraphicsTypes.h.
5102
5103 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5104
5105         * format.C: new placeholder $$a to pass the socket address.
5106
5107         * bufferlist.[Ch]: new function getBufferFromTmp.
5108
5109         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5110           files in the temporary dir.
5111
5112 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5113
5114         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5115
5116         * Makefile.am: add lyxsocket.[Ch].
5117
5118         * lyx_main.C (error_handler): handle SIGPIPE.
5119
5120 2003-10-13  André Pönitz  <poenitz@gmx.net>
5121
5122         * BufferView_pimpl.C:
5123         * lyxtext.h:
5124         * text.C:
5125         * text2.C:
5126         * text3.C:
5127         * undo_funcs.[Ch]: use paroffset_type instead of
5128           ParagraphList::iterators to prevent multiple conversion
5129           (and get a more robust interface)
5130
5131 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5132
5133         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5134         * lyxtext.h: ditto
5135         * text3.C (dispatch): ditto
5136
5137 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5138
5139         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5140         move the onlyfile, use onlyfile instead of foundfile in a couple
5141         of places.
5142
5143         * DepTable.C (update): flush the error stream a bit more
5144
5145 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5146
5147         * lyxserver.C (callback): adjust
5148
5149         * lyxfunc.C (getStatus): add a missing brace in commented code
5150         (ensureBufferClean): reindent
5151         (dispatch): delete version taking a string
5152
5153 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * LaTeX.C (deplog): move found file handlig from here...
5156         (handleFoundFile): .. to new function here.
5157         (deplog): make sure to discover several files mentioned on the
5158         same log line.
5159
5160 2003-10-10  André Pönitz  <poenitz@gmx.net>
5161
5162         * lyxfunc.C:
5163         * lyxtext.h:
5164         * tabular.C:
5165         * text.C:
5166         * text2.C:
5167         * text3.C: fix some of the tabular crashes
5168
5169 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5170
5171         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5172
5173         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5174
5175 2003-10-09  André Pönitz  <poenitz@gmx.net>
5176
5177         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5178
5179         * BufferView.C:
5180         * BufferView_pimpl.C:
5181         * bufferview_funcs.C:
5182         * lyx_cb.C:
5183         * lyxcursor.C:
5184         * lyxfind.C:
5185         * lyxfunc.C:
5186         * lyxtext.h:
5187         * text.C:
5188         * text2.C:
5189         * text3.C:
5190         * text_funcs.[Ch]:
5191         * textcursor.[Ch]:
5192         * undo_funcs.C: adjust
5193
5194 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * text2.C (incrementItemDepth): new function, use a backtracking
5197         algorithm to discover the correct item depth.
5198         (resetEnumCounterIfNeeded): new function, use a backtracking
5199         algorithm to discover if counter reset is needed.
5200         (setCounter): use them. Simplify a bit. Add different labels for
5201         different item depths for itemize.
5202
5203         * paragraph.C (Paragraph): remove initialization of enumdepth
5204         (operator=): ditto
5205
5206         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5207         enumerate and itemize. Change the type of itemdepth to signed char.
5208
5209 2003-10-08  André Pönitz  <poenitz@gmx.net>
5210
5211         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5212           thing assignable.
5213         * text.C:
5214         * text2.C: adjust
5215
5216         * tabular.[Ch]: fix crash after 'row-insert'
5217
5218 2003-10-08  Angus Leeming  <leeming@lyx.org>
5219
5220         Fix doxygen warnings.
5221
5222         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5223         Remove CutAndPaste:: prefix from header file declaration.
5224
5225         * LColor.h (fill): remove LColor:: prefix from declaration.
5226
5227         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5228         use lyx::depth_type rather than Paragraph::depth_type so that
5229         header file and .C file match.
5230
5231         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5232
5233         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5234         * aspell.C: \file aspell_local.C -> \file aspell.C
5235         * gettext.C: \file gettext.C -> \file src/gettext.C
5236         * gettext.h: \file gettext.h -> \file src/gettext.h
5237         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5238         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5239         * text.C: \file text.C -> \file src/text.C
5240
5241         * toc.C: move comment so that doxygen is not confused.
5242
5243 2003-10-07  Angus Leeming  <leeming@lyx.org>
5244
5245         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5246
5247 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5248
5249         * aspell.C:
5250         * aspell_local.h: add forgotten std::string's.
5251
5252 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5253
5254         * LaTeXFeatures.C:
5255         * LyXAction.C:
5256         * factory.C:
5257         * lfuns.h:
5258         * lyxfunc.C:
5259         * text3.C: The Box patch. Fancybox support, minipage, parbox
5260
5261 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5262
5263         * CutAndPaste.h:
5264         * DepTable.h:
5265         * FloatList.h:
5266         * LaTeXFeatures.h:
5267         * ParagraphParameters.h:
5268         * TextCache.h:
5269         * Thesaurus.h:
5270         * bufferlist.h:
5271         * exporter.h:
5272         * importer.h:
5273         * lastfiles.h:
5274         * lyxfind.h:
5275         * lyxfont.h:
5276         * lyxlex.h:
5277         * lyxtextclasslist.h:
5278         * messages.h:
5279         * paragraph.h:
5280         * paragraph_pimpl.C:
5281         * textcursor.h: add <string> and other small fixes to make Lars'
5282         std::string patch compile with STLport.
5283
5284 2003-10-06  Angus Leeming  <leeming@lyx.org>
5285
5286         * LColor.h: Add missing #include <string>.
5287
5288 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5289
5290         * All most all file in all subdirs: Make <string> be the prefered
5291         way of getting to std::string, add using declarations.
5292
5293 2003-10-06  André Pönitz  <poenitz@gmx.net>
5294
5295         * metricsinfo.C: initialize LyXFont before changing attribute.
5296         (fixes the 'math in \emph is upright' bug)
5297
5298 2003-10-06  André Pönitz  <poenitz@gmx.net>
5299
5300         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5301
5302 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5303
5304         * graph.C:
5305         * paragraph_pimpl.C: Small fixes to build using STLport
5306
5307 2003-10-02  André Pönitz  <poenitz@gmx.net>
5308
5309         * lyxfunc.C:
5310         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5311
5312 2003-10-01  André Pönitz  <poenitz@gmx.net>
5313
5314         * factory.C: assert early
5315
5316 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * lyx_main.C: remove the global debug object
5319
5320         * debug.h: adjust for new debugstream
5321
5322         * debug.C: adjust for new debugstream and keep the global debug
5323         object here.
5324
5325 2003-09-22  Angus Leeming  <leeming@lyx.org>
5326
5327         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5328         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5329         an incomplete class LyXFont.
5330
5331 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5332
5333         * factory.C: bug fix in branches
5334
5335 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * lyxfunc.C (processKeySym): adjust
5338         (dispatch): adjust
5339         (dispatch): change arg name from ev to func, adjust
5340         (sendDispatchMessage): ditto
5341
5342         * lyx_main.C (defaultKeyBindings): adjust keybindings
5343         (deadKeyBindings): ditto
5344
5345         * kbsequence.C (addkey): return a FuncRequest
5346
5347         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5348
5349         * kbmap.C (bind): take a FuncRequest as arg, adjust
5350         (read): adjust
5351         (lookup): adjust
5352         (defkey): change to take a FuncRequest as arg, adjust
5353         (findbinding): take a FuncRequest as arg, adjust.
5354
5355         * funcrequest.h (operator=): added
5356
5357         * funcrequest.C (FuncRequest): default kb_action changed from
5358         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5359
5360         * buffer.C (dispatch): simplify
5361         (dispatch): adjust to take a FuncRequest as arg, adjust
5362
5363         * boost.C (assertion_failed): change assertion message slightly
5364
5365         * ToolbarBackend.C (read): simplify
5366
5367         * MenuBackend.C (binding): adjust call to findbinding, add a
5368         message if no binding is found.
5369         (read): simplify
5370         (expandToc): correct by adding a empty FuncRequest
5371
5372         * LyXAction.C: include <boost/assert.hpp>
5373         (isPseudoAction): delete function
5374         (LookupFunc): change name to...
5375         (lookupFunc): this. change return type to FuncRequest.
5376         (getActionName): take kb_action as arg, simplify
5377         (funcHasFlag): add an assert, simplify.
5378
5379 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * toc.C (action): return a FuncRequest, simplify
5382
5383         * lyxfunc.C (processKeySym): adjust
5384         (getStatus): delete version that takes an int.
5385         (getStatus): adjust
5386         (dispatch): delete version that takes action as int
5387         (dispatch): adjust
5388         (sendDispatchMessage): simplify and adjust
5389
5390         * funcrequest.C (getArg): take unsigned int as arg
5391
5392         * ToolbarBackend.C (read): adjust
5393         (add): delete version that takes func as a string.
5394         (getIton): take a FuncRequest as arg
5395
5396         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5397         action.
5398
5399         * MenuBackend.C (MenuItem): add a new construct that only takes a
5400         Kind, simplify the constructor use for submenus.
5401         (add): adjust
5402         (expandLastfiles): adjust
5403         (expandDocuments): adjust
5404         (expandFormats): adjust
5405         (expandFloatListInsert): adjust
5406         (expandFloatInsert): adjust
5407         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5408
5409         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5410         Remove class variables lyx_pseudo_map and lyx_arg_map
5411
5412         * LyXAction.C (searchActionArg): delete function
5413         (getPseudoAction): delete function
5414         (retrieveActionArg): delete function
5415         (LookupFunc): make it return kb_action, simplify.
5416         (getActionName): simplify
5417
5418         * factory.C (createInset): fix new bug
5419
5420 2003-09-19  Angus Leeming  <leeming@lyx.org>
5421
5422         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5423         masterFilename_ parameter in the include inset.
5424
5425         * factory.C (createInset): changes due to the changes to InsetInclude.
5426
5427 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5428
5429         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5430
5431 2003-09-18  Angus Leeming  <leeming@lyx.org>
5432
5433         * buffer.C:
5434         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5435         Inset::fillWithBibKeys.
5436         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5437
5438 2003-09-18  Angus Leeming  <leeming@lyx.org>
5439
5440         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5441         variables.
5442         (ctor): pass and store a 'Buffer const &'
5443         (buffer): new member function.
5444
5445         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5446         '*this' to the LaTeXFeatures ctor.
5447
5448 2003-09-18  Angus Leeming  <leeming@lyx.org>
5449
5450         * LColor.h:
5451         * lyxfont.C:
5452         * lyxfont.h:
5453         * lyxtext.h:
5454         * text.C: rename EnumLColor as LColor_color.
5455
5456 2003-09-18  Angus Leeming  <leeming@lyx.org>
5457
5458         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5459         remove #include "insets/insetbase.h" from cursor.h.
5460
5461 2003-09-18  Angus Leeming  <leeming@lyx.org>
5462
5463         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5464         InsetOld_code to remove #include "inset.h".
5465
5466         * iterators.C: add #include "insets/inset.h"
5467
5468 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5469
5470         * BufferView.C: remove more locking stuff that apparently doesn't
5471         do anything sensible.
5472
5473 2003-09-16  André Pönitz  <poenitz@gmx.net>
5474
5475         * paragraph.[Ch]:
5476         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5477           performance boost.
5478
5479 2003-09-16  Angus Leeming  <leeming@lyx.org>
5480
5481         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5482
5483         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5484         arg/return type.
5485
5486         * paragraph.h: remove #include "lyxfont.h". Forward declare
5487         LyXFont_size.
5488
5489 2003-09-16  Angus Leeming  <leeming@lyx.org>
5490
5491         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5492         of support/textutils.h.
5493         (isWord): move the contents of support/textutils.h's IsWordChar here.
5494
5495         * buffer.C:
5496         * lyxfind.C:
5497         * rowpainter.C:
5498         * text.C:
5499         * text2.C: add #include "paragraph.h".
5500
5501         * rowpainter.C:
5502         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5503
5504 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * main.C:
5507         * lyx_main.C:
5508         * lyx_cb.C:
5509         * buffer.C:
5510         * LaTeX.C: use namespace alias for lyx::support::os
5511
5512 2003-09-16  Angus Leeming  <leeming@lyx.org>
5513
5514         * bufferparams.C:
5515         * bufferview_funcs.C:
5516         * factory.C:
5517         * lyxfunc.C:
5518         * paragraph_pimpl.C:
5519         * rowpainter.C:
5520         * text.C: add #include "LColor.h".
5521
5522 2003-09-16  Angus Leeming  <leeming@lyx.org>
5523
5524         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5525         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5526         return LyXFont &.
5527         Store the FontBits::color variable as an int rather than as an
5528         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5529         file.
5530
5531         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5532         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5533         string calls together.
5534
5535         * lyxrc.C: add #include "LColor.h".
5536
5537 2003-09-15  Angus Leeming  <leeming@lyx.org>
5538
5539         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5540         a cow_ptr.
5541
5542 2003-09-15  Angus Leeming  <leeming@lyx.org>
5543
5544         * LColor.h: add an EnumLColor wrapper for LColor::color.
5545
5546         * lyxfont.[Ch] (color, setColor, realColor):
5547         * lyxtext.h, text.C (backgroundColor):
5548         pass EnumLColor args to/from the functions, rather than LColor::color
5549         ones.
5550
5551         * lyxfont.h:
5552         * lyxtext.h: forward declare EnumLColor.
5553
5554         * lyx_main.C: add #include "LColor.h".
5555
5556 2003-09-15  Angus Leeming  <leeming@lyx.org>
5557
5558         * .cvsignore: add lyx-gtk.
5559
5560 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * Chktex.C
5563         * LaTeX.C
5564         * LaTeXFeatures.C
5565         * ParagraphParameters.C
5566         * Spacing.C
5567         * buffer.C
5568         * bufferparams.C
5569         * bufferview_funcs.C
5570         * chset.C
5571         * counters.C
5572         * funcrequest.C
5573         * lyxfont.C
5574         * lyxgluelength.C
5575         * lyxlength.C
5576         * paragraph.C
5577         * paragraph_funcs.C
5578         * text3.C
5579         * vc-backend.C: remove usage of STRCONV
5580
5581 2003-09-15  Angus Leeming  <leeming@lyx.org>
5582
5583         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5584         explicitly define the color passed to the painter.
5585
5586 2003-09-15  Angus Leeming  <leeming@lyx.org>
5587
5588         * bufferparams.C (BufferParams): reorder member initializers to avoid
5589         compiler warning.
5590
5591 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5592
5593         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5594         * text.C (updateRowPositions): remove an unusual nop
5595
5596 2003-09-12  André Pönitz  <poenitz@gmx.net>
5597
5598         * BufferView_pimpl.C:
5599         * Bullet.C:
5600         * layout.h:
5601         * lyxfunc.C:
5602         * lyxlayout.[Ch]:
5603         * lyxtextclass.C:
5604         * rowpainter.C:
5605         * text.C:
5606         * text2.C:
5607         * Counters.[Ch]: finish the 'automatic counters' job
5608
5609 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5610
5611         * aspell.C: include <boost/assert.cpp> (compile fix)
5612
5613 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5614
5615         * boost.C (assertion_failed): use lyx::support::abort instead of
5616         assert.
5617
5618 2003-09-10  Angus Leeming  <leeming@lyx.org>
5619
5620         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5621         with their _fwd progeny.
5622
5623 2003-09-09  Angus Leeming  <leeming@lyx.org>
5624
5625         134 files throughtout the source tree: replace 'using namespace abc;'
5626         directives with the appropriate 'using abc::xyz;' declarations.
5627
5628 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5629
5630         * boost.C (emergencyCleanup): moved here from LAssert.c
5631         (assertion_failed): new function, called by BOOST_ASSERT
5632
5633         * several files: change Assert to BOOST_ASSERT
5634
5635 2003-09-09  Angus Leeming  <leeming@lyx.org>
5636
5637         * buffer.[Ch]: Add an Impl class and move Buffer's member
5638         variables into it. As a result move several header files out of
5639         buffer.h.
5640
5641         Add header files to lots of .C files all over the tree as a result.
5642
5643 2003-09-09  Angus Leeming  <leeming@lyx.org>
5644
5645         * buffer.[Ch]: make Buffer's member variables private. Add
5646         accessor functions.
5647
5648         Lots of changes all over the tree as a result.
5649
5650 2003-09-08  Angus Leeming  <leeming@lyx.org>
5651
5652         * graph.C: #include <config.h>.
5653
5654 2003-09-08  Angus Leeming  <leeming@lyx.org>
5655
5656         * BranchList.C:
5657         * BufferView.C:
5658         * BufferView_pimpl.C:
5659         * CutAndPaste.C:
5660         * DepTable.C:
5661         * LaTeX.C:
5662         * LaTeXFeatures.C:
5663         * LyXAction.C:
5664         * MenuBackend.C:
5665         * TextCache.C:
5666         * aspell.C:
5667         * buffer.C:
5668         * bufferlist.C:
5669         * changes.C:
5670         * chset.C:
5671         * converter.C:
5672         * counters.C:
5673         * debug.C:
5674         * graph.C:
5675         * ispell.C:
5676         * lyx_cb.C:
5677         * lyxfind.C:
5678         * lyxfunc.C:
5679         * lyxlex_pimpl.C:
5680         * lyxrc.C:
5681         * lyxrow.C:
5682         * paragraph.C:
5683         * rowpainter.C:
5684         * texrow.C:
5685         * text.C:
5686         * text2.C:
5687         * toc.C: remove redundant using directives.
5688
5689 2003-09-07  Angus Leeming  <leeming@lyx.org>
5690
5691         * LaTeXFeatures.h: remove #include "support/types.h".
5692         * ToolbarBackend.h: remove #include <algorithm>.
5693         * changes.h: remove #include <ctime>.
5694         * debug.h: remove #include <iosfwd>.
5695         * graph.h: remove #include "support/std_string.h".
5696         * lyx_main.h: remove #include <csignal>.
5697         * lyxlex_pimpl.h: remove #include <fstream>.
5698         * sgml.h: remove #include <algorithm>, <utility>.
5699         * toc.h: remove #include "support/std_ostream.h".
5700         Add #include <iosfwd>.
5701
5702 2003-09-07  Angus Leeming  <leeming@lyx.org>
5703
5704         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5705
5706         * converter.h: forward declare LatexRunParams.
5707         * encoding.h: remove #include "lyxrc.h".
5708         * lyxtext.h: remove #include "LColor.h".
5709         * lyxtextclass.h: remove #include "support/types.h".
5710         * trans.h: remove #include "tex-accent.h".
5711         * trans_mgr.h: remove #include "tex-accent.h".
5712         * insets/inset.h: remove #include "support/types.h", <vector>.
5713         * insets/insetcollapsable.h: remove #include "LColor.h".
5714         * insets/insetinclude.h: remove #include "dimension.h".
5715         * insets/insetlatexaccent.h: remove #include "dimension.h".
5716         * insets/insetoptarg.h:: remove #include "insettext.h".
5717         * insets/insettext.h: remove #include "dimension.h",
5718         <boost/shared_ptr.hpp>
5719
5720         * insets/renderers.h: add #include "dimension.h".
5721         * insets/updatableinset.h: add #include "support/types.h".
5722
5723         * many .C files: Associated changes.
5724
5725 2003-09-06  Angus Leeming  <leeming@lyx.org>
5726
5727         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5728         one, inside testInvariant.
5729
5730         * PrinterParams.C: new file.
5731         * PrinterParams.[Ch]: move the function bodies out of line.
5732
5733 2003-09-06  Angus Leeming  <leeming@lyx.org>
5734
5735         * ParagraphParameters.h: forward declare ParameterStruct rather than
5736         including its header file.
5737         (depth): moved out-of-line.
5738
5739 2003-09-06  Angus Leeming  <leeming@lyx.org>
5740
5741         * BufferView_pimpl.h:
5742         * kbmap.h:
5743         * kbsequence.h:
5744         * lyxfunc.h: forward declare LyXKeySym rather than
5745         #include "frontends/LyXKeySym.h".
5746
5747         * BufferView_pimpl.C:
5748         * kbmap.C:
5749         * kbsequence.C:
5750         * lyxfunc.C: associated changes.
5751
5752 2003-09-06  Angus Leeming  <leeming@lyx.org>
5753
5754         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5755         As a result, can remove the #include "insets/inset.h" from BufferView.h
5756
5757 2003-09-06  Angus Leeming  <leeming@lyx.org>
5758
5759         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5760         As a result, can remove the #include "insets/inset.h" from BufferView.h
5761
5762 2003-09-06  Angus Leeming  <leeming@lyx.org>
5763
5764         * buffer_funcs.C:
5765         * buffer.h:
5766         * bufferlist.C:
5767         * BufferView.C:
5768         * bufferview_funcs.C:
5769         * BufferView_pimpl.C:
5770         * CutAndPaste.C:
5771         * lyx_cb.C:
5772         * lyxfunc.C:
5773         * paragraph.h:
5774         * ParagraphParameters.C:
5775         * tabular.C:
5776         * text3.C:
5777         * toc.C:
5778         * undo_funcs.C:
5779         * frontends/controllers/ControlDocument.C:
5780         * insets/insetcaption.C: rearrange the #includes into some sort of
5781         coherent order.
5782
5783         * buffer.h: remove #includes ErrorList.h, undo.h
5784
5785 2003-09-06  Angus Leeming  <leeming@lyx.org>
5786
5787         * support/types.h: add a 'depth_type' typedef, used to store the
5788         nesting depth of a paragraph.
5789
5790         * paragraph.h:
5791         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5792         defining explicitly.
5793
5794         * buffer.h:
5795         * paragraph_funcs.h:
5796         * ParagraphParameters.h:
5797         * sgml.h: use lyx::depth_type rather than Paragraph or
5798         ParameterStruct's depth_type.
5799
5800         * buffer.h
5801         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5802
5803         * BufferView.C:
5804         * BufferView_pimpl.C:
5805         * CutAndPaste.C:
5806         * ParagraphParameters.C:
5807         * buffer_funcs.C:
5808         * bufferlist.C:
5809         * bufferview_funcs.C:
5810         * lyx_cb.C:
5811         * lyxfunc.C:
5812         * tabular.C:
5813         * text3.C:
5814         * toc.C:
5815         * undo_funcs.C:
5816         * frontends/LyXView.C:
5817         * frontends/controllers/ControlDocument.C:
5818         * frontends/controllers/ControlErrorList.C:
5819         * insets/insetbibitem.C:
5820         * insets/insetbranch.C:
5821         * insets/insetcaption.C:
5822         * insets/insetcollapsable.C:
5823         * insets/insetenv.C:
5824         * insets/insetert.C:
5825         * insets/insetfloat.C:
5826         * insets/insetfoot.C:
5827         * insets/insetfootlike.C:
5828         * insets/insetnewline.C:
5829         * insets/insetquotes.C:
5830         * insets/insettabular.C:
5831         * insets/insettext.C:
5832         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5833
5834         * frontends/controllers/ControlChanges.C: #include "changes.h".
5835
5836 2003-09-06  Angus Leeming  <leeming@lyx.org>
5837
5838         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5839         than #including paragraph.h.
5840
5841         * ParagraphList.h:
5842         * RowList.h: deleted. Superfluous.
5843
5844         * CutAndPaste.h:
5845         * iterators.h:
5846         * lyxcursor.h:
5847         * lyxtext.h:
5848         * text_funcs.h:
5849         * undo.h:
5850         * undo_funcs.h:
5851         * insets/inset.h:
5852         * insets/insettext.h: use ParagraphList_fwd.h rather than
5853         ParagraphList.h.
5854
5855         * paragraph.h: don't forward declare ParagraphList.
5856
5857         * buffer.h:
5858         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5859         rather than ParagraphList.h. paragraph.h is still needed for the
5860         Paragraph::depth_type parameters.
5861
5862         * textcursor.h: enable it to compile stand-alone in light of the
5863         above changes.
5864
5865         * bufferview_funcs.C:
5866         * iterators.C:
5867         * lyxfunc.C:
5868         * lyxrow_funcs.C:
5869         * paragraph.C:
5870         * rowpainter.C:
5871         * text.C:
5872         * text2.C:
5873         * text3.C:
5874         * text_funcs.C:
5875         * textcursor.C:
5876         * undo.C:
5877         * frontends/controllers/ControlParagraph.C:
5878         * frontends/controllers/ControlTabular.C:
5879         * insets/insetmarginal.C:
5880         * insets/insetminipage.C:
5881         * insets/insetnote.C:
5882         * insets/insetoptarg.C: add header files needed to compile again.
5883
5884 2003-09-06  Angus Leeming  <leeming@lyx.org>
5885
5886         * RowList_fwd.h: new file, forward-declaring Row rather than
5887         #including lyxrow.h.
5888
5889         * lyxrow_funcs.h:
5890         * lyxtext.h:
5891         * paragraph.h:
5892         * insets/insettext.h: use it instead of RowList.h
5893
5894         * bufferview_funcs.C:
5895         * lyxfunc.C:
5896         * lyxrow_funcs.C:
5897         * paragraph.C:
5898         * rowpainter.C:
5899         * text.C:
5900         * text2.C:
5901         * text3.C: #include "RowList.h".
5902
5903 2003-09-05  Angus Leeming  <leeming@lyx.org>
5904
5905         * factory.C (createInset):
5906         * vspace.C (c-tor): replace sscanf call with an istringstream.
5907         * ispell.C: re-add missing HP/UX headers.
5908         * lyxserver.C: re-add missing  os2 headers.
5909
5910 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5911
5912         * BranchList.C:
5913         * graph.C:
5914         * ispell.C:
5915         * lastfiles.C:
5916         * lyx_cb.C:
5917         * lyxserver.C:
5918         * texrow.C:
5919         * text3.C: re-add missing system headers, needed for 2.95.2.
5920
5921 2003-09-05  Angus Leeming  <leeming@lyx.org>
5922
5923         Changes most place everywhere due to the removal of using directives
5924         from support/std_sstream.h.
5925
5926 2003-09-05  Angus Leeming  <leeming@lyx.org>
5927
5928         Replace LString.h with support/std_string.h,
5929         Lsstream.h with support/std_sstream.h,
5930         support/LIstream.h with support/std_istream.h,
5931         support/LOstream.h with support/std_ostream.h.
5932
5933         Changes resulting throughout the tree.
5934
5935 2003-09-05  Angus Leeming  <leeming@lyx.org>
5936
5937         * sgml.h: ensure that the header file can be compiled stand-alone.
5938         * *.C: strip out redundant #includes. (320 in total.)
5939
5940 2003-09-04  Angus Leeming  <leeming@lyx.org>
5941
5942         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5943         here (from getPackages).
5944
5945         * debug.[Ch]: add a new EXTERNAL tag.
5946
5947 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5948
5949         * text2.C (cursorEnd): simplify
5950         (setCursor): adjust
5951         (getColumnNearX): adjust
5952
5953         * text.C (computeBidiTables): adjust
5954         (fill): adjust
5955
5956         * rowpainter.C (paintChars): adjust
5957         (paintSelection): adjust
5958         (paintChangeBar): adjust
5959         (paintText): adjust
5960
5961         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5962         lastPos instead.
5963         (numberOfSeparators): adjust
5964
5965 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5966
5967         * LyXAction.C:
5968         * box.[Ch]:
5969         * lfuns.h:
5970         * lyxfunc.C:
5971         * text3.C: Restricts the mouse click functionality
5972         of insets like bibtex, include, toc and floatlist to the visible
5973         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5974         up the dialogs. Cursor has to be in front of the inset (i.e.
5975         start of row) for this to function.
5976
5977 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5978
5979         * bufferview_funcs.C (currentState): output row information
5980
5981 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5982
5983         * bufferview_funcs.C (currentState): output paragraph position
5984
5985 2003-09-04  Angus Leeming  <leeming@lyx.org>
5986
5987         * FloatList.h: move out #include "Floating.h".
5988         * LaTeX.h: move out #include "DepTable.h".
5989         * LyXAction.h: move out #include "funcrequest.h".
5990         * buffer.h: move out #include "author.h", "iterators.h".
5991         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5992         * lyx_main.h: move out #include "errorlist.h".
5993         * lyxfunc.h: move out #include "FuncStatus.h".
5994         * lyxtext: move out #include "lyxcursor.h".
5995         * paragraph_pimpl.h: move out #include "counters.h".
5996
5997 2003-09-03  Angus Leeming  <leeming@lyx.org>
5998
5999         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6000         preamble_snippets list, enabling us to add snippets to the preamble
6001         only if the snippet was not there already.
6002
6003 2003-09-04  Angus Leeming  <leeming@lyx.org>
6004
6005         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6006
6007 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6008
6009         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6010         update
6011
6012 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6013
6014         * BranchList.C: point fix, earlier forgotten
6015
6016 2003-09-02  Angus Leeming  <leeming@lyx.org>
6017
6018         * box.C (contains): renamed from 'contained' after a fantastic
6019         amount of hot air.
6020
6021 2003-09-02  John Levon  <levon@movementarian.org>
6022
6023         * BufferView.C:
6024         * lyxcursor.h:
6025         * lyxcursor.C:
6026         * lyxfunc.C:
6027         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6028
6029 2003-09-02  John Levon  <levon@movementarian.org>
6030
6031         * text2.C: simplification of cursorEnd(), including partial
6032         fix for bug 1376
6033
6034 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6035
6036         * buffer.C (readFile): add a space
6037
6038 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6039
6040         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6041
6042 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6043
6044         * buffer.C (readFile): new function, take a filename and a
6045         ParagraphList::iterator
6046         (readFile): adjust
6047         (readFile): adjust, make it private. don't use setStream, make
6048         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6049         always contain the filename.
6050
6051         * BufferView.C (insertLyXFile): simplify and make it work for
6052         gzipped files.
6053
6054 2003-08-30  John Levon  <levon@movementarian.org>
6055
6056         * Makefile.am: fix dist (from Kayvan)
6057
6058 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6059
6060         * most files: change to use const Buffer refs
6061
6062 2003-08-27  André Pönitz  <poenitz@gmx.net>
6063
6064         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6065         on top of ownerPar().
6066
6067 2003-08-27  John Levon  <levon@movementarian.org>
6068
6069         * funcrequest.C: properly initialise POD members
6070
6071 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6072
6073         * lyxtext.h (top_y): move top_y from here
6074         * text.C:
6075         * text2.C:
6076         * text3.C:
6077         * BufferView.[Ch]:
6078         * BufferView_pimpl.[Ch]: to here
6079         * frontends/screen.C:
6080         * insets/insettabular.C:
6081         * insets/insettext.C: adjust
6082         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6083
6084 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6085
6086         * BufferView.[Ch]:
6087         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6088
6089 2003-08-26  André Pönitz  <poenitz@gmx.net>
6090
6091         * paragraph_func.[Ch] (outerPar): new function
6092
6093         * paragraph.C:
6094         * paragraph_funcs.C:
6095         * paragraph_funcs.h:
6096         * paragraph_pimpl.C:
6097         * text2.C: remove Inset::par_owner
6098
6099 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6100
6101         * lyxrow_funcs.C:
6102         * lyxtext.h:
6103         * text.C:
6104         * text2.C: eliminates the needFullRow/display() stuff
6105         altogether, putting the logic in metrics/draw in the insets.
6106
6107 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6108
6109         * text2.C (redoParagraphInternal, redoParagraphs):
6110         * text.C (redoParagraph): add a call to updateRowPositions at the
6111         end of each 'metrics-like' call. Remove all others.
6112         (getRow): remove the 'y-computing' version.
6113         (getRowNearY): do not compute nor return the real y. Solve the
6114         'y < 0' problem and simplify.
6115
6116 2003-08-22  Angus Leeming  <leeming@lyx.org>
6117
6118         * *.[Ch]: clean-up of licence and author blurbs.
6119         Also move config.h out of a few .h files and into a few .C files.
6120
6121 2003-08-22  André Pönitz  <poenitz@gmx.net>
6122
6123         * lyxrow.[Ch]: add x_ and *fill_ members
6124
6125         * lyxtext.h:
6126         * text.C:
6127         * rowpainter.C:
6128         * text2.C: adjust/remove prepareToPrint() calls
6129
6130 2003-08-22  André Pönitz  <poenitz@gmx.net>
6131
6132         * lyxrow.[Ch]: add  end_ member
6133
6134         * lyxrow_funcs.C: use LyXRow::end_
6135
6136         * lyxtext.h (singleWidth): add LyXFont parameter
6137
6138         * rowpainter.C:
6139         * text2.C: adjust LyXText::singleWidth() calls
6140
6141         * text.C (redoParagraph): simplify row breaking logic
6142
6143
6144 2003-08-19  André Pönitz  <poenitz@gmx.net>
6145
6146         * funcrequest.C: initialize button_ member
6147
6148         * text3.C:
6149         * rowpainter.[Ch]: interface consolidation
6150
6151 2003-08-18  André Pönitz  <poenitz@gmx.net>
6152
6153         * BufferView.C:
6154         * BufferView_pimpl.C:
6155         * lyxfind.C:
6156         * paragraph_funcs.C:
6157         * rowpainter.C:
6158         * text3.C: remove LyXScreen::draw() and fitCursor calls
6159
6160         * BranchList.h: remove spurious semicolons
6161
6162         * MenuBackend.C: fix branchlist related crash
6163
6164 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6165
6166         * BranchList.[Ch]:
6167         * InsetList.[Ch]:
6168         * LColor.[Ch]:
6169         * LyXAction.C:
6170         * Makefile.am:
6171         * MenuBackend.[Ch]:
6172         * bufferparams.[Ch]:
6173         * factory.C:
6174         * lfuns.h:
6175         * lyxfunc.C:
6176         * text3.C: implements the 'branch inset'
6177         idea. This allows the output of various versions of a document
6178         from a single source version, selectively outputing or suppressing
6179         output of parts of the text.
6180         This implementation contains a 'branch list editor' in a separate
6181         tab of the document settings dialog. Branches are user definable
6182         and have a "display colour" to distinguish them on-screen.
6183
6184         ColorHandler was somewhat cleaned up.
6185         (1) make possible a dynamically growing LColor list by allowing
6186         the graphic context cache to grow along (vector);
6187         (2) eliminate an IMHO unnecessary step in colour allocation.
6188
6189 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6190
6191         * BufferView_pimpl.C: compile fix
6192
6193 2003-08-15  André Pönitz  <poenitz@gmx.net>
6194
6195         * rowpainter.C: remove extra metrics calls
6196
6197         * lyxtext.h: merge the two constructors into a single one,
6198           pass reference to owner's par list
6199
6200         * BufferView_pimpl.C:
6201         * text.C:
6202         * text2.C: adjust
6203
6204 2003-08-15  André Pönitz  <poenitz@gmx.net>
6205
6206         * lyxrow_funcs.[Ch]:
6207         * lyxtext.h:
6208         * paragraph.h:
6209         * paragraph_funcs.C:
6210         * rowpainter.C:
6211         * text.C:
6212         * text2.C:
6213         * text3.C:
6214         * text_funcs.C: split LyXText::rowlist_ into individual
6215         Paragraph::rows_ chunks
6216
6217         * BufferView.[Ch]:
6218         * BufferView_pimpl.[Ch]:
6219         * lyxfind.C:
6220         * lyxtext.h:
6221         * text3.C: remove toggleSelection()
6222
6223 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6224
6225         * bufferlist.C: beautify two alerts (shorter text of buttons)
6226         * buffer.C: Remove redundant ' ' from message
6227         * tabular.h:
6228         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6229         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6230         rename VALIGN_CENTER to VALIGN_MIDDLE
6231
6232 2003-08-11  André Pönitz  <poenitz@gmx.net>
6233
6234         * lyxtext.h (getPar):
6235         * text.C: new function
6236
6237 2003-08-11  André Pönitz  <poenitz@gmx.net>
6238
6239         * Makefile.am:
6240         * tracer.[Ch]: remove unneeded files
6241
6242         * InsetList.[Ch]: remove resizeInsetsLyXText()
6243
6244         * lyxtext.h:
6245         * text.C:
6246         * text2.C:
6247         * text3.C: merge insertParagraphs() and appendParagraph()
6248         remove breakAgain(), update()
6249
6250         * BufferView_pimpl.[Ch]:
6251         * bufferview_funcs.[Ch]:
6252         * lyxfunc.C:
6253         * paragraph.[Ch]:
6254         * rowpainter.C:
6255         * tabular.C: adjust after text & InsetList changes.
6256
6257 2003-08-08  André Pönitz  <poenitz@gmx.net>
6258
6259         * text.C (insertChar, backspace): replace rowlist fiddling
6260         with rebreak of full par
6261
6262         * lyxtext.h:
6263         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6264         checkParagraph, updateInset): removed
6265
6266 2003-08-07  André Pönitz  <poenitz@gmx.net>
6267
6268         * paragraph.C:
6269         * text3.C: merge some LFUN handlers, remove dead code
6270
6271 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6272
6273         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6274
6275 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6276
6277         * text2.C (DEPM): fix part of bug 1255 and 1256
6278
6279 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6280
6281         * BufferView_pimpl.C (workAreaDispatch): change to use
6282         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6283         that are no mouse related.
6284
6285 2003-08-05  André Pönitz  <poenitz@gmx.net>
6286
6287         * BufferView.[Ch]:
6288         * BufferView_pimpl.[Ch]:
6289         * bufferview_funcs.C:
6290         * text2.C:
6291         * text3.C: rip out "deep update"
6292
6293         * textcursor.[Ch] (last_sel_cursor): remove unused member
6294
6295 2003-08-04  André Pönitz  <poenitz@gmx.net>
6296
6297         * BufferView.[Ch]:
6298         * BufferView_pimpl.[Ch]:
6299         * ParagraphParameters.C:
6300         * bufferview_funcs.C:
6301         * lyx_cb.C:
6302         * lyxfind.C:
6303         * lyxfunc.C:
6304         * text.C:
6305         * text2.C:
6306         * text3.C: replace "complicated" BufferView::update(...) calls with
6307         simpler ones.
6308
6309         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6310
6311 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6312
6313         * Makefile.am (lyx_SOURCES): add paper.h
6314
6315 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6316
6317         * Makefile.am: move things around so that both lyx-qt and
6318         lyx-xforms can be built (according to --with-frontend). Then lyx
6319         is a symbolic link to lyx-[firstfrontend]
6320
6321 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6322
6323         * Always use std::endl with lyxerr
6324
6325 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6326
6327         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6328
6329 2003-08-01  André Pönitz  <poenitz@gmx.net>
6330
6331         * BufferView.[Ch]:
6332         * BufferView_pimpl.[Ch]:
6333         * lyxfunc.C:
6334         * text3.C: merge BufferView::repaint() and BufferView::update()
6335
6336 2003-08-01  José Matos  <jamatos@lyx.org>
6337
6338         * buffer.[Ch]: file_format is no longer a buffer data element.
6339
6340 2003-08-01  André Pönitz  <poenitz@gmx.net>
6341
6342         * BufferView.C:
6343         * lyxtext.h:
6344         * text.C:
6345         * text2.C: make redoParagraph more independent of current cursor
6346
6347         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6348         * text.C:
6349         * text2.C: remove unneeded members
6350
6351 2003-07-30  André Pönitz  <poenitz@gmx.net>
6352
6353         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6354
6355         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6356           create a single function...
6357
6358         * paragraph_funcs.C (moveItem): ... here.
6359
6360         * text.C:
6361           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6362
6363 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6364
6365         * LColor.[Ch]: Add comment and greyedout logical colors.
6366
6367 2003-07-30  André Pönitz  <poenitz@gmx.net>
6368
6369         * tabular.C: don't use Assert too heavily. This crashes where it
6370           shouldn't
6371
6372 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6373
6374         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6375         is disabled (bug 1232)
6376
6377 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6378
6379         * factory.C: limited 'arg' scope
6380
6381 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6382
6383         * factory.C: fixed Note submenu issues
6384
6385 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6386
6387         * factory.C: submenu for Note/Comment/Greyedout
6388
6389 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6390
6391         * lyx_main.C (LyX):
6392         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6393
6394 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6395
6396         * LaTeXFeatures.C:
6397         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6398         greyedout. Patch provided by Jürgen Spitzmüller.
6399
6400 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6401
6402         * kbmap.C (read): fix error message when reading bind files
6403
6404 2003-07-29  Angus Leeming  <leeming@lyx.org>
6405
6406         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6407         certainly does not do what it purports to do. I am doing it, and
6408         us, a favour by killing it.
6409
6410 2003-07-28  José Matos  <jamatos@lyx.org>
6411
6412         * buffer.C (readBody, do_writeFile):
6413         * paragraph.C(readParagraph): \end_document replaces \the_end.
6414
6415 2003-07-29  André Pönitz  <poenitz@gmx.net>
6416
6417         * BufferView.[Ch]:
6418         * BufferView_pimpl.[Ch]:
6419         * lyxfunc.C:
6420         * text2.C:
6421         * text3.C:
6422         * textcursor.[Ch]: remove toggleToggle & Co
6423
6424 2003-07-28  José Matos  <jamatos@fep.up.pt>
6425
6426         * buffer.C (readParagraph):
6427         * params_func (readParToken, readParagraph):
6428         * paragraph.C (write): \layout -> \begin_layout.
6429
6430 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * lyxlex_pimpl.C (setFile): clean up slightly.
6433
6434         * bufferparams.h: add compressed var
6435
6436         * buffer_funcs.C (readFile): adjust for LyXLex change
6437         (newFile): ditto + simplify
6438
6439         * buffer.C (writeFile): handle writing of compressed files
6440
6441         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6442         Check if the file is compressed and set a bufferparm if so.
6443
6444         * Makefile.am (lyx_LDADD): remove explicit -lz
6445
6446 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6447
6448         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6449         makeDocBookFile): put the real LyX version in the first line of
6450         the file
6451
6452         * version.h:
6453         * version.C.in: remove lyx_docversion
6454
6455         * tabular.C (write_attribute): add a template-based version to
6456         write enums properly
6457
6458 2003-07-28  André Pönitz  <poenitz@gmx.net>
6459
6460         * lyxtext.h:
6461         * text.C:
6462         * text2.C:
6463         * text3.C: use doubles again for x-coordinates. They are needed.
6464
6465 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * messages.C (getLocaleDir): use lyx_localedir()
6468
6469         * lyxlex_pimpl.C (setFile): compress stuff
6470
6471         * buffer.C (writeFile): add some compression stuff
6472         (do_writeFile): new func, dont call expliti close... will this
6473         breake anything?
6474
6475         * Makefile.am (lyx_LDADD): add -lz
6476
6477 2003-07-28  José Matos  <jamatos@fep.up.pt>
6478
6479         * buffer.C: increment file format.
6480         * paragraph_funcs (readParagraph, readParToken):
6481         * paragraph.C (readParagraph): add \end_layout.
6482
6483 2003-07-27  Angus Leeming  <leeming@lyx.org>
6484
6485         * Makefile.am: remove special casing for configure-time setting of
6486         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6487
6488         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6489         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6490
6491 2003-07-26  André Pönitz  <poenitz@gmx.net>
6492
6493         * paragraph_func.[Ch]:
6494         * paragraph.C (realizeFont): inline it whereever it is used
6495
6496         * rowpainter.C:
6497         * text.C:
6498         * text2.C:
6499         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6500
6501
6502 2003-07-26  André Pönitz  <poenitz@gmx.net>
6503
6504         *       lyxtext.h:
6505         * text.C:
6506         * text2.C: get rid of LyXText::need_break_row
6507
6508 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * toc.[Ch]: put namespace toc inside namespace lyx
6511
6512         * MenuBackend.C (expandToc2): adjust for lyx::toc
6513         (expandToc): ditto
6514
6515         * lyxfunc.C (dispatch): adjust for lyx::find
6516
6517         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6518         lyx::find instead. Reorganize a bit.
6519         (LyXReplace): rename to replace
6520         (LyXFind): rename to find
6521
6522         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6523         (dispatch): ditto
6524
6525 2003-07-26  André Pönitz  <poenitz@gmx.net>
6526
6527         * text.C (setHeightOfRow): restrict scope of temporary variable
6528
6529         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6530           code (never has been used?)
6531
6532 2003-07-27  Asger Alstrup  <alstrup@local>
6533
6534         * text.C (fill): Optimise algorithm to exploit that we can reuse
6535         the LyXFont for many characters.
6536         (setHeightOfRow): Same thing.
6537         (rowBreakPoint): Same thing.
6538
6539 2003-07-26  Asger Alstrup  <alstrup@local>
6540
6541         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6542
6543         * text.C (singleWidth): Spurious font copying in hot-spot
6544         singleWidth avoided. Reorder tests for arabic for efficiency.
6545
6546         * text.C (fill): handle empty paragraphs better.
6547
6548 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6549
6550         * ispell.C:
6551         * encoding.h: add includes
6552
6553         * lyxrc.C: remove reading of bind files
6554
6555         * lyx_main.C (init): setup bindings and menus only if we have a
6556         gui.
6557
6558         * kbmap.C (read): new method. Do the actual reading of bind
6559         files.
6560
6561         * converter.C (dvipdfm_options):
6562         * bufferparams.C:
6563         * lyxrc.C (read):
6564         (output): adapt PAPER_* enums.
6565
6566         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6567
6568         * bufferparams.h: remove paper-related enums from there
6569
6570         * paper.h: New file. A trivial header file to hold paper-related
6571         enums. It should later expand to contain many paper-related
6572         horrors access.
6573
6574         * lyxrc.C: declare extern displayTranslator
6575
6576 2003-07-27  José Matos  <jamatos@fep.up.pt>
6577
6578         * tabular.[Ch] (linuxdoc): add support for tables and figures
6579         (linuxdoc).
6580
6581 2003-07-27  José Matos  <jamatos@fep.up.pt>
6582
6583         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6584         consistency in both functions.
6585         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6586
6587 2003-07-26  Asger Alstrup  <alstrup@local>
6588
6589         * rowpainter.C (paintRows): Change algorithm to work directly on
6590         the insets rather than asking every character in the document
6591         whether its an inset.
6592
6593 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6594
6595         * buffer.C (openFileWrite): factorize some code
6596
6597 2003-07-26  Angus Leeming  <leeming@lyx.org>
6598
6599         * lyx_cb.C:
6600         * lyx_main.[Ch]: replace occurances of system_tempdir with
6601         os::getTmpDir().
6602
6603 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6604
6605         * rename Inset to InsetOld
6606
6607 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6608
6609         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6610         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6611         which I think is a bit clearer. EDIT is gone, since it was
6612         premature optimisation, and broken for mathed anyway.
6613         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6614         with cursor positioning in insets as well (math insets still do not
6615         work, but that's a different story anyway.) It mysteriously
6616         crashes sometimes with undo in the first paragraph, but I'm fairly
6617         confident that this is a compiler bug.
6618
6619 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * paragraph.C (Paragraph): adjust for new clone return type
6622         (operator==): ditto
6623         (copyIntoMinibuffer): ditto
6624
6625 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6626
6627         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6628         by not having a special case, and always doing a full rebreak of
6629         the document after undo.
6630
6631 2003-07-23  Angus Leeming  <leeming@lyx.org>
6632
6633         * factory.C (createInset): InsetExternal::setParams now takes a
6634         Buffer const * arg.
6635
6636 2003-07-23  Angus Leeming  <leeming@lyx.org>
6637
6638         * factory.C (createInset): changed interface to the external and
6639         graphics mailers' string2params functions.
6640
6641 2003-07-23  Angus Leeming  <leeming@lyx.org>
6642
6643         * factory.C (createInset): pass a
6644         Buffer const * parameter to InsetExternalMailer's string2params.
6645
6646 2003-07-22  John Levon  <levon@movementarian.org>
6647
6648         * Thesaurus.h: include the right aiksaurus header
6649
6650 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6651
6652         * MenuBackend.C (expand): check menu shortcuts unconditionally
6653
6654 2003-07-21  Angus Leeming  <leeming@lyx.org>
6655
6656         * factory.C (createInset): pass a
6657         buffer_path parameter to InsetGraphicsMailer's string2params.
6658
6659 2003-07-21  Angus Leeming  <leeming@lyx.org>
6660
6661         * BufferView_pimpl.C (buffer):
6662         * buffer.C (d-tor):
6663         * lyx_main.C (LyX):
6664         * lyxfunc.C (dispatch):
6665         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6666         rather than the grfx shortcut.
6667
6668 2003-07-21  André Pönitz  <poenitz@gmx.net>
6669
6670         * rowpainter.C: remove unused variables
6671
6672         * tabular_funcs.C:
6673         * tabular_funcs.h: move to tabular.C
6674         * Makefile.am: adjust
6675
6676         * tabular.[Ch]: basic optical cleaning
6677
6678         * author.h: pass references, not values
6679
6680 2003-07-18  André Pönitz  <poenitz@gmx.net>
6681
6682         * lyxtext.h:
6683         * metricsinfo.C:
6684         * metricsinfo.h:
6685         * rowpainter.C:
6686         * text.C:
6687         * text2.C:
6688         * text3.C: two-phase drawing for InsetText and InsetTabular
6689         some float -> int changes.
6690
6691 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6692
6693         * lyx_main.C: fix the fix
6694
6695 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6696
6697         * lyx_main.C: fix a crash in batch mode if no files specified
6698         * converter.C: ws
6699
6700 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6701
6702         * format.[Ch] (papersize): moved to BufferParams
6703         * converter.[Ch] (dvips_options): moved to BufferParams
6704         (dvipdfm_options): moved to anon namespace
6705         * bufferparams.[Ch]: added above functions.
6706
6707 2003-07-17  André Pönitz  <poenitz@gmx.net>
6708
6709         * lyxtext.h:
6710         * rowpainter.C:
6711         * text2.C: don't call inset->update() anymore
6712
6713         * metricsinfo.[Ch]: add convenience constructor
6714
6715 2003-07-16  André Pönitz  <poenitz@gmx.net>
6716
6717         * lyxcursor.[Ch]:
6718         * lyxfunc.[Ch]:
6719         * text.C:
6720         * text2.C: replace the LyXCursor::irow_ member with
6721          on-demand computation of the value
6722
6723 2003-07-16  John Levon  <levon@movementarian.org>
6724
6725         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6726
6727 2003-07-15  André Pönitz  <poenitz@gmx.net>
6728
6729         * text.C:
6730         * text2.C: remove no more needed refresh_row
6731
6732 2003-07-15  André Pönitz  <poenitz@gmx.net>
6733
6734         * lyxtext.h:
6735         * rowpainter.C:
6736         * text2.C:
6737         * text3.C: refresh_status tristate -> need_update bool
6738
6739 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6740
6741         * lyxtext.h (init): remove reinit argument (act as if always true)
6742         * text2.C: adjust to that
6743
6744 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6745
6746         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6747         * text3.C: use it to delete selections in some cases
6748         (bugs 441, 673, 702, 954).
6749
6750 2003-07-14  André Pönitz  <poenitz@gmx.net>
6751
6752         * rowpainter.[Ch]: reduce interface
6753
6754 2003-07-14  André Pönitz  <poenitz@gmx.net>
6755
6756         * BufferView_pimpl.C:
6757         * text2.C: adjust after removing unused BufferView * argument
6758
6759 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6760
6761         * text2.C (init): fix a crash fired on resize
6762
6763 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6764
6765         * buffer.[Ch]: added new closing signal
6766         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6767         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6768         BufferView::Pimpl via the closing the signal
6769
6770 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6771
6772         * buffer.[Ch]: take out all bv-related from buffer
6773         * BufferView.C:
6774         * BufferView_pimpl.[Ch]: connect to new signals
6775         * CutAndPaste.C: removed useless asserts
6776         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6777         * lyxvc.[Ch]:
6778         * vc-backend.[Ch]:
6779         * lyxfunc.C: moved view-related funciontality from vc here
6780         * paragraph.C: removed outdated comments
6781         * text.C: ws
6782
6783 2003-07-10  André Pönitz  <poenitz@gmx.net>
6784
6785         * BufferView_pimpl.C:
6786         * tabular.h:
6787         * tabular_funcs.C:
6788         * text.C:
6789         * text2.C: remove InsetText::InnerCache, clean up consequences
6790
6791 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6792
6793         * ispell.C: fix two typos in error messages
6794
6795 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6796
6797         * Extend Note inset to other forms of annotation like Comment
6798         and Greyedout. Right button click gives dialog.
6799
6800         Files modified or added (+):
6801
6802         * insetnote.[Ch]
6803         * FormNote.[Ch]      +
6804         * ControlNote.[Ch]   +
6805         * form_note.fd       +
6806         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6807         frontends/controllers
6808         * xforms/Dialogs.C
6809         * factory.C
6810
6811 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6812
6813         * aspell.C: add missing namespace lyx::support
6814
6815 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6816
6817         * BufferView.[Ch] (newFile): Add
6818         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6819         * LaTeX.[Ch] (message): added this signal and use it
6820         * buffer.[Ch] (busy, message): added these signals and use them
6821         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6822         * converter.C:
6823         * exporter.C:
6824         * format.C:
6825         * importer.C: use buffer signals instead of direct bv calling
6826         * lyx_cb.[Ch] (ShowMessage): removed
6827         * lyx_main.C:
6828         * lyxfunc.C:
6829         * paragraph_funcs.C:
6830         * text2.C: use buffer signals
6831
6832 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * introduce namespace lyx::graphics
6835
6836 2003-07-02  André Pönitz  <poenitz@gmx.net>
6837
6838         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6839
6840 2003-07-01  André Pönitz  <poenitz@gmx.net>
6841
6842         * text.C:
6843         * text2.C:
6844         * text3.C:
6845         * text_funcs.[Ch]:
6846         * textcursor.h:
6847         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6848           text*.C to text_func.C
6849
6850 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6851
6852         * introduce namespace lyx::support
6853
6854 2003-06-30  André Pönitz  <poenitz@gmx.net>
6855
6856         * Chktex.C:
6857         * funcrequest.C:
6858         * lyxtext.h:
6859         * text.C: re-enable --with-included-string
6860
6861 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * textcursor.C: add <config.h>
6864
6865         * text.C (getWord): remove const from word_location arg
6866
6867         * lyxvc.C (getLogFile): fix const type order
6868
6869         * lyxtext.h: remove const from word_location arg, add arg name
6870
6871         * lyxlayout.h: currect type on labeltype.
6872
6873         * importer.C: correct \file
6874
6875         * converter.C (intToFormat): use std:: on ret val, ws changes
6876
6877         * bufferlist.h: correct \file
6878
6879         * buffer.C (makeLinuxDocFile): fix const type order
6880         (makeDocBookFile): ditto
6881         (fillWithBibKeys): use std:: on stdlib args.
6882
6883         * CutAndPaste.C: fix authors.
6884         (availableSelections): use std:: on return vector
6885
6886 2003-06-27  André Pönitz  <poenitz@gmx.net>
6887
6888         * BufferView_pimpl.C:
6889         * bufferview_funcs.C:
6890         * lyxcursor.C:
6891         * lyxcursor.h:
6892         * lyxfunc.C:
6893         * lyxtext.h:
6894         * rowpainter.C:
6895         * text.C:
6896         * text2.C:
6897         * text3.C: remove LyXCursor::row_ member
6898
6899         * lyxtext.h:
6900         * text.C: rename fullRebreak() to partialRebreak() and implement
6901           a fullRebreak() that really bereks fully
6902
6903         * textcursor.h: new struct for cursor-related data
6904
6905 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6906
6907         * lyx_main.C (LyX): get full path of document loaded on the
6908         command line
6909
6910 2003-06-26  André Pönitz  <poenitz@gmx.net>
6911
6912         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6913           remove unused/broken operator>,<,>=.
6914
6915         *       text.C: remove only use of broken operator<= in an Assert().
6916
6917 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6918
6919         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6920         moved errorlist_.clear to showErrorList
6921
6922 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6923
6924         * converter.C (scanLog, runLaTeX):
6925         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6926         move the bv->showErrorList call to the callers
6927         * lyxfunc.C: i.e. here...
6928         * text2.C: and here
6929         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6930         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6931         namespace, the second to...
6932         * buffer_funcs (BufferFormat, parseErrors): added
6933         * errorlist.C (ErrorList(TeXErrors const &)): removed
6934
6935 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6936
6937         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6938
6939 2003-06-24  "Garst R. Reese" <reese@isn.net>
6940
6941         * debug.C: fix typo
6942
6943 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6944
6945         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6946
6947         * version.C.in: change docversion to 1.4
6948
6949 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6950
6951         * buffer.C: fix a bug just introduced
6952
6953 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6954
6955         * buffer.[Ch]: added the parseError signal and use it, removed
6956         sgmlError
6957         * BufferView.[Ch] (addError): moved to ...
6958         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6959         to the Buffer::parseError signal to catch (guess what) parse errors
6960         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6961
6962 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6963
6964         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6965         ability to create a buffer and to return an existing one from
6966         the list. Moved these functions to...
6967         * buffer_funcs.[Ch]: added
6968         * BufferView.[Ch] (loadLyXFile): added
6969         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6970         job removed from bufferlist::loadLyXFile.
6971         * buffer.C (setReadOnly): make it work without view
6972         (i.e added an if (users))
6973
6974 2003-06-19  Angus Leeming  <leeming@lyx.org>
6975
6976         * lfuns.h:
6977         * LyXAction.C (init):
6978         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6979         with LFUN_DIALOG_SHOW <name> <data>.
6980
6981 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6982
6983         * CutAndPaste.C (availableSelections): small compilation fix for
6984         ancient (gcc 2.9x) compilers
6985
6986 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * text3.C (cursorNext): add tmp var
6989
6990         * text2.C (updateCounters): for function calling out of for clause
6991         (replaceSelectionWithString): ditto
6992         (insertStringAsParagraphs): ditto
6993         (getColumnNearX): add tmp var
6994         (setCursorFromCoordinates): add tmp var
6995         (cursorDownParagraph): add tmp var
6996         (deleteEmptyParagraphMechanism): add tmp var
6997
6998         * text.C (insertChar): add tmp var
6999
7000         * rowpainter.C (paintDepthBar): add tmp var
7001
7002         * CutAndPaste.C (availableSelections): potentially check all
7003         paragraphs in a cut to fill the shown strings.
7004
7005 2003-06-18  André Pönitz  <poenitz@gmx.net>
7006
7007         * kbmap.[Ch]: use vector<> instead of list<>
7008
7009 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7010
7011         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7012         pasteSelection with index
7013
7014         * text2.C (pasteSelection): modify, call pasteSelection with index
7015
7016         * paragraph.C (asString): reimplement version with no interval to
7017         call the one with interval.
7018
7019         * lyxtext.h: add index arg to pasteSelection
7020
7021         * MenuBackend.C (MenuItem): handle PasteRecent
7022         (Menu::read::Menutags): add md_pasterecent
7023         (read): handle it
7024         (expandPasteRecent): new function
7025         (expand): use it
7026
7027         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7028
7029         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7030         the limited stack
7031         (availableSelections): new function
7032
7033 2003-06-17  Angus Leeming  <leeming@lyx.org>
7034
7035         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7036
7037 2003-06-17  Angus Leeming  <leeming@lyx.org>
7038
7039         * lfuns.h:
7040         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7041
7042         * lyxfunc.C (dispatch): invoke it.
7043
7044 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7045
7046         * iterators.C (operator++, ParPosition): reintroduce some
7047         const_cast for the benefit of older compilers.
7048
7049 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7050
7051         * text3.C (dispatch): do not modify clipboard when doing
7052         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7053         LFUN_DELETE_SKIP on a selection selection
7054
7055 2003-06-16  André Pönitz  <poenitz@gmx.net>
7056
7057         * BufferView.C:
7058         * buffer.C:
7059         * buffer.h:
7060         * paragraph.C:
7061         * tabular.[Ch]: IU of clone() and getLabelList();
7062
7063 2003-06-13  André Pönitz  <poenitz@gmx.net>
7064
7065         * tabular.h: compactification
7066
7067 2003-06-12  André Pönitz  <poenitz@gmx.net>
7068
7069         * tabular.C:
7070         * tabular.h:
7071         * tabular_funcs.h: some renaming plus whitespace
7072
7073 2003-06-12  André Pönitz  <poenitz@gmx.net>
7074
7075         * BufferView.C:
7076         * BufferView_pimpl.C:
7077         * CutAndPaste.C:
7078         * buffer.C:
7079         * iterators.[Ch]:
7080         * lyxfunc.C:
7081         * text.C:
7082         * toc.C: Return a Paragraph & for ParIterator::operator*()
7083
7084 2003-06-11  John Levon  <levon@movementarian.org>
7085
7086         * lyx_main.C:
7087         * ToolbarBackend.h:
7088         * ToolbarBackend.C: add "Toolbars" section and
7089         put the flags there
7090
7091 2003-06-10  Angus Leeming  <leeming@lyx.org>
7092
7093         * lfuns.h:
7094         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7095
7096         * lyxfunc.C (dispatch): invoke it.
7097
7098 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7099
7100         * main.C: protect <ios> with HAVE_IOS
7101         (main): protect sync_with_stdio with HAVE_IOS
7102
7103 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7104
7105         * text2.C (cutSelection): adjust
7106         (pasteSelection): adjust
7107
7108         * messages.C: handle get of empty string
7109
7110         * main.C (main): use sync_with_stdio(false)
7111
7112         * lyxfunc.C (dispatch): adjust
7113
7114         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7115         (WriteAs): remove unneeded BufferView arg.
7116
7117         * bufferparams.h: use correct types on papersize, papersize2 and
7118         paperpackage.
7119
7120         * bufferparams.C (readToken): adjust for type
7121         (writeLaTeX): add missing cases to switch.
7122
7123         * bufferlist.C (quitWriteBuffer): adjust
7124         (close): adjust
7125
7126         * buffer.C (asciiParagraph): remove some commented code.
7127
7128         * CutAndPaste.C: remove current_view extern variable.
7129         (cutSelection): add BufferParams arg.
7130         (eraseSelection): add BufferParams arg.
7131         (pasteSelection): add Buffer const & arg
7132
7133 2003-06-07  John Levon  <levon@movementarian.org>
7134
7135         * buffer.C:
7136         * paragraph_funcs.C:
7137         * paragraph_pimpl.C:
7138         * text.C:
7139         * text2.C:
7140         * paragraph.h:
7141         * paragraph.C: allow InsetERT to freely space lines,
7142         and some consolidation of code
7143
7144 2003-06-06  José Matos  <jamatos@fep.up.pt>
7145
7146         * buffer.C (makeDocBookFile): fix bug #821
7147
7148 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7149
7150         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7151
7152 2003-06-04  Angus Leeming  <leeming@lyx.org>
7153
7154         * buffer.C: bump format to 224.
7155
7156 2003-06-05  André Pönitz  <poenitz@gmx.net>
7157
7158         * text2.C (redoParagraphs): remove two const_cast<>
7159
7160 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7161
7162         * ParagraphList.h: remove last remnants of NO_STD_LIST
7163
7164 2003-06-03  Angus Leeming  <leeming@lyx.org>
7165
7166         * factory.C (createInset): small change to the way InsetExternal's params
7167         are set.
7168
7169 2003-06-04  André Pönitz  <poenitz@gmx.net>
7170
7171         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7172
7173         * paragraph_pimpl.h:
7174         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7175
7176         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7177
7178         * undo_funcs.C: make some simple cases of undo work again
7179
7180 2003-06-03  John Levon  <levon@movementarian.org>
7181
7182         * ispell.C: HPUX doesn't have sys/select.h
7183         (from Albert Chin)
7184
7185 2003-06-03  John Levon  <levon@movementarian.org>
7186
7187         * CutAndPaste.C: update tabular and include inset
7188         buffer references
7189
7190         * buffer.h:
7191         * paragraph.h:
7192         * paragraph.C: remove owningBuffer(), don't pass Buffer
7193         to clone()
7194
7195         * factory.C: insetGraphicsParams changed
7196
7197 2003-06-02  John Levon  <levon@movementarian.org>
7198
7199         * LyXAction.C:
7200         * factory.C:
7201         * lfuns.h:
7202         * lyxfunc.C:
7203         * text3.C: remove insetparent
7204
7205 2003-06-02  John Levon  <levon@movementarian.org>
7206
7207         * buffer.h:
7208         * buffer.C: fix inset_iterator.end(), move out of line
7209         (bug 1149)
7210
7211 2003-06-01  John Levon  <levon@movementarian.org>
7212
7213         * text3.C: use a proper cut/paste when doing inset
7214         insert (from Jürgen Spitzmüller)
7215
7216 2003-06-01  John Levon  <levon@movementarian.org>
7217
7218         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7219
7220 2003-05-30  André Pönitz  <poenitz@gmx.net>
7221
7222         * rowpainter.C: unify second drawing phase
7223
7224 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7225
7226         * trans_mgr.C: remove one case of current_view
7227
7228         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7229
7230         * paragraph_funcs.h: remove paragraph.h include
7231
7232         * paragraph.h: delete NO_STD_LIST stuff
7233
7234         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7235
7236         * buffer.h: remove paragraph.h include
7237
7238         * ParagraphList.C: delete file
7239
7240         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7241
7242         * toc.C (getTocList): adjust
7243
7244         * paragraph_pimpl.C (validate): adjust
7245
7246         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7247
7248         * paragraph.C (Paragraph): adjust
7249         (getPositionOfInset): use const_iterator, adjust
7250         (bibitem): use const_iterator, adjust
7251         (setInsetOwner): adjust
7252
7253         * iterators.C (operator++): adjust
7254
7255         * InsetList.[Ch]: Replace selfmade iterator with standard
7256         vector::iterator also introduce const_iterator. Remove getPos,
7257         getInset and setInset from InsetTable. Adjust accordingly.
7258
7259         * BufferView.C (lockInset): adjust
7260         (ChangeInsets): adjust
7261
7262         * tabular.[Ch]: delete commented same_id functions
7263
7264 2003-05-28  John Levon  <levon@movementarian.org>
7265
7266         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7267
7268 2003-05-28  André Pönitz  <poenitz@gmx.net>
7269
7270         * metricsinfo.[Ch]: remove 'fullredraw' member
7271
7272 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7273
7274         * lyxtextclass.C (operator): remove caching.
7275
7276 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7277
7278         * text3.C: adjust
7279
7280         * text2.C (cursorBottom): adjust
7281         (setCounter): use ParagraphList::find, adjust
7282
7283         * text.C (workWidth): use ParagraphList::find, adjust
7284
7285         * lyxcursor.C (LyXCursor): adjust
7286
7287         * buffer.C (inset_iterator): adjust
7288
7289         * ParagraphList.h: make iterator(value_type) private, make
7290         ParagraphList a friend of iterator.
7291
7292         * ParagraphList.C (find): new function
7293
7294         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7295
7296 2003-05-27  André Pönitz  <poenitz@gmx.net>
7297
7298         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7299
7300 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7301
7302         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7303
7304 2003-05-26  John Levon  <levon@movementarian.org>
7305
7306         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7307
7308 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * remove same_id from function signatures, adjust.
7311
7312 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7313
7314         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7315
7316         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7317
7318         * paragraph.C (Paragraph): get rid of same_ids parameter
7319
7320         * ParagraphList.C (insert): adjust
7321         (push_back): adjust
7322
7323 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7324
7325         * paragraph_funcs.C (breakParagraph): adjust
7326         (breakParagraphConservative): adjust
7327
7328         * buffer.C (readParagraph): adjust
7329
7330         * ParagraphList.C (insert): take a reference instead of a pointer
7331         (insert): adjust
7332
7333         * paragraph.[Ch] (id): new function
7334
7335         * bufferlist.C (newFile): adjust
7336
7337         * ParagraphList.C (ParagraphList): adjust
7338         (assign): adjust
7339         (push_back): take a reference instead of a pointer.
7340
7341         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7342
7343         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7344         instead.
7345
7346         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7347         set else use old code.
7348
7349         * ParagraphList.C: remove all NO_NEXT code and only compile this
7350         code of NO_STD_LIST is set.
7351
7352 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7353
7354         * BufferView_pimpl.C:
7355         * TextCache.C:
7356         * TextCache.h:
7357         * bufferlist.C:
7358         * errorlist.h:
7359         * format.C:
7360         * format.h:
7361         * graph.C:
7362         * lyxfunc.C:
7363         * lyxrc.C:
7364         * graphics/GraphicsConverter.C:
7365         * graphics/PreviewLoader.C: header adjustment
7366
7367 2003-05-23  Angus Leeming  <leeming@lyx.org>
7368
7369         * LaTeXFeatures.[Ch] (useBabel): new method.
7370         * bufferparams.C (writeLaTeX): use it.
7371
7372 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * ParagraphList.h (set): remove unused function.
7375
7376 2003-05-23  André Pönitz  <poenitz@gmx.net>
7377
7378         * BufferView.C:
7379         * BufferView_pimpl.C:
7380         * buffer.C:
7381         * buffer.h:
7382         * lyxfunc.C:
7383         * undo_funcs.C: setUndo reworked
7384
7385         * iterators.[Ch]: add access to topmost ParagraphList
7386
7387         * lyxtext.[Ch] (workWidth): add a const
7388
7389 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7390
7391         * texrow.[Ch] (increasePos): remove function
7392         * exporter.C (export): removed unused var and outdated comment
7393
7394 2003-05-23  Angus Leeming  <leeming@lyx.org>
7395
7396         * latexrunparams.h: rename fragile as moving_arg.
7397         * paragraph.C (simpleTeXOnePar): ditto.
7398         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7399
7400 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7403         (createUndo): ditto
7404         (textUndoOrRedo): comment out a currently unused var.
7405
7406         * paragraph.h (NO_NEXT): enable NO_NEXT
7407
7408         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7409
7410         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7411
7412         * exporter.C (Export): adjust for removeAutoInsets removal.
7413
7414         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7415
7416         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7417
7418         * BufferView.[Ch] (removeAutoInsets): delete function
7419
7420 2003-05-22  Angus Leeming  <leeming@lyx.org>
7421
7422         * latexrunparams.h: add a free_spacing variable.
7423
7424         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7425         to pass moving_arg, as the data is stored in runparams.fragile.
7426
7427         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7428         to Inset::latexOptional or to simpleTeXOnePar.
7429
7430         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7431         free_spacing arg to Inset::latexOptional.
7432
7433         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7434         free_spacing arg.
7435
7436 2003-05-22  Angus Leeming  <leeming@lyx.org>
7437
7438         * latexrunparams.h: add fragile and use_babel variables.
7439
7440         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7441         * buffer.C (makeLaTeXFile): store this returned value in
7442         runparams.use_babel, thus passing it to the inset::latex methods.
7443
7444         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7445         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7446
7447         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7448         longer has a fragile arg, as it is stored in runparams.fragile.
7449
7450         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7451         moving_arg parameter as the data is stored in runparams.fragile.
7452
7453         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7454         a fragile parameter as the data is stored in runparams.fragile.
7455
7456 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7457
7458         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7459
7460 2003-05-22  Angus Leeming  <leeming@lyx.org>
7461
7462         * latexrunparams.h: add a 'bool nice' which defaults to false.
7463
7464         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7465         now encapsulated within runparams.
7466
7467         * bufferlist.C (updateIncludedTeXfiles):
7468         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7469
7470 2003-05-22  Angus Leeming  <leeming@lyx.org>
7471
7472         * latexrunparams.h: new file containing struct LatexRunParams.
7473         * Makefile.am: add new file.
7474
7475         * LaTeX.[Ch] (c-tor, run):
7476         * buffer.[Ch] (makeLaTeXFile):
7477         * bufferlist.[Ch] (updateIncludedTeXfiles):
7478         * converter.C (convert, scanLog):
7479         * converter.[Ch] (runLaTeX):
7480         * exporter.C (Export):
7481         * paragraph.[Ch] (simpleTeXOnePar):
7482         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7483         * paragraph_funcs.[Ch] (latexParagraphs):
7484         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7485         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7486         pass around a LatexRunParams parameter.
7487
7488 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7489
7490         * paragraph.[Ch]: remove unused constructor
7491
7492         * ParagraphList.C (erase): new function, taking two iterators
7493
7494 2003-05-22  André Pönitz  <poenitz@gmx.net>
7495
7496         * undo_funcs.C: remove duplicated code
7497
7498         * iterator.[Ch]: operator=
7499
7500 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * tabular.C (SetMultiColumn): ws changes
7503
7504         * rowpainter.C (paintFirst): get rid of a ->previous
7505
7506         * lyx_cb.C (getPossibleLabel): parlist simplification
7507
7508         * BufferView.C (ChangeInsets): simplify slightly.
7509
7510 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7511
7512         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7513         * lfuns.h: new LFUN_SPACE
7514         * lyxfunc.C: protected space has a new lfun
7515         * paragraph_funcs.C: read new space insets
7516         * text3.C:
7517         * factory.C: handle new space insets
7518
7519 2003-05-22  André Pönitz  <poenitz@gmx.net>
7520
7521         * BufferView.C:
7522         * BufferView_pimpl.C:
7523         * buffer.[Ch]:
7524         * lyxfunc.C:
7525         * undo_funcs.C: return a ParIterator from getParFromID.
7526
7527         * iterators.[Ch]: add two const's
7528
7529 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7530
7531         * toc.C (getTocList): adjust
7532
7533         * iterators.[Ch]: rework for parlist
7534
7535         * buffer.C (par_iterator_begin): adjust
7536         (par_iterator_end): adjust
7537
7538         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7539
7540         * BufferView.C (removeAutoInsets): adjust
7541         (ChangeInsets): adjust
7542
7543 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7544
7545         * text.C (top_y): fix bug 1110
7546
7547 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7548
7549         * errorlist.[Ch]: added
7550         * buffer.C:
7551         * BufferView.[Ch]:
7552         * BufferView_pimpl.C:
7553         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7554         instead
7555
7556 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7557
7558         * Makefile.am: ensure that lyx is relinked upon changes to the
7559         various "convenience" libs.
7560
7561 2003-05-20  Angus Leeming  <leeming@lyx.org>
7562
7563         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7564         files are compiled in alphabetical order again.
7565
7566         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7567
7568 2003-05-19  Angus Leeming  <leeming@lyx.org>
7569
7570         * gettext.[Ch]: remove "char const * _(char const *)".
7571
7572 2003-05-19  André Pönitz  <poenitz@gmx.net>
7573
7574         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7575
7576         * Makefile.am:
7577         * BufferView.C:
7578         * DepTable.h:
7579         * LaTeXFeatures.C:
7580         * buffer.C:
7581         * lyxfont.C:
7582         * lyxlex.h:
7583         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7584
7585 2003-05-19  André Pönitz  <poenitz@gmx.net>
7586
7587         * buffer.C:
7588         * lyxlayout.[Ch]:
7589         * lyxtextclass.[Ch]:
7590         * paragraph.C:
7591         * paragraph_funcs.[Ch]:
7592         * text2.C:
7593         * text3.C: more insetenv work
7594
7595 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7596
7597         * ParagraphParameters.C (params2string): small bug fixed
7598
7599 2003-05-16  André Pönitz  <poenitz@gmx.net>
7600
7601         * debug.C:
7602         * bufferview_funcs.C: patch from Kornel Benko to prevent
7603           crash when _(...) is called twice in a statement
7604
7605 2003-05-16  André Pönitz  <poenitz@gmx.net>
7606
7607         * BufferView.C:
7608         * lyxfunc.C:
7609         * text.C:
7610         * text2.C:
7611         * text3.C:
7612         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7613
7614 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7615
7616         * lyx_main.C (init): remove spurious static_cast
7617
7618 2003-05-14  André Pönitz  <poenitz@gmx.net>
7619
7620         * BufferView.C: fix format string
7621
7622 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7623
7624         * BufferView.[Ch] (insertErrors): removed
7625         * BufferView.[Ch] (showErrorList): added
7626         * buffer.C (runChkTeX):
7627         * converter.C (scanLog): call showErrorList instead of inserterrors
7628
7629 2003-05-13  André Pönitz  <poenitz@gmx.net>
7630
7631         * BufferView_pimpl.C:
7632         * buffer.C:
7633         * bufferview_func.C:
7634         * MenuBackend.C:
7635         * lyxfunc.C:
7636         * lyxrc.C:
7637         * tex-accent.C:
7638         * text3.C:
7639         * toc.C:
7640         * tabular_funcs.h: tostr() from its own header
7641
7642         * ParagraphParameters.C:
7643         * ToolbarBackend.C:
7644         * bufferparams.C:
7645         * format.C:
7646         * lyxlex_pimpl.C:
7647         * text3.C: STRCONV()
7648
7649 2003-05-12  André Pönitz  <poenitz@gmx.net>
7650
7651         * BufferView.C:
7652         * BufferView_pimpl.C:
7653         * CutAndPaste.C:
7654         * LaTeX.C:
7655         * LaTeXFeatures.C:
7656         * ParagraphParameters.C:
7657         * buffer.C:
7658         * bufferlist.C:
7659         * bufferparams.C:
7660         * bufferview_funcs.C:
7661         * converter.C:
7662         * counters.C:
7663         * debug.C:
7664         * exporter.C:
7665         * format.C:
7666         * importer.C:
7667         * lyx_cb.C:
7668         * lyx_main.C:
7669         * lyxfont.C:
7670         * lyxfunc.C:
7671         * lyxvc.C:
7672         * paragraph.C:
7673         * paragraph_funcs.C:
7674         * tabular.C:
7675         * tabular_funcs.C:
7676         * text2.C:
7677         * text3.C:  boost::format -> bformat  all over the place
7678
7679
7680 2003-05-09  André Pönitz  <poenitz@gmx.net>
7681
7682         * LColor.[Ch]: Pimpl the #include <map> away
7683
7684 2003-05-09  John Levon  <levon@movementarian.org>
7685
7686         * bufferlist.C: never remove emergency saves
7687
7688 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * Makefile.am: better lib building
7691
7692 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7695         instead.
7696         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7697         (simpleTeXSpecialChars): adjust
7698         (simpleTeXSpecialChars): adjust
7699         * paragraph.C (simpleTeXOnePar): adjust
7700         * buffer.C (makeLaTeXFile): adjust
7701
7702         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7703
7704         * text2.C (changeDepth): parlist cleanup
7705         (getColumnNearX): ditto
7706
7707         * rowpainter.C (getLabelFont): parlist cleanup
7708
7709         * bufferlist.C (newFile): parlist cleanup
7710
7711         * CutAndPaste.C (eraseSelection): parlist cleanup
7712
7713         * BufferView_pimpl.C (trackChanges): parlist cleanup
7714         (dispatch): ditto
7715
7716         * BufferView.C (lockInset): parlist cleanup.
7717         (ChangeInsets): ditto
7718
7719 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * CutAndPaste.h: Update file header.
7722
7723         * CutAndPaste.C: Update file header.
7724         Store the parts cut out of the Document in a limited_stack.
7725         (copySelection): adjust
7726         (pasteSelection): new function, takes the index in the limited stack.
7727         (nrOfParagraphs): adjust
7728         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7729         simplify error inset insertion.
7730         (checkPastePossible): adjust
7731
7732 2003-05-06  John Levon  <levon@movementarian.org>
7733
7734         * text2.C: don't cast wrap inset to float
7735
7736 2003-05-05  André Pönitz  <poenitz@gmx.net>
7737
7738         * iterator.C:
7739         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7740
7741         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7742           few naked Paragraph *.
7743
7744 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7745
7746         * bufferparams.C: Output warning if a document with missing
7747         TeX document class is loaded
7748         * exporter.C: Disable TeX exports if the document class is missing
7749         * lyxtextclass.C:
7750         * lyxtextclass.h:
7751         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7752         isTeXClassAvailable()
7753
7754 2003-05-03  John Levon  <levon@movementarian.org>
7755
7756         * BufferView.h:
7757         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7758         explicit cursor show/hide
7759
7760         * BufferView_pimpl.h:
7761         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7762         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7763
7764         * lyxfunc.C: hide cursor before dispatching.
7765
7766         * lyx_cb.C:
7767         * lyxfind.C:
7768         * text.C:
7769         * text3.C: remove explicit cursor hides
7770
7771 2003-05-02  André Pönitz  <poenitz@gmx.net>
7772
7773         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7774
7775         * undo_funcs.C:
7776         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7777           linked lists
7778
7779         * text2.C: tiny whitespace
7780
7781 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * undo_funcs.C: almost only ws changes.
7784
7785         * ParagraphList.C (splice): just return if pl is empty.
7786
7787 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7788
7789         * ParagraphList.C (splice): new function.
7790
7791         * CutAndPaste.C (pasteSelection): use it
7792
7793 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7794
7795         * CutAndPaste.C (pasteSelection): remove the last next and
7796         previous from this file.
7797
7798 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7799
7800         * CutAndPaste.C (pasteSelection): more clean up, user proper
7801         ParagraphList functions for pasteing.
7802
7803         * ParagraphList.C (insert): new function, three arg insert
7804
7805 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7806
7807         * ParagraphList.C (insert): new function, three arg insert
7808
7809         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7810         not on paragraphs.
7811
7812 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7813
7814         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7815
7816 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7819
7820 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7821
7822         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7823         (copySelection): clean up a bit.
7824         (pasteSelection): use make_pair
7825
7826         * ParagraphList.C (ParagraphList): implement copy constructor
7827         (operator=): implement, base on copy constructor.
7828         (assign): new func
7829
7830         * paragraph.C (erase): return a bool
7831
7832         * paragraph_pimpl.C (erasePos): remove function, move contents...
7833         (erase): ... here. Return a bool.
7834         (erase): call erase instead of erasePos.
7835
7836 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7837
7838         * ParagraphList.h: define PitPosPair
7839         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7840         ParagraphList, fix a bug on pasting multiple pars
7841         * text2.C: change interface to C&P
7842
7843 2003-04-30  André Pönitz  <poenitz@gmx.net>
7844
7845         * undo_func.C: revert part of yesterday's patch 2
7846
7847 2003-04-30  John Levon  <levon@movementarian.org>
7848
7849         * LColor.C: s/tabular/table/
7850
7851 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * text3.C (dispatch): do not convert iterator -> pointer
7854         * undo_funcs.C (setCursorParUndo): ditto
7855         * text_funcs.C (transposeChars): ditto
7856
7857         * text2.C (setLayout): ws changes only
7858
7859         * text.C (breakParagraph): do not convert iterator -> pointer
7860         (insertChar): ditto
7861         (acceptChange): ditto
7862         (rejectChange): ditto
7863         (changeCase): ditto
7864         (Delete): ditto
7865         (backspace): ditto
7866
7867         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7868         pointer
7869
7870 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7871
7872         * text3.C (gotoInset): YABG (yet another bad getChar)
7873
7874 2003-04-29  André Pönitz  <poenitz@gmx.net>
7875
7876         * paragraph.h: make operator= private unimplemented as long as
7877           it is unusable
7878
7879         * ParagraphList.C: whitespace
7880
7881         * paragraph.[Ch]:
7882         * paragraph_pimpl.[Ch]:
7883         * paragraph_funcs.C:
7884         * CutAndPaste.C:
7885         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7886
7887         * text2.C:
7888           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7889
7890 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7891
7892         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7893         * paragraph.[Ch] (erase):
7894         * paragraph_pimpl.[Ch] (erase): change return type and value
7895         * text2.C (cutSelection): some rework
7896
7897 2003-04-28  John Levon  <levon@movementarian.org>
7898
7899         * bufferlist.C: changes for unsaved changes dialog
7900
7901 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7902
7903         * bufferlist.C (newFile): set language (messages_) for new
7904         documents also.
7905
7906         * buffer.C (readFile): ws changes only.
7907
7908 2003-04-28  André Pönitz  <poenitz@gmx.net>
7909
7910         * undo_funcs.C:
7911         * lyxfunc.C:
7912         * buffer.[Ch]:
7913         * BufferView_pimpl.C:
7914         * BufferView.C: getParFromID related ParagraphList::iterator changes
7915
7916 2003-04-28  André Pönitz  <poenitz@gmx.net>
7917
7918         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7919           Changes
7920
7921 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * messages.C: remove one more localedir class variable.
7924
7925 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * messages.C (getLocaleDir): singleton generation function
7928         (Pimpl): use it.
7929         (Messages): add a default constructor.
7930
7931         * main.C (main): do not setup localedir here, do not call
7932         gettext_init.
7933
7934         * gettext.C (_): use it.
7935         (gettext_init): delete funciton
7936
7937 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * gettext.C (getLyXMessages): new singleton generating function.
7940
7941         * buffer.C (updateDocLang): adjust
7942
7943         * Makefile.am (messages.o): add target
7944         (main.o): remove target
7945
7946 2003-04-27  John Levon  <levon@movementarian.org>
7947
7948         * bufferlist.C:
7949         * lyx_cb.C:
7950         * lyxfunc.C:
7951         * lyxvc.C: specify cancel button in Alert::prompt
7952
7953 2003-04-26  John Levon  <levon@movementarian.org>
7954
7955         * text3.C:
7956         * lyxfunc.C:
7957         * lfuns.h:
7958         * LyXAction.C: add LFUN_INSET_SETTINGS
7959
7960         * lyxfunc.C: don't enable tabular-feature when there's
7961         just any locking inset
7962
7963 2003-04-26  John Levon  <levon@movementarian.org>
7964
7965         * bufferlist.C: re-add Cancel to buffer close question
7966
7967         * lyxfunc.C: fix import UI a bit
7968
7969 2003-04-25  John Levon  <levon@movementarian.org>
7970
7971         * gettext.C: remove the broken asserts for now
7972
7973 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * messages.C: make case where setlocale cannot comply work better.
7976
7977         * buffer.C (updateDocLang): new function
7978         (changeLanguage): use it
7979         (readFile): use it
7980
7981         * text2.C (setCounter): use B_ a bit.
7982
7983         * lyxlayout.C (Read): be sure to trim the label strings.
7984
7985         * messages.C (Messages): fix typo in comment
7986
7987         * buffer.C (readFile): set message_ after file is loaded.
7988         (makeDocBookFile): remove double return
7989         (changeLanguage): reset message_ upon language change.
7990         (B_): new func, use this to get translated buffer strings.
7991
7992         * main.C: add myself and Jean Marc as authors.
7993
7994 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7995
7996         * messages.[hC]: pimplify Messages, and three different pimpls to be
7997         used in different circumstances.
7998
7999         * gettext.[Ch]: change for use with new message code.
8000
8001 2003-04-24 André Pönitz <poenitz@gmx.net>
8002
8003         * factory.C: support for eqref
8004
8005 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * messages.[Ch]: add missing char
8008
8009         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8010
8011         * messages.[Ch]: New files
8012
8013 2003-04-18  John Levon  <levon@movementarian.org>
8014
8015         * BufferView.h:
8016         * BufferView.C:
8017         * BufferView_pimpl.C:
8018         * lfuns.h:
8019         * LyXAction.C:
8020         * lyxtext.h:
8021         * text2.C: remove layout-copy/paste (bug 778)
8022
8023 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8024
8025         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8026
8027 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8028
8029         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8030         if they succeed. Act accordingly.
8031
8032 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8033
8034         * text2.C (setCharFont): adjust
8035         (setCounter): adjust
8036         (insertStringAsLines): adjust
8037
8038         * text.C (leftMargin): adjust
8039         (setHeightOfRow): adjust
8040
8041         * rowpainter.C (paintFirst): adjust
8042         (paintLast): adjust
8043
8044         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8045         (outerHook): ditto
8046         (isFirstInSequence): ditto
8047         (getEndLabel): ditto
8048         (outerFont): adjust
8049
8050         * paragraph.C (getParLanguage): comment out some hard stuff.
8051
8052         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8053         (sgmlError): ditto
8054         (simpleDocBookOnePar): ditto
8055         (makeDocBookFile): use ParagraphList::iterator
8056
8057         * CutAndPaste.C (pasteSelection): adjust
8058
8059 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8060
8061         * text2.C (getFont): adjust
8062         (getLayoutFont): adjust
8063         (getLabelFont): adjust
8064
8065         * paragraph_funcs.C (TeXOnePar): adjust
8066
8067         * buffer.C (simpleLinuxDocOnePar): adjust
8068         (simpleDocBookOnePar): adjust
8069
8070         * CutAndPaste.C (pasteSelection): adjust
8071
8072         * BufferView.C (getEncoding): adjust
8073
8074         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8075
8076 2003-04-16  John Levon  <levon@movementarian.org>
8077
8078         * lyxfind.C: use parlist stuff for search/changes
8079
8080 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8083
8084         * text2.C (deleteEmptyParagraphMechanism): adjust
8085
8086         * text2.[Ch] (ownerParagraph): delete func (both of them
8087
8088 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8091
8092 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8093
8094         * ParagraphList.C: prepare for NO_NEXT
8095
8096 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8097
8098         * text2.C (getFont): adjust
8099         (getLayoutFont): adjust
8100         (getLabelFont): adjust
8101
8102         * paragraph.C (getFont): adjust
8103         (getLabelFont): adjust
8104         (getLayoutFont): adjust
8105
8106         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8107
8108 2003-04-15  John Levon  <levon@movementarian.org>
8109
8110         From Angus Leeming
8111
8112         * lyx_main.C: handle Include in .ui files
8113
8114 2003-04-15  John Levon  <levon@movementarian.org>
8115
8116         * MenuBackend.C: make the doc files length shorter
8117
8118         * ToolbarBackend.h:
8119         * ToolbarBackend.C: handle toolbar placement flags,
8120         Minibuffer
8121
8122 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8123
8124         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8125         adjust
8126
8127         * paragraph_funcs.C (TeXOnePar): adjust
8128
8129         * paragraph.C (getLabelFont): add outerfont arg, adjust
8130         (getLayoutFont): ditto
8131         (simpleTeXOnePar): adjust
8132
8133         * paragraph_pimpl.C (realizeFont): delete func
8134
8135 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8136
8137         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8138         row argument, constify cur argument.
8139
8140 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8141
8142         * text2.C (getFont): adjust
8143         (getLayoutFont): adjust
8144         (getLabelFont): adjust
8145
8146         * paragraph_funcs.C (TeXOnePar): adjust
8147         (outerFont): new func...
8148         (realizeFont): ...moved out from here, changed this to facilitate
8149         transition
8150
8151         * paragraph.C (getFont): take outerfont as arg, adjust
8152         (simpleTeXOnePar): add outerfont arg, adjust
8153
8154         * buffer.C (simpleLinuxDocOnePar): adjust
8155         (simpleDocBookOnePar): adjust
8156
8157         * CutAndPaste.C (pasteSelection): adjust
8158
8159         * BufferView.C (getEncoding): adjust
8160
8161 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8162
8163         * text2.C (setCharFont): adjust
8164         (setCounter): adjust
8165
8166         * text.C (leftMargin): adjust
8167         (setHeightOfRow): adjust
8168
8169         * rowpainter.C (paintFirst): adjust
8170         (paintLast): adjust
8171
8172         * paragraph_pimpl.C (realizeFont): adjust
8173
8174         * paragraph.C (isFirstInSequence): move from here...
8175         * paragraph_funcs.C (isFirstInSequence): ...to here
8176
8177         * paragraph.C (outerHook): move from here...
8178         * paragraph_funcs.C (outerHook): ...to here
8179
8180         * paragraph.C (depthHook): move from here...
8181         * paragraph_funcs.C (depthHook): ...to here
8182
8183         * paragraph.C (getEndLabel): move from here...
8184         * paragraph_funcs.C (getEndLabel): ...to here
8185
8186         * text2.C (realizeFont): move from here...
8187         * paragraph_funcs.C (realizeFont): ...to here
8188
8189 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8190
8191         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8192
8193 2003-04-14  Angus Leeming  <leeming@lyx.org>
8194
8195         * LColor.[Ch]: scrap LColor mathcursor.
8196
8197 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8198
8199         * lyxlex.[Ch] (text): delete function
8200         * trans.C (Load): adjust
8201         * paragraph_funcs.C (readParToken): adjust
8202
8203 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8204
8205         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8206         vector<char> instead of a char[].
8207
8208         * lyxlex_pimpl.C (getString): adjust
8209         (next): adjust
8210         (lex): use getString
8211         (eatLine): adjust
8212         (nextToken): adjust
8213
8214         * lyxlex.C (text): use pimpl_->getString()
8215         (getBool): ditto
8216         (findToken): ditto
8217
8218 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8221         (makeFontEntriesLayoutSpecific): temp var for par.size()
8222         (setLayout): temp var for ownerParagraphs().end()
8223         (fullRebreak): temp var for rows().end()
8224         (selectionAsString): temp var for boost::next(startpit), realize
8225         that the while really is a regular for loop.
8226         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8227         setCursor in one place.
8228         (setParagraph): temp vr for ownerParagraphs().end()
8229         (updateCounters): make the while loop a for loop
8230         (cutSelection): temp var for ownerParagraphs().end()
8231         (updateInset): make the do {} while() a regular for loop
8232         (getCursorX): use temp vars
8233         (setCurrentFont): use temp vars
8234         (getColumnNearX): use temp vars
8235
8236 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * text.C (transformChar): use temp var for getChar
8239         (computeBidiTables): use temp var for row->par()
8240         (fill): move temp vars for row->par() and pit->layout() earlier in
8241         the function.
8242         (labelFill): use temp var for row->par()
8243         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8244         asc and desc, realize that pit never changes and that firstpit is
8245         just a duplicate and not needed. Exchange rit->par() with pit in a
8246         lot of places.
8247         (breakAgain): use a temp var for boost::next(rit)
8248         (breakAgainOneRow): ditto
8249         (breakParagraph): use a temp var for rows().begin()
8250         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8251         (cursorRightOneWord): use temp var for cursor.par() and
8252         cursor.pos(), remove usage of tmpcursor.
8253         (cursorLeftOneWord): use temp var for cursor.par() and
8254         cursor.pos() only set cur at end of function.
8255
8256 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * text.C, text2.C: exchange all usage of Paragraph::next with
8259         boost::next(ParagraphList::iterator)
8260
8261         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8262
8263         * text2.C (cursorTop): simplify implementation
8264         (cursorBottom): ditto
8265         (setParagraph): use ParagraphList::iterator
8266         (setCurrentFont): adjust
8267         (getColumnNearX): adjust
8268         (cursorRight): adjust
8269         (cursorLeft): remove usage of Paragraph::previous
8270         (cursorUpParagraph): ditto
8271         (deleteEmptyParagraphMechanism): slight cleanup
8272
8273         * text.C (isBoundary): take a Paragraph const & instead of a
8274         pointer as arg.
8275         (addressBreakPoint): ditto
8276         (leftMargin): remove usage of Paragraph::previous.
8277         (setHeightOfRow): ditto
8278         (cursorLeftOneWord): ditto
8279         (selectNextWordToSpellcheck): ditto
8280         (Delete): ditto
8281         (backspace): ditto
8282         (breakParagraph): remove one usage of Paragraph::next
8283         (redoParagraph): ditto
8284         (acceptChange): ditto
8285         (insertChar): adjust
8286         (rowBreakPoint): adjust
8287
8288         * bufferview_funcs.C (toggleAndShow): adjust
8289
8290 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8291
8292         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8293         methods to access it.
8294         * lyxtext.h:
8295         * text.C: Added updateRowPositions to compute all row positions.
8296         Make top_y and getRowNearY() to use the cached y position
8297
8298 2003-04-11  John Levon  <levon@movementarian.org>
8299
8300         * text.C (rowBreakPoint): reintroduce the labelEnd
8301         checks, code copied from the row fill stuff. Deep voodoo.
8302
8303         * text.C (fill): add a comment and debugging for the
8304         next poor soul.
8305
8306 2003-04-11  John Levon  <levon@movementarian.org>
8307
8308         * text.C: make sure fullrow insets get wrapped to the next line,
8309         even when they're in a manual label
8310
8311 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * text2.C (insertParagraph): make it take ParagraphList::iterator
8314         as arg.
8315         (setLayout): make it return ParagraphList::iterator
8316         (redoParagraphs): ditto
8317         (setCounter): ditto
8318         (checkParagraph): ditto
8319
8320         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8321
8322         * text2.C: adjust several funcs.
8323         (realizeFont): take a ParagraphList::iterator as arg.
8324         (getLayoutFont): ditto
8325         (getLabelFont): ditto
8326         (setCharFont): ditto
8327
8328         * text.C: adjust several funcs.
8329
8330 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8331
8332         * text.C (selectNextWordToSpellcheck): don't accidentally
8333         skip insets
8334
8335 2003-04-10  John Levon  <levon@movementarian.org>
8336
8337         * ToolbarBackend.C (getIcon): special handling for
8338         LFUN_MATH_DELIM
8339
8340 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8341
8342         * text2.C (cursorRight): a getChar assert fixed
8343
8344 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * text2.C (getFont): change to take a ParagraphList::iterator
8347         instead of Paragraph*
8348         Adjust several functions.
8349
8350         * text.C (transformChar): change to take a ParagraphList::iterator
8351         instead of Paragraph*
8352         (singleWidth): ditto
8353         Adjust several functions.
8354
8355         * rowpainter.C: adjust several functions
8356         * rowpainter.h:store a ParagraphList::iterator and not a
8357         Paragraph&.
8358
8359
8360 2003-04-09  John Levon  <levon@movementarian.org>
8361
8362         * lyxfunc.C:
8363         * lfuns.h:
8364         * LyXAction.h:
8365         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8366         and the "help" bits as well
8367
8368 2003-04-09  John Levon  <levon@movementarian.org>
8369
8370         * ToolbarBackend.h:
8371         * ToolbarBackend.C: allow multiple toolbars
8372
8373 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * undo_funcs.C (setCursorParUndo): adjust
8376
8377         * text_funcs.C (transposeChars): adjust
8378
8379         * text3.C (gotoNextInset): adjust
8380         (dispatch): adjust
8381
8382         * text2.C (setLayout): adjust
8383         (changeDepth): adjust
8384         (setFont): adjust
8385         (redoParagraphs): adjust
8386         (selectionAsString): adjust
8387         (setParagraph): adjust
8388         (insertInset): adjust
8389         (cutSelection): adjust
8390         (copySelection): adjust
8391         (pasteSelection): adjust
8392         (insertStringAsLines): adjust
8393         (updateInset): adjust
8394         (setCursor): change to take a ParagraphList::iterator parameter
8395         (setCursorIntern): change to take a ParagraphList::iterator parameter
8396         (setCurrentFont): adjust
8397         (cursorLeft): adjust
8398         (cursorRight): adjust
8399         (deleteEmptyParagraphMechanism): adjust
8400
8401         * text.C (breakParagraph): adjust
8402         (insertChar): adjust
8403         (acceptChange): adjust
8404         (rejectChange): adjust
8405         (selectNextWordToSpellcheck): adjust
8406         (changeCase): adjust
8407         (Delete): adjust
8408         (backspace): adjust
8409
8410         * lyxfind.C (SearchForward): adjust
8411         (SearchBackward): adjust
8412         (nextChange): adjust
8413
8414         * lyxcursor.C (par): adjust
8415
8416         * lyxcursor.h: store a ParagraphList::iterator instead of a
8417         Paragraph*
8418
8419         * lyx_cb.C (getPossibleLabel): adjust
8420
8421         * bufferview_funcs.C (toggleAndShow): adjust
8422
8423         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8424         (dispatch): adjust
8425
8426         * BufferView.C (removeAutoInsets): adjust
8427         (lockedInsetStoreUndo): adjust
8428
8429 2003-04-09  John Levon  <levon@movementarian.org>
8430
8431         * ToolbarBackend.C: try icon without argument
8432         if with argument fails
8433
8434 2003-04-08  John Levon  <levon@movementarian.org>
8435
8436         * ToolbarBackend.h:
8437         * ToolbarBackend.C: add getIcon(), handle tooltip,
8438         and change from "Icon" to "Item".
8439
8440 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8441
8442         * BufferView.C (lockInset): another bad getchar crunched
8443
8444 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8445
8446         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8447         again)
8448
8449 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8450
8451         * lyxfind.C (searchForward, searchBackwards): bug 782
8452
8453 2003-04-07  John Levon  <levon@movementarian.org>
8454
8455         * paragraph.C: remove dead comment
8456
8457         * text.C: remove troublesome depth-fiddling code
8458         in leftMargin() and rightMargin() (bug 1017)
8459
8460         * text.C: fix breaking of rows in nested lists
8461         (bug 1004)
8462
8463         * text2.C (updateCounters): fix up depth values
8464         (bug 1013)
8465
8466 2003-04-07  John Levon  <levon@movementarian.org>
8467
8468         * BufferView_pimpl.C: clear message when doc finishes resizing,
8469         and after a mouse event
8470
8471         * lyxfunc.C: clear message after exiting inset
8472
8473 2003-04-07  John Levon  <levon@movementarian.org>
8474
8475         * bufferview_funcs.C: show math status not outside
8476         status in the statusbar
8477
8478 2003-04-07  John Levon  <levon@movementarian.org>
8479
8480         * lyxfunc.C: note status changed after a depth change
8481
8482 2003-04-04  Angus Leeming  <leeming@lyx.org>
8483
8484         * LaTeX.h: move AuxInfo operator==, != out of line.
8485         Remove LaTeX virtual destructor; nothing derives from it.
8486         Move operator()() out of public area and rename it startscript().
8487         Change protected for private.
8488
8489 2003-04-04  Angus Leeming  <leeming@lyx.org>
8490
8491         * lyxfunc.C:
8492         * text2.C: remove unneeded #includes.
8493
8494 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8495
8496         * text2.C (dEPM): fix the heigth of the next row
8497
8498 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8499
8500         * text.C: squashed an invalid getChar requester + some ws changes
8501
8502 2003-04-03  John Levon  <levon@movementarian.org>
8503
8504         * bufferview_funcs.h:
8505         * bufferview_funcs.C:
8506         * lyxfunc.C:
8507         * lyxtext.h:
8508         * text2.C: make getStatus work for the env depth lfuns
8509
8510 2003-04-03  John Levon  <levon@movementarian.org>
8511
8512         * bufferview_funcs.h:
8513         * bufferview_funcs.C:
8514         * lyxfunc.C:
8515         * lyxtext.h:
8516         * text2.C: parlistize decDepth(), by merging it with incDepth()
8517
8518 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8519
8520         * lyxrow.h: store a ParagraphList::iterator instead of a
8521         Paragraph* and adjust other class functions to suit.
8522
8523         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8524         above.
8525
8526 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8527
8528         * text2.C (setCursor): do not anchor to cursor row for the time being
8529
8530 2003-04-02  John Levon  <levon@movementarian.org>
8531
8532         * LyXAction.C:
8533         * lfuns.h:
8534         * lyx_main.C:
8535         * lyxtext.h:
8536         * text.C:
8537         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8538
8539 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8540
8541         * paragraph.h: make ParagraphList and ParagraphList::iterator
8542         friends of Paragraph.
8543
8544         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8545
8546         * ParagraphList.C: Use the private next_ and previous_ from
8547         Paragraph.
8548
8549 2003-04-01  John Levon  <levon@movementarian.org>
8550
8551         * ToolbarBackend.h:
8552         * ToolbarBackend.C:
8553         * Makefile.am: rename, remove defaults gunk
8554
8555         * MenuBackend.h:
8556         * MenuBackend.C: remove defaults gunk
8557
8558         * Languages.h:
8559         * Languages.C: remove defaults gunk
8560
8561         * lyx_main.h:
8562         * lyx_main.C: error out if files couldn't be found.
8563
8564 2003-04-02  John Levon  <levon@movementarian.org>
8565
8566         * text2.C: make incDepth() use parlist
8567
8568 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * undo_funcs.C (firstUndoParagraph): adjust
8571
8572         * text3.C (gotoInset): adjust
8573         (dispatch): adjust, and rewrite loop.
8574
8575         * text2.C (init): adjust, and rewrite loop.
8576         (redoParagraphs): adjust
8577         (updateInset): adjust, and rewrite loop.
8578         (deleteEmptyParagraphMechanism): adjust
8579
8580         * tabular.C (LyXTabular): adjust
8581         (SetMultiColumn): adjust
8582         (TeXRow): adjust
8583
8584         * lyxtext.[Ch] (ownerParagraph): delete function
8585         (ownerParagraphs): new function returns a ParagraphList.
8586
8587         * BufferView.C (removeAutoInsets): adjust
8588         (insertErrors): adjust
8589         (setCursorFromRow): adjust
8590
8591 2003-04-01  Angus Leeming  <leeming@lyx.org>
8592
8593         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8594         in the frontends.
8595
8596 2003-04-02  John Levon  <levon@movementarian.org>
8597
8598         * lyxtext.h:
8599         * text.C:
8600         * Makefile.am:
8601         * text_funcs.h:
8602         * text_funcs.C: make transposeChars a free function
8603
8604         * lyxrow_funcs.C: remove wrong comment
8605
8606 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8607
8608         * lyxtext.h: adjust
8609         * rowpainter.C: adjust
8610         * text.C: adjust
8611         * text2.C: adjust
8612         * text3.C: adjust
8613
8614         * lyxrow_funcs. [Ch]: new files
8615
8616         * lyxrow.[Ch]: remove next and previous pointers
8617         (next,previous): remove accessor functions
8618         (isParEnd): move to lyxrow_funcs
8619         (lastPos): move to lyxrow_funcs
8620         (nextRowIsAllInset): move to lyxrow_funcs
8621         (lastPrintablePos): move to lyxrow_funcs
8622         (numberOfSeparators): move to lyxrow_funcs
8623         (numberOfHfills): move to lyxrow_funcs
8624         (numberOfLabelHfills): move to lyxrow_funcs
8625         (hfillExpansion): move to lyxrow_funcs
8626
8627         * lyxfunc.C: adjust
8628
8629         * bufferview_funcs.C (toggleAndShow): adjust
8630
8631         * RowList.h: Remove class RowList from file leave just a
8632         std::list<Row>.
8633
8634         * RowList.C: delete file
8635
8636         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8637         and lyxrow_funcs.h
8638
8639 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8640
8641         * text3.C (cursorPrevious): adjust
8642         (cursorNext): adjust
8643         (dispatch): adjust
8644
8645         * text2.C (redoHeightOfParagraph): adjust
8646         (redoDrawingOfParagraph): adjust
8647         (setCursor): adjust
8648
8649         * text.C (breakParagraph): adjust
8650         (insertChar): adjust
8651         (backspace): adjust
8652
8653         * rowpainter.C (RowPainter): adjust
8654         (leftMargin): simplify and adjust
8655         (most rowpainter functions): adjust.
8656
8657         * rowpainter.h: store the row as RowList::iterator not as Row*
8658
8659         * lyxcursor.C (row): taka RowList::iterator as arg
8660         (irow): ditto
8661
8662         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8663         of Row*.
8664
8665 2003-04-01  Angus Leeming  <leeming@lyx.org>
8666
8667         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8668         stuff like bool Bool.
8669
8670 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8671
8672         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8673         rewrite a loop
8674
8675 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8676
8677         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8678         RowList::iterator.
8679
8680         * lyxtext.h (rows): drop one version and leve a const variant that
8681         returns a RowList::iterator.
8682
8683 2003-03-31  Angus Leeming  <leeming@lyx.org>
8684
8685         * text.C (fill): ensure that the signature is the same as that in the
8686         header file.
8687
8688 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8689
8690         * text2.C (redoParagraphs): adjust
8691         (updateCounters): adjust
8692         (checkParagraph): adjust
8693         (getColumnNearX): adjust and reformat a bit.
8694
8695         * text.C (top_y): adjust
8696         (workWidth): adjust
8697         (leftMargin): adjust
8698         (prepareToPrint): adjust
8699         (getRow): adjust
8700         (getRowNearY): adjust
8701
8702         * lyxtext.h: make rowlist_ mutable.
8703
8704         * RowList.h: add const_iterator
8705         * RowList.C: adjust for RowList::const_iterator.
8706
8707         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8708         adjust.
8709
8710 2003-03-31  John Levon  <levon@movementarian.org>
8711
8712         * lyxrc.h:
8713         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8714
8715         * lyx_main.C: set default fonts from using lyx_gui funcs
8716
8717         * exporter.C: pdf_mode moved from lyxrc
8718
8719         * lyx_cb.C:
8720         * lyxfunc.C: changes from above
8721
8722 2003-03-31  John Levon  <levon@movementarian.org>
8723
8724         * lyx_main.C: fix to the last fix
8725
8726 2003-03-31  John Levon  <levon@movementarian.org>
8727
8728         * bufferlist.C: "Load original" -> "Load Original"
8729
8730         * converter.C:
8731         * exporter.C:
8732         * importer.C:
8733         * lyx_main.C:
8734         * format.C: more Alert cleanups
8735
8736 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * text2.C (removeParagraph): make it take a RowList::iterator as
8739         arg, adjust.
8740         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8741         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8742
8743         * text.C (anchor_row): make it take a RowList::iterator as arg,
8744         adjust.
8745         (computeBidiTables): make it take a const reference to Row instead
8746         of Row pointer, adjust.
8747         (leftMargin): make it take a RowList::iterator as arg, adjust.
8748         (rowBreakPoint): adjust
8749         (breakAgainOneRow): make it take a RowList::iterator as arg,
8750         adjust.
8751         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8752
8753         * bufferview_funcs.C (toggleAndShow): adjust
8754
8755 2003-03-30  John Levon  <levon@movementarian.org>
8756
8757         * Makefile.am:
8758         * BoostFormat.h:
8759         * boost-inst.C: moved to support
8760
8761         * several files: changes as a result
8762
8763 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8764
8765         * text2.C (LyXText): adjust.
8766         (init): adjust
8767         (removeRow): make it take a RowList::iterator as arg, adjust.
8768         (fullRebreak): adjust
8769         (deleteEmptyParagraphMechanism): adjust
8770         (clearPaint): adjust
8771         (postPaint): adjust
8772
8773         * text.C (top_y): adjust
8774         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8775         (breakAgain): make it take a RowList::iterator as arg, adjust.
8776         (breakParagraph): adjust
8777         (insertChar): adjust
8778         (backspace): adjust
8779
8780         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8781         need_break_row, and refresh_row.
8782
8783         * text3.C (dispatch): adjust
8784
8785         * text2.C (checkParagraph): adjust
8786         (setCursor): adjust
8787         (setCursorFromCoordinates): adjust
8788
8789         * text.C (top_y): adjust
8790         (workWidth): adjust
8791         (getRow): make it return a RowList::iterator, adjust
8792         (getRowNearY): make it return a RowList::iterator, adjust
8793
8794         * text2.C (init): adjust
8795         (insertRow): remove function
8796         (insertParagraph): adjust
8797         (redoParagraphs): adjust
8798         (fullRebreak): adjust
8799         (updateCounters): adjust
8800
8801         * text.C (top_y): rewrite to use RowList iterators.
8802         (top_y): adjust
8803         (setHeightOfRow): rewrite to sue RowList iterators.
8804         (appendParagraph): adjust
8805         (breakAgain): adjust
8806         (breakAgainOneRow): adjust
8807         (breakParagraph): adjust
8808         (getRow): adjust
8809         (getRowNearY): adjust, and remove commented code.
8810
8811         * lyxtext.h (firstRow): delete function
8812         (lastRow): delete function
8813         (rows): new function (const and non-const versions.)
8814         (insertRow): delete function
8815
8816         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8817
8818 2003-03-29  John Levon  <levon@movementarian.org>
8819
8820         * BufferView_pimpl.C: always update scrollbar top
8821         because pasting text when we're anchored could mean we
8822         miss an update altogether
8823
8824 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8825
8826         * text2.C (init): use rowlist_.end() and not 0.
8827         (insertRow): change to take a RowList::iterator as arg, adjust
8828         for this.
8829         (insertParagraph): change to take a RowList::iterator as arg,
8830         adjust for this.
8831         (redoParagraphs): remove some debug msgs.
8832
8833         * text.C (appendParagraph): change to take a RowList::iterator
8834         arg, adjust for this.
8835         (breakAgain): add an assert
8836         (breakAgainOneRow): ditto
8837
8838 2003-03-29  John Levon  <levon@movementarian.org>
8839
8840         * text2.C: do not clear selection after inc/decDepth
8841         (bug 550)
8842
8843 2003-03-29  John Levon  <levon@movementarian.org>
8844
8845         * BufferView.C:
8846         * buffer.C: fix broken strerrors according to Lars
8847
8848 2003-03-29  John Levon  <levon@movementarian.org>
8849
8850         * converters.C: more Alert cleanups
8851
8852 2003-03-29  John Levon  <levon@movementarian.org>
8853
8854         * bufferview_funcs.C: remove pointless Alert
8855
8856         * buffer.C: fix confusing error message when
8857         a template is chmoded 000
8858
8859 2003-03-29  John Levon  <levon@movementarian.org>
8860
8861         * BufferView.C:
8862         * BufferView.h:
8863         * BufferView_pimpl.C: Alert fixes
8864
8865         * Makefile.am:
8866         * tabular.C:
8867         * tabular-old.C: remove unused table compat reading
8868
8869 2003-03-29  John Levon  <levon@movementarian.org>
8870
8871         * BufferView.C:
8872         * buffer.C:
8873         * lyx_cb.h:
8874         * lyx_cb.C: more Alert cleanups
8875
8876         * lyxfunc.C: don't allow chktex if not latex document
8877
8878 2003-03-29  John Levon  <levon@movementarian.org>
8879
8880         * lyx_cb.C:
8881         * BufferView.C:
8882         * buffer.C: warnings pushed down from support/,
8883         kill err_alert
8884
8885 2003-03-29  John Levon  <levon@movementarian.org>
8886
8887         * lyxfunc.C: safety check for C-r (revert)
8888
8889 2003-03-29  John Levon  <levon@movementarian.org>
8890
8891         * bufferlist.h:
8892         * bufferlist.C: several UI fixes using Alert::prompt.
8893         Fix the pointless looping quit code. Fix stupid revert
8894         behaviour (bug 938)
8895
8896         * lyxvc.h:
8897         * lyxvc.C:
8898         * lyx_cb.C: use Alert::prompt
8899
8900         * lyx_main.C: remove a silly question
8901
8902         * lyxfunc.C: remove a couple of silly questions,
8903         use Alert::prompt
8904
8905 2003-03-28  John Levon  <levon@movementarian.org>
8906
8907         * text2.C: fix bug 974 (End on empty par)
8908
8909 2003-03-28  John Levon  <levon@movementarian.org>
8910
8911         * BufferView_pimpl.C:
8912         * LyXAction.C:
8913         * lfuns.h: remove do-nothing math greek lfuns
8914
8915 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8916
8917         * lyxgluelength.h (isValidGlueLength): add default arg on
8918         parameter 2. Remove default arg from friend in class.
8919
8920         * lyxlength.h (isValidLength): add default arg on parameter 2.
8921         Remove default arg from friend in class.
8922
8923         * text2.C (LyXText): adjust, initialize refresh_row.
8924         (init): adjust
8925         (removeRow): adjust
8926         (insertRow): adjust
8927         (insertParagraph): adjst
8928         (redoParagraphs): adjust
8929         (fullRebreak): adjust
8930         (updateCounters): adjust
8931         (deleteEmptyParagraphMechanism): first attempt at fixing a
8932         crashing bug.
8933
8934         * text.C (top_y): adjust
8935         (setHeightOfRow): adjust
8936         (getRow): adjust
8937         (getRowNearY): adjust
8938
8939         * lyxtext.h: include RowList.h
8940         (~LyXText): not needed anymore, deleted.
8941         (firstRow): modify for RowList
8942         (lastRow): new function
8943         Delete firstrow and lastrow class variables, add a Rowlist
8944         rowlist_ class variable.
8945
8946         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8947         paragraph is empty.
8948
8949         * RowList.C (insert): fix case where it == begin().
8950
8951 2003-03-26  Angus Leeming  <leeming@lyx.org>
8952
8953         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8954         the thesaurus dialog.
8955
8956 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8957
8958         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8959
8960         * RowList.[Ch]: new files
8961
8962         * ParagraphList.C (erase): handle the case where it == begin
8963         correctly.
8964
8965 2003-03-25  John Levon  <levon@movementarian.org>
8966
8967         * Makefile.am:
8968         * aspell_local.h:
8969         * aspell.C: add new aspell support
8970
8971         * lyxrc.h:
8972         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8973         have it accessible.
8974
8975 2003-03-25  Angus Leeming  <leeming@lyx.org>
8976
8977         * lfuns.h:
8978         * LyXAction.C (init): new LFUN_INSET_INSERT.
8979
8980         * BufferView_pimpl.C (dispatch): split out part of the
8981         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8982
8983         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8984         LFUN_INSET_APPLY.
8985
8986 2003-03-25  Angus Leeming  <leeming@lyx.org>
8987
8988         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8989
8990 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8991
8992         * text2.C:
8993         * text3.C: remove useless row->height(0)
8994
8995 2003-03-25  John Levon  <levon@movementarian.org>
8996
8997         * lyxtext.h:
8998         * text2.C:
8999         * text3.C: rename the refreshing stuff to better names
9000
9001 2003-03-24  John Levon  <levon@movementarian.org>
9002
9003         * BufferView_pimpl.h:
9004         * BufferView_pimpl.C: update layout choice on a mouse
9005         press/release
9006
9007 2003-03-23  John Levon  <levon@movementarian.org>
9008
9009         * Makefile.am: fix commandtags.h reference
9010
9011 2003-03-22  John Levon  <levon@movementarian.org>
9012
9013         * BufferView_pimpl.C:
9014         * lyxtext.h:
9015         * rowpainter.C:
9016         * rowpainter.h:
9017         * text.C:
9018         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9019
9020 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9021
9022         * lyxtext.h:
9023         * text.C: take the rtl methods out of line
9024
9025 2003-03-21 André Pönitz <poenitz@gmx.net>
9026
9027         * metricsinfo.[Ch]: new files containing structures to be passed around
9028         during the two-phase-drawing...
9029
9030 2003-03-21 André Pönitz <poenitz@gmx.net>
9031
9032         * lyxtextclass.C: read 'environment' tag.
9033
9034 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9035
9036         * text2.C (removeRow): fix bug 964
9037
9038 2003-03-20  John Levon  <levon@movementarian.org>
9039
9040         * rowpainter.C:
9041         * text.C:
9042         * text2.C: paint cleanups. Inset::update() dropped font
9043         parameter
9044
9045 2003-03-19  John Levon  <levon@movementarian.org>
9046
9047         * lyxfunc.C: only fitcursor/markDirty if available()
9048
9049 2003-03-19  John Levon  <levon@movementarian.org>
9050
9051         * commandtags.h: rename to ...
9052
9053         * lfuns.h: ... this, and renumber / cleanup
9054
9055 2003-03-19  John Levon  <levon@movementarian.org>
9056
9057         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9058         fit the cursor after an lfun
9059
9060         * BufferView.h:
9061         * BufferView.C:
9062         * BufferView_pimpl.h:
9063         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9064
9065         * LyXAction.C: layout-character should have ReadOnly
9066
9067         * ParagraphParameters.C:
9068         * buffer.C:
9069         * bufferview_funcs.C:
9070         * lyx_cb.C:
9071         * lyxfind.C:
9072         * lyxtext.h:
9073         * text.C:
9074         * text2.C:
9075         * text3.C:
9076         * undo_funcs.C: changes from above
9077
9078 2003-03-18  John Levon  <levon@movementarian.org>
9079
9080         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9081         remove it from update()
9082
9083         * lyxfunc.C: update layout choice after an lfun
9084
9085         * text3.C: remove extra updateLayoutChoice()s
9086
9087 2003-03-18  John Levon  <levon@movementarian.org>
9088
9089         * text.C: top_y change means full repaint, fix
9090         a drawing bug with cursor movement
9091
9092 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9093
9094         * lyxtext.h:
9095         * text.C:
9096         * text2.C: anchor row on setCursor
9097
9098 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9099
9100         * lyxtext.h: remove almost all mutable keywords
9101         * text.C:
9102         * text2.C:
9103         * text3.C: remove const keywords accordingly
9104
9105 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9106
9107         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9108         anon namespace
9109         (TeXEnvironment): ditto
9110         (TeXOnePar): ditto
9111
9112 2003-03-17  John Levon  <levon@movementarian.org>
9113
9114         * text.C (rowBreakPoint): remove attempt to fix displayed
9115         math insets inside a manual label
9116
9117 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9118
9119         * lyxtext.h: remove BufferView* as first arg from almost all class
9120         functions.
9121         * other files: adjust.
9122
9123 2003-03-17  John Levon  <levon@movementarian.org>
9124
9125         * lyxtext.h:
9126         * undo_funcs.C:
9127         * text2.C: more paint cleanups
9128
9129         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9130
9131         * rowpainter.h:
9132         * rowpainter.C: remove "smart" background painting code
9133
9134 2003-03-16  John Levon  <levon@movementarian.org>
9135
9136         * lyxtext.h:
9137         * text.C:
9138         * text2.C:
9139         * text3.C: add helper functions for setting refresh_row/y
9140
9141 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9142
9143         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9144         newline inset which *can* get inserted in the pass_thru layouts.
9145         This is primarily for literate documents.
9146
9147 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9148
9149         * buffer.C: increment LYX_FORMAT to 223
9150
9151 2003-03-14 André Pönitz <poenitz@gmx.net>
9152
9153         * textclass.h: prepare for environment handling, ws changes
9154         * lyxlayout.C: read latexheader and latexfooter tags
9155
9156 2003-03-14  John Levon  <levon@movementarian.org>
9157
9158         * text2.C: rewrite ::status() a bit
9159
9160 2003-03-13  John Levon  <levon@movementarian.org>
9161
9162         * lyxtext.h: add some docs
9163
9164 2003-03-13  John Levon  <levon@movementarian.org>
9165
9166         * lyxtext.h:
9167         * text.C:
9168         * text2.C:
9169         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9170
9171 2003-03-13  John Levon  <levon@movementarian.org>
9172
9173         * text3.C: fix appendix redrawing
9174
9175 2003-03-13  John Levon  <levon@movementarian.org>
9176
9177         * text.C (setHeightOfRow):
9178         * rowpainter.h:
9179         * rowpainter.C: make appendix mark have the text
9180           "Appendix" so the user knows what it is
9181
9182         * LColor.h:
9183         * LColor.C: s/appendixline/appendix/ from above
9184
9185 2003-03-13  John Levon  <levon@movementarian.org>
9186
9187         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9188
9189         * text.C: fix a getChar(pos) bug properly
9190
9191 2003-03-13  Angus Leeming  <leeming@lyx.org>
9192
9193         * commandtags.h:
9194         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9195         Probably only temporary. Let's see how things pan out.
9196
9197         * BufferView.C (unlockInset):
9198         * BufferView_pimpl.C (fitCursor):
9199         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9200
9201         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9202         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9203
9204         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9205         new functions that convert ParagraphParameters to and from a string.
9206
9207         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9208         BufferView::Pimpl's dispatch.
9209         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9210
9211 2003-03-13 André Pönitz <poenitz@gmx.net>
9212
9213         * lyxfunc.C:
9214         * text3.C:
9215         * factory.C: make it aware of InsetEnv
9216
9217 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9218
9219         * text2.C (setCursor): never ask for one past last
9220         (setCursor): add some debugging messages.
9221
9222         * text.C (singleWidth): never ask for one past last
9223         (singleWidth): ditto
9224         (leftMargin): ditto
9225         (rightMargin): ditto
9226         (rowBreakPoint): ditto
9227         (setHeightOfRow): ditto
9228         (prepareToPrint): ditto
9229
9230         * rowpainter.C (paintBackground): never ask for one past last
9231         (paintText): never ask for one past last
9232
9233         * paragraph_pimpl.C (getChar): make the assert stricter, never
9234         allow the one past last pos to be taken
9235
9236         * paragraph.C (getChar): ws changes only
9237
9238         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9239         (numberOfSeparators): ditto
9240         (numberOfHfills): ditto
9241
9242 2003-03-12  John Levon  <levon@movementarian.org>
9243
9244         * author.h:
9245         * author.C:
9246         * bufferparams.h:
9247         * bufferparams.C:
9248         * paragraph_funcs.C: fix per-buffer authorlists
9249
9250 2003-03-12  John Levon  <levon@movementarian.org>
9251
9252         * text.C: fix newline in right address
9253
9254 2003-03-12  Angus Leeming  <leeming@lyx.org>
9255
9256         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9257         duplicate those in LyXFunc::dispatch.
9258
9259         * commandtags.h:
9260         * LyXAction.C:
9261         * ToolbarDefaults.C:
9262         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9263         Add LFUN_FONTFREE_UPDATE.
9264
9265         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9266         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9267
9268         * bufferview_func.[Ch]: several new functions to facilliate
9269         transfer of data to and from the character dialog.
9270
9271 2003-03-12  John Levon  <levon@movementarian.org>
9272
9273         * buffer.C:
9274         * paragraph.h:
9275         * paragraph.C:
9276         * paragraph_funcs.C:
9277         * paragraph_pimpl.C:
9278         * sgml.C:
9279         * tabular.C:
9280         * text.C:
9281         * text3.C: remove META_NEWLINE in favour of an inset
9282
9283         * rowpainter.h:
9284         * rowpainter.C: remove paintNewline (done by inset)
9285
9286 2003-03-12  John Levon  <levon@movementarian.org>
9287
9288         * paragraph_pimpl.C: complain about bad getChar()s
9289         for a while at least
9290
9291 2003-03-12  John Levon  <levon@movementarian.org>
9292
9293         * buffer.h:
9294         * buffer.C: move paragraph read into a separate function,
9295         a little renaming to reflect that.
9296
9297         * bufferparams.h:
9298         * bufferparams.C: remove the author_ids map, not necessary now
9299
9300         * factory.h:
9301         * factory.C: moved Buffer::readInset to here
9302
9303         * paragraph_funcs.h:
9304         * paragraph_funcs.C: readParagraph free function moved from
9305         buffer.C
9306
9307         * tabular.C: name change
9308
9309 2003-03-12  John Levon  <levon@movementarian.org>
9310
9311         * buffer.C:
9312         * ParagraphParameters.C: move par params input to
9313         a read() method
9314
9315         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9316         behave like a normal read from the stream wrt reading
9317         a line vs. a \\token
9318
9319 2003-03-12  John Levon  <levon@movementarian.org>
9320
9321         * paragraph.C:
9322         * ParagraphParameters.h:
9323         * ParagraphParameters.C: move output code to a
9324         ::write() method
9325
9326 2003-03-12  John Levon  <levon@movementarian.org>
9327
9328         * BufferView.C (insertLyXFile):
9329         * buffer.h:
9330         * buffer.C:
9331         * tabular.C: use a parlist iterator for creating the
9332           document.
9333
9334 2003-03-12  John Levon  <levon@movementarian.org>
9335
9336         * buffer.C: make current_change static local not
9337           static file-scope
9338
9339 2003-03-12  John Levon  <levon@movementarian.org>
9340
9341         * buffer.C: fix insertStringAsLines for change tracking
9342
9343 2003-03-12  John Levon  <levon@movementarian.org>
9344
9345         * BufferView.C:
9346         * tabular.C:
9347         * buffer.h:
9348         * buffer.C:
9349         * bufferparams.h:
9350         * bufferparams.C: move author list into params. Rename some
9351           functions. Move the header reading into a separate token
9352           loop. Move the header token reading into BufferParams.
9353
9354 2003-03-12  John Levon  <levon@movementarian.org>
9355
9356         * changes.C: put debug inside lyxerr.debugging() checks
9357
9358 2003-03-11 André Pönitz <poenitz@gmx.net>
9359
9360         * factory.C: make it aware of InsetHFill
9361
9362 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9363
9364         * buffer.C (latexParagraphs): move function from here...
9365         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9366         args.
9367
9368 2003-03-10  Angus Leeming  <leeming@lyx.org>
9369
9370         * LyXAction.C (init): fix bug in poplating array with multiple entries
9371         with the same LFUN (spotted by JMarc).
9372
9373 2003-03-10  John Levon  <levon@movementarian.org>
9374
9375         * text.C:
9376         * text2.C: move getColumnNearX() near its
9377         only call site
9378
9379 2003-03-10  John Levon  <levon@movementarian.org>
9380
9381         * text.C: fix break before a minipage
9382
9383 2003-03-10  John Levon  <levon@movementarian.org>
9384
9385         * text.C: fix the last commit
9386
9387 2003-03-09  John Levon  <levon@movementarian.org>
9388
9389         * lyxtext.h:
9390         * text.C:
9391         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9392         bug 365 (don't break before insets unless needed). Don't
9393         return a value > last under any circumstances.
9394
9395 2003-03-09  Angus Leeming  <leeming@lyx.org>
9396
9397         * BufferView_pimpl.C (trackChanges, dispatch): call
9398         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9399
9400 2003-03-09  Angus Leeming  <leeming@lyx.org>
9401
9402         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9403         than Dialogs::showAboutlyx().
9404
9405 2003-03-09  Angus Leeming  <leeming@lyx.org>
9406
9407         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9408         than Dialogs::showTabularCreate().
9409
9410 2003-03-09  John Levon  <levon@movementarian.org>
9411
9412         * lyxtext.h:
9413         * text.C:
9414         * text2.C: 3rd arg to nextBreakPoint was always the same.
9415           Use references.
9416
9417 2003-03-08  John Levon  <levon@movementarian.org>
9418
9419         * lyxrow.C:
9420         * paragraph.C:
9421         * paragraph.h:
9422         * rowpainter.C:
9423         * text.C:
9424         * text2.C: Remove the "main" bit from the "main body"
9425           notion.
9426
9427 2003-03-08  John Levon  <levon@movementarian.org>
9428
9429         * text.C (leftMargin): The left margin of an empty
9430         manual label paragraph should not include the label width
9431         string length.
9432
9433         * text.C (prepareToPrint): don't attempt to measure hfills
9434         for empty manual label paragraphs - the answer should be 0
9435
9436 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9437
9438         * CutAndPaste.C: remove commented code and reindent.
9439
9440 2003-03-08  John Levon  <levon@movementarian.org>
9441
9442         * lyxfunc.h:
9443         * lyxfunc.C: move reloadBuffer()
9444
9445         * BufferView.h:
9446         * BufferView.C: to here
9447
9448         * lyxvc.C: add comment
9449
9450         * vc-backend.h:
9451         * vc-backend.C: call bv->reload() to avoid
9452           getStatus() check on MENURELOAD
9453
9454 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9455
9456         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9457         to an old format .dep file.
9458
9459 2003-03-07  Angus Leeming  <leeming@lyx.org>
9460
9461         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9462         when the LFUN_MOUSE_RELEASE should have been handled by
9463         inset->localDispatch.
9464
9465 2003-03-07  Angus Leeming  <leeming@lyx.org>
9466
9467         * BufferView_pimpl.C (dispatch):
9468         * LyXAction.C (init):
9469         * ToolbarDefaults.C (init):
9470         * commandtags.h:
9471         * lyxfunc.C (getStatus):
9472         remove LFUN_INSET_GRAPHICS.
9473
9474         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9475
9476 2003-03-07  Angus Leeming  <leeming@lyx.org>
9477
9478         * commandtags.h:
9479         * LyXAction.C (init):
9480         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9481
9482         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9483
9484         * commandtags.h:
9485         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9486
9487         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9488         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9489
9490 2003-03-07  Angus Leeming  <leeming@lyx.org>
9491
9492         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9493         remove "ert".
9494
9495 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9496
9497         * ParagraphList.C (front): new function
9498         (back): implement
9499
9500 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9501
9502         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9503         and top_row_offset_. removed var first_y.
9504         * text.C (top_y):
9505         * text2.C (LyXText, removeRow):
9506         * text3.C:
9507         * BufferView_pimpl.C:
9508         use these methods instead of using first_y
9509
9510 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9511
9512         * text2.C (pasteSelection): adjust for checkPastePossible
9513
9514         * CutAndPaste.C: remove Paragraph * buf and replace with
9515         ParagraphList paragraphs.
9516         (DeleteBuffer): delete
9517         (cutSelection): change the tc type to textclass_type
9518         (copySelection): change the tc type to textclass_type
9519         (copySelection): adjust for ParagraphList
9520         (pasteSelection): change the tc type to textclass_type
9521         (pasteSelection): adjust for Paragraphlist
9522         (nrOfParagraphs): simplify for ParagraphList
9523         (checkPastePossible): simplify for ParagraphList
9524         (checkPastePossible): remove unused arg
9525
9526         * ParagraphList.C (insert): handle the case where there are no
9527         paragraphs yet.
9528
9529         * CutAndPaste.h: make CutAndPaste a namespace.
9530
9531         * text3.C (dispatch): adjust
9532
9533         * text.C (breakParagraph): add a ParagraphList as arg
9534
9535         * paragraph_funcs.C (breakParagraph): change to take a
9536         BufferParams and a ParagraphList as args.
9537         (breakParagraphConservative): ditto
9538         (mergeParagraph): ditto
9539         (TeXDeeper): add a ParagraphList arg
9540         (TeXEnvironment): ditto
9541         (TeXOnePar): ditto
9542
9543         * buffer.C (readLyXformat2): adjust
9544         (insertStringAsLines): adjust
9545         (latexParagraphs): adjust
9546
9547         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9548         (cutSelection): adjust
9549         (pasteSelection): adjust
9550
9551         * BufferView_pimpl.C (insertInset): adjust
9552
9553 2003-03-05  Angus Leeming  <leeming@lyx.org>
9554
9555         * commandtags.h:
9556         * LyXAction.C (init):
9557         * BufferView_pimpl.C (dispatch):
9558         * lyxfunc.C (getStatus):
9559         remove LFUN_CHILD_INSERT.
9560
9561         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9562
9563 2003-03-05  Angus Leeming  <leeming@lyx.org>
9564
9565         * commandtags.h:
9566         * LyXAction.C (init):
9567         * src/factory.C (createInset):
9568         * lyxfunc.C (getStatus):
9569         * text3.C (dispatch):
9570         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9571
9572         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9573
9574 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9575
9576         * ParagraphList.C (insert): handle insert right before end()
9577         (erase): fix cases where it can be first or last paragraph.
9578
9579 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9580
9581         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9582         Paragraph::next and Paragraph::previous
9583         (TeXOnePar): ditto
9584
9585         * text.C (breakParagraph): adjust
9586
9587         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9588         BufferParams& as arg.
9589         (breakParagraph): use ParagraphList::insert
9590         (breakParagraphConservative): take a Buffer* instead of a
9591         BufferParams& as arg.
9592         (breakParagraphConservative): use ParagraphList::insert.
9593
9594         * buffer.C (insertStringAsLines): un-const it
9595         (insertStringAsLines): adjust
9596
9597         * ParagraphList.C (insert): new function
9598
9599         * CutAndPaste.C (pasteSelection): adjust
9600
9601         * text.C (backspace): adjust
9602
9603         * tabular.C (SetMultiColumn): adjust
9604
9605         * CutAndPaste.C (cutSelection): adjust
9606         (pasteSelection): adjust
9607
9608         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9609         Buffer const * as arg
9610
9611         * ParagraphList.C (erase): new function
9612         * paragraph_funcs.C (mergeParagraph): use it
9613         (mergeParagraph): make it take a Buffer* instead of a
9614         BufferParams* as arg
9615
9616         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9617         as arg
9618         (breakParagraphConservative): ditto
9619
9620         * paragraph.h: remove the breakParagraph friend
9621
9622         * paragraph.C (eraseIntern): new function
9623         (setChange): new function
9624
9625         * paragraph_funcs.C (mergeParagraph): make it take a
9626         ParagraphList::iterator instead of a Paragraph *, adjust
9627         accordingly.
9628
9629         * paragraph.h: move an #endif so that the change tracking stuff
9630         also works in the NO_NEXT case.
9631
9632 2003-03-04  Angus Leeming  <leeming@lyx.org>
9633
9634         * commandtags.h:
9635         * LyXAction.C: new LFUN_INSET_MODIFY.
9636
9637         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9638         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9639
9640 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9641
9642         * several files: ws changes only
9643
9644         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9645         (TeXEnvironment): ditto
9646         (TeXDeeper): ditto
9647
9648         * buffer.C (makeLaTeXFile): adjust
9649         (latexParagraphs): make it take ParagraphList::iterator as args
9650
9651 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9652
9653         * buffer.C (latexParagraphs): adjust
9654
9655         * paragraph.C (TeXOnePar): move function...
9656         (optArgInset): move function...
9657         (TeXEnvironment): move function...
9658         * paragraph_pimpl.C (TeXDeeper): move function...
9659         * paragraph_funcs.C: ...here
9660
9661         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9662
9663 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9664
9665         * buffer.C (readInset): remove compability code for old Figure and
9666         InsetInfo insets
9667
9668 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9669
9670         * buffer.C: ws changes
9671         (readInset):
9672
9673         * BufferView_pimpl.C: ditto
9674         * author.C: ditto
9675         * buffer.h: ditto
9676         * bufferlist.h: ditto
9677         * changes.h: ditto
9678         * lyxfunc.C: ditto
9679
9680 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9681
9682         * converter.[Ch]: split into itself +
9683         * graph.[Ch]
9684         * format.[Ch]
9685         * Makefile.am: += graph.[Ch] + format.[Ch]
9686         * MenuBackend.C
9687         * buffer.C
9688         * exporter.C
9689         * importer.C
9690         * lyx_main.C
9691         * lyxfunc.C
9692         * lyxrc.C: added #include "format.h"
9693
9694 2003-02-27  Angus Leeming  <leeming@lyx.org>
9695
9696         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9697           a label.
9698
9699         * factory.C (createInset): add "label" to the factory.
9700
9701         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9702           string and do no more.
9703
9704 2003-02-27  Angus Leeming  <leeming@lyx.org>
9705
9706         * commandtags.h:
9707         * LyXAction.C (init):
9708         * factory.C (createInset):
9709         * BufferView_pimpl.C (dispatch):
9710           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9711
9712         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9713
9714         * lyxfunc.C (dispatch):
9715         * text3.C (dispatch): pass name to params2string.
9716
9717 2003-02-26  Angus Leeming  <leeming@lyx.org>
9718
9719         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9720           blocks together.
9721           Rearrange the ~includes. Strip out the unnecessary ones.
9722
9723         * factory.C (createInset): reformat.
9724           create new insets for the various LFUN_XYZ_APPLY lfuns.
9725
9726 2003-02-26  John Levon  <levon@movementarian.org>
9727
9728         * lyxrow.h:
9729         * lyxrow.C: add isParStart,isParEnd helpers
9730
9731         * paragraph.h: make isInserted/DeletedText take refs
9732
9733         * paragraph_funcs.h:
9734         * paragraph_funcs.C: remove #if 0'd code
9735
9736         * lyxtext.h:
9737         * text3.C:
9738         * text2.C:
9739         * text.C: use lyxrow helpers above.
9740           Move draw and paint routines to RowPainter.
9741           Make several methods use refs not pointers.
9742           Make backgroundColor() const.
9743           Add markChangeInDraw(), isInInset().
9744           Merge changeRegionCase into changeCase.
9745           Make workWidth() shouldn't-happen code into an Assert.
9746
9747         * rowpainter.h:
9748         * rowpainter.C: new class for painting a row.
9749
9750         * vspace.h:
9751         * vspace.C: make inPixels take a ref
9752
9753 2003-02-26  Angus Leeming  <leeming@lyx.org>
9754
9755         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9756         LFUN_REF_APPLY.
9757
9758 2003-02-25  John Levon  <levon@movementarian.org>
9759
9760         * ispell.C: give the forked command a more accurate name
9761
9762 2003-02-22  John Levon  <levon@movementarian.org>
9763
9764         * toc.h:
9765         * toc.C: make TocItem store an id not a Paragraph *
9766           (bug #913)
9767
9768 2003-02-21  Angus Leeming  <leeming@lyx.org>
9769
9770         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9771           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9772           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9773           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9774           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9775           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9776
9777         * BufferView_pimpl.C (dispatch):
9778         * LyXAction.C (init):
9779         * factory.C (createInset):
9780         * lyxfunc.C (getStatus, dispatch):
9781         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9782
9783 2003-02-21  Angus Leeming  <leeming@lyx.org>
9784
9785         * BufferView_pimpl.C (MenuInsertLyXFile):
9786         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9787         * lyxfunc.C (menuNew, open, doImport):
9788           no longer pass a LyXView & to fileDlg.
9789
9790 2003-02-21  Angus Leeming  <leeming@lyx.org>
9791
9792         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9793         * LyXAction.C: change, BIBKEY to BIBITEM.
9794         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9795         Change InsetBibKey to InsetBibitem.
9796         Change BIBKEY_CODE to BIBITEM_CODE.
9797         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9798         * factory.C: replace insetbib.h with insetbibitem.h.
9799         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9800         * paragraph.C: replace insetbib.h with insetbibitem.h.
9801         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9802         Change bibkey() to bibitem().
9803         * text.C: remove insetbib.h.
9804         * text2.C: replace insetbib.h with insetbibitem.h.
9805         change bibkey() to bibitem().
9806         * text3.C: remove insetbib.h.
9807         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9808
9809 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9810
9811         * lyxrc.C (output): enclose user email in quotes (in case there are
9812         several words)
9813
9814 2003-02-18  John Levon  <levon@movementarian.org>
9815
9816         * buffer.h: add std::
9817
9818 2003-02-17  John Levon  <levon@movementarian.org>
9819
9820         * SpellBase.h:
9821         * ispell.h:
9822         * ispell.C:
9823         * pspell.h:
9824         * pspell.C: reworking. Especially in ispell, a large
9825           number of clean ups and bug fixes.
9826
9827         * lyxfunc.C: fix revert to behave sensibly
9828
9829 2003-02-17 André Pönitz <poenitz@gmx.net>
9830
9831         * LyXAction.C:
9832         * commandtags.h: new LFUN_INSERT_BIBKEY
9833
9834         * layout.h:
9835         * lyxlayout.C:
9836         * buffer.C:
9837         * factory.C:
9838         * text.C:
9839         * text2.C:
9840         * text3.C:
9841         * paragraph.[Ch]:
9842         * paragraph_func.C: remove special bibkey handling
9843
9844 2003-02-17  John Levon  <levon@movementarian.org>
9845
9846         * text.C (Delete): fix case where delete at the end of
9847           the very first paragraph would not merge the pars
9848
9849 2003-02-17  John Levon  <levon@movementarian.org>
9850
9851         * lyxrow.C: fix lastPrintablePos()
9852
9853 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * bufferparams.C (writeLaTeX): add a std:here
9856
9857         * buffer.C: and remove a using directive there
9858
9859 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9860
9861         * buffer.C (makeLaTeXFile): move the code that generates the
9862           preamble...
9863
9864         * bufferparams.C (writeLaTeX): ... in this new method
9865
9866         * LaTeXFeatures.C (getEncodingSet): make const
9867           (getLanguages): make const
9868
9869         * MenuBackend.C (binding): returns the binding associated to this
9870           action
9871           (add): sets the status of each item by calling getStatus. Adds
9872           some intelligence.
9873           (read): add support for OptSubMenu
9874           (expand): remove extra separator at the end of expanded menu
9875
9876 2003-02-15  John Levon  <levon@movementarian.org>
9877
9878         * BufferView.C:
9879         * BufferView_pimpl.C:
9880         * bufferlist.h:
9881         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9882           inset code that had no actual effect. Remove unneeded status
9883           code.
9884
9885 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9886
9887         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9888           in preamble
9889
9890 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9891
9892         * text.C (drawLengthMarker): also draw an arrow marker for
9893           symbolic lengths (medskip...)
9894
9895 2003-02-14  John Levon  <levon@movementarian.org>
9896
9897         * tabular.h:
9898         * tabular.C: better method names
9899
9900 2003-02-14  John Levon  <levon@movementarian.org>
9901
9902         * BufferView_pimpl.C:
9903         * bufferlist.C:
9904         * buffer.C:
9905         * converter.C:
9906         * lyx_cb.C:
9907         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9908           it's a more accurate name. Remove some pointless uses.
9909
9910 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9911
9912         * text2.C (LyXText): change order of initilizers to shut off
9913           warnings
9914
9915 2003-02-14  John Levon  <levon@movementarian.org>
9916
9917         * buffer.C: use ParIterator for getParFromID()
9918
9919         * paragraph.h:
9920         * paragraph.C:
9921         * paragraph_pimpl.h:
9922         * paragraph_pimpl.C: remove unused getParFromID()
9923
9924 2003-02-14  John Levon  <levon@movementarian.org>
9925
9926         * buffer.C: remove some very old #if 0'd parse code
9927
9928 2003-02-13  John Levon  <levon@movementarian.org>
9929
9930         * text.h:
9931         * text.C:
9932         * text2.C: move hfillExpansion(), numberOfSeparators(),
9933           rowLast(), rowLastPrintable(), numberofHfills(),
9934           numberOfLabelHfills() ...
9935
9936         * lyxrow.h:
9937         * lyxrow.C: ... to member functions here.
9938
9939         * paragraph.h:
9940         * paragraph.C:
9941         * lyxtext.h:
9942         * text.C: remove LyXText::beginningOfMainBody(), and call
9943           p->beginningOfMainBody() directly. Move the check for
9944           LABEL_MANUAL into the latter.
9945
9946         * text.h:
9947         * text.C:
9948         * text2.C:
9949         * vspace.C:
9950         * BufferView.h:
9951         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9952
9953         * text.h:
9954         * text.C:
9955         * text2.C:
9956         * text3.C:
9957         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9958           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9959
9960 2003-02-13  John Levon  <levon@movementarian.org>
9961
9962         * CutAndPaste.C: remove debug
9963
9964 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9965
9966         * paragraph.C (asString): remove two unused variables
9967
9968         * lyxtextclass.C (readTitleType):
9969           (Read):
9970           (LyXTextClass): handle new members titletype_ and titlename_
9971
9972         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9973
9974 2003-02-09  John Levon  <levon@movementarian.org>
9975
9976         * buffer.h:
9977         * buffer.C: replace hand-coded list with a map for the dep clean
9978
9979 2003-02-08  John Levon  <levon@movementarian.org>
9980
9981         * LaTeX.C: consolidate code into showRunMessage() helper
9982
9983 2003-02-08  John Levon  <levon@movementarian.org>
9984
9985         * lyxfind.C:
9986         * lyxtext.h:
9987         * text2.C:
9988         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9989           and pass the size in explicitly
9990
9991         * BufferView_pimpl.h:
9992         * BufferView_pimpl.C:
9993         * BufferView.h:
9994         * BufferView.C: add getCurrentChange()
9995
9996         * BufferView_pimpl.h:
9997         * BufferView_pimpl.C: handle change lfuns
9998
9999         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10000           for changes. Mark pasted paragraphs as new.
10001
10002         * support/lyxtime.h:
10003         * support/lyxtime.C:
10004         * DepTable.C: abstract time_t as lyx::time_type
10005
10006         * LColor.h:
10007         * LColor.C: add colours for new text, deleted text, changebars
10008
10009         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10010           package use "usenames" option.
10011
10012         * commandtags.h:
10013         * lyxfunc.C:
10014         * LyXAction.C: add change lfuns
10015
10016         * Makefile.am:
10017         * author.h:
10018         * author.C: author handling
10019
10020         * buffer.h:
10021         * buffer.C: add a per-buffer author list, with first entry as
10022           current author. Handle new .lyx tokens for change tracking. Output
10023           author list to .lyx file. Output dvipost stuff to .tex preamble.
10024           Bump lyx format to 222.
10025
10026         * bufferlist.h:
10027         * bufferlist.C: add setCurrentAuthor() to reset current author details
10028           in all buffers.
10029
10030         * bufferparams.h:
10031         * bufferparams.C: add param for tracking
10032
10033         * bufferview_funcs.C: output change info in minibuffer
10034
10035         * Makefile.am:
10036         * changes.h:
10037         * changes.C: add change-tracking structure
10038
10039         * debug.h:
10040         * debug.C: add CHANGES debug flag
10041
10042         * lyxfind.h:
10043         * lyxfind.C: add code for finding the next change piece
10044
10045         * lyxrc.h:
10046         * lyxrc.C: add user_name and user_email
10047
10048         * lyxrow.h:
10049         * lyxrow.C: add a metric for the top of the text line
10050
10051         * lyxtext.h:
10052         * text.C: implement accept/rejectChange()
10053
10054         * lyxtext.h:
10055         * text.C: paint changebars. Paint new/deleted text in the chosen
10056         colours. Strike through deleted text.
10057
10058         * paragraph.h:
10059         * paragraph.C:
10060         * paragraph_pimpl.h:
10061         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10062           in the current change to the insert functions. Rework erase to
10063           mark text as deleted, adding an eraseIntern() and a range-based
10064           erase(). Implement per-paragraph change lookup and
10065           accept/reject.
10066
10067         * paragraph_funcs.C: Fixup paste for change tracking.
10068
10069         * tabular.C: mark added row/columns as new.
10070
10071         * text.C: fix rowLast() to never return -1. Don't allow
10072           spellchecking of deleted text. Track transpose changes. Don't
10073           allow paragraph break or merge where appropriate.
10074
10075         * text2.C: leave cursor at end of selection after a cut.
10076
10077 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10078
10079         * text.C (getLengthMarkerHeight):
10080         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10081         visible on screen too.
10082
10083 2003-02-07  John Levon  <levon@movementarian.org>
10084
10085         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10086
10087 2003-02-05  Angus Leeming  <leeming@lyx.org>
10088
10089         * lyxserver.C (read_ready): revert my patch of 11 September last year
10090         as it sends PC cpu through the roof. Presumably this means that
10091         the lyxserver will no longer run on an Alpha...
10092
10093 2003-01-30  Angus Leeming  <leeming@lyx.org>
10094
10095         * factory.C (createInset): create an InsetCommandParam of type "index"
10096         and use it to 'do the right thing'.
10097
10098         * text2.C (getStringToIndex): ensure that cursor position is always
10099         reset to the reset_cursor position.
10100
10101 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10102
10103         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10104         disabled.
10105
10106 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10107
10108         * bufferview.C:
10109         * lyxcb.C:
10110         * lyxfunc.C: Output messages with identical spelling, punctuation,
10111         and spaces
10112
10113 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10114
10115         * MenuBackend.C (expandFormats): List only viewable export formats
10116         in "View" menu
10117
10118         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10119         message
10120
10121         * lyxfunc.C (getStatus): Make sure that formats other than
10122         "fax" can also be disabled
10123
10124 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10125
10126         * text3.C (dispatch): put the lfuns that insert insets in 3
10127         groups, and call doInsertInset with appropriate arguments.
10128         (doInsertInset): new function, that creates an inset and inserts
10129         it according to some boolean parameters.
10130
10131 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10132
10133         * buffer.C (readFile): remember to pass on 'par' when calling
10134         readFile recursively.
10135
10136 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10137
10138         * MenuBackend.C (expandFormats): add "..." to import formats.
10139
10140 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10141
10142         * paragraph.C (asString): Remove XForms RTL hacks.
10143
10144 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10145         * buffer.C: fix typo
10146
10147 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10148
10149         * Makefile.am (LIBS): delete var
10150         (lyx_LDADD): add @LIBS@ here instead.
10151
10152 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10153
10154         * Clarify the meaning of "wheel mouse jump"
10155
10156 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10157
10158         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10159         tabular in a float
10160
10161 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10162
10163         * importer.C (Loaders): do not preallocate 3 elements in the
10164         vector, since one ends up with 6 elements otherwise
10165
10166 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10167
10168         * DepTable.C (write): write the file name as last element of the
10169         .dep file (because it may contain spaces)
10170         (read): read info in the right order
10171
10172 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10173
10174         * paragraph_pimpl.C (simpleTeXBlanks):
10175         (simpleTeXSpecialChars):
10176         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10177
10178         * tabular.C (latex): add some missing case statements. Reindent.
10179
10180         * MenuBackend.C (expandToc): remove unused variable.
10181
10182 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10183
10184         * LColor.C:
10185         * LaTeX.C:
10186         * LyXAction.C:
10187         * MenuBackend.C:
10188         * buffer.C:
10189         * exporter.C:
10190         * lyxfunc.C:
10191         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10192         and the like.
10193
10194 2003-01-05  John Levon  <levon@movementarian.org>
10195
10196         * BufferView.h:
10197         * BufferView.C: add getEncoding()
10198
10199         * kbsequence.h:
10200         * kbsequence.C: do not store last keypress
10201
10202         * lyxfunc.h:
10203         * lyxfunc.C: store last keypress here instead. Pass encoding
10204           to getISOEncoded()
10205
10206 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10207
10208         * lyx_main.C (init): remove annoying error message when following
10209         symbolic links (bug #780)
10210
10211 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10212
10213         * text.C (insertChar):
10214         * lyxrc.C (getDescription): remove extra spaces
10215
10216 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * lyxrc.C (getDescription): remove extra spaces
10219
10220 2002-12-20  John Levon  <levon@movementarian.org>
10221
10222         * text3.C: hack fix for page up/down across tall rows
10223
10224 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10225
10226         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10227         not been invoked
10228
10229 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10230
10231         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10232         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10233         thesaurus is not compiled in
10234
10235 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10236
10237         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10238
10239 2002-12-16  Angus Leeming  <leeming@lyx.org>
10240
10241         * lyxrc.[Ch]:
10242         * lyx_main.C (init): remove override_x_deadkeys stuff.
10243
10244 2002-12-12  John Levon  <levon@movementarian.org>
10245
10246         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10247           insert. Only remove shift modifier under strict
10248           circumstances.
10249
10250 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10251
10252         * MenuBackend.C (expandToc): fix crash.
10253
10254 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10255
10256         * MenuBackend.C (expandToc): gettext on float names.
10257
10258 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10259
10260         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10261         implement bool empty() [bug 490]
10262
10263 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10264
10265         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10266
10267 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10268
10269         * several files: ws changes
10270
10271 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10272
10273         * text2.C (setCounter): clean up a bit, use boost.format.
10274         (updateCounters): initialize par upon declaration.
10275
10276         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10277         if the layout exists. We do not just store the layout any more.
10278         (SwitchLayoutsBetweenClasses): use boost.format
10279
10280 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10281
10282         * converter.C (convert): if from and to files are the same, use a
10283         temporary files as intermediary
10284
10285 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10286
10287         * commandtags.h:
10288         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10289
10290 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10291
10292         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10293
10294 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10295
10296         * tabular.C (asciiPrintCell): use string(size, char) instead of
10297         explicit loop.
10298
10299         * sgml.C (openTag): fix order of arguments to string constructor
10300         (closeTag): ditto
10301
10302         * lyxfunc.C (dispatch): use boost.format
10303
10304         * lots of files: change "c" -> 'c'
10305
10306 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10307
10308         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10309
10310 2002-11-25  Angus Leeming  <leeming@lyx.org>
10311
10312         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10313
10314         * lyx_main.C (init): compile fix.
10315
10316 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10317
10318         * lyx_cb.C (start): boost.formatify
10319         do not include <iostream>
10320
10321         * lengthcommon.C: ws only
10322
10323         * boost-inst.C,BoostFormat.h: add more explict instantations
10324
10325 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10326
10327         * lots of files: handle USE_BOOST_FORMAT
10328
10329 2002-11-21  John Levon  <levon@movementarian.org>
10330
10331         * pspell.C: fix compile
10332
10333 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10334
10335         * lyxfunc.C (dispatch): use boost::format
10336         (open): ditto
10337         (doImport): ditto
10338
10339         * lyxfont.C (stateText): use boost::format
10340
10341         * lyx_main.C (LyX): use boost::format
10342         (init): ditto
10343         (queryUserLyXDir): ditto
10344         (readRcFile): ditto
10345         (parse_dbg): ditto
10346         (typedef boost::function): use the recommened syntax.
10347
10348         * importer.C (Import): use boost::format
10349
10350         * debug.C (showLevel): use boost::format
10351
10352         * converter.C (view): use boost::format
10353         (convert): ditto
10354         (move): ditto
10355         (scanLog): ditto
10356
10357         * bufferview_funcs.C (currentState): use boost::format
10358
10359         * bufferlist.C (emergencyWrite): use boost::format
10360
10361         * buffer.C (readLyXformat2): use boost::format
10362         (parseSingleLyXformat2Token): ditto
10363
10364         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10365
10366         * LaTeX.C (run): use boost::format
10367
10368         * Chktex.C (scanLogFile): use boost::format
10369
10370         * BufferView_pimpl.C (savePosition): use boost::format
10371         (restorePosition): ditto
10372         (MenuInsertLyXFile): ditto
10373
10374         * BoostFormat.h: help file for explicit instation.
10375
10376 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10377
10378         * tabular.C (latex): Support for block alignment in fixed width
10379         columns.
10380
10381 2002-11-17  John Levon  <levon@movementarian.org>
10382
10383         * BufferView_pimpl.C:
10384         * lyx_cb.C:
10385         * lyxfunc.C: split filedialog into open/save
10386
10387 2002-11-08  Juergen Vigna  <jug@sad.it>
10388
10389         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10390         by my last patch (hopefully).
10391
10392 2002-11-08  John Levon  <levon@movementarian.org>
10393
10394         * iterators.h:
10395         * iterators.C:
10396         * buffer.h:
10397         * buffer.C:
10398         * paragraph.h:
10399         * paragraph.C:
10400         * toc.h:
10401         * toc.C: ParConstIterator, and use it (from Lars)
10402
10403 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10404
10405         * lyxtextclass.[Ch]: revise and add doxygen comments
10406
10407 2002-11-07  John Levon  <levon@movementarian.org>
10408
10409         * text.C: fix progress value for spellchecker
10410
10411         * toc.C: fix navigate menu for insetwrap inside minipage
10412
10413         * paragraph_funcs.C: added FIXME for suspect code
10414
10415 2002-11-07  John Levon  <levon@movementarian.org>
10416
10417         * BufferView_pimpl.C: fix redrawing of insets
10418           on buffer switch
10419
10420 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10421
10422         * text2.C (updateCounters): fix bug 668
10423
10424 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10425
10426         * text3.C (dispatch): Do not make the buffer dirty when moving the
10427         cursor.
10428
10429 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10430
10431         * vc-backend.C: STRCONV
10432         (scanMaster): ditto
10433
10434         * text2.C (setCounter): STRCONV
10435
10436         * paragraph.C (asString): STRCONV
10437
10438         * lyxlength.C (asString): STRCONV
10439         (asLatexString): ditto
10440
10441         * lyxgluelength.C (asString): STRCONV
10442         (asLatexString): ditto
10443
10444         * lyxfunc.C (dispatch): STRCONV
10445         (open): ditto
10446
10447         * lyxfont.C (stateText): STRCONV
10448
10449         * importer.C (Import): STRCONV
10450
10451         * counters.C (labelItem): STRCONV
10452         (numberLabel): ditto
10453         (numberLabel): remove unused ostringstream o
10454
10455         * chset.C: STRCONV
10456         (loadFile): ditto
10457
10458         * bufferview_funcs.C (currentState): STRCONV
10459
10460         * buffer.C (readFile): STRCONV
10461         (asciiParagraph): ditto
10462         (makeLaTeXFile): ditto
10463
10464         * Spacing.C (writeEnvirBegin): STRCONV
10465
10466         * LaTeXFeatures.C (getLanguages): STRCONV
10467         (getPackages): ditto
10468         (getMacros): ditto
10469         (getBabelOptions): ditto
10470         (getTClassPreamble): ditto
10471         (getLyXSGMLEntities): ditto
10472         (getIncludedFiles): ditto
10473
10474         * LaTeX.C: STRCONV
10475         (run): ditto
10476         (scanAuxFile): ditto
10477         (deplog): ditto
10478
10479         * LString.h: add the STRCONV macros
10480
10481         * BufferView_pimpl.C (savePosition): STRCONV
10482         (restorePosition): ditto
10483         (MenuInsertLyXFile): ditto
10484
10485         * vc-backend.C (scanMaster): change from submatch[...] to
10486         submatch.str(...)
10487
10488         * funcrequest.C: include config.h
10489
10490         * factory.C: include config.h
10491
10492         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10493
10494         * box.C: include config.h
10495
10496         * LaTeX.C (scanAuxFile): change from submatch[...] to
10497         submatch.str(...)
10498         (deplog): ditto
10499
10500 2002-10-25  Angus Leeming  <leeming@lyx.org>
10501
10502         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10503
10504         * ispell.[Ch] (setError): new method.
10505         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10506         Use setError() insetead of goto END.
10507
10508         * lyx_cb.C (AutoSave): move out child process into new class
10509         AutoSaveBuffer.
10510
10511 2002-10-30  John Levon  <levon@movementarian.org>
10512
10513         * text3.C: make start appendix undoable
10514
10515 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10516
10517         * lyxlength.C (inPixels): Fix returned value.
10518
10519         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10520         environment.
10521
10522 2002-10-24  Angus Leeming  <leeming@lyx.org>
10523
10524         * lyxgluelength.h: no need to forward declare BufferParams
10525         or BufferView, so don't.
10526
10527 2002-10-21  John Levon  <levon@movementarian.org>
10528
10529         * BufferView.C: menuUndo ->undo, redo
10530
10531         * BufferView.h: document, remove dead, make some methods private
10532
10533         * paragraph_funcs.h:
10534         * paragraph_funcs.C:
10535         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10536
10537         * buffer.h:
10538         * buffer.C:
10539         * sgml.h:
10540         * sgml.C: move sgml open/close tag into sgml.C
10541
10542         * bufferview_funcs.h: unused prototype
10543
10544         * lyxfunc.h:
10545         * lyxfunc.C: remove unused
10546
10547         * lyxtext.h:
10548         * text.C: remove unused
10549
10550 2002-10-21  John Levon  <levon@movementarian.org>
10551
10552         * BufferView.h:
10553         * BufferView.C:
10554         * BufferView_pimpl.h:
10555         * BufferView_pimpl.C: fix mouse wheel handling based on
10556           patch from Darren Freeman
10557
10558 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10559
10560         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10561
10562 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10563
10564         * lyxlength.C (inPixels): Fix hanfling of negative length.
10565         Fix LyXLength::MU case.
10566
10567 2002-10-16  John Levon  <levon@movementarian.org>
10568
10569         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10570
10571 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * converter.C (view): add support for $$i (file name) and $$p
10574         (file path) for the viewer command. If $$i is not specified, then
10575         it is appended to the command (for compatibility with old syntax)
10576
10577 2002-10-14  Juergen Vigna  <jug@sad.it>
10578
10579         * undo_funcs.C (textHandleUndo): alter the order in which the
10580         new undopar is added to the LyXText, as we have to set first
10581         the right prev/next and then add it as otherwise the rebuild of
10582         LyXText is not correct. Also reset the cursor to the right paragraph,
10583         with this IMO we could remove the hack in "redoParagraphs()".
10584
10585 2002-10-09  Angus Leeming  <leeming@lyx.org>
10586
10587         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10588         to turn off an optimisation if a new inset is to be inserted.
10589
10590 2002-10-11 André Pönitz <poenitz@gmx.net>
10591
10592         * lyxtext.h: make some functions public to allow access
10593         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10594
10595 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10596
10597         * text3.C (dispatch): when changing layout, avoid an infinite loop
10598         [bug #652]
10599
10600 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10601
10602         * lyxrc.C (read): treat a viewer or converter command of "none" as
10603         if it were empty.
10604
10605         * MenuBackend.C (expandFormats): for an update, also allow the
10606         formats that are not viewable
10607
10608         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10609         script if it is newer than the lyxrc.defaults in user directory
10610
10611 2002-10-07 André Pönitz <poenitz@gmx.net>
10612
10613         * text.C: Vitaly Lipatov's small i18n fix
10614
10615 2002-09-25  Angus Leeming  <leeming@lyx.org>
10616
10617         * ispell.h: doxygen fix.
10618
10619 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * buffer.h (readFile): Add a new argument to the method, to allow
10622         reading of old-format templates.
10623
10624 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10625
10626         * toc.C (getTocList): Get TOC from InsetWrap.
10627
10628 2002-09-16  John Levon  <levon@movementarian.org>
10629
10630         * lyxfunc.C: check tabular for cut/copy too
10631
10632 2002-09-12  John Levon  <levon@movementarian.org>
10633
10634         * LyXAction.C: tidy
10635
10636         * factory.h:
10637         * factory.C: add header
10638
10639         * paragraph_funcs.h:
10640         * paragraph_funcs.C: cleanup
10641
10642 2002-09-11  John Levon  <levon@movementarian.org>
10643
10644         * PrinterParams.h: odd/even default to true
10645
10646 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10647
10648         * PrinterParams.h: update printer parameters for new xforms dialog
10649
10650 2002-09-11  Angus Leeming  <leeming@lyx.org>
10651
10652         * lyxserver.C (read_ready): re-write to make it more transparent
10653         and to make it work in coherent fashion under Tru64 Unix.
10654
10655 2002-09-11  André Pönitz <poenitz@gmx.net>
10656
10657         * commandtags.h:
10658         * LyXAction.C:
10659         * text3.C: implement LFUN_WORDSEL
10660
10661 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10662
10663         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10664         make floatlist_ a boost::shared_ptr<FloatList>
10665
10666         * lyxtextclass.C: include FloatList.h
10667         (LyXTextClass): initialize floatlist_
10668         (TextClassTags): add TC_NOFLOAT
10669         (Read): match "nofloat" to TC_NOFLOAT and use it.
10670         (readFloat): modify call to floatlist_
10671         (floats): ditto
10672         (floats): ditto
10673
10674         * FloatList.[Ch] (FloatList): remove commented out float
10675         initialization.
10676         (erase): new function
10677
10678 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10679
10680         * MenuBackend.C (expandToc): fix crash when there is no document
10681         open
10682
10683 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * many files: Add insetwrap.
10686
10687 2002-09-09  John Levon  <levon@movementarian.org>
10688
10689         * text2.C: remove confusing and awkward depth wraparound
10690
10691 2002-09-09  John Levon  <levon@movementarian.org>
10692
10693         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10694
10695         * buffer.h:
10696         * buffer.C: remove getIncludeonlyList()
10697
10698         * paragraph.C:
10699         * lyxfunc.C: remove headers
10700
10701 2002-09-09  Juergen Vigna  <jug@sad.it>
10702
10703         * text.C (getColumnNearX): fix form Michael this is most
10704         probably a cut&paste bug.
10705
10706 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10707
10708         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10709
10710         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10711         references, ws changes.
10712
10713         * text2.C (init): update counters after init
10714         (insertParagraph): no need to set counter on idividual paragraphs.
10715         (setCounter): access the counters object in the textclass object
10716         on in the buffer object.
10717         (updateCounters): ditto
10718
10719         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10720         shared_ptr<Counters> to avoid loading counters.h in all
10721         compilation units.
10722         (LyXTextClass): initialize ctrs_
10723         (TextClassTags): add TC_COUNTER, and ...
10724         (Read): use it here.
10725         (CounterTags): new tags
10726         (readCounter): new function
10727         (counters): new funtion
10728         (defaultLayoutName): return a const reference
10729
10730         * counters.C (Counters): remove contructor
10731         (newCounter): remove a couple of unneeded statements.
10732         (newCounter): simplify a bit.
10733         (numberLabel): some small formatting changes.
10734
10735         * buffer.[Ch]: remove all traces of counters, move the Counters
10736         object to the LyXTextClass.
10737
10738 2002-09-06  Alain Castera  <castera@in2p3.fr>
10739
10740         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10741         package to set the horizontal alignment on fixed width columns.
10742
10743         * lyx_sty.C:
10744         * lyx_sty.h: added tabularnewline macro def.
10745
10746         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10747
10748 2002-09-06  John Levon  <levon@movementarian.org>
10749
10750         * LyXAction.C: tooltips for sub/superscript
10751
10752         * MenuBackend.C: a bit more verbose
10753
10754         * lyxfunc.C: tiny clean
10755
10756         * undo_funcs.C: document undo_frozen
10757
10758 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10759
10760         * counters.C (Counters): add missing algorithm counter.
10761
10762         * text2.C (setCounter): lookup the counter with layouts latexname
10763         instead of by section number.
10764         (setCounter): use a hackish way to lookup the correct enum
10765         counter.
10766         a float name->type change
10767         reset enum couners with counter name directly instead of depth value.
10768
10769         * counters.C (Counters): remove the push_backs, change to use the
10770         float type not the float name.
10771         (labelItem): remove unused string, float name->type change
10772
10773         * counters.h: don't include vector, loose the enums and sects vectors
10774
10775 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10776
10777         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10778         (Read): add float->TC_FLOAT to textclassTags
10779         (Read): and handle it in the switch
10780         (readFloat): new function
10781
10782         * FloatList.C (FloatList): comment out the hardcoded float
10783         definitions.
10784
10785         * lyxlayout.h: ws change.
10786
10787 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10788
10789         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10790
10791 2002-09-03  Angus Leeming  <leeming@lyx.org>
10792
10793         * BufferView_pimpl.h: qualified name is not allowed in member
10794         declaration: WorkArea & Pimpl::workarea() const;
10795
10796         * factory.C: added using std::endl directive.
10797
10798         * text3.C: added using std::find and std::vector directives.
10799
10800 2002-08-29  André Pönitz <poenitz@gmx.net>
10801
10802         * lyxtext.h:
10803         * text2.C: remove unused member number_of_rows
10804
10805         * Makefile.am:
10806         * BufferView2.C: remove file, move contents to...
10807         * BufferView.C: ... here
10808
10809         * BufferView_pimpl.C:
10810         * factory.C: move more inset creation to factory
10811
10812         * vspace.C: avoid direct usage of LyXText, ws changes
10813
10814         * BufferView.[Ch]:
10815                 don't provide direct access to WorkArea, use two simple
10816                 acessors haveSelction() and workHeight() instead
10817
10818
10819 2002-08-29  John Levon  <levon@movementarian.org>
10820
10821         * BufferView_pimpl.C (dispatch): do not continue when
10822           no buffer
10823
10824 2002-08-28  André Pönitz <poenitz@gmx.net>
10825
10826         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10827
10828         * BufferView.h:
10829         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10830
10831 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10832
10833         * buffer.C: increment LYX_FORMAT to 221
10834
10835         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10836         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10837
10838         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10839
10840         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10841
10842 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10843
10844         * factory.C (createInset): use LyXTextClass::floats
10845
10846         * MenuBackend.C (expandFloatListInsert):
10847         (expandFloatInsert):
10848         (expandToc):
10849
10850         * text2.C (setCounter):
10851
10852         * LaTeXFeatures.C (useFloat):
10853         (getFloatDefinitions):
10854
10855         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10856
10857         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10858         floatlist_, with accessor floats().
10859
10860         * FloatList.h: remove global FloatList
10861
10862 2002-08-26  André Pönitz <poenitz@gmx.net>
10863
10864         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10865
10866         * BufferView.h:
10867         * BufferView2.C:
10868         * BufferView_pimpl.C:
10869         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10870
10871 2002-08-25  John Levon  <levon@movementarian.org>
10872
10873         * LyXAction.C: fix margin note description
10874
10875 2002-08-24  John Levon  <levon@movementarian.org>
10876
10877         * buffer.C:
10878         * bufferlist.C:
10879         * bufferview_funcs.C:
10880         * lyxfont.C:
10881         * undo_funcs.C: cleanups
10882
10883         * lyxfunc.C: disable CUT/COPY when no selection
10884
10885 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10886
10887         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10888         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10889
10890         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10891         Add backward compatibility to "mono", "gray" and "no".
10892
10893 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10894
10895         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10896         (and file_format >= 200).
10897
10898 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10899
10900         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10901
10902 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10903
10904         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10905
10906 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10907
10908         * BufferView_pimpl.C:
10909         * LyXAction.C:
10910         * buffer.C:
10911         * commandtags.h:
10912         * lyxfunc.C:
10913         * paragraph.[Ch]:
10914         * text2.C:
10915         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10916         inset and code to make it  work with the paragraph code. The inset
10917         can be anywhere in the paragraph, but will only do the expected
10918         thing in LaTeX if the layout file contains the parameter line
10919                         OptionalArgs    1
10920         (or more generally, a nonzero value) for that layout.
10921
10922 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10923
10924         * paragraph.h: remove the declaration of undefined counters class
10925         function.
10926
10927 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10928
10929         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10930         Dr. Richard Hawkins.
10931
10932 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10933
10934         * paragraph_funcs.h: remove some unneeded includes
10935
10936         * text.C (backspace): pasteParagraph now in global scipe
10937
10938         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10939         (pasteSelection): ditto
10940
10941         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10942         * paragraph_funcs.C (pasteParagraph): ... here
10943
10944 2002-08-20  André Pönitz <poenitz@gmx.net>
10945
10946         * commandtags.h: new LFUNs for swapping/copying table row/colums
10947
10948         * LyXAction.C:
10949         * lyxfunc.C: support for new lfuns
10950
10951 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10952
10953         * tabular.C:
10954         * buffer.[Ch]: remove NO_COMPABILITY stuff
10955
10956 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10957
10958         * boost.C (throw_exception): new file, with helper function for
10959         boost compiled without exceptions.
10960
10961         * paragraph.h:
10962         * lyxlength.C:
10963         * buffer.C:
10964         * ParameterStruct.h:
10965         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10966
10967         * bufferlist.C (emergencyWriteAll): use boost bind
10968
10969         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10970
10971         * text.C: include paragraph_funcs.h
10972         (breakParagraph): breakParagraph is now in global scope
10973
10974         * paragraph_funcs.[Ch]: new files
10975
10976         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10977         global scope
10978
10979         * buffer.C: include paragraph_funcs.h
10980         (insertStringAsLines): breakParagraph is now in global scope
10981
10982         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10983         paragraph_funcs.C
10984
10985         * CutAndPaste.C: include paragraph_funcs.h
10986         (cutSelection): breakParagraphConservative is now in global scope
10987         (pasteSelection): ditto
10988
10989         * buffer.h: declare oprator== and operator!= for
10990         Buffer::inset_iterator
10991
10992         * bufferlist.C (emergencyWrite): don't use fmt(...)
10993
10994         * text3.C: add using std::endl
10995
10996         * BufferView.C (moveCursorUpdate): remove default arg
10997
10998 2002-08-20  André Pönitz <poenitz@gmx.net>
10999
11000         * buffer.[Ch]: move inline functions to .C
11001
11002         * BufferView2.C:
11003         * BufferView_pimpl.C:
11004         * text.C:
11005         * buffer.[Ch]: use improved inset_iterator
11006
11007         * buffer.C:
11008         * paragraph.[Ch]: write one paragraph at a time
11009
11010 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11011
11012         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11013         style if style is not specified.
11014
11015 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11016
11017         * text2.C (setCounter): when searching for right label for a
11018         caption, make sure to recurse to parent insets (so that a caption
11019         in a minipage in a figure float works) (bug #568)
11020
11021 2002-08-20  André Pönitz <poenitz@gmx.net>
11022
11023         * text3.C: new file for LyXText::dispatch() and helpers
11024
11025         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11026
11027         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11028
11029 2002-08-19  André Pönitz <poenitz@gmx.net>
11030
11031         * lyxtext.h:
11032         * text.C: new LyXText::dispatch()
11033
11034         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11035
11036 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11037
11038         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11039
11040         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11041         Hebrew text.
11042
11043 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11044
11045         * Makefile.am: use $(variables) instead of @substitutions@
11046
11047 2002-08-15  André Pönitz <poenitz@gmx.net>
11048
11049         * lyxfunc.C:
11050         * BufferView_pimpl.C: streamlining mathed <-> outer world
11051         interaction
11052
11053         * commandtags.h:
11054         * LyXAction.C: remove unused LFUN_MATH
11055
11056 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11057
11058         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11059
11060 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11061
11062         * paragraph.C (Paragraph): reformat a bit
11063         (cutIntoMinibuffer): use builtin InsetList function instad of
11064         doing it manually.
11065         (getInset): ditto
11066
11067         * buffer.C: include boost/bind.hpp, add using std::for_each
11068         (writeFileAscii): use ParagraphList iterators
11069         (validate): use for_each for validate traversal of paragraphs
11070         (getBibkeyList): use ParagraphList iterators
11071         (resizeInsets): use for_each to resizeInsetsLyXText for all
11072         paragraphs.
11073         (getParFromID): use ParagraphList iterators
11074
11075         * BufferView2.C (lockInset): use paragraph list and iterators
11076
11077 2002-08-14  John Levon  <levon@movementarian.org>
11078
11079         * lyxserver.C: remove spurious xforms include
11080
11081 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11082
11083         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11084
11085 2002-08-13  André Pönitz <poenitz@gmx.net>
11086
11087         * LyXAction.[Ch]:
11088         * lyxfunc.C: further cleaning
11089
11090 2002-08-13  André Pönitz <poenitz@gmx.net>
11091
11092         * funcrequest.h: new constructor
11093
11094         * funcrequest.C: move stuff here from .h
11095
11096         * Makefile.am:
11097         * BufferView_pimpl.C:
11098         * LyXAction.C:
11099         * toc.C:
11100         * lyxfunc.C: subsequent changes
11101
11102         * lyxfunc.h: new view() member function
11103
11104         * lyxfunc.C: subsequent changes
11105
11106 2002-08-13  Angus Leeming  <leeming@lyx.org>
11107
11108         * BufferView2.C:
11109         * BufferView_pimpl.C:
11110         * buffer.C:
11111         * converter.C:
11112         * importer.C:
11113         * lyxfunc.C:
11114         * lyxvc.C:
11115         * toc.C:
11116         * vc-backend.C:
11117         changes due to the changed LyXView interface that now returns references
11118         to member variables not pointers.
11119
11120 2002-08-13  Angus Leeming  <leeming@lyx.org>
11121
11122         * WordLangTuple (word, lang_code): return references to strings,
11123         not strings.
11124
11125         * BufferView.h:
11126         * SpellBase.h:
11127         * lyxtext.h: forward-declare WordLangTuple.
11128
11129         * BufferView2.C:
11130         * ispell.C:
11131         * pspell.C:
11132         * text.C: #include "WordLangTuple.h".
11133
11134         * lyxtext.h:
11135         * text.C: (selectNextWordToSpellcheck): constify return type.
11136
11137 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11138
11139         * buffer.C:
11140         * buffer.h:
11141         * lyxtext.h:
11142         * paragraph.C:
11143         * paragraph_pimpl.h:
11144         * text.C:
11145         * text2.C:
11146         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11147         suggested by Angus.
11148         Made updateCounter always count from start of buffer, and removed
11149         second argument (par).
11150         Reverted floats number display to '#'. Perhaps I'll try again when the
11151         code base is sanitized a bit.
11152
11153 2002-08-12  Angus Leeming  <leeming@lyx.org>
11154
11155         * buffer.[Ch] (getLabelList): constify.
11156
11157 2002-08-07  André Pönitz <poenitz@gmx.net>
11158
11159         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11160
11161         * funcrequest.h: extension to keep mouse (x,y) position
11162
11163 2002-08-12  Juergen Vigna  <jug@sad.it>
11164
11165         * BufferView2.C (insertErrors): forbid undo when inserting error
11166         insets.
11167
11168         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11169
11170 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11171
11172         * ParagraphList.[Ch]: new files
11173
11174         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11175
11176         * BufferView2.C (lockInset): ParagraphList changes
11177         * toc.C: ditto
11178         * text2.C: ditto
11179         * bufferlist.C: ditto
11180         * buffer.h: ditto
11181         * buffer.C: ditto
11182
11183 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11184
11185         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11186         unused class variable counter_,
11187
11188         * paragraph.[Ch] (getFirstCounter): delete unused function
11189
11190         * counters.C: include LAssert.h
11191         (reset): add a new function with no arg, change other version to
11192         not have def. arg and to not allow empty arg.
11193
11194         * text2.C (setCounter): remove empty arg from call to Counters::reset
11195
11196 2002-08-11  John Levon  <levon@movementarian.org>
11197
11198         * Makefile.am: add WordLangTuple.h
11199
11200 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11201
11202         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11203         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11204
11205         * insets/insettext.C: InsetList changes
11206
11207         * graphics/GraphicsSupport.C (operator()): InsetList changes
11208
11209         * toc.C (getTocList): InsetList changes
11210
11211         * paragraph_pimpl.[Ch]: InsetList changes
11212
11213         * paragraph.[Ch]: InsetList changes
11214
11215         * buffer.C (inset_iterator): InsetList changes
11216         (setParagraph): ditto
11217         * buffer.h (inset_iterator): ditto
11218         * iterators.C (operator++): ditto
11219         * iterators.h: ditto
11220
11221         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11222
11223         * InsetList.[Ch]: new files, most InsetList handling moved out of
11224         paragraph.C.
11225
11226         * BufferView2.C (removeAutoInsets): InsetList changes
11227         (lockInset): ditto
11228         (ChangeInsets): ditto
11229
11230 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11231
11232         * paragraph_pimpl.h (empty): new function
11233
11234         * paragraph.[Ch] (empty): new function
11235
11236         * other files: use the new Paragraph::empty function
11237
11238 2002-08-09  John Levon  <levon@movementarian.org>
11239
11240         * lyxtext.h: remove unused refresh_height
11241
11242 2002-08-09  John Levon  <levon@movementarian.org>
11243
11244         * Makefile.am:
11245         * sgml.h:
11246         * sgml.C:
11247         * buffer.C:
11248         * paragraph.h:
11249         * paragraph.C: move sgml char escaping out of paragraph
11250
11251         * paragraph.h:
11252         * paragraph.C: remove id setter
11253
11254         * buffer.C:
11255         * paragraph.C:
11256         * paragraph_pimpl.C: remove dead tex_code_break_column
11257
11258         * bufferview_funcs.C: small cleanup
11259
11260         * lyxfunc.C: remove dead proto
11261
11262         * lyxtext.h: make some stuff private. Remove some dead stuff.
11263
11264         * lyxgluelength.C: make as[LyX]String() readable
11265
11266 2002-08-08  John Levon  <levon@movementarian.org>
11267
11268         * LyXAction.h:
11269         * LyXAction.C:
11270         * MenuBackend.C:
11271         * ToolbarDefaults.C:
11272         * lyxfunc.C:
11273         * lyxrc.C:
11274         * toc.C: lyxaction cleanup
11275
11276 2002-08-08  John Levon  <levon@movementarian.org>
11277
11278         * BufferView2.C: small cleanup
11279
11280         * lyxfind.h:
11281         * lyxfind.C: move unnecessary header into the .C
11282
11283 2002-08-08  John Levon  <levon@movementarian.org>
11284
11285         * funcrequest.h: just tedious nonsense
11286
11287         * lyx_main.h:
11288         * lyx_main.C: cleanups
11289
11290         * buffer.C:
11291         * vspace.C: remove dead header lyx_main.h
11292
11293 2002-08-07  Angus Leeming  <leeming@lyx.org>
11294
11295         * Paragraph.[Ch]:
11296         * paragraph_pimpl.h:
11297         Forward declare class Counters in paragraph.h by moving the ctrs member
11298         variable into Paragraph::Pimpl.
11299         (counters): new method, returning a reference to pimpl_->ctrs.
11300
11301         * text2.C: ensuing changes.
11302
11303 2002-08-07  John Levon  <levon@movementarian.org>
11304
11305         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11306
11307         * BufferView_pimpl.C: announce X selection on double/triple
11308           click
11309
11310         * lyx_main.C: use correct bool in batch dispatch
11311
11312         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11313
11314 2002-08-07  André Pönitz <poenitz@gmx.net>
11315
11316         * funcrequest.h: new class to wrap a kb_action and its argument
11317
11318         * BufferView.[Ch]:
11319         * BufferView_pimpl[Ch]:
11320         * LaTeX.C:
11321         * LyXAction.[Ch]:
11322         * lyxfunc.[Ch]:
11323         * lyxrc.C: subsequent changes
11324
11325
11326 2002-08-07  John Levon  <levon@movementarian.org>
11327
11328         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11329           document options change.
11330
11331 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11332
11333         * counters.[Ch]
11334         * text2.C
11335         * paragraph.[Ch]
11336         * makefile.am: move counters functionality over from
11337         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11338
11339 2002-08-06  John Levon  <levon@movementarian.org>
11340
11341         * WordLangTuple.h: new file for word + language code tuple
11342
11343         * SpellBase.h:
11344         * pspell.h:
11345         * pspell.C:
11346         * ispell.h:
11347         * ispell.C:
11348         * lyxtext.h:
11349         * text.C:
11350         * text2.C:
11351         * BufferView.h:
11352         * BufferView2.C: use WordLangTuple
11353
11354         * layout.h:
11355         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11356
11357 2002-08-06  John Levon  <levon@movementarian.org>
11358
11359         * lyx_main.C: fix cmdline batch handling
11360
11361 2002-08-06  André Pönitz <poenitz@gmx.net>
11362
11363         * lyxrc.C: set default for show_banner to true
11364
11365 2002-08-06  John Levon  <levon@movementarian.org>
11366
11367         * pspell.C: fix a crash, and allow new aspell to work
11368
11369 2002-08-06  John Levon  <levon@movementarian.org>
11370
11371         * lyxfunc.C:
11372         * kbmap.C: small cleanup
11373
11374         * vspace.h:
11375         * vspace.C: add const
11376
11377 2002-08-05  John Levon  <levon@movementarian.org>
11378
11379         * LyXAction.C: back to tabular-insert
11380
11381 2002-08-04  John Levon  <levon@movementarian.org>
11382
11383         * BufferView.h:
11384         * BufferView.C: cosmetic change
11385
11386         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11387
11388         * bufferlist.C:
11389         * buffer.h:
11390         * buffer.C:
11391         * lyxcb.h:
11392         * lyxcb.C:
11393         * lyxserver.C:
11394         * lyxvc.C:
11395         * vc-backend.C:
11396         * BufferView2.C: purge all "Lyx" not "LyX" strings
11397
11398         * lyxcursor.h:
11399         * lyxcursor.C: attempt to add some documentation
11400
11401         * lyxfunc.C:
11402         * commandtags.h:
11403         * LyXAction.C:
11404         * ToolbarDefaults.C:
11405         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11406           merge with LFUN_TABULAR_INSERT
11407
11408         * Makefile.am:
11409         * SpellBase.h:
11410         * ispell.h:
11411         * ispell.C:
11412         * pspell.h:
11413         * pspell.C: split up i/pspell implementations into separate
11414           files, many cleanups
11415
11416         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11417
11418         * text2.C: some cleanup
11419
11420         * lyxfunc.C: don't check for isp_command == "none" any more, it
11421           didn't make any sense
11422
11423 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11424
11425         * counters.[Ch]
11426         * text2.C
11427         * paragraph.[Ch]
11428         * makefile.am: move counters functionality over
11429         from text2.C/paragraph.[Ch] to counters.[Ch], and
11430         make proper C++.
11431 2002-08-02  John Levon  <levon@movementarian.org>
11432
11433         * buffer.C: s/lyxconvert/lyx2lyx/
11434
11435 2002-08-02  Angus Leeming  <leeming@lyx.org>
11436
11437         * lyxlex.C: revert John's change as it breaks reading of the user
11438         preamble.
11439
11440 2002-08-02  Angus Leeming  <leeming@lyx.org>
11441
11442         * importer.C (Import):
11443         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11444         changes due to LyXView::view() now returning a boost::shared_ptr.
11445
11446 2002-08-02  John Levon  <levon@movementarian.org>
11447
11448         * lyxlex.C: small cleanup
11449
11450 2002-08-02  John Levon  <levon@movementarian.org>
11451
11452         * text2.C (status): small cleanup, no logic change
11453
11454 2002-08-01  John Levon  <levon@movementarian.org>
11455
11456         * buffer.h:
11457         * buffer.C (writeFile): don't output alerts, caller
11458           handles this
11459
11460         * bufferlist.C:
11461         * lyx_cb.C: from above
11462
11463         * lyxfunc.C: allow to open non-existent files
11464
11465 2002-07-31  John Levon  <levon@movementarian.org>
11466
11467         * lyxserver.C: don't let incidental errors get
11468           in the way (errno)
11469
11470 2002-07-30  John Levon  <levon@movementarian.org>
11471
11472         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11473
11474 2002-07-30  John Levon  <levon@movementarian.org>
11475
11476         * lyxserver.h:
11477         * lyxserver.C: remove I/O callback too
11478
11479 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11480
11481         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11482         log.
11483
11484 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11485
11486         * many files: strip,frontStrip -> trim,ltrim,rtrim
11487
11488 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11489
11490         * PrinterParams.h: remove extern containsOnly, and include
11491         support/lstrings.h instead.
11492
11493         * LaTeX.C (scanAuxFile): modify because of strip changes
11494         (deplog): ditto
11495         * buffer.C (makeLaTeXFile): ditto
11496         * bufferparams.C (writeFile): ditt
11497         * lyxfont.C (stateText): ditto
11498         * lyxserver.C (read_ready): ditto
11499         * vc-backend.C (scanMaster): ditto
11500
11501         * BufferView_pimpl.h: ws changes
11502
11503         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11504
11505 2002-07-26  André Pönitz <poenitz@gmx.net>
11506
11507         * kb_sequence.C: remove unnedred usings
11508
11509 2002-07-26  Juergen Vigna  <jug@sad.it>
11510
11511         * lyxfind.C (LyXReplace): we have to check better if the returned
11512         text is not of theLockingInset()->getLockingInset().
11513
11514 2002-07-25  Juergen Vigna  <jug@sad.it>
11515
11516         * lyxfind.C (LyXReplace): don't replace if we don't get the
11517         right LyXText.
11518
11519         * undo_funcs.C (createUndo): remove debugging code.
11520
11521 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11522
11523         * buffer.C (parseSingleLyXformat2Token): Use default placement
11524         when reading old floats.
11525
11526         * FloatList.C (FloatList): Change the default placement of figure
11527         and tables to "tbp".
11528
11529 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * MenuBackend.C: using std::max
11532
11533 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * MenuBackend.C (expandToc):
11536         (expandToc2): code moved from xforms menu frontend. It is now
11537         generic and TOCs are transparent to menu frontends.
11538
11539 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * toc.C (getTocList): protect against buf=0
11542
11543         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11544         Menu as first parameter. Now, this calls itself recursively to
11545         expand a whole tree (this will be useful for TOC handling)
11546         (expandFloatInsert): remove 'wide' version of floats
11547
11548         * MenuBackend.h (submenuname): returns the name of the submenu.
11549         (submenu): returns the submenu itself, provided it has been
11550         created by MenuBackend::expand
11551
11552 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11553
11554         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11555         insets which have noFontChange == true. (bug #172)
11556
11557 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11558
11559         * BufferView_pimpl.C: add connection objects and use them...
11560         (Pimpl): here.
11561
11562 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * MenuBackend.C (expandLastfiles):
11565         (expandDocuments):
11566         (expandFormats):
11567         (expandFloatListInsert):
11568         (expandFloatInsert):
11569         (expand): split expand in parts
11570
11571 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11572
11573         * lyx_gui.C: use lyx_gui::exit()
11574
11575 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * LyXAction.C: show the failing pseudo action
11578
11579 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11580
11581         * buffer.C (readFile): Run the lyxconvert script in order to read
11582         old files.
11583
11584 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * LyXAction.C:
11587         * commandtags.h:
11588         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11589
11590 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * LyXAction.C:
11593         * commandtags.h:
11594         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11595
11596 2002-07-22  Herbert Voss  <voss@lyx.org>
11597
11598         * lengthcommon.C:
11599         * lyxlength.[Ch]: add support for the vertical lengths
11600
11601 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * toc.[Ch]: std:: fixes
11604
11605 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11606
11607         * lyxrc.C: do not include lyx_main.h
11608
11609         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11610         for layouts
11611
11612         * lyxrc.C:
11613         * encoding.C:
11614         * bufferlist.C:
11615         * BufferView2.C: include "lyxlex.h"
11616
11617         * tabular.h:
11618         * bufferparams.h: do not #include "lyxlex.h"
11619
11620         * lyxtextclasslist.C (Add): remove method
11621         (classlist): renamed to classlist_
11622
11623         * paragraph_pimpl.C:
11624         * paragraph.C:
11625         * text2.C:
11626         * CutAndPaste.C:
11627         * bufferview_funcs.C:
11628         * bufferlist.C:
11629         * text.C:
11630         * LaTeXFeatures.C:
11631         * buffer.C:
11632         * toc.C (getTocList): use BufferParams::getLyXTextClass
11633
11634         * toc.C (getTocList): use InsetFloat::addToToc
11635
11636         * toc.[Ch]: new files, containing helper functions to handle table
11637         of contents
11638
11639         * lyxfunc.C (dispatch): no need to remove spaces around command
11640         given as a string
11641         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11642         first command of the sequence; it is not very clever, but I do not
11643         have a better idea, actually
11644
11645         * LyXAction.C (LookupFunc): make sure to remove space at the
11646         beginning and end of the command
11647
11648 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11649
11650         * MenuBackend.C (getMenubar): new method: return the menubar of
11651         this menu set
11652         (read): treat differently reading of menu and menubar (in
11653         particular, the menubar has no name now)
11654         (Menu::menubar): remove
11655
11656         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11657         saving is finished
11658
11659 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11660
11661         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11662         a bibitem inset in a RTL paragraph.
11663
11664 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * paragraph_pimpl.C: constify
11667
11668         * BufferView_pimpl.C:
11669         * LaTeX.C:
11670         * lyxfunc.C: fix dispatch in a nicer way
11671
11672 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11673
11674         * lyxfunc.C (dispatch):
11675         * BufferView_pimpl.C:
11676         * BufferView_pimpl.h:
11677         * BufferView.C:
11678         * BufferView.h: rename Dispatch() to dispatch()
11679
11680         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11681
11682         * lyxlayout.C (Read): honor DependsOn tag
11683
11684         * lyxlayout.[Ch] (depends_on): new method
11685
11686         * version.C.in: update lyx_docversion
11687
11688         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11689
11690         * paragraph.C (validate): remove from here...
11691         * paragraph_pimpl.C (validate): ... and move here
11692         (isTextAt): make it const
11693
11694         * buffer.C (getLists): ws cleanup
11695
11696 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11697
11698         * language.C (read): Use iso8859-1 encoding in latex_lang
11699         (this prevents LyX from crashing when using iso10646-1 encoding).
11700
11701 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11702
11703         * text2.C (toggleInset): if cursor is inside an inset, close the
11704         inset and leave cursor _after_ it
11705
11706 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * lyxfunc.C: move minibuffer completion handling out of here
11709
11710 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * BufferView_pimpl.C:
11713         * LaTeX.C: fix dispatch calls
11714
11715 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11716
11717         * text.C (drawChars): Fix Arabic text rendering.
11718
11719 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11720
11721         * LyXAction.C:
11722         * commandtags.h:
11723         * lyxfunc.C: remove message-push/pop
11724
11725         * lyxserver.C:
11726         * lyxfunc.h:
11727         * lyxfunc.C: rationalise some code by removing verboseDispatch
11728           in favour of a bool argument to dispatch()
11729
11730 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11731
11732         * lyx_main.C (init): make sure to read symlinks as absolute paths
11733
11734 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11735
11736         * lyxfunc.h:
11737         * lyxfunc.C: no need for commandshortcut to be a member
11738
11739 2002-07-15  André Pönitz <poenitz@gmx.net>
11740
11741         * converter.C: add support for $$s (scripts from lib/scripts dir)
11742         * lyx_main.C: white space
11743
11744 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11745
11746         * bufferlist.C:
11747         * lyxrc.h:
11748         * lyxrc.C: remove second exit confirmation
11749
11750 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11751
11752         * BufferView.h:
11753         * BufferView.C:
11754         * BufferView2.C:
11755         * BufferView_pimpl.h:
11756         * BufferView_pimpl.C:
11757         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11758
11759 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11760
11761         * MenuBackend.C (expand): add numeric shortcuts to document menu
11762
11763         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11764
11765 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * lyxfont.C (setLyXFamily):
11768         (setLyXSeries):
11769         (setLyXShape):
11770         (setLyXSize):
11771         (setLyXMisc):
11772         (lyxRead):
11773         * debug.C (value):
11774         * buffer.C (asciiParagraph): use ascii_lowercase
11775
11776 2002-07-15  Mike Fabian  <mfabian@suse.de>
11777
11778         * lyxlex_pimpl.C (search_kw):
11779         * lyxlex.C (getLongString):
11780         * converter.h (operator<):
11781         * converter.C (operator<):
11782         * buffer.C (parseSingleLyXformat2Token):
11783         (asciiParagraph):
11784         * ToolbarDefaults.C (read):
11785         * MenuBackend.C (checkShortcuts):
11786         (read):
11787         * LColor.C (getFromGUIName):
11788         (getFromLyXName): use the compare_ascii_no_case instead of
11789         compare_no_case, because in turkish, 'i' is not the lowercase
11790         version of 'I', and thus turkish locale breaks parsing of tags.
11791
11792 2002-07-16  Angus Leeming  <leeming@lyx.org>
11793
11794         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11795         now takes a Buffer const & argument.
11796
11797 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11798
11799         * BufferView.C (resize): check there's a buffer to resize
11800
11801 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11802
11803         * lyxfunc.C: remove dead code
11804
11805         * lyxserver.h:
11806         * lyxserver.C: use lyx_guii::set_read_callback
11807
11808 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11809
11810         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11811         an inset in a RTL paragraph.
11812
11813 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * lyxfunc.C: repaint after a font size update
11816
11817 2002-07-15  André Pönitz <poenitz@gmx.net>
11818
11819         * lyxlength.C: inBP should be able to return negative values
11820
11821 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * lyxfunc.C: use lyx_gui::update_fonts()
11824
11825 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11826
11827         * lyxfunc.C: use lyx_gui::update_color()
11828
11829 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * bufferlist.C:
11832         * lyxfunc.h:
11833         * lyxfunc.C:
11834         * lyxrc.h:
11835         * lyxrc.C: remove file->new asks for name option, and let
11836           buffer-new take an argument
11837
11838 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11839
11840         * BufferView_pimpl.C: remove unneeded extra repaint()
11841
11842 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * LyXAction.C: allow command-sequence with NoBuffer
11845
11846         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11847
11848 2002-07-10  Angus Leeming  <leeming@lyx.org>
11849
11850         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11851
11852 2002-07-09  Angus Leeming  <leeming@lyx.org>
11853
11854         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11855
11856 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * lengthcommon.h: whitespace
11859
11860         * lyxfunc.C: update scrollbar after goto paragraph
11861
11862         * lyxtext.h: factor out page break drawing, and fix it so
11863           page break/added space paints as selected nicely
11864
11865 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * BufferView_pimpl.C: add FIXMEs, clean up a little
11868
11869 2002-07-09  André Pönitz <poenitz@gmx.net>
11870
11871         * lyxfont.[Ch]: support for wasy symbols
11872
11873 2002-07-08  André Pönitz <poenitz@gmx.net>
11874
11875         * BufferView_pimpl.C: apply John's patch for #93.
11876
11877 2002-07-05  Angus Leeming  <leeming@lyx.org>
11878
11879         * BufferView_pimpl.C (buffer): generate previews if desired.
11880
11881         * LColor.h: add "preview" to the color enum.
11882
11883         * LColor.C (LColor): add a corresponding entry to the items array.
11884
11885         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11886         with this buffer.
11887
11888 2002-07-05  Angus Leeming  <leeming@lyx.org>
11889
11890         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11891         The body of the code is now in the method that is passed an ostream &
11892         rather than a file name.
11893         Pass an additional only_preamble parameter, useful for the forthcoming
11894         preview stuff.
11895
11896 2002-07-03  André Pönitz <poenitz@gmx.net>
11897
11898         * lyxfunc.C: simplify getStatus() a bit for math stuff
11899
11900 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11901
11902         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11903
11904 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11905
11906         * text.C (changeRegionCase): do not change case of all the
11907         document when region ends at paragraph end (bug #461)
11908
11909 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * paragraph.C (startTeXParParams):
11912         (endTeXParParams): add \protect when necessary
11913
11914 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11915
11916         * BufferView_pimpl.C (workAreaExpose): remove warning
11917
11918 2002-06-27  Angus Leeming  <leeming@lyx.org>
11919
11920         * Makefile.am: add lyxlayout_ptr_fwd.h.
11921
11922 2002-06-26  André Pönitz <poenitz@gmx.net>
11923
11924         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11925
11926 2002-06-25  Angus Leeming  <leeming@lyx.org>
11927
11928         * lyxfunc.C (dispatch): Comment out the call to
11929         grfx::GCache::changeDisplay. The method no longer exists now that the
11930         pixmap generation part of the graphics loader has been moved into
11931         InsetGraphics.
11932
11933 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11934
11935         * text2.C: layout as layout
11936
11937         * text.C: layout as layout
11938
11939         * tabular.C (OldFormatRead): layout as layout
11940
11941         * paragraph_pimpl.C (TeXDeeper): layout as layout
11942         (realizeFont): layout as layout
11943
11944         * paragraph.C (writeFile): layout as layout
11945         (validate): layout as layout
11946         (getFont): layout as layout
11947         (getLabelFont): layout as layout
11948         (getLayoutFont): layout as layout
11949         (breakParagraph): layout as layout
11950         (stripLeadingSpaces): layout as layout
11951         (getEndLabel): layout as layout
11952         (getMaxDepthAfter): layout as layout
11953         (applyLayout): layout as layout
11954         (TeXOnePar): layout as layout
11955         (simpleTeXOnePar): layout as layout
11956         (TeXEnvironment): layout as layout
11957         (layout): layout as layout
11958         (layout): layout as layout
11959
11960         * lyxtextclass.C (compare_name): new functor to work with
11961         shared_ptr, layout as layout
11962         (Read): layout as layout
11963         (hasLayout): layout as layout
11964         (operator): layout as layout
11965         (delete_layout): layout as layout
11966         (defaultLayout): layout as layout
11967
11968         * lyxlayout_ptr_fwd.h: new file
11969
11970         * lyxlayout.C (Read): layout as layout
11971
11972         * lyx_cb.C (MenuInsertLabel): layout as layout
11973
11974         * bufferlist.C (newFile): layout as layout
11975
11976         * buffer.C (readLyXformat2): layout as layout
11977         (parseSingleLyXformat2Token): layout as layout
11978         (insertStringAsLines): layout as layout
11979         (asciiParagraph): layout as layout
11980         (latexParagraphs): layout as layout
11981         (makeLinuxDocFile): layout as layout
11982         (simpleLinuxDocOnePar): layout as layout
11983         (makeDocBookFile): layout as layout
11984         (simpleDocBookOnePar): layout as layout
11985         (getLists): layout as layout
11986
11987         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11988
11989         * CutAndPaste.C (cutSelection): layout as layout
11990         (pasteSelection): layout as layout
11991         (SwitchLayoutsBetweenClasses): layout as layout
11992
11993         * BufferView_pimpl.C (Dispatch): layout as layout
11994         (smartQuote): layout as layout
11995
11996         * BufferView2.C (unlockInset): layout as layout
11997
11998 2002-06-24  André Pönitz <poenitz@gmx.net>
11999
12000         * lyxfunc.C: fix #487
12001
12002 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * lyxrc.h:
12005         * lyxrc.C:
12006         * lyxfunc.C: remove display_shortcuts, show_banner
12007
12008 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * Buffer_pimpl.C: oops, update on resize
12011
12012 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * buffer.C:
12015         * converter.C:
12016         * exporter.C:
12017         * lyxfunc.C:
12018         * BufferView.h:
12019         * BufferView.C: use repaint()
12020
12021         * BufferView_pimpl.h:
12022         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12023           as it's a clearer description. Remove superfluous
12024           redraws.
12025
12026 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * text.C: fix bug 488. Not ideal, but getting
12029           getWord() to work properly for the insets that
12030           matter is more difficult ...
12031
12032 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12033
12034         * BufferView_pimpl.C:
12035         * LyXAction.C:
12036         * commandtags.h:
12037         * lyxfunc.C: remove the six million index lyxfuncs to just
12038           one, and DTRT (bug 458)
12039
12040 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * BufferView.h:
12043         * BufferView.C:
12044         * BufferView_pimpl.h:
12045         * BufferView_pimpl.C: clean up resize() stuff,
12046           and unnecessary updateScreen()s
12047
12048 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * BufferView.h:
12051         * BufferView.C:
12052         * BufferView_pimpl.h:
12053         * BufferView_pimpl.C:
12054         * lyxfind.h:
12055         * lyxfind.C:
12056         * minibuffer.C: remove focus management of workarea,
12057           not needed. Use screen's greyOut()
12058
12059 2002-06-17  Herbert Voss  <voss@lyx.org>
12060
12061         * converter.C: (convert) do not post a message, when converting
12062         fails, let the calling function decide what to do in this case
12063
12064 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * lyxfunc.C: tidy up a little
12067
12068 2002-06-16    <alstrup@diku.dk>
12069
12070         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12071         Got rid of FORMS_H_LOCATION include. Now we are
12072         GUII.
12073
12074 2002-06-15  LyX Development team  <lyx@rilke>
12075
12076         * buffer.[Ch] (sgmlOpenTag):
12077         (sgmlCloseTag): Added support for avoiding pernicious mixed
12078         content. Return number of lines written.
12079
12080         (makeLinuxDocFile):
12081         (makeDocBookFile): Fixed calls to sgml*Tag.
12082         Simple white space clean.
12083
12084         (simpleDocBookOnePar): Simple white space clean.
12085
12086         * tabular.[Ch] (docBook): Renamed to docbook and got another
12087         argument to related with the pernicious mixed content.
12088
12089         (docbookRow): Fixed calls for docbook inset method.
12090
12091 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12092
12093         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12094         so it's X11 independent.
12095
12096         * kb*.[Ch]: ditto.
12097
12098         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12099
12100 2002-06-15  Lyx Development team  <lyx@electronia>
12101
12102         * intl.h: Renamed getTrans to getTransManager.
12103
12104 2002-06-14  Angus Leeming  <leeming@lyx.org>
12105
12106         * Makefile.am: nuke forgotten stl_string_fwd.h.
12107
12108 2002-06-12  Angus Leeming  <leeming@lyx.org>
12109
12110         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12111
12112 2002-06-13  Angus Leeming  <leeming@lyx.org>
12113
12114         * LaTeX.C:
12115         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12116
12117 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12118
12119         * kbmap.C (getiso): add support for cyrillic and greek
12120
12121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12122
12123         * BufferView.h:
12124         * BufferView.C:
12125         * BufferView_pimpl.h:
12126         * BufferView_pimpl.C: move bogus scrolling logic
12127           to xforms
12128
12129 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12130
12131         * lyxfunc.C:
12132         * BufferView_pimpl.C: view->resize() change
12133
12134 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12135
12136         * BufferView_pimpl.C: topCursorVisible
12137           prototype change
12138
12139 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * Makefile.am:
12142         * lyx_gui.h:
12143         * lyx_gui.C: move to frontends/
12144
12145         * main.C:
12146         * lyx_main.h:
12147         * lyx_main.C: changes from above
12148
12149 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * intl.C:
12152         * intl.h:
12153         * kbmap.C:
12154         * kbsequence.C:
12155         * lyx_cb.C:
12156         * lyx_main.C: minor tidy
12157
12158 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * BufferView_pimpl.h:
12161         * BufferView_pimpl.C:
12162         * BufferView.h:
12163         * BufferView.C: make painter() const,
12164           remove dead code
12165
12166         * BufferView2.C: use screen() accessor
12167
12168         * lyx_main.h:
12169         * lyx_main.C: some minor cleanup
12170
12171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * BufferView_pimpl.h:
12174         * BufferView_pimpl.C: remove enter/leaveView,
12175           use workHeight()
12176
12177 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12178
12179         * BufferView.h:
12180         * BufferView.C:
12181         * BufferView2.C:
12182         * BufferView_pimpl.h:
12183         * BufferView_pimpl.C: only construct screen once,
12184           rename
12185
12186         * lyxrc.C: remove pointless comment
12187
12188 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12189
12190         * BufferView.h:
12191         * BufferView.C: remove active() and belowMouse()
12192
12193         * BufferView_pimpl.h:
12194         * BufferView_pimpl.C: use workarea() not workarea_,
12195           and make it use a scoped_ptr instead
12196
12197 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * lyx_gui.C: add debug message on BadWindow
12200
12201 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12202
12203         * sp_spell.C: fdopen is not part of the C++ standard.
12204
12205         * paragraph.C (InsetIterator): use >= instead of ==
12206
12207 2002-06-07  Angus Leeming  <leeming@lyx.org>
12208
12209         Fixes needed to compile with Compaq cxx 6.5.
12210         * BufferView_pimpl.C:
12211         * DepTable.C:
12212         * buffer.C:
12213         * converter.C:
12214         * encoding.C:
12215         * lyx_gui.C:
12216         * lyx_main.C:
12217         * lyxtextclasslist.C:
12218         * minibuffer.C:
12219         * sp_spell.C:
12220         * tabular_funcs.C:
12221         * vc-backend.C:
12222         all c-library variables have been moved into namespace std. Wrap
12223         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12224
12225         * lyxlength.C:
12226         * tabular-old.C:
12227         * tabular.C:
12228         Add a using std::abs declaration.
12229
12230         * kbmap.h (modifier_pair):
12231         * paragraph.h (InsetTable, InsetList):
12232         * lyxfont.h (FontBits):
12233         type definition made public.
12234
12235         * bufferlist.C (emergencyWriteAll): the compiler complains that
12236         there is more than one possible lyx::class_fun template to choose from.
12237         I re-named the void specialisation as lyx::void_class_fun.
12238
12239         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12240
12241         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12242         the compiler is is unable to find tostr in write_attribute.
12243
12244 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12245
12246         * buffer.C (sgmlError): hide #warning
12247
12248 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * xtl/*: get rid of xtl, which is not in use anyway
12251
12252         * LyXAction.C (init):
12253         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12254         were unimplemented xtl experimentation
12255
12256 2002-06-04  André Pönitz <poenitz@gmx.net>
12257
12258         * lyxfunc.C: disable array operation on simple formulae
12259
12260 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12261
12262         * converter.C: constify a bit
12263
12264 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12265
12266         * lyx_gui.C: check xforms version correctly
12267
12268 2002-04-30  Herbert Voss  <voss@lyx.org>
12269
12270         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12271         "keep" option
12272
12273 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12274
12275         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12276           attempt to register it with a VCS)
12277
12278 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12279
12280         * lyx_main.C (init): honor variables LYX_DIR_13x and
12281         LYX_USERDIR_13x
12282
12283 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * buffer.h:
12286         * buffer.C:
12287         * lyx_main.C: fix a crash on bad command line,
12288           and give a useful exit status on error
12289
12290         * lyxfunc.C (doImport): allow -i lyx to work
12291
12292 2002-03-30  André Pönitz <poenitz@gmx.net>
12293
12294         * lyxfunc.C: mathed font changes
12295
12296 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12297
12298         * LaTeX.C:
12299         * importer.h:
12300         * importer.C:
12301         * lyx_sty.h:
12302         * lyx_sty.C:
12303         * lyxlex.C:
12304         * lyxrow.h:
12305         * lyxtext.h:
12306         * paragraph.h:
12307         * paragraph.C:
12308         * texrow.h:
12309         * texrow.C:
12310         * text.C:
12311         * trans_mgr.h: srcdocs, and some minor cleanups
12312
12313 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12314
12315         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12316         call getFont all the time)
12317
12318 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * switch from SigC signals to boost::signals
12321
12322 2002-05-29  André Pönitz <poenitz@gmx.net>
12323
12324         * paragraph_pimpl.C (getChar): don't call size() too often...
12325
12326 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12327
12328         * paragraph_pimpl.C (insertChar): do not try to update tables when
12329         appending (pos == size())
12330
12331         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12332         in order to reduce drastically the number of comparisons needed to
12333         parse a large document
12334
12335 2002-05-29  André Pönitz <poenitz@gmx.net>
12336
12337         * text.C:
12338         * text2.C:
12339         * lyxtextclass.C:
12340         * sp_pspell.h:
12341         * textclasslist.[Ch]:
12342         * sp_ispell.h: whitespace change
12343
12344 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12345
12346         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12347         lyxaction directly now.
12348
12349 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12350
12351         * trans.C:
12352         * lyxfont.C:
12353         * lyxvc.C: remove unused headers
12354
12355 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * Makefile.am:
12358         * buffer.h:
12359         * undostack.h:
12360         * undostack.C:
12361         * undo_funcs.h:
12362         * undo_funcs.C: some cleanups. Use shared_ptr
12363           and a template for the undo stacks.
12364
12365 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12366
12367         * BufferView_pimpl.h:
12368         * BufferView_pimpl.C:
12369         * kbmap.h:
12370         * kbmap.C:
12371         * kbsequence.h:
12372         * kbsequence.C:
12373         * lyxfunc.h:
12374         * lyxfunc.C:
12375         * text2.C: use key_state/mouse_state
12376
12377 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12378
12379         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12380         and LSubstring
12381
12382         * chset.C: change include order
12383         (loadFile): use boost regex and get rid of LRegex and LSubstring
12384
12385         * Makefile.am (BOOST_LIBS): new variable
12386         (lyx_LDADD): use it
12387
12388         * LaTeX.C: change include order.
12389         (scanAuxFile): use boost regex and get rid of LRegex and
12390         LSubstring
12391         (deplog): ditto
12392
12393 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12394
12395         * ColorHandler.h:
12396         * ColorHandler.C:
12397         * FontInfo.h:
12398         * FontInfo.C: moved to frontends/xforms/
12399
12400         * FontLoader.h:
12401         * FontLoader.C: moved into frontends for GUIIzation
12402
12403         * Makefile.am:
12404         * lyx_gui.C:
12405         * lyxfont.C:
12406         * lyxfunc.C: changes from above
12407
12408 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12409
12410         * LColor.C: remove spurious X include
12411
12412         * BufferView_pimpl.C:
12413         * Makefile.am:
12414         * font.h:
12415         * font.C:
12416         * text.C:
12417         * text2.C: move font metrics to frontends/
12418
12419 2002-05-24  Juergen Vigna  <jug@sad.it>
12420
12421         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12422         setting the undo_cursor.
12423
12424         * ParagraphParameters.h: include local includes first.
12425
12426 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * BufferView_pimpl.C:
12429         * BufferView_pimpl.h:
12430         * Makefile.am:
12431         * WorkArea.h:
12432         * WorkArea.C:
12433         * screen.C: move WorkArea into frontends/
12434
12435         * lyxscreen.h:
12436         * screen.C:
12437         * text.C:
12438         * BufferView.C:
12439         * BufferView2.C: move LyXScreen into frontends/
12440
12441         * lyxlookup.h:
12442         * lyxlookup.C:
12443         * lyx_gui.C: move lyxlookup into frontends/xforms/
12444
12445 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * BufferView2.C:
12448         * BufferView_pimpl.C:
12449         * FontLoader.C:
12450         * LyXView.h:
12451         * LyXView.C:
12452         * Makefile.am:
12453         * WorkArea.C:
12454         * XFormsView.h:
12455         * XFormsView.C:
12456         * buffer.C:
12457         * bufferlist.C:
12458         * bufferview_funcs.C:
12459         * converter.C:
12460         * importer.C:
12461         * lyx_cb.C:
12462         * lyx_gui.C:
12463         * lyx_main.C:
12464         * lyx_find.C:
12465         * lyxfunc.C:
12466         * lyxvc.C:
12467         * minibuffer.C:
12468         * text.C:
12469         * text2.C:
12470         * trans.C:
12471         * vc-backend.C: move LyX/XFormsView into frontends/
12472
12473 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12474
12475         * Makefile.am:
12476         * PainterBase.C:
12477         * PainterBase.h:
12478         * Painter.C:
12479         * Painter.h:
12480         * WorkArea.C:
12481         * WorkArea.h:
12482         * screen.C:
12483         * tabular.C:
12484         * text.C:
12485         * text2.C: move Painter to frontends/
12486
12487 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12488
12489         * buffer.C: comment out some some code that depend upon lyx_format
12490         < 220
12491
12492         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12493         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12494
12495         * buffer.h (NO_COMPABILITY): turn off compability
12496
12497         * ColorHandler.C: include scoped_array.hpp
12498
12499         * font.C: Use more specific smart_ptr header.
12500         * Painter.C: ditto
12501         * gettext.C: ditto
12502         * ShareContainer.h: ditto
12503         * lyx_main.h: ditto
12504         * kbmap.h: ditto
12505         * FontInfo.h: ditto
12506         * BufferView_pimpl.h: ditto
12507         * ColorHandler.h: ditto
12508
12509         * kbmap.C (defkey): change call to shared_ptr::reset
12510
12511 2002-05-21  Juergen Vigna  <jug@sad.it>
12512
12513         * buffer.C (insertErtContents): fix to insert ert asis if it is
12514         non empty. Skip it completely if it contains only whitespaces.
12515
12516 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * BufferView_pimpl.C:
12519         * BufferView2.C: clear selection on paste (bug 393)
12520
12521 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * DepTable.C: include ctime
12524
12525 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12526
12527         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12528
12529 2002-05-14  Juergen Vigna  <jug@sad.it>
12530
12531         * text.C (breakParagraph): fixed function to honor the keepempty
12532         layout in the right maner and also to permit the right breaking
12533         algorithm on empty or non empyt keepempty paragraphs.
12534
12535         * paragraph.C (breakParagraph): we have to check also if the par
12536         is really empty (!size()) for isempty otherwise we do the wrong
12537         paragraph break.
12538
12539 2002-05-10  Juergen Vigna  <jug@sad.it>
12540
12541         * buffer.[Ch] : The following are only changes to the ert
12542         compatibility read reading old LaTeX layout and font stuff and
12543         convert it to ERTInsets.
12544
12545         * buffer.h: added isErtInset().
12546
12547         * buffer.C (struct ErtComp): add a fromlayout bool to check
12548         if we're inside a LaTeX layout.
12549         (isErtInset): new helper function.
12550         (insertErtContents): look for other ert insets before this one
12551         and insert the contents there, so that we don't have subsequent
12552         ERT insets with nothing between them. This way we create only one
12553         inset with multiple paragraphs. Also check if we don't insert only
12554         spaces ' ' as they are ignored anyway afterwards in the .tex file
12555         so if we have only spaces we will ignore this latex part in the
12556         new file.
12557         (parseSingleLyXformat2Token \\layout): better compatibility when
12558         reading layout-latex stuff.
12559         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12560         language tag.
12561         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12562         stuff after reading the inset only get the information back from
12563         the stack.
12564
12565 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12566
12567         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12568
12569         * LaTeXFeatures.C (getBabelOptions): New method.
12570
12571 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12572
12573         * BufferView_pimpl.C (Dispatch): work around missing argument for
12574         'layout'
12575
12576 2002-05-08  Juergen Vigna  <jug@sad.it>
12577
12578         * text.C (leftMargin): handle paragraph leftindent.
12579
12580         * paragraph.C (writeFile): write the new \\leftindent tag.
12581         (validate): handle leftindent code.
12582         (TeXEnvironment): handle paragraphleftindent code again.
12583
12584         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12585
12586         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12587         for paragrap_extra indent code and new token \\leftindent.
12588         (latexParagraphs): handle the leftindent as environment.
12589
12590         * ParameterStruct.h: added leftindent support.
12591
12592         * ParagraphParameters.C (leftIndent): added support functions for
12593         the paragraph left indent.
12594
12595         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12596         more appropriate.
12597
12598 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12599
12600         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12601         inside insetERT.
12602
12603         * text.C (computeBidiTables): No bidi in insetERT.
12604
12605         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12606         in RTL documents.
12607
12608 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * version.C.in: pre 5
12611
12612 2002-05-02  José Matos  <jamatos@fep.up.pt>
12613         * buffer.C (makeDocBookFile): white space changes, add newline to
12614         command styles.
12615         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12616
12617         * tabular.C (docBook): fix typo.
12618
12619 2002-05-03  Juergen Vigna  <jug@sad.it>
12620
12621         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12622         change in LyXText as we can not be sure it was not freed.
12623         (drawOneRow): remove unused code.
12624
12625         * text.C (drawInset): redo the calculation of the need_break_row as
12626         it could have a row which was already freed.
12627         (draw): look at the return value of drawInset and return false if
12628         it also returned false.
12629         (paintRowText): look at the return value of draw and return false if
12630         it also returned false.
12631
12632         * lyxtext.h: added bool return type to drawInset() and draw() so that
12633         if we have a change in the row so that the rowbreak has to be redone
12634         we abort drawing as it will be called again.
12635
12636 2002-05-02  Juergen Vigna  <jug@sad.it>
12637
12638         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12639         a change in the maintext also if we're inside an inset.
12640         (Dispatch): set the cursor again after a break line and after the
12641         screen has been updated as it could be we're in a different row.
12642
12643         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12644         to set the cursor behind the pargraph with > size().
12645         (setCursor): check also for the same paragraph when checking where
12646         to put the cursor if we have a NFR inset.
12647
12648         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12649         parts of layout read further up as it still was in the wrong
12650         position.
12651
12652 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12653
12654         * screen.C (drawFromTo): change sine fullRebreak always return
12655         true.
12656
12657         * buffer.C (parseSingleLyXformat2Token): reindent some
12658
12659         * BufferView_pimpl.C (update): change since fullRebreak always
12660         return true.
12661         (Dispatch): git rid of the last hardcoded "Standard"s.
12662
12663 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * text2.[Ch] (fullRebreak): make it return void now that we always
12666         returned true.
12667
12668 2002-04-30  Juergen Vigna  <jug@sad.it>
12669
12670         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12671         ert compatibility check for "latex" layout.
12672
12673 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12674
12675         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12676         minipages: use col% instead of p%, and also use the current font.
12677         (makeLaTeXFile): Fix use babel condition.
12678         (parseSingleLyXformat2Token): Correct font when reading old floats.
12679
12680 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12681
12682         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12683         inserting list of floats.
12684
12685 2002-04-25  Herbert Voss  <voss@lyx.org>
12686
12687         * MenuBackend.C (expand): don't add the graphics extensions to the
12688         export menu
12689
12690 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12691
12692         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12693         non-existing layout, do not complain if it was the default layout
12694         of the original class (bug #342)
12695
12696 2002-04-24  Juergen Vigna  <jug@sad.it>
12697
12698         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12699         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12700
12701 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12702
12703         * buffer.C (getBibkeyList): If using \bibliography, return the
12704         option field with the reference itself. Enables us to provide natbib
12705         support when using \bibliography.
12706
12707 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12708
12709         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12710
12711         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12712         natbib is provided by the LaTeX class.
12713
12714 2002-04-23  Juergen Vigna  <jug@sad.it>
12715
12716         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12717         Wakeup functions.
12718
12719         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12720
12721 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12724
12725         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12726         ensuremath around textordmasculine, textordfeminine and
12727         textdegree.
12728
12729 2002-04-19  Juergen Vigna  <jug@sad.it>
12730
12731         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12732         reinitializing the buffer otherwise row-dimensions may be wrong.
12733         (update): reset also the selection cursors if they do exits otherwise
12734         their x/y positions may be wrong.
12735
12736         * text2.C (cursorDown): don't enter the inset if we came from a row
12737         above and are one row over the inset.
12738
12739         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12740         really leaving an inset.
12741
12742 2002-04-18  Juergen Vigna  <jug@sad.it>
12743
12744         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12745         of the selected paragraph does not have the selected layout also if
12746         the last one had!
12747
12748         * text2.C (setLayout): fixed bug which did not change last selected
12749         paragraph.
12750
12751         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12752         changed the read and substituted \\end_float with \\end_inset!
12753
12754         * BufferView_pimpl.C (cursorPrevious):
12755         (cursorNext): fixed to make it work with rows heigher than the work
12756         area without moving the cursor only the draw of the row.
12757         (workAreaMotionNotify): fix jumping over high rows.
12758
12759 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12762         Ressler.
12763
12764 2002-04-16  Juergen Vigna  <jug@sad.it>
12765
12766         * text2.C (setCursor): set also the irow().
12767         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12768         (cursorUp):
12769         (cursorDown): support for locking an inset if the x_fix value goes
12770         inside it. That way I can transverse insets too with cursor up/down.
12771
12772         * lyxrow.h: added irow helper function same as other (i) functions.
12773
12774         * BufferView_pimpl.C (cursorPrevious):
12775         (cursorNext): fixed for insets!
12776
12777 2002-04-15  Juergen Vigna  <jug@sad.it>
12778
12779         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12780         position otherwise it is wrong in some cases.
12781
12782         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12783         inside the inset before the call.
12784
12785 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12786
12787         * buffer.[Ch] (getBibkeyList): make it const.
12788
12789 2002-04-12  Juergen Vigna  <jug@sad.it>
12790
12791         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12792
12793         * text2.C (getCursorX): new helper function
12794         (setCursor): compute also ix_
12795         (setCursorFromCoordinates): set also ix.
12796
12797         * lyxcursor.h: added ix_ and helper functions.
12798
12799         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12800
12801         * buffer.C (insertStringAsLines): dont break paragraph if the this
12802         paragraph is inside an inset which does not permit it!
12803
12804         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12805         also with no chars on this paragraph.
12806         (paintRowText): only paint stuff if it's inside the workarea!
12807
12808         * paragraph.C (breakParagraph): honor keepempty flag and break the
12809         paragraph always below not above.
12810
12811         * BufferView2.C (unlockInset): update the paragraph layout on inset
12812         unlock as we changed paragraph in such a case.
12813
12814         * lyxfind.C (LyXFind): clear the former selection if not found!
12815
12816         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12817         again called in insertChar().
12818
12819         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12820         an inset which uses the whole row!
12821         (rightMargin): ditto.
12822         (insertChar): force a rebreak if we inserted an inset!
12823
12824 2002-03-28  Herbert Voss  <voss@lyx.org>
12825
12826         * lyxlength.[Ch]: add inBP() to get the right PS-point
12827         units (BigPoint). With inPixels we have rounding errors
12828
12829 2002-04-11  Juergen Vigna  <jug@sad.it>
12830
12831         * text2.C (setCursorFromCoordinates): set iy to the right value.
12832         (setCursor): add check if row->previous exists!
12833
12834         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12835         an old float_type as this was the case in the old code!
12836
12837         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12838
12839         * BufferView2.C (showLockedInsetCursor): use iy
12840         (fitLockedInsetCursor): ditto
12841
12842         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12843         locked insets as there we have the right value now.
12844
12845         * lyxcursor.C: added iy_ variable and iy functions to set to the
12846         baseline of cursor-y of the locked inset.
12847
12848         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12849         (setCursor): fixed for insets which need a full row.
12850
12851         * text.C (rowLastPrintable): don't ignore the last space when before
12852         an inset which needs a full row.
12853         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12854         as last character of a row when before a inset which needs a full row.
12855
12856 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12857
12858         * version.C.in: update date
12859
12860         * text2.C (fullRebreak): try to always return true and see what
12861         happens...
12862
12863 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12864
12865         * MenuBackend.C (expand): use Floating::listName
12866
12867         * FloatList.C (FloatList): add listName argument to the built-in
12868         floats
12869
12870         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12871         text associated with the float.
12872
12873 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12874
12875         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12876
12877 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * ShareContainer.h: add a couple of missing typenames.
12880
12881 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12882
12883         * lyxrc.C (getDescription): use _() correctly rather than N_().
12884
12885 2002-03-28  Herbert Voss  <voss@lyx.org>
12886
12887         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12888         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12889
12890 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12891
12892         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12893         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12894
12895 2002-03-29  Juergen Vigna  <jug@sad.it>
12896
12897         * lyxfunc.C (dispatch): add a missing fitCursor call.
12898
12899         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12900         it was scrolled by a cursor move, so return the bool status.
12901
12902         * BufferView.C (fitCursor): return the bool flag also to the outside
12903         world as this is needed.
12904
12905         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12906
12907         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12908         call the edit() as it is not needed (and wrong) IMO.
12909         (workAreaButtonPress): set the screen_first variable before evt.
12910         unlock the inset as this may change screen_first and then we have
12911         a wrong y position for the click!
12912
12913 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * MenuBackend.C (expand): another translation that I missed
12916
12917 2002-03-28  Juergen Vigna  <jug@sad.it>
12918
12919         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12920
12921         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12922
12923 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12924
12925         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12926
12927         * MenuBackend.C (expand): fix export/view/update when there is no
12928         document open.
12929
12930 2002-03-27  Herbert Voss  <voss@lyx.org>
12931
12932         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12933         and text%
12934
12935 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12936
12937         * bufferview_funcs.C (currentState): only show paragraph number
12938         for is DEVEL_VERSION is set.
12939
12940         * lyxfunc.C (dispatch): put warning in INFO channel
12941
12942         * MenuBackend.C (expand): translate the name of floats
12943
12944         * FloatList.C (FloatList): mark the float names for translation
12945
12946         * converter.C (convert): use LibScriptSearch
12947
12948 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12949
12950         * MenuBackend.C (defaults): fix default menu (we might as well get
12951         rid of it...)
12952
12953 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12954
12955         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12956         directory.
12957
12958 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12959
12960         * lyxvc.C: reorder includes.
12961
12962 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12965           properly
12966
12967 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * CutAndPaste.C: change layouts earlier on paste
12970           to avoid crashing when calling getFont()
12971
12972 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12973
12974         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12975         irritating #error.
12976
12977 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * WorkArea.C: remove 'Pending' debug message.
12980
12981         * most files: ws cleanup
12982
12983         * buffer.[Ch]: ws changes
12984
12985         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12986
12987 2002-03-21  Juergen Vigna  <jug@sad.it>
12988
12989         * tabular.C (SetMultiColumn): collapse also the contents of the
12990         cells and set the last border right. Added a Buffer const * param.
12991
12992 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12993
12994         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12995         linking or not.
12996
12997 2002-03-19  Juergen Vigna  <jug@sad.it>
12998
12999         * text2.C (clearSelection): reset also xsel_cache.
13000
13001         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13002         where it needs to be called (John tells us to do so too :)
13003         (selectionLost): reset sel_cache.
13004
13005         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13006
13007 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13008
13009         * text2.C (setCursorIntern): put debuging code in INSETS channel
13010
13011 2002-03-19  André Pönitz <poenitz@gmx.net>
13012
13013         * lyxfunc.C: tiny whitespace change
13014
13015 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13016
13017         * ToolbarDefaults.C (init):
13018         * LyXAction.C (init):
13019         * commandtags.h:
13020         * BufferView_pimpl.C (Dispatch):
13021         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13022
13023 2002-03-19  Allan Rae  <rae@lyx.org>
13024
13025         * exporter.C (Export): removeAutoInsets before doing anything else.
13026         While I've just introduced a dependency on BufferView this really is
13027         the best place to clean the buffer otherwise you need to cleanup in
13028         a dozen places before calling export or cleanup in a dozen functions
13029         that export calls.
13030
13031         * converter.C (runLaTeX):
13032         (scanLog): Better handling of removeAutoInsets and screen updates.
13033
13034         * lyxfunc.C (dispatch): small whitespace changes
13035
13036 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13037
13038         * WorkArea.C (C_WorkAreaEvent): return a value.
13039         (event_cb): return 1 if we handled the event, 0 otherwise.
13040
13041         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13042
13043 2002-03-18  Juergen Vigna  <jug@sad.it>
13044
13045         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13046         (GetAdditionalWidth): ditto.
13047         (RightLine): ditto.
13048         (LeftLine): ditto.
13049
13050         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13051         inset if we're there actually (probably not used right now but this
13052         is the direction to go for unifying code).
13053         (paste): disable code to clear the selection.
13054
13055         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13056         inside an InsetText and move the check further up as it is in the
13057         wrong place.
13058
13059         * text2.C (pasteSelection): set a selection over the pasted text.
13060
13061 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13062
13063         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13064         and libgraphics to build on Cygwin.
13065
13066 2002-03-15  Juergen Vigna  <jug@sad.it>
13067
13068         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13069         inserting an Inset into the paragraph. I know this is not the best
13070         fix but we already use current_view in CutAndPaste so we will remove
13071         all of it's using at the same time.
13072
13073         * buffer.C (sgmlError): deactivated function till it is rewritten in
13074         the right mode, now it can create problems.
13075
13076         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13077         before accessing it.
13078
13079 2002-03-14  Juergen Vigna  <jug@sad.it>
13080
13081         * undo_funcs.C (textHandleUndo): do the right thing when updating
13082         the inset after the undo/redo.
13083
13084         * text2.C (setCursor): just some testcode for #44 not ready yet.
13085
13086         * undo_funcs.C (textHandleUndo): set the next() and previous()
13087         pointers of the paragraph to 0 before deleting otherwise we have
13088         problems with the Paragraph::[destructor].
13089
13090         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13091         on a paragraph insertion.
13092
13093 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13094
13095         * buffer.C (asciiParagraph): use += operator for char append to
13096         string.
13097
13098         * paragraph.C (getFontSettings): compare >= not just >
13099         (highestFontInRange): ditto
13100         (setFont): ditto
13101
13102 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13103
13104         * paragraph.C: change several algorithm to be more appripriate for
13105         the problem domain. This is lookip in FontList and in the InsetList.
13106
13107 2002-03-13  André Pönitz <poenitz@gmx.net>
13108
13109         * commandtags.h:
13110         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13111
13112 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13113
13114         * commandtags.h:
13115         * LyXAction.C:
13116         * lyxfunc.C:
13117         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13118
13119 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13120
13121         * Painter.C (display): anon helper function, adjust code for this
13122         change.
13123         (pixmap): remove function.
13124
13125         * Painter.h: remove private display variable.
13126
13127         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13128
13129 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13130
13131         * WorkArea.[Ch]: remove figinset_canvas cruft.
13132
13133 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * lyxtextclass.C (operator): add one item cache optimization.
13136
13137         * bufferlist.h: doxy changes
13138
13139         * bufferlist.C: ws changes
13140
13141         * DepTable.[Ch] (ext_exist): place const in the right spot.
13142
13143         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13144         call resizeInsets.
13145         (workAreaExpose): call resizeInsets when the with BufferView changes.
13146         (Dispatch): adjust for protectedBlank removal
13147         (specialChar): call updateInset if the insert went ok.
13148
13149         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13150         specialChar instead.
13151
13152         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13153
13154         * BufferView.h: doxy change
13155
13156         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13157
13158         * lyxtextclass.C (operator[]): remove non-const version
13159         (defaultLayout): remove non-const version
13160
13161 2002-03-12  Juergen Vigna  <jug@sad.it>
13162
13163         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13164         did resize the LyXText too.
13165
13166         * buffer.C (readLyXformat2): set layout information on newly allocated
13167         paragraphs.
13168
13169         * tabular.C (OldFormatRead): set layout information on the paragraph.
13170
13171 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13172
13173         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13174
13175 2002-03-11  Juergen Vigna  <jug@sad.it>
13176
13177         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13178         plainly wrong.
13179         (resizeCurrentBuffer): force also the insets to resize themselfes.
13180         (moveCursorUpdate): fixed up for InsetText.
13181
13182 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13183
13184         * commandtags.h:
13185         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13186         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13187         value of Dialogs::tooltipsEnabled().
13188         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13189
13190 2002-03-08  Juergen Vigna  <jug@sad.it>
13191
13192         * BufferView_pimpl.C (updateInset): update inset inside inset also
13193         if it isn't inside theLockingInset().
13194
13195 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13196
13197         * buffer.C (asciiParagraph): redo some of the word and line length
13198         handling.
13199         (getLists): look for Caption instead of caption.
13200
13201 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13202
13203         * buffer.C (Buffer): initialize niceFile to true
13204         (makeLaTeXFile):
13205         (makeLinuxDocFile):
13206         (makeDocBookFile): make sure niceFile is true on exit
13207
13208 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13209
13210         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13211
13212 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13213
13214         * LyXSendto.C: remove.
13215         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13216         * lyx_gui.C: remove now-redundant comment.
13217         * ColorHandler.h: remove forward declaration of class WorkArea.
13218         * lyxfunc.C: remove #include "WorkArea.h".
13219
13220 2002-03-07  Juergen Vigna  <jug@sad.it>
13221
13222         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13223         got moved away with the DEPM and also set the inset_owner always
13224         right which before could have been omitted.
13225
13226 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13227
13228         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13229         wanted layout is not found.
13230
13231 2002-03-07  Juergen Vigna  <jug@sad.it>
13232
13233         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13234
13235 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13236
13237         * paragraph.C (breakParagraph): use default layout not layout of
13238         prev paragraph.
13239         (Paragraph): clear ParagraphParameters.
13240
13241 2002-03-06  Juergen Vigna  <jug@sad.it>
13242
13243         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13244         otherwise it would not be a valid lenght. Fixed a special case in
13245         the minipage compatibility read where we end the document with a
13246         minipage.
13247
13248         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13249         was set as it could be 0 for InsetTexts first entry.
13250
13251 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13252
13253         * paragraph.C (writeFile): if layout is empty write out
13254         defaultLayoutName().
13255
13256         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13257         file without named layout we set layout to defaultLayoutName().
13258
13259 2002-03-06  Juergen Vigna  <jug@sad.it>
13260
13261         * CutAndPaste.C (copySelection): set layout for new paragraph.
13262
13263         * text.C (prepareToPrint): leave ERT inset left aligned
13264         (leftMargin): don't indent paragraphs inside ERT insets
13265
13266 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13267
13268         * paragraph.C (breakParagraph): dont call clear do the work manually
13269
13270         * paragraph.[Ch] (clear): remove function
13271
13272 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * paragraph.C (Paragraph): dont call clear, the work has already
13275         been done.
13276
13277         * lyxtextclass.C (operator): assert if n is empty
13278
13279         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13280         work manually instead.
13281
13282 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13283
13284         * BufferView_pimpl.C: protect selectionLost against text == 0
13285
13286 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13287
13288         * text.C (breakParagraph): fix a setting layout to '0' problem.
13289
13290 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13291
13292         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13293         final location of file, for the included files, and graphics.
13294
13295 2002-03-05  Juergen Vigna  <jug@sad.it>
13296
13297         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13298
13299 2002-03-04  Juergen Vigna  <jug@sad.it>
13300
13301         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13302
13303         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13304         last column of multicolumn cells.
13305         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13306
13307 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13308
13309         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13310         file if it doesn't go to a temporary file.
13311
13312         * buffer.C (sgmlOpenTag):
13313         (sgmlCloseTag):  remove extra newline insertion.
13314
13315 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13316
13317         * text.C (getRowNearY): comment out debug msg
13318
13319 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13320
13321         * text2.C: first -> first_y
13322
13323         * text.C (getRowNearY): add some attemts at a possible
13324         optimization, not working.
13325
13326         * tabular.[Ch]: add BufferParams to several function so that newly
13327         created paragraph can be initialized to he default layotu for the
13328         buffers textclass.
13329
13330         * tabular-old.C (ReadOld): add buf->params to call of Init
13331
13332         * screen.C: rename text->first to text->first_y
13333
13334         * paragraph.C (breakParagraph): always set layout in the broken
13335         paragraph
13336
13337         * lyxtextclass.C (Read): remove lowercase
13338         (hasLayout): ditto
13339         (operator): ditto
13340         (delete_layout): ditto
13341
13342         * lyxtext.h: rename first -> first_y
13343
13344         * lyxlayout.C (Read): remove lowercase
13345         (name): ditto
13346         (setName): ditto
13347         (obsoleted_by): ditto
13348
13349         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13350
13351         * buffer.C (insertErtContents): add params are to InsetERT
13352         (parseSingleLyXformat2Token): add code to check if a paragraphs
13353         layout really exist.
13354         (parseSingleLyXformat2Token): add params to several inset
13355         constructors
13356         (asciiParagraph): remove lowercase, do the layout comparisons with
13357         no_case
13358
13359         * BufferView_pimpl.C (cursorNext): first -> first_y
13360         (resizeCurrentBuffer): first -> first_y
13361         (updateScrollbar): first -> first_y
13362         (scrollCB): first -> first_y
13363         (workAreaMotionNotify): first -> first_y
13364         (workAreaButtonPress): first -> first_y
13365         (checkInsetHit): first -> first_y
13366         (cursorPrevious): first -> first_y
13367         (cursorNext): first -> first_y
13368         (Dispatch): add buffer_->params to severl inset contructors
13369
13370 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13371
13372         * lyxlayout.C (Read): remove some debug info that I forgot.
13373
13374         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13375         clean up the code slightly.
13376         (makeLinuxDocFile): ditto
13377         (makeDocBookFile): ditto
13378
13379         * text2.C: layout as string
13380
13381         * text.C: layout as string
13382
13383         * paragraph_pimpl.C: layout as string
13384
13385         * paragraph.[Ch]: layout as string
13386
13387         * lyxtextclasslist.[Ch]: layout as string
13388
13389         * lyxtextclass.[Ch]: layout as string
13390
13391         * lyxtext.h: layout as string
13392
13393         * lyxlayout.[Ch]: layout as string
13394
13395         * lyx_cb.C: layout as string
13396
13397         * bufferview_funcs.C: layout as string
13398
13399         * bufferparams.C: layout as string
13400
13401         * buffer.C: layout as string
13402
13403         * LyXView.[Ch]: layout as string
13404
13405         * LaTeXFeatures.[Ch]: layout as string
13406
13407         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13408
13409         * BufferView_pimpl.C: change current_layout to string, remove
13410         lyx::layout_type.
13411         (Dispatch):
13412         (smartQuote):
13413         (insertInset):
13414         (workAreaButtonRelease): layout as string
13415
13416         * BufferView2.C (unlockInset): adjust
13417
13418         * vspace.C (asLatexCommand): use an explict temp variable.
13419
13420 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13421
13422         * Makefile.am: use FRONTEND_*
13423
13424 2002-03-01  Juergen Vigna  <jug@sad.it>
13425
13426         * tabular.C (SetWidthOfMulticolCell): changed to something better
13427         I hope but still work in progress.
13428         (recalculateMulticolumnsOfColumn): renamed function from
13429         recalculateMulticolCells as it is more appropriate now.
13430         (SetWidthOfCell): calculate multicols better.
13431
13432 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13433
13434         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13435
13436         * lyxfunc.C (processKeySym): print sequence also if it is
13437         `deleted' (complete)
13438
13439         * kbsequence.C (print): print sequence even if it is deleted
13440         (complete would be a better word, actually).
13441
13442         * lyxfunc.C (dispatch): print complete options after a prefix key
13443
13444         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13445
13446 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13447
13448         * text2.C (setCharFont): eliminate setCharFont code duplication.
13449
13450 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13451
13452         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13453         LFUN_TABULAR_FEATURE (bug #177)
13454
13455 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13456
13457         * Makefile.am: remove figure.h
13458
13459 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13460
13461         * Bufferview_pimpl.C:
13462         * CutAndPasteC:
13463         * LaTeX.C:
13464         * LyXSendto.C:
13465         * buffer.C:
13466         * bufferlist.C:
13467         * converter.C:
13468         * language.C:
13469         * lyxfunc.C:
13470         * lyxvc.C:
13471         * paragraph.C:
13472         * text.C:
13473         * text2.C: remove #include "lyx_gui_misc.h".
13474
13475         * LaTeX.C: added #include <cstdio>
13476
13477 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13478
13479         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13480         that the paragraph following this one can have.
13481
13482         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13483
13484         * vspace.C (asLatexCommand): fix bogus gcc warning
13485
13486         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13487
13488 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13489
13490         * text2.C (setLayout): get rid of redundant code
13491
13492 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13493
13494         * text2.C (incDepth): make sure depth cannot be increased beyond
13495         reasonable values.
13496
13497 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13498
13499         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13500         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13501
13502         * PainterBase.h (image):
13503         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13504         a LyXImage const *.
13505
13506 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13507
13508         * BufferView.C:
13509         * BufferView.h:
13510         * BufferView_pimpl.C:
13511         * BufferView_pimpl.h:
13512         * LaTeXFeatures.C:
13513         * LyXAction.C:
13514         * LyXView.C:
13515         * Makefile.am:
13516         * UpdateList.h:
13517         * UpdateList.C:
13518         * buffer.C:
13519         * figure.h:
13520         * figureForm.C:
13521         * figureForm.h:
13522         * figure_form.C:
13523         * figure_form.h:
13524         * lyx_cb.C:
13525         * lyx_gui.C:
13526         * lyx_gui_misc.C:
13527         * lyxfunc.C:
13528         * sp_base.h:
13529         * sp_ispell.h:
13530         * sp_pspell.h:
13531         * sp_spell.C: remove fig inset, and the crap house of
13532           cards that follows it
13533
13534 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13535
13536         * Makefile.am:
13537         * lyxserver.C:
13538         * os2_defines.h:
13539         * os2_errortable.h:
13540         * nt_defines.h: move .h into support/
13541
13542         * vms_defines.h: remove
13543
13544         * WorkArea.C: add space in debug output
13545
13546         * text2.C:
13547         * paragraph.C:
13548         * buffer.C: add WITH_WARNINGS
13549
13550         * vc-backend.h:
13551         * vc-backend.C:
13552         * bufferlist.C: s/retrive/retrieve/, add docs
13553
13554         * vspace.h:
13555         * vspace.C:
13556         * kbmap.h:
13557         * lyxlength.h:
13558         * lyxgluelength.h:
13559         * length_common.h:
13560         * chset.h:
13561         * chset.C: add docs
13562
13563         * lyxgui.C: add ID to X error handler
13564
13565         * lyxtestclass.c: fix typo
13566
13567 2002-02-26  Juergen Vigna  <jug@sad.it>
13568
13569         * tabular_funcs.C (write_attribute): changed so that some default
13570         attributes are not written at all.
13571         (getTokenValue): set default values before trying to read the
13572         value so we have the return value always set as default if we don't
13573         find the token we search for.
13574
13575         * tabular.C (Write): write bools as bools not as strings!
13576
13577 2002-02-22  Juergen Vigna  <jug@sad.it>
13578
13579         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13580         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13581
13582         * text.C (leftMargin): don't add an indent for paragraphs inside
13583         tabular cells (fix #208).
13584
13585 2002-02-21  José Matos  <jamatos@fep.up.pt>
13586
13587         * tabular.C (docBook): fixed support for long tables.
13588
13589 2002-02-20  Juergen Vigna  <jug@sad.it>
13590
13591         * text2.C (getFont): get the drawing font of the Inset if this
13592         paragraph is inside an inset (only important for InsetERT for now).
13593
13594         * buffer.C (insertErtContents): use new lanugage params in ERT
13595         constructor.
13596
13597         * CutAndPaste.C: commenting out seemingly uneeded code.
13598
13599 2002-02-19  Allan Rae  <rae@lyx.org>
13600
13601         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13602         Iterators might be simple to use but they also get invalidated.
13603         (removeAutoInsets): renamed saved cursor tracking variables and added
13604         some comments to clarify what everything does.
13605
13606 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * Chktex.C:
13609         * LaTeX.C:
13610         * LyXSendto.C:
13611         * converter.C:
13612         * lyx_cb.C:
13613         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13614         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13615
13616         * lyxfunc.C:
13617         * vc-backend.h: remove #include "support/syscall.h"
13618
13619         * LaTeX.C:
13620         * LyXSendto.C:
13621         * converter.C: rearrange #includes in Lars' approved fashion.
13622
13623         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13624         forward declare class Timeout in the header file.
13625
13626         * XFormsView.C: changes due to the above.
13627
13628         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13629         similar to LyXView.
13630
13631         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13632         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13633
13634 2002-02-18  José Matos  <jamatos@fep.up.pt>
13635
13636         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13637         insets contents.
13638
13639 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13640
13641         * a lot of small ws changes
13642         * add a lot of using std::XXX
13643         * use std construcs some places where approp.
13644         * use some exisint stuff from lyxfunctional where approp.
13645         * Make file changes to use partial linking (lets test this now...)
13646
13647 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13648
13649         * Chktex.C:
13650         * buffer.C:
13651         remove #include "support/syscontr.h" as it's redundant. Always has been.
13652
13653         * Chktex.C:
13654         * LaTeX.C:
13655         * LyXSendto.C:
13656         * converter.C:
13657         * lyx_cb.C:
13658         * vc-backend.C:
13659         change Systemcalls::System to Systemcalls::Wait and
13660         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13661         No change of functionality, just reflects the stripped down Systemcalls
13662         class.
13663
13664 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13665
13666         * debug.[Ch]: add a GRAPHICS type to the enum.
13667
13668 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13669
13670         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13671
13672         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13673         there is an inset.
13674
13675 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13676
13677         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13678         match the changes below.
13679
13680         * text2.C (toggleInset): if there is not editable inset at cursor
13681         position, try to see if cursor is _inside_ a collapsable inset
13682         and close it.
13683
13684 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13685
13686         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13687         document menu has a nice checkbox
13688
13689 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13690
13691         * lyxlength.C (asLatexString): change PW to output as percent of
13692         \textwidth.
13693
13694         * lengthcommon.C: change '%' to 't%'
13695
13696         * lyxfunc.C (dispatch): a few comments from Martin
13697
13698 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * WorkArea.h:
13701         * WorkArea.C:
13702         * BufferView_pimpl.h:
13703         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13704           the X selection.
13705
13706 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13707
13708         * vspace.C (inPixels): fix compiler warning
13709
13710 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13711
13712         * lyxfunc.C (getStatus): fix status message for disabled commands.
13713
13714 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13715
13716         * BufferView_pimpl.C: fix crash on close buffer
13717         during selection (#227)
13718
13719 2002-01-27  Herbert Voss  <voss@lyx.org>
13720
13721         * buffer.C: link old Figure to new graphic inset
13722
13723 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13724
13725         * FontLoader.C (getFontinfo): Change the latex font names in order
13726         to match the names of type1inst.
13727
13728 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13731
13732         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13733         (extchanged): ditto
13734         (ext_exist): ditto
13735         (remove_files_with_extension): ditto
13736         (remove_file): ditto
13737         (write): ditto
13738
13739         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13740         document is smaller than the work area height. Do not initialize
13741         static variables to 0.
13742
13743 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13744
13745         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13746
13747         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13748         LFUN_LAYOUT_PARAGRAPHS.
13749
13750         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13751         tabular. It is possible to provide a possible cell, which will
13752         typically be the actcell from the corresponding insettabular
13753
13754         * lyxfunc.C (getStatus): small cleanup; disable
13755         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13756         true
13757
13758 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13759
13760         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13761
13762         * paragraph.C (startTeXParParams):
13763         (endTeXParParams): new methods. The LaTeX code to
13764         start/end paragraph formatting
13765         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13766         empty (fixes bug #200)
13767
13768         * vspace.C (inPixels): adapt to the change below
13769         (inPixels): [later] more cleanups (remove unused variables)
13770
13771         * lyxlength.C (inPixels): change to use a width and a height as
13772         parameter.
13773
13774 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13775
13776         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13777         Replaced with \paperwidth
13778
13779         * DepTable.C (insert): add std:: qualifier
13780
13781 2002-01-18  Allan Rae  <rae@lyx.org>
13782
13783         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13784         updated also?
13785
13786         * text.C (drawInset): Turned out I didn't know enough about how
13787         rebreaking worked.  This fixes most of the redraw problems.  I see
13788         an occasional cursor trail when a line is broken now and the cursor
13789         placement can seem out by a few pixels also after a rebreak.
13790
13791 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13792
13793         * buffer.C (parseSingleLyXformat2Token): update because minipage
13794         width is now a LyXLength
13795
13796         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13797
13798         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13799         math insets
13800
13801 2002-01-17  Juergen Vigna  <jug@sad.it>
13802
13803         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13804
13805         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13806         is set correctly and the inset is updated correctly.
13807
13808 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13809
13810         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13811         the beginning of the loop.
13812
13813 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13814
13815         * lyxrc.C: improve help for use_scalable_fonts
13816
13817 2002-01-17  Allan Rae  <rae@lyx.org>
13818
13819         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13820
13821 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13822
13823         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13824         make sure to set their inset_owner to the right value (bug #171)
13825
13826 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13827
13828         * DepTable.h
13829         * DepTable.C: Implement mtime checking to reduce time spent doing
13830         CRCs.
13831
13832 2002-01-16  Juergen Vigna  <jug@sad.it>
13833
13834         * tabular.C (GetAdditionalHeight): one of error fixed.
13835
13836         * lyxrc.C (output): small fix in writing use_pspell.
13837
13838 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13839
13840         * sp_base.h: #include LString.h
13841
13842 2002-01-16  Allan Rae  <rae@lyx.org>
13843
13844         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13845         Can someone check this please?
13846
13847         * text.C (drawInset): It was possible that p.row would be removed by
13848         breakAgainOneRow upsetting a few other settings.  There may be another
13849         small tweak possible by setting need_break_row = 0 when p.row has been
13850         removed but I don't know enough about the logic here.
13851
13852 2002-01-15  Allan Rae  <rae@lyx.org>
13853
13854         * text.C (insertChar): removed conditional truism.
13855
13856         * BufferView2.C (removeAutoInsets): More tweaks.
13857         cur_par_prev could be a stray pointer.  Check for trailing empty line
13858         in case last line was cur_par and only had an error inset on it.
13859
13860 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13861
13862         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13863         absolute
13864
13865         * vc-backend.C (most methods):
13866         * exporter.C (Export):
13867         * converter.C (convert):
13868         (runLaTeX):
13869         * LyXSendto.C (SendtoApplyCB):
13870         * lyxfunc.C (dispatch):
13871         (menuNew):
13872         (open):
13873         (doImport):
13874         * lyx_cb.C (AutoSave):
13875         (InsertAsciiFile):
13876         * BufferView_pimpl.C (MenuInsertLyXFile):
13877         * buffer.C (runChktex): use Buffer::filePath().
13878
13879         * buffer.h: rename filename to filename_; rename filepath to
13880         filepath_ and make it private
13881         (filePath): new method
13882
13883         * buffer.C (writeFile): use fileName()
13884         (getLatexName):
13885
13886         * lyx_main.C (init): fix starting  of LyX when the binary is a
13887         link from so,ewhere else.
13888
13889         * minibuffer.C: include <cctype> for isprint
13890
13891 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13892
13893         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13894         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13895         name clash with InsetCollapsable's width function.
13896
13897 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * lastfiles.C: include <iterator>
13900
13901 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13902
13903         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13904         std::count.
13905
13906         * buffer.C (makeLaTeXFile): ditto.
13907         Also make loop operation more transparent.
13908
13909 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13910
13911         * ToolbarDefaults.C: remove trailing comma closing namespace.
13912
13913         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13914
13915         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13916         as in WorkArea.
13917
13918         * trans.C (Load): comment out unused variable, allowed.
13919
13920 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13921
13922         * minibuffer.[Ch] (append_char): new method to recieve input from the
13923         drop-down completion browser. If a key was pressed, then recieve this
13924         char and append it to the existing string.
13925         (peek_event): modify the positioning data passed to the completion
13926         browser so that it can be placed above the minibuffer rather than below.
13927 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * LyXAction.C (init): alloe error-next for readonly documents.
13930
13931         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13932         count.
13933
13934 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13935
13936         * bufferlist.C (readFile): create the buffer _after_ checking that
13937         the file exists.
13938
13939         * lyxfunc.C (verboseDispatch): fix handling of arguments
13940
13941         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13942
13943         * lyxrc.C: use string::erase() instead of initializing to "".
13944
13945
13946 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13947
13948         * BufferView_pimpl.h:
13949         * BufferView_pimpl.C:
13950         * WorkArea.h:
13951         * WorkArea.C:
13952         * text2.C: tell X when we have made a selection for copying
13953
13954 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13955
13956         * BufferView_pimpl.C (MenuInsertLyXFile):
13957         * lyxfunc.C (menuNew):
13958         (open):
13959         (doImport): add shortcuts to directory buttons
13960
13961         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13962         open a float)
13963
13964         * lyxfunc.C (setStatusMessage):
13965         (getStatusMessage): new methods
13966         (getStatus):use setStatusMessage instead of setErrorMessage
13967         (dispatch): when function is disabled, set error message here
13968         [instead of in getStatus previously]
13969
13970         * BufferView_pimpl.C (workAreaButtonRelease): update
13971         toolbar/menubar here too.
13972
13973 2002-01-13  Allan Rae  <rae@lyx.org>
13974
13975         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13976         Now seems indestructible.  Remaining task is to audit all other
13977         code affected by deleteEmptyParagraphMechanism.  One small quirk
13978         left is that an empty document with an error in the preamble can
13979         be made to report an error but no error box appears.  I don't know
13980         where it goes.
13981         (removeAutoInsets): Improved comments.
13982
13983 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13984
13985         * Thesaurus.h:
13986         * Thesaurus.C: update for Aiksaurus 0.14
13987
13988 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13989
13990         * text2.C (firstParagraph): removed member function, all uses
13991         replaces with ownerParagraph
13992         (redoParagraphs): here
13993         (updateInset): here
13994         (toggleAppendix): here
13995         * BufferView2.C (insertErrors): here
13996         (setCursorFromRow): here
13997
13998 2002-01-13  Allan Rae  <rae@lyx.org>
13999
14000         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14001         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14002         There is still a way to segfault this although you may have to do this
14003         multiple times: Have an InsetERT with an unknown command in it.
14004         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14005         <down-arrow>, <Enter> again, View->DVI, BANG!
14006
14007         * text2.C (setCursor):
14008         (deleteEmptyParagraphMechanism):
14009         * lyxtext.h (setCursor):
14010         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14011         Making use of the return value may help fix other bugs.
14012
14013 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14014
14015         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14016
14017         * LyXView.C (updateMenubar): call MenuBar::update here
14018         (updateToolbar): but not here
14019         (showState): do not update toolbar/menubar
14020
14021         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14022         should need to care about that.
14023
14024         * lyxfunc.C (verboseDispatch): simplify a bit
14025         (getStatus): have a version which takes a pseudoaction, and
14026         another which requires a (kb_action,string).
14027
14028         * LyXAction.C (retrieveActionArg): make it work also when action
14029         is not a pseudo-action.
14030         (getActionName): simplify a bit
14031         (helpText):
14032
14033 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14034
14035         * lyxfunc.C (verboseDispatch): new families of methods with
14036         several ways to specify a command and a bool to indicate whether
14037         the command name and shortcut should be displayed in minibuffer
14038         (eventually, we could extend that to a finer bitmask like
14039         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14040         (dispatch): the pristine dispatch command which just, well,
14041         dispatchs! Note it still sets its result to minibuffer; I'm not
14042         sure we want that.
14043
14044         * lyxfunc.h: remove setHintMessage
14045
14046         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14047
14048 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14049
14050         * BufferView_pimpl.C (specialChar): delete new inset if we have
14051         not been able to insert it.
14052
14053         * kbmap.C: revert to using int instead of kb_action, since all we
14054         are dealing with is pseudo-actions.
14055
14056         * LyXAction.C (searchActionArg): change to return int instead of
14057         kb_action, since the result is a pseudoaction.
14058
14059 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14060
14061         * buffer.C (insertErtContents): Fix (partially) the font bug.
14062
14063 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14064
14065         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14066         as the other one is broken on my machine!
14067
14068 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14069
14070         * commandtags.h:
14071         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14072
14073 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14074
14075         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14076         reflect their actual use. Provide compatibility code for older lyxrc
14077         files.
14078
14079         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14080         FL_NORMAL_STYLE.
14081         change names of popup font variables in line with the changes to lyxrc.C
14082
14083 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14084
14085         * buffer.C (asciiParagraph): avoid outputing a word twice after
14086         an inset.
14087
14088         * lyxrc.C (getDescription): document that document_path and
14089         template_path can be empty.
14090
14091 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14092
14093         * LaTeXFeatures.C (getMacros):
14094         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14095
14096         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14097
14098         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14099         getPackages.
14100         (getPackages): rename feature "floats" to "float". Use an array to
14101         iterate over 'simple' features (i.e. just a \usepackage). Add
14102         handling of "amsmath" (renamed from "amsstyle").
14103
14104 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14105
14106         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14107         features list.
14108
14109 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14110
14111         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14112         FuncStaus::FuncStatus & FuncStaus::some_method().
14113
14114 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14115
14116         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14117         of the func_satus stuff. Edited and massaged in various ways by
14118         JMarc.
14119
14120         * lyxfunc.C (getStatus): use FuncStatus
14121
14122 2002-01-08  Juergen Vigna  <jug@sad.it>
14123
14124         * text.C (nextBreakPoint): use function Inset::isChar().
14125
14126         * paragraph.C (TeXOnePar): use function
14127         Inset::forceDefaultParagraphs.
14128
14129         * buffer.C (latexParagraphs): use function
14130         Inset::forceDefaultParagraphs.
14131
14132 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * lyx_gui.C (init): set the style of the menu popups to
14135         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14136
14137 2002-01-07  Juergen Vigna  <jug@sad.it>
14138
14139         * text.C (setHeightOfRow): small fix
14140         (prepareToPrint): don't look at alignment if we don't have the place
14141         for doing it.
14142
14143 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14144
14145         * box.C: New file. Move the Box methods and functions out of box.h,
14146         following Lars' suggestion.
14147
14148 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14149
14150         * box.h: #include "support/LOstream.h", needed for inlined function.
14151
14152         * lyxtextclass.C:
14153         * lyxtextclasslist.C: added some using std declarations.
14154
14155 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14156
14157         * box.h: make signed dimensions to allow insets wider than
14158           the screen (bug #162)
14159
14160         * BufferView_pimpl.C: add some insetHit debug
14161
14162 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14163
14164         * vc-backend.C: add FIXME
14165
14166 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14167
14168         * lyxfunc.C (getStatus): enable code for showing math font status
14169         in toolbar/menu.
14170
14171 2002-01-07  Juergen Vigna  <jug@sad.it>
14172
14173         * text.C (nextBreakPoint): removed debug output not needed anymore.
14174
14175 2002-01-06  Juergen Vigna  <jug@sad.it>
14176
14177         * text.C (nextBreakPoint): fixed up this function we had this bug
14178         since ever but now hopefully we break row better.
14179         (insertChar): we have to check if an inset is the next char as it
14180         could now happen that a large inset is causing a break.
14181
14182 2002-01-05  Juergen Vigna  <jug@sad.it>
14183
14184         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14185         if it doesn't like to be drawed.
14186
14187 2002-01-04  Juergen Vigna  <jug@sad.it>
14188
14189         * BufferView2.C (lockInset): forgot to set a cursor.
14190
14191         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14192
14193 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14194
14195         * FormMathsPanel.C:
14196         * FormMathsPanel.h
14197         * MathsSymbols.C:
14198         * form_maths_panel.C:
14199         * form_maths_panel.h:
14200         * form_maths_panel.fd: implemented sub- and super- buttons in math
14201         panel.
14202
14203         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14204         (or ^ space) to be used as in TeX (req'd by Andr�.
14205
14206         * lyxfunc.C: Allow ^ and _ again to be used both as
14207         super/subscript (mathed) and as themselves (in text).
14208
14209 2002-01-03  Allan Rae  <rae@lyx.org>
14210
14211         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14212         "LyX" or the filename of the current buffer if it has one.  This is a
14213         modified form of John Levon's patch.
14214
14215         * XFormsView.C (setWindowTitle): also set icon title.
14216
14217         * LyXView.h (setWindowTitle): signature changed.
14218         * XFormsView.h (setWindowTitle): ditto.
14219
14220 2002-01-02  Juergen Vigna  <jug@sad.it>
14221
14222         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14223
14224 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14225
14226         * screen.C (topCursorVisible): introduce a temp var for
14227         text->cursor.row(), handle the case where this row is null. (kindo
14228         hachish)
14229
14230         * text2.C (setCursor): add a couple of asserts.
14231
14232         * paragraph.h (inset_iterator): add -> operator
14233
14234         * paragraph.[Ch] (autoDeleteInsets): remove member function
14235
14236         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14237         cursor pos correctly and handle inset deletion by itself.
14238         (insertErrors): move iterator declaration out of for expression
14239
14240         * lyxtextclass.C: add <algorithm>
14241
14242         * Makefile.am: added the new files to sources, removed layout.C
14243
14244         * layout.C: removed file
14245
14246         * layout.h: remove LYX_DUMMY_LAYOUT
14247
14248         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14249         layout.
14250
14251         * lyxlayout.[Ch]:
14252         * lyxtextclass.[Ch]:
14253         * lyxtextclasslist.[Ch]: new files
14254
14255         * include order changes to a lot of files, also changes because of
14256         the six new files.
14257
14258 2001-12-27  Juergen Vigna  <jug@sad.it>
14259
14260         * buffer.C (asciiParagraph): more fixes.
14261
14262         * tabular.C (ascii): make ascii export support export of only the
14263         data separated by a column-delimiter.
14264         (ascii): better support for ascii export.
14265
14266         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14267
14268 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14269
14270         * tabular_funcs.C: use a "using std::getline" instead of the
14271         previous fix from Angus (necessary for cxx + lyxstring)
14272
14273 2001-12-24  Juergen Vigna  <jug@sad.it>
14274
14275         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14276
14277         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14278         problems. First check a minipage also if we have some ert-contents
14279         (not only on par->size(), second set the right depth of the paragraph
14280         on the relink to the root-paragraph-list!
14281
14282         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14283         which then did not anymore update the main paragraphs on undo/redo!
14284
14285 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14286
14287         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14288         code. Support all font-changing funcs (even those which are not in
14289         menu currently). Support for reporting font settings in
14290         mathed (disabled until Andre provides a function on mathed's side).
14291
14292         * func_status.h (toggle): small helper function to set toggle
14293         state on a flag.
14294
14295 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14296
14297         * tabular_funcs.C: getline -> std::getline
14298
14299 2001-12-21  Juergen Vigna  <jug@sad.it>
14300
14301         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14302         accessed and could be 0 (I couldn't generate this but it seems
14303         Michael could!).
14304
14305 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14306
14307         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14308         * tabular_funcs.h: here and include iosfwd
14309
14310 2001-12-20  Juergen Vigna  <jug@sad.it>
14311
14312         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14313         inside inset but undo_par was.
14314
14315 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14316
14317         * Thesaurus.C: always include <config.h> in sources.
14318
14319         * Painter.h:
14320         * lyxlookup.h:
14321         * box.h: do not include <config.h> in header files
14322
14323         * text.C (paintLastRow): remove unused variable
14324
14325         * text.C (transformChar):
14326         (insertChar):
14327         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14328
14329         * Painter.C (text):
14330         * font.C (width): rewrite to use uppercase() instead of
14331         islower/toupper.
14332
14333         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14334
14335 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * lyxfind.C: clean up of find failure position change
14338
14339 2001-12-20  Juergen Vigna  <jug@sad.it>
14340
14341         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14342
14343         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14344         (TeXRow): added to LaTeX a single tabular row.
14345         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14346         (Latex): simplified and finally good LT-h/f support.
14347         (various_functions): just small adaptions for LT-h/f support.
14348
14349         * tabular_funcs.[hC]: added and moved here all not classfunctions
14350         of LyXTabular.
14351
14352 2001-12-19  Juergen Vigna  <jug@sad.it>
14353
14354         * tabular.[Ch]: better support for longtabular options (not finished
14355         yet!)
14356
14357 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14358
14359         * text.C (paintLastRow): use the label font instead of the font of
14360         the last character to compute the size of *_BOX. This makes more
14361         sense and avoids a crash with empty paragraphs.
14362         Use Painter::rectangle to draw EMPTY_BOX.
14363
14364 2001-12-19  Juergen Vigna  <jug@sad.it>
14365
14366         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14367         the paragraphs if the replaced paragraph is not the first one!
14368         Tried to delete not used paragraphs but does not work yet so for
14369         now it's inside #ifdef's and by default off!
14370
14371 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14372
14373         * MenuBackend.C: include "lyx_main.h" instead of declaring
14374         lastfiles (actually was declared as LastFiles* instead of a
14375         scoped_ptr).
14376
14377 2001-12-17  Juergen Vigna  <jug@sad.it>
14378
14379         * tabular.C (AppendColumn): applied John's fix
14380
14381 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14382
14383         * BufferView.h:
14384         * BufferView.C:
14385         * BufferView_pimpl.h:
14386         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14387
14388         * Makefile.am:
14389         * box.h: new start of class for above
14390
14391         * lyxfunc.C: ignore space-only minibuffer dispatches.
14392           Show the command name when it doesn't exist
14393
14394         * minibuffer.C: don't add empty lines to the history
14395
14396         * minibuffer.C: add a space on dropdown completion
14397
14398 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14399
14400         * text.C: fix line above/below drawing in insets
14401
14402 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14403
14404         * lyxlength.C (LyXLength): Initialize private variables.
14405
14406 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14407
14408         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14409         when inserting error insets.
14410
14411 2001-12-13  Juergen Vigna  <jug@sad.it>
14412
14413         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14414         actually sometimes the before-paragraph.
14415         (setUndo): don't clear the redostack if we're not actually undoing!
14416
14417 2001-12-06  Juergen Vigna  <jug@sad.it>
14418
14419         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14420         and fixed redoing of main paragraph, so we can use it now ;)
14421
14422         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14423
14424 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14425
14426         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14427         Juergen's request
14428
14429 2001-12-13  André Pönitz <poenitz@gmx.net>
14430
14431         * undostack.[Ch]:
14432         * undo_func.C: minor cleanup
14433
14434 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14435
14436         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14437         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14438         font in urw-fonts package which is marked as -urw-fontspecific and
14439         does not work (incidentally, changing the encoding in the
14440         fonts.dir of this package to -adobe-fontspecific fixes the
14441         problem).
14442
14443         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14444         is a crash when undoing first paragraph (Juergen, please take a
14445         look). THis does not mean the undo fix is wrong, just that it
14446         uncovers problems.
14447
14448         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14449         the (Paragraph*) version when needed instead of duplicating the
14450         code.
14451
14452         * text.C (workWidth): use Inset::parOwner to find out where the
14453         inset has been inserted. This is a huge performance gain for large
14454         documents with lots of insets. If Inset::parOwner is not set, fall
14455         back on the brute force method
14456
14457         * paragraph_pimpl.C (insertInset):
14458         * paragraph.C (Paragraph):
14459         (cutIntoMinibuffer): set parOwner of insets when
14460         inserting/removing them
14461
14462         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14463
14464 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14465
14466         * commandtags.h:
14467         * LyXAction.C:
14468         * lyx_main.C:
14469         * lyxfunc.C:
14470         * mathed/formulabase.C:
14471         * mathed/math_cursor.[Ch]:
14472         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14473
14474
14475 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14476
14477         * lyxlength.[Ch] (operator!=): new function
14478
14479 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14480
14481         * text.C (workWidth): use Inset::parOwner to find out where the
14482         inset has been inserted. This is a huge performance gain for large
14483         documents with lots of insets. If Inset::parOwner is not set, fall
14484         back on the brute force method
14485
14486         * paragraph_pimpl.C (insertInset):
14487         * paragraph.C (Paragraph):
14488         (cutIntoMinibuffer): set parOwner of insets when
14489         inserting/removing them
14490
14491         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14492
14493 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14494
14495         * tabular-old.C (getTokenValue):
14496         * tabular.C (getTokenValue):
14497         (write_attribute): new versions for LyXLength
14498         (everywhere): adjust the use of widths
14499
14500         * tabular.h: change the type of widths from string to LyXLength
14501
14502 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14503
14504         * paragraph.C: fixed missing line number count when exporting
14505         Environments to LaTeX file
14506
14507         * buffer.C: added informational message for checking line numbers.
14508
14509 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14510
14511         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14512         paragraph, do the 'double space' part, but not the 'empty
14513         paragraph' one.
14514
14515         * text.C (workWidth): small optimization
14516         (getLengthMarkerHeight): use minimal size for negative lengths.
14517
14518 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14519
14520         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14521
14522         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14523
14524 2001-12-11  André Pönitz <poenitz@gmx.net>
14525
14526         * FontLoader.C:
14527         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14528
14529 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14530
14531         * text2.C: keep selection on a setFont()
14532
14533 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14534
14535         * lyx_cb.C: another bv->text misuse, from insert label
14536
14537 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14538
14539         * kbsequence.h:
14540         * kbsequence.C: re-instate nmodifier mask
14541
14542 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14543
14544         * lyx_main.h: make lyxGUI private.
14545
14546 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14547
14548         * lyxfind.C: place the cursor correctly on failed search
14549
14550 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14551
14552         * text.C (getLengthMarkerHeight): for small heights, the arrows
14553         are not always on top/bottom of the text
14554         (drawLengthMarker): smaller arrows; take the left margin in
14555         account; draw also vfills.
14556         (paintFirstRow):
14557         (paintLastRow): remove special code for vfill and standard spaces,
14558         since everything is handled in drawLengthMarker now.
14559
14560 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14561
14562         * buffer.C (insertErtContents): try to handle font and language
14563         interaction a bit better.g
14564
14565         * ColorHandler.C (updateColor): change the hash to cover the whole
14566         LColor enum, ws cleanup
14567         (getGCLinepars): ditto
14568         (getGCLinepars): only lookup in the linecache once.
14569
14570 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14571
14572         * iterators.C (operator++): Make the iterator more robust
14573
14574         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14575         (John's patch)
14576         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14577
14578 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14579
14580         * lyxtext.h:
14581         * text.C: better added space drawing
14582
14583 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14584
14585         * LyXView.C:
14586         * BufferView2.C: fix layout combo update on inset unlock
14587
14588 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14589
14590         * Makefile.am: don't compile unused files
14591
14592 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14593
14594         * lyxfunc.C:
14595         * commandtags.h:
14596         * LyXAction.C: remove old LFUN_LAYOUTNO
14597
14598 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14599
14600         * paragraph_pimpl.h:
14601         * paragraph_pimpl.C: isTextAt() doesn't need font param
14602
14603 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14604
14605         * lyxlex.h:
14606         * lyxlex.C: little cleanup
14607
14608 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14609
14610         * BufferView_pimpl.C: fix insertAscii for insets
14611
14612 2001-12-05  Juergen Vigna  <jug@sad.it>
14613
14614         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14615         set the right font on the "multi" paragraph paste!
14616
14617 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * trans_decl.h:
14620         * trans_mgr.[Ch]:
14621         * trans.[Ch]:
14622         * lyxgluelength.C:
14623         * lyxlength.C: remove out-commented code.
14624
14625         * BufferView_pimpl:
14626         * CutAndPaste.C:
14627         * DepTable.C:
14628         * buffer.C:
14629         * chset.C:
14630         * lastfiles.C:
14631         * lyxlex.C:
14632         * lyxlex_pimpl.C:
14633         * lyxserver.C:
14634         * screen.C:
14635         * tabular-old.C:
14636         * tabular.C:
14637         * text.C:
14638         * trans_mgr.C:
14639         * vc-backend.C: change "while(" to "while ("
14640
14641         * lyxlength.[Ch]: add zero function to check if length is zero or
14642         not
14643         * lyxgluelength.C: use it
14644
14645 2001-12-05  Allan Rae  <rae@lyx.org>
14646
14647         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14648         Works for 2.95.3, from what I understand of Garst's reports this should
14649         work for other g++ versions.  We're screwed if the abs(int) definition
14650         changed between bugfix releases of gcc.
14651
14652 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14653
14654         * text.C: fix chapter label offset !
14655
14656 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14657
14658         * lyxtext.h:
14659         * text.C: fix hfill at end of line, clean up
14660
14661 2001-12-04  Juergen Vigna  <jug@sad.it>
14662
14663         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14664         that we force an update of the inset and it's owners if neccessary.
14665
14666 2001-12-03  Juergen Vigna  <jug@sad.it>
14667
14668         * text.C (rowLast): simplified code
14669
14670 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14671
14672         * lyxfunc.C: fix show options on timeout
14673
14674 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14675
14676         * screen.C (topCursorVisible): scroll half a page when the cursor
14677         reached top of bottom of screen
14678
14679 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14680
14681         * minibuffer.C: deactivate on loss of focus
14682
14683 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14684
14685         * vspace.[Ch] (operator!=): add operator.
14686
14687 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14688
14689         * BufferView_pimpl.C: refuse to open an inset when
14690         there's a selection.
14691
14692 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * BufferView_pimpl.C: allow to click on RHS of full row insets
14695
14696 2001-11-30  Juergen Vigna  <jug@sad.it>
14697
14698         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14699         insets for undo reasons.
14700
14701 2001-11-28  André Pönitz <poenitz@gmx.net>
14702
14703         * vspace.[Ch]: cosmetical changes
14704
14705 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14706
14707         * LyXAction.h:
14708         * LyXAction.C:
14709         * lyxfunc.h:
14710         * lyxfunc.C:
14711         * kbmap.h:
14712         * kbmap.C:
14713         * lyxrc.C:
14714         * kbsequence.h:
14715         * kbsequence.C: part re-write of old kb code
14716
14717         * Painter.C:
14718         * WorkArea.C: remove Lgb_bug_find_hack
14719
14720 2001-11-30  José Matos <jamatos@fep.up.pt>
14721
14722         * buffer.C (makeDocBookFile): add a comment to point a hack.
14723         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14724         Fixed a double write of labels.
14725
14726 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14727
14728         * LaTeX.C:
14729         * LaTeX.h Fixed bug in LaTeX class where it would not
14730         re-run latex if no depfiles were changed, but the .dvi was removed.
14731
14732 2001-11-28  André Pönitz <poenitz@gmx.net>
14733
14734         * all the files from the change on 2001/11/26:
14735         use lyx::layout_type instead of LyXTextClass::size_type
14736         use lyx::textclass_type instead of LyXTextClassList::size_type
14737
14738 2001-11-29  Juergen Vigna  <jug@sad.it>
14739
14740         * text.C: added support for paragraph::isFreeSpacing()
14741
14742         * buffer.C: same as above
14743
14744         * paragraph.h: inserted isFreeSpacing() function to enable
14745         FreeSpacing inside InsetERT.
14746
14747         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14748         of the paragraph's in the cut/copy buffer to 0!
14749
14750         * text2.C (removeRow): remove the assert as it can!
14751
14752         * lyxtext.h: added helper function firstRow returning firstrow and
14753         made firstrow private again.
14754
14755         * BufferView2.C (lockInset): don't relock if we're already locked!
14756
14757         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14758         the only paragraph.
14759         (removeRow): added Assert::(firstrow)
14760
14761         * debug.C: forgot to add INSETTEXT here.
14762
14763 2001-11-28  Juergen Vigna  <jug@sad.it>
14764
14765         * sp_spell.C (initialize): changed error text to more general
14766         spellchecker command use (not only ispell!)
14767
14768         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14769
14770         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14771
14772 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14773
14774         * vspace.C: initialise lyxgluelength on failure
14775
14776 2001-11-28  Allan Rae  <rae@lyx.org>
14777
14778         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14779         declaration & definition that looks like a function declaration.
14780
14781 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14782
14783         * BufferView2.C (copy):
14784         (copyEnvironment): do not clear the selection when doing a copy.
14785
14786         * text.C (paintFirstRow): compilation fix
14787
14788 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14789
14790         * tabular.C (Latex): correct line count when writing latex.
14791
14792 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14793
14794         * paragraph_pimpl.h:
14795         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14796           bug a bit
14797
14798 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14799
14800         * text.C:
14801         * LColor.h:
14802         * LColor.C: change vfillline->added_space
14803
14804         * text.C: add markers and text for added space
14805
14806         * vspace.C: fix comment
14807
14808 2001-11-28  André Pönitz <poenitz@gmx.net>
14809
14810         * paragraph.C: whitespace changes
14811         * all the other files from the change on 2001/11/26:
14812         change *::pos_type into lyx::pos_type
14813
14814 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14815
14816         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14817         language of the document when inserting error insets.
14818
14819 2001-11-26  André Pönitz <poenitz@gmx.net>
14820
14821         * BufferView_pimpl.[Ch]:
14822         *       CutAndPaste.C:
14823         * buffer.[Ch]:
14824         * lyxcursor.[Ch]:
14825         * lyxfind.C:
14826         * lyxfunc.C:
14827         * lyxrow.[Ch]:
14828         * paragraph.[Ch]:
14829         * paragraph_pimpl.[Ch]:
14830         * sp_spell.C:
14831         * text.C:
14832         * text2.C: reduce header dependencies, introduce type for positions
14833
14834 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14835
14836         * <various>: change to use Alert.h
14837
14838 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14839
14840         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14841         when encountering an unknown token.
14842         (readLyXformat2): Show an error message if there were unknown tokens.
14843
14844 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14845
14846         * BufferView2.C:
14847         * BufferView_pimpl.C:
14848         * buffer.C:
14849         * paragraph.h:
14850         * text.C:
14851         * text2.C: use par->isInset()
14852
14853 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14854
14855         * paragraph_pimpl.h:
14856         * paragraph_pimpl.C: cleanup
14857
14858 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14859
14860         * text2.C (removeRow):
14861         * text.C (setHeightOfRow): remove useless (and costly) call to
14862         getRow.
14863
14864 2001-11-20  Allan Rae  <rae@lyx.org>
14865
14866         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14867         Now need Inset*::checkInsertChar() to return true for appropriate
14868         cases so that the characters in the minibuffer will actually be
14869         inserted.
14870
14871 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14872
14873         * text.C: change the order of the includes.
14874         (workWidth): initialize it at once.
14875         (workWidth): make maxw unsigned
14876         (setHeightOfRow): remove unused variable (inset)
14877         (selectSelectedWord): remove unused variable (inset)
14878         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14879
14880 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14881
14882         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14883         server is not running.
14884         (openConnection):
14885         (closeConnection): add debug info when server is disabled.
14886
14887         * ColorHandler.C (getGCForeground): send debug message to GUI
14888         channel.
14889
14890         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14891
14892         * kbmap.C (bind): modify because return conventions of
14893         kb_sequence::parse have changed.
14894
14895         * kbsequence.C (parse): only ignore spaces and not any stupid
14896         control character. This avoids tests like s[i] <= ' ', which are
14897         guaranteed to fail with 8bit characters and signed chars.
14898         Change return code to string::npos when there have been no error
14899         (0 was a bad idea when error is at first character)
14900
14901 2001-11-14  José Matos  <jamatos@fep.up.pt>
14902
14903         * buffer.h:
14904         * buffer.C (simpleDocBookOnePar): removed unused argument.
14905
14906 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14907
14908         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14909         insets which are part of a word. Paragraph::isLetter takes care of
14910         that now. Use Paragraph::isInset to identify insets.
14911         (selectSelectedWord): do not test for hyphenation break.
14912
14913         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14914         that protected spaces are considered as spaces.
14915
14916         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14917         Inset::isLetter.
14918
14919 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14920
14921         * lyxserver.h:
14922         * lyxserver.C: fix it. and small cleanup.
14923
14924 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14925
14926         * BufferView_pimpl.C: use inline helpers
14927
14928         * LaTeXFeatures.h:
14929         * LaTeXFeatures.C: fix typos
14930
14931         * Spacing.h:
14932         * Spacing.C: move spacing_string into class
14933
14934         * ToolbarDefaults.C: move stuff into namespace anon
14935
14936         * layout.h: update enum
14937
14938         * lyxfunc.C: use better debug
14939
14940         * minibuffer.h: fix typo
14941
14942         * debug.h:
14943         * debug.C:
14944         * WorkArea.C: add and use Debug::WORKAREA
14945
14946         * lyxtext.h:
14947         * text.C:
14948         * text2.C: code re-organisation, inline helpers
14949
14950 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14951
14952         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14953         std::vector.empty().
14954
14955 2001-11-09  Allan Rae  <rae@lyx.org>
14956
14957         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14958         '\n's after tables.  Tabular and ERT inset work now makes this no
14959         longer necessary.
14960
14961 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14962
14963         * minibuffer.h:
14964         * minibuffer.C: fix crash, improve drop-down completion
14965
14966 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14967
14968         * lyxserver.h:
14969         * lyxserver.C: invalidate fd's when doing endPipe()
14970
14971 2001-11-08  José Matos  <jamatos@fep.up.pt>
14972
14973         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14974         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14975
14976         * paragraph.h:
14977         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14978
14979 2001-11-07  José Matos  <jamatos@fep.up.pt>
14980
14981         * buffer.h:
14982         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14983         const qualifier.
14984
14985         * buffer.C (sgmlOpenTag):
14986         * buffer.C (sgmlCloseTag): removed debug info.
14987
14988         * buffer.h (sgmlOpenTag):
14989         * buffer.h (sgmlCloseTag): made public.
14990
14991 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14992
14993         * buffer.C (saveParamsAsDefaults):
14994         * lyx_cb.C (MenuLayoutSave): remove
14995
14996         * LyXAction.C (init):
14997         * commandtags.h:
14998         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14999
15000 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * buffer.C (setPaperStuff): removed from here...
15003
15004         * bufferparams.C (setPaperStuff): ... and moved there.
15005
15006 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15007
15008         * minibuffer.h:
15009         * minibuffer.C:
15010         * XFormsView.C: add support for drop-down completion
15011
15012 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15013
15014         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15015         commands.
15016
15017 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15018
15019         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15020         disabled.
15021
15022 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * lyx_main.C: change ref to known bugs
15025
15026 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15027
15028         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15029         to work around older babel problems.
15030
15031 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15032
15033         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15034
15035 2001-10-24  Juergen Vigna  <jug@sad.it>
15036
15037         * tabular-old.C (ReadOld): below variable changes reflected.
15038
15039         * tabular.[Ch]: added ltType struct for longtable header/footer
15040         defines and changed all instances where they are used. Added
15041         future support for double top/bottom rows.
15042
15043 2001-10-24  José Matos  <jamatos@fep.up.pt>
15044
15045         * buffer.h (docbookHandleCaption):
15046         * buffer.C (docbookHandleCaption): removed unused function.
15047         (makeDocBookFile): moved docbook supported version to v4.1.
15048
15049 2001-10-24  José Matos  <jamatos@fep.up.pt>
15050
15051         * tabular.h:
15052         * tabular.C (docbookRow): new function to export docbook code of a row.
15053         (DocBook): now honors the longtable flags.
15054
15055 2001-10-23  José Matos  <jamatos@fep.up.pt>
15056
15057         * LaTeXFeatures.h:
15058         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15059         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15060
15061         * buffer.C (makeLinuxDocFile):
15062         (makeDocBookFile): reworked the preamble, more clean, and with
15063         support for lyx defined entities. Changed the document declaration
15064         to be more XML friendly.
15065
15066         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15067         if we need to output XML that should be done with a filter.
15068
15069 2001-10-22  Juergen Vigna  <jug@sad.it>
15070
15071         * sp_pspell.h (class PSpell): add alive function needed in the
15072         controller to see if the spellchecker could be started.
15073
15074 2001-10-22  Juergen Vigna  <jug@sad.it>
15075
15076         * buffer.C (insertStringAsLines): modify the font for inserting
15077         chars in certain conditions by calling checkInsertChar(font).
15078
15079 2001-10-19  Juergen Vigna  <jug@sad.it>
15080
15081         * text.C (workWidth): use getRow instead of wrong algorithm.
15082         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15083
15084 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * lyxserver.h:
15087         * lyxserver.C:
15088         * lyx_main.h:
15089         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15090
15091 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15092
15093         * text.C (workWidth): do not search for the exact row when
15094         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15095         optimization for big documents.
15096
15097 2001-10-18  Juergen Vigna  <jug@sad.it>
15098
15099         * text.C (workWidth): new function with added Inset * parameter.
15100
15101 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15102
15103         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15104
15105         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15106         change return type of getColumnNearX.
15107
15108
15109         * text.C (changeRegionCase): use uppercase/lowercase instead of
15110         toupper/tolower.
15111         (leftMargin):
15112         (rightMargin): simplify code by factoring out the uses of
15113         textclasslist.
15114         (labelFill):
15115         (numberOfHfills):
15116         (setHeightOfRow):
15117         (appendParagraph): use Paragraph::size_type
15118
15119 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15120
15121         * vspace.C (asLatexString): add a missing break
15122
15123 2001-10-15  Herbert Voss  <voss@perce.de>
15124
15125         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15126
15127 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15128
15129         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15130         is not available.
15131
15132 2001-10-10  André Pönitz <poenitz@gmx.net>
15133
15134         * lyxfunc.C: removed greek_kb_flag.
15135
15136 2001-10-10  Herbert Voss  <voss@perce.de>
15137
15138         * lyx_main.C: delete global string help_lyxdir.
15139
15140 2001-10-09  Herbert Voss  <voss@perce.de>
15141
15142         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15143
15144         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15145
15146         * lyx_main.C: added global string help_lyxdir.
15147
15148         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15149
15150 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15151
15152         * lyxrc.C (set_font_norm_type): support iso8859-4
15153
15154 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15155
15156         * LaTeX.C (deplog): add another regex for MikTeX
15157
15158 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15159
15160         * lyxrc.C (set_font_norm_type): support iso8859-3
15161
15162 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15163
15164         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15165
15166         * LaTeXFeatures.C: remove special case of french and index
15167
15168         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15169         before \begin{document}). This solves several incompatibilities.
15170
15171 2001-10-03  Garst Reese  <reese@isn.net>
15172
15173         * lyx_cb.C: change CheckTex error msg.
15174
15175 2001-10-03  José Matos  <jamatos@fep.up.pt>
15176
15177         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15178
15179 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15180
15181         * .cvsignore: update
15182
15183         * lyx_main.C (commandLineVersionInfo): use new style version info.
15184
15185         * buffer.C (writeFile):
15186         (makeLaTeXFile):
15187         (makeLinuxDocFile):
15188         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15189
15190         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15191
15192         * version.h: update to use stuff in version.C
15193
15194         * version.C.in: new file. Contains version information determined
15195         at compile time. This is a merging of version.h and
15196         version_info.h.in.
15197
15198 2001-10-03  Juergen Vigna  <jug@sad.it>
15199
15200         * BufferView_pimpl.C (update): don't change "dirty" status in
15201         updateInset call.
15202
15203 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15204
15205         * WorkArea.C (c-tor): re-position version string slightly.
15206
15207 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15208
15209         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15210         revert to previous code.
15211
15212         WorkArea.[Ch]: (show, destroySplash): methods removed.
15213
15214         WorkArea.C: rework code so that it's an amalgam of the codes before and
15215         after the splash screen was moved to WorkArea.
15216
15217 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15218
15219         * lyxrc.C (read):
15220         * vspace.C (inPixels):
15221         (lyx_advance):
15222         * kbmap.C (bind):
15223         * buffer.C (insertStringAsLines):
15224         (asciiParagraph): fix types to be large enough
15225
15226         * lyxlex_pimpl.h: change member status from short to int
15227
15228         * layout.h: fix type of endlabeltype
15229
15230         * kbmap.C (bind):
15231         * kbsequence.C (parse): change return type to string::size_type
15232
15233         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15234         variable
15235
15236         * Bullet.C (bulletSize):
15237         (bulletEntry): do not use short ints as parameters
15238
15239         * BufferView2.C (insertLyXFile): change a char to an int.
15240
15241         * WorkArea.C (WorkArea): remove unneeded floats in computation
15242
15243 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15244
15245         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15246
15247         * paragraph.C (asString): Do not ignore newline/hfill chars when
15248         copying to the clipboard.
15249
15250 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15251
15252         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15253         after a multi-line inset.
15254
15255 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15256
15257         * paragraph.C (validate): Set NeedLyXFootnoteCode
15258
15259 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15260
15261         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15262         and decrease-error to decrease.
15263
15264 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15265
15266         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15267         it more readable (should be equivalent)
15268
15269 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15270
15271         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15272
15273 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15274
15275         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15276         of a cursor (row, etc.) after a character has been deleted
15277         (deleteEmptyParagraphMechanism): call the method above on _all_
15278         cursors held by the LyXText when a double space has been
15279         detected/deleted.
15280
15281 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15282
15283         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15284         pixmap.
15285         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15286
15287         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15288         background. Use greyOut() and the new show() methods to toggle between
15289         the foreground and background. Add code to remove the splash after
15290         its initial showing.
15291
15292         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15293         (create_forms): no longer call Dialogs::showSplash.
15294
15295 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15296
15297         * .cvsignore: add version_info.h
15298
15299 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15300
15301         * version_info.h.in: new file
15302
15303         * Makefile.am: add version_info.h.in
15304
15305         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15306         version_info.h instead of VERSION_INFO
15307
15308 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15309
15310         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15311         The ERT inset now returns string().
15312
15313 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15314
15315         * lyxtext.h, text.C (selectNextWord): renamed as
15316         selectNextWordToSpellcheck.
15317
15318         * text.C (selectNextWordToSpellcheck): Modified to not select
15319         words inside an ERT inset.
15320
15321 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15322
15323         * lyx_cb.C (MenuLayoutSave): change a bit the question
15324
15325         * sp_base.h: include <sys/types.h>
15326
15327 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15328
15329         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15330
15331 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15332
15333         * several files: fix typos in user-visible strings
15334
15335 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * text2.C (pasteSelection): do not set the selection, since it
15338         will be cleared later. Actually, the intent was to fix the way the
15339         selection was set, but I figured rmoving the code was just as good.
15340
15341 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15342
15343         * FontLoader.C (available): Check if font is available without
15344         loading the font.
15345
15346 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15347
15348         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15349
15350 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15351
15352         * lyxrc.[Ch]: added display_graphics variable and associated code.
15353
15354 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15355
15356         * bufferparams.C (hasClassDefaults): new method. Returns true if
15357         the buffer parameters correspond to known class defaults
15358
15359 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15360
15361         * XFormsView.C (show): set minimum size to the main window.
15362
15363 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * text2.C (copySelection):
15366         (cutSelection):
15367         * lyxfind.C (LyXReplace):
15368         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15369         LyXText::selectionAsString.
15370
15371         * paragraph.C (asString): add "label" argument to the second form
15372
15373         * text2.C (selectionAsString): add "label" argument and pass it to
15374         Paragraph::asString.
15375
15376 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15377
15378         * lyx_main.C (commandLineHelp): remove version information
15379
15380 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15381
15382         * lyx_main.C: add -version commandline option
15383
15384 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15385
15386         * paragraph.h: make the optional constructor arg required instead.
15387         some modifications to other files because of this.
15388
15389         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15390
15391         * lyxserver.C (C_LyXComm_callback): make it static
15392
15393         * lyx_main.C (error_handler): make it static
15394
15395         * lyx_gui.C (LyX_XErrHandler): make it static
15396
15397         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15398
15399         * WorkArea.C: make the extern "C" methods static.
15400
15401         * Makefile.am (lyx_LDADD): simplify
15402
15403 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15404
15405         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15406         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15407
15408         * LyXAction.C (init):
15409         * lyxfunc.C (dispatch): associated code removal.
15410
15411 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15412
15413         * lyxfont.h (isSymbolFont): shut off warning
15414
15415         * text.C (setHeightOfRow):
15416         (getVisibleRow): fix crash with empty paragraphs which have a
15417         bottom line
15418
15419 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15420
15421         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15422         code.
15423
15424 2001-09-04  José Matos  <jamatos@fep.up.pt>
15425         * buffer.C
15426         * buffer.h
15427         * tabular.C (docbook): rename docBook method to docbook.
15428
15429 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15430
15431         * Makefile.am: add dependencies to main.o.
15432
15433 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15434
15435         * FontLoader.C (available): Return false if !lyxrc.use_gui
15436
15437 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15438
15439         * FontInfo.C (query):
15440         * converter.C (view):
15441         * importer.C (Import):
15442         * exporter.C (Export): Can not -> cannot.
15443
15444 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15445
15446         * BufferView_pimpl.C: allow to create index inset even if
15447           string is empty
15448
15449 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15450
15451         * buffer.C (getLists): replace boost::tie code with an explicit pair
15452         as boost::tie can break some compilers.
15453
15454         * iterators.h: Added a std:: declaration to the return type of
15455         ParIterator::size.
15456
15457 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15458
15459         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15460           case.
15461
15462 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15463
15464         * iterators.[Ch]: New files. Provide paragraph iterators.
15465
15466         * buffer.C (changeLanguage): Use paragraph iterators.
15467         (isMultiLingual): ditto
15468
15469         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15470
15471 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15472
15473         * FontLoader.C: Support for cmr font.
15474
15475 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15476
15477         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15478         (available): New method.
15479
15480         * FontInfo.C (getFontname): Use scalable fonts even when
15481         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15482         found.
15483
15484 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15485
15486         * converter.C (Formats::view): reverted! Incorrect fix.
15487
15488 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15489
15490         * converter.C (Formats::view): only output the -paper option
15491         if the dvi viewer is xdvi, thereby fixing bug #233429.
15492
15493 2001-08-23  Herbert Voss  <voss@perce>
15494
15495         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15496
15497 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15498
15499         * Spacing.h (Spacing): Set space to Default on in the default
15500         constructor.
15501
15502 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15503
15504         * vc-backend.h (RCS::versionString): add RCS to version
15505         (CVS::versionString): add CVS to version
15506
15507         * vc-backend.C (scanMaster): do not add CVS to version.
15508         (scanMaster): do not add RCS to version
15509
15510         * lyxvc.C (versionString): new method
15511
15512         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15513
15514 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15515
15516         * Spacing.C (set): initialize fval
15517
15518 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15519
15520         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15521         " or \.
15522
15523 2001-08-16  Juergen Vigna  <jug@sad.it>
15524
15525         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15526
15527 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15528
15529         * BufferView_pimpl.C:
15530         * figureForm.C:
15531         * lyxtext.h:
15532         * text2.C: setParagraph takes linespacing now
15533
15534 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15535
15536         * LyxAction.C: add internal LFUN_CITATION_INSERT
15537
15538         * LyXView.C: actually apply fix
15539
15540         * bufferlist.C: fix open non-existent file
15541
15542         * lyxfind.C: fix indentation
15543
15544         * lyxfunc.C: remove unneeded assert, fix typo
15545
15546 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15547
15548         * MenuBackend.C: use "Floatname List"
15549
15550 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15551
15552         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15553         when converting LaTeX layout to insetERT.
15554         Generate a non-collapsed float when reading old float
15555
15556 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15557
15558         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15559         ERT insets.
15560
15561 2001-08-13  Juergen Vigna  <jug@sad.it>
15562
15563         * text.C (fill): return 0 instead of 20 as this seems to be the more
15564         correct value.
15565
15566 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15567
15568         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15569         lyxrc.font_norm.
15570
15571 2001-08-13  Juergen Vigna  <jug@sad.it>
15572
15573         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15574         casesensitive off.
15575         (SearchBackward): comment out the unlocking of the inset_owner this
15576         should not be needed!
15577
15578 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15579
15580         * Many files: Remove inherit_language, and add latex_language
15581
15582         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15583         collapsible insets.
15584
15585 2001-08-10  Juergen Vigna  <jug@sad.it>
15586
15587         * text.C (prepareToPrint): fixed hfill-width in draw!
15588
15589         * BufferView2.C (selectLastWord): save the selection cursor as this
15590         now is cleared in the function LyXText::clearSelection!
15591
15592 2001-08-08  Juergen Vigna  <jug@sad.it>
15593
15594         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15595         BACKSPACE type functions.
15596
15597         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15598         is only cutted from the document but not put in the cut-buffer, where
15599         still the old stuff should be.
15600
15601         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15602
15603         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15604
15605         * tabular.C (SetWidthOfCell): fixed special case where the width
15606         was not updated!
15607         (LeftLine): handle '|' in align_special.
15608         (RightLine): ditto
15609         (LeftAlreadyDrawed): ditto
15610         (SetWidthOfCell): ditto
15611
15612 2001-08-07  Juergen Vigna  <jug@sad.it>
15613
15614         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15615
15616 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15617
15618         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15619         * lyxlex.[hC]: ditto
15620
15621 2001-08-06  Juergen Vigna  <jug@sad.it>
15622
15623         * text.C (getVisibleRow): fix up row clearing a bit.
15624
15625 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15626
15627         * minibuffer.C: make sure the X server sees the changes in the input.
15628
15629 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15630
15631         * paragraph.C (getFont): split into...
15632         (getLabelFont): this
15633         (getLayoutFont): and this
15634         * paragraph_pimpl.C (realizeFont): calling this
15635
15636         * text2.C (getFont): split into...
15637         (getLayoutFont): this
15638         (getLabelFont): and this
15639         (realizeFont): all three calling this
15640
15641         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15642         files where used.
15643
15644 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15645
15646         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15647
15648 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15649
15650         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15651         layouts from the Quote inset insertion.
15652
15653 2001-08-03  Juergen Vigna  <jug@sad.it>
15654
15655         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15656
15657         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15658         only if status not is already CHANGED_IN_DRAW (second level).
15659
15660         * text.C (draw): don't set the need_break_row when inside an
15661         InsetText LyXText.
15662
15663 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15664
15665         * buffer.C (parseSingleLyXformat2Token): handle more latex
15666         conversion cases.
15667
15668         * bufferview_funcs.[hC]: change function names to
15669         begin with small char, adjust other files.
15670
15671 2001-08-02  André Pönitz <poenitz@gmx.net>
15672
15673         * lyxfunc.C:
15674         BufferView_pimpl.C: remove broken special code for math-greek
15675
15676 2001-08-02  Juergen Vigna  <jug@sad.it>
15677
15678         * BufferView_pimpl.C (update): redone this function so that we
15679         update the text again if there was a CHANGE_IN_DRAW.
15680
15681         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15682         (drawFromTo): added a new internal bool which is used by draw() and
15683         redraw() function.
15684         (general): some cursor drawing problems fixed.
15685
15686 2001-08-01  Juergen Vigna  <jug@sad.it>
15687
15688         * lyxfind.C (LyXFind): fixed
15689         (SearchForward): ditto
15690         (SearchBackward): ditto
15691
15692         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15693         spurius drawing of the cursor in the main area.
15694
15695         * text2.C (status): small fix which could lead to a segfault!
15696         (clearSelection): remove unneeded BufferView param.
15697
15698 2001-08-01  André Pönitz <poenitz@gmx.net>
15699
15700         * lyxfunc.C: small change due to changed mathed interface
15701
15702 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15703
15704         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15705
15706 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15707
15708         * lyxfunc.c: fail gracefully if file doesn't exist
15709
15710         * LyXSendto.C:
15711         * buffer.C:
15712         * lyxfunc.C:
15713         * BufferView_pimpl.C: IsDirWriteable() proto changed
15714
15715         * LyXView.C: fix updateWindowTitle() to store the last title
15716
15717 2001-07-31  Juergen Vigna  <jug@sad.it>
15718
15719         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15720         the font (wrong since using of Paragraph::highestFontInRange).
15721
15722         * paragraph.C (highestFontInRange): added a default_size parameter.
15723
15724         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15725         (setHeightOfRow): reformat
15726
15727 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15728
15729         * converter.[hC] + affected files: move to (inital-char)lowercase
15730         function names.
15731
15732         * ParagraphParameters.C (ParagraphParameters): remove commented code
15733
15734         * PainterBase.[Ch]: remove commented code
15735
15736         * LaTeXFeatures.h: add "bool floats" for float.sty
15737
15738         * LaTeXFeatures.C (LaTeXFeatures): init floats
15739         (require): handle float
15740         (getPackages): do it with floats
15741
15742 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15743
15744         * BufferView_pimpl.C (Dispatch): improve handling of
15745         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15746
15747         * commandtags.h: #include lyxfont.h here temporarily to avoid
15748         keybinding bug.
15749
15750         * bufferlist.h: include LString.h here.
15751
15752 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15753
15754         * text2.C (getStringToIndex): new method.
15755
15756 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15757
15758         * *: Reduced header file dependencies all over.
15759
15760 2001-07-30  Baruch Even  <baruch@lyx.org>
15761
15762         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15763
15764 2001-07-29  Baruch Even  <baruch@lyx.org>
15765
15766         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15767
15768 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15769
15770         * ParameterStruct.h (endif): add a default constructor to make
15771         sure that all variables is initialized.
15772
15773         * ParagraphParameters.C (ParagraphParameters): adjust
15774
15775 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15776
15777         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15778         index; also, check that there is something to index, and that it
15779         does not span over several paragraphs.
15780         (doubleClick): use WHOLE_WORD_STRICT for double click.
15781
15782         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15783
15784         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15785         scheme.
15786
15787 2001-07-26  Baruch Even  <baruch@lyx.org>
15788
15789         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15790         an InsetFig figure, backwards compatible reading of old figure code.
15791
15792 2001-07-27  Juergen Vigna  <jug@sad.it>
15793
15794         * text2.C: font.realize function adaption.
15795
15796         * text.C (draw): add a warnings lyxerr text if needed.
15797
15798         * layout.C: font.realize function adaption.
15799
15800         * language.C: add inherit_language and implement it's handlings
15801
15802         * bufferview_funcs.C (StyleReset): remove language parameter from
15803         font creation (should be language_inherit now).
15804
15805         * bufferparams.C (writeFile): handle ignore_language.
15806
15807         * paragraph.C (getFontSettings): the language has to be resolved
15808         otherwise we have problems in LyXFont!
15809
15810         * lyxfont.C (lyxWriteChanges): added document_language parameter
15811         (update): removed unneeded language parameter
15812
15813         * paragraph.C (validate): fixed wrong output of color-package when
15814         using interface colors for certain fonts in certain environments,
15815         which should not seen as that on the final output.
15816
15817 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15818
15819         * BufferView_pimpl.C:
15820         * Thesaurus.h:
15821         * Thesaurus.C:
15822         * Makefile.am:
15823         * commandtags.h:
15824         * LyXAction.C: add thesaurus support
15825
15826         * lyxfind.h:
15827         * lyxfind.C: add "once" parameter, for thesaurus, to not
15828           move to the next match
15829
15830 2001-07-26  Juergen Vigna  <jug@sad.it>
15831
15832         * lyxfont.C (realize): honor ignore_language too!
15833         (resolved): ditto.
15834
15835         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15836
15837         * text.C (draw): one place more for ignore_language to not draw
15838         itself!
15839
15840 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15841
15842         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15843
15844 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15845
15846         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15847         the minipage conversion problem.
15848
15849 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15852         insert an inset.
15853
15854 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15855
15856         * BufferView.h: don't forward declare WorkArea
15857
15858         * BufferView.C: don't include WorkArea.h
15859
15860 2001-07-25  André Pönitz <poenitz@gmx.net>
15861
15862         * commandtags.h:
15863         * LyXAction.C:
15864         * lyxfunc.C:  new LFUN 'math-space'
15865
15866         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15867
15868 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15869
15870         * text2.C (toggleInset): call open/close
15871
15872 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15873
15874         * lyxfunc.C (dispatch): add debug for the disabled case
15875
15876         * font.C (buttonText): make similar to rectText
15877
15878         * buffer.C (readInset): comment out parsing of insetlist and
15879         insttheorem
15880
15881         * PainterBase.C (rectText): small correction
15882
15883         * BufferView_pimpl.C: comment out insettheorem and insetlist
15884         * LyXAction.C: ditto
15885         * commandtags.h: ditto
15886
15887 2001-07-24  Juergen Vigna  <jug@sad.it>
15888
15889         * text.C (draw): honor the ignore_language.
15890
15891         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15892
15893 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15896         char inset.
15897
15898 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15899
15900         * lyxtext.h: remove unused (and unimplemented) methods
15901
15902 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15903
15904         * text.C (getVisibleRow): honor background color
15905
15906         * PainterBase.h:
15907         * Painter.h: remove default color argument for fillRectangle
15908
15909         * text.C (backgroundColor): new method
15910
15911 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15912
15913         * text.C (getVisibleRow): adjust
15914
15915         * font.[Ch] (rectText): new method, metrics
15916         (buttonText): new method, metrics
15917
15918         * PainterBase.[hC]: make rectText and buttonText always draw and take
15919         fewer paramteres.
15920
15921 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15922
15923         * ToolbarDefaults.C (read):
15924         * MenuBackend.C (read): allow escaping in all strings
15925
15926         * BufferView_pimpl.C (insertAndEditInset): new method.
15927         (Dispatch): use insertAndEditInset whenever appropriate.
15928
15929         * BufferView_pimpl.C (insertNote): removed
15930
15931         * BufferView_pimpl.C (smartQuote): new method, moved from
15932         BufferView; if an insetquote cannot be inserted, insert a '"'
15933         character instead.
15934
15935         * BufferView2.C: remove insertCorrectQuote();
15936
15937         * lyxfunc.C (getStatus): Add support for all remaingin
15938         inset-insert lfuns.
15939
15940         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15941
15942         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15943         command (necessary to pass " as parameter of self-insert.
15944
15945         * text.C (selectWordWhenUnderCursor):
15946         (selectWord): add word_location parameter
15947         (selectWordWhenUnderCursor): same + remove special code for word
15948         boundary.
15949         (selectNextWord): use kind() to guess type of insetspecialchar,
15950         not latex().
15951
15952         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15953         (insertErtContents): create ert insets as collapsed.
15954         (readInset): better compatibility code for Info inset.
15955
15956 2001-07-20  Juergen Vigna  <jug@sad.it>
15957
15958         * lyxfunc.C (dispatch): use always LyXFind now!
15959
15960         * text2.C (init): add a reinit flag so that the LyXText can be
15961         reinited instead of deleted and reallocated (used in InsetText).
15962
15963         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15964
15965         * text.C: ditto
15966
15967         * text2.C: ditto
15968
15969 2001-07-18  Juergen Vigna  <jug@sad.it>
15970
15971         * text.C (selectNextWord): handle insets inside inset by calling
15972         always the bv->text functions so that we can go up the_locking_inset!
15973
15974         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15975         in strange locations when inside an inset!
15976
15977         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15978         handling to include insets.
15979
15980         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15981
15982 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15983
15984         * LyXAction.C (init):
15985         * commandtags.h:
15986         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15987         LIGATURE_BREAK, since the name is so stupid.
15988
15989 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15990
15991         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15992         InsetInfos.
15993
15994         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15995
15996         * sp_form.[Ch]: remove.
15997
15998         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15999
16000         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16001         InsetInfo.
16002
16003         * src/buffer.C (readInset): ditto.
16004
16005 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16006
16007         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16008         menuSeparator(), endOfSentenceDot(), ldots() and
16009         hyphenationPoint(), which are therefore removed.
16010         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16011
16012         * LyXAction.C (init):
16013         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16014
16015         * paragraph.C (getWord): removed.
16016
16017         * BufferView_pimpl.C (Dispatch): use last word or selection for
16018         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16019
16020         * lyx_main.C (queryUserLyXDir): do not ask before creating
16021         user_dir, except if it has been named explicitely.
16022
16023 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16024
16025         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16026         a document of zero size.
16027
16028 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16029
16030         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16031         approriately in the c-tor and in require().
16032         (getPackages): output the appropriate LaTeX for natbib support.
16033
16034         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16035         variables "use_natbib" and "use_numerical_citations" when reading the
16036         LyX file.
16037         (readInset): read the various natbib cite commands.
16038         (validate): white-space change.
16039
16040         * bufferparams.[Ch]: new variables "bool use_natbib" and
16041         "bool use_numerical_citations".
16042         (writeFile): output them in the LyX file.
16043
16044 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16045
16046         * lyxfunc.C (getStatus): add support for all the inset insertion
16047         commands.
16048
16049         * text2.C (insertInset):
16050         * paragraph.C (insetAllowed):
16051         * BufferView_pimpl.C (insertInset): update to take in account the
16052         renaming of insertInsetAllowed
16053
16054         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16055
16056         * text2.C (getInset): new method. returns inset at cursor position.
16057
16058         * BufferView_pimpl.C (Dispatch): changes because of this.
16059
16060         * LyXAction.C (init): rename open-stuff to inset-toggle.
16061
16062         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16063
16064         * text2.C (toggleInset): renamed from openStuff; use
16065         Inset::open().
16066
16067 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16068
16069         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16070
16071         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16072
16073 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16074
16075         * buffer.C (readLyXformat2): Add filename to the error dialog
16076
16077 2001-07-18  Juergen Vigna  <jug@sad.it>
16078
16079         * tabular.C (GetCellNumber): put an assert here instead of the check!
16080
16081 2001-07-17  Juergen Vigna  <jug@sad.it>
16082
16083         * BufferView_pimpl.C (toggleSelection): adapted too.
16084
16085         * text.C (selectNextWord): adapted for use with insets.
16086         (selectSelectedWord): ditto
16087
16088 2001-07-17  Juergen Vigna  <jug@sad.it>
16089
16090         * sp_spell.C (PSpell): fix initialitation order.
16091
16092 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16093
16094         * paragraph.C: spacing
16095
16096 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16097
16098         * sp_spell.C: repair language selection for pspell
16099
16100 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16101
16102         * lyxfunc.h: change more methods to begin with lower char.
16103
16104 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16105
16106         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16107         for unknown layouts.
16108
16109 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * buffer.C (readLyXformat2): Generate an error dialog if there are
16112         unknown layouts.
16113
16114 2001-07-16  Juergen Vigna  <jug@sad.it>
16115
16116         * sp_spell.C: always compile ISpell part.
16117
16118         * lyxrc.C: added use_pspell entry and it's handling.
16119
16120 2001-07-13  Juergen Vigna  <jug@sad.it>
16121
16122         * sp_spell.C: removed double includes.
16123
16124 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16125
16126         Consistent use of Lsstream.h:
16127         * Lsstream.h: added using std::stringstream for consistencies sake.
16128
16129         * buffer.C: removed using std::stringstream
16130
16131         * lyxfont.C (stateText):
16132         * paragraph.C (asString):
16133         * text.C (selectNextWord, selectSelectedWord):
16134         * text2.C (setCounter):
16135         * vspace.C (asString, asLatexString):
16136         std::ostringstream -> ostringstream.
16137
16138 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16139
16140         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16141         * commandtags.h: add LFUN_HELP_ABOUTLYX
16142         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16143
16144 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16145
16146         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16147         cursorToggle()
16148         * lyx_gui_misc.C: remove spellchecker
16149         * lyxfunc.C: showSpellchecker
16150         * sp_base.h: added
16151         * sp_ispell.h: added
16152         * sp_pspell.h: added
16153         * sp_spell.C: added
16154         * sp_form.[Ch]: removed
16155         * spellchecker.[Ch]: removed
16156
16157 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16158
16159         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16160         is set.
16161         (simpleTeXSpecialChars): Simply print the input character without
16162         any special translation if pass_thru is set.
16163
16164         * layout.h: Added bool pass_thru to layout class for being able to
16165         implement pass through of a paragraph for Literate Programming.
16166
16167         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16168         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16169         * layout.C (Read): add "passthru" to list of layout tags and add
16170         code to set the pass_thru boolean when it is read.
16171
16172 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16173
16174         * trans_decl.h: remove allowed from KmodInfo
16175
16176         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16177         remove allowed code
16178         (Load): adjust
16179
16180         * paragraph_pimpl.C (erase): use boost::prior
16181
16182         * Painter.C (text): use data() instead of c_str() when length is
16183         also provided.
16184         * WorkArea.C (putClipboard): ditto
16185         * font.h (width): ditto
16186
16187         * BufferView2.C: use it-> instead of (*it). for iterators
16188         * texrow.C: ditto
16189         * paragraph_pimpl.C: ditto
16190         * paragraph.C: ditto
16191         * minibuffer.C: ditto
16192         * language.C: ditto
16193         * kbmap.C: ditto
16194         * encoding.C: ditto
16195         * counters.C: ditto
16196         * converter.C: ditto
16197         * chset.C: ditto
16198         * Variables.C: ditto
16199         * TextCache.C: ditto
16200         * MenuBackend.C: ditto
16201         * LyXAction.C: ditto
16202         * LColor.C: ditto
16203         * FloatList.C: ditto
16204         * DepTable.C: ditto
16205         * ColorHandler.C (LyXColorHandler): ditto
16206
16207 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16208
16209         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16210
16211         * text2.C (openStuff): reintroduce this method (which had been
16212         nuked in NEW_INSETS frenzy).
16213
16214         * lyxfunc.C (Dispatch): when an action has not been handled, use
16215         its name in the error message, not its number.
16216
16217         * paragraph.C (inInset): change method name to begin with lowercase.
16218
16219         * undo_funcs.C:
16220         * text2.C: updates because of this.
16221
16222 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16223
16224         * ToolbarDefaults.C (add): add spaces in error message
16225
16226 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16227
16228         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16229         (readLyXformat2): rename return_par to first_par, use lyxlex's
16230         pushToken and remove the manual push handling.
16231         (parseSingleLyXformat2Token): add another ert comp. variable:
16232         in_tabular, rename return_par to first_par. handle newlines better
16233
16234 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16235
16236         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16237
16238 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16239
16240         * text2.C (getParFromID): removed
16241
16242         * buffer.C (getParFromID): new method moved form lyxtext.
16243         * BufferView2.C (insertErrors): adjust
16244         (setCursorFromRow): adjust
16245         * BufferView_pimpl.C (restorePosition): adjust
16246         * lyxfunc.C (Dispatch): adjust
16247         * undo_funcs.C (textUndo): adjust
16248         (textRedo): adjust
16249         (textHandleUndo): adjust
16250         (textHandleUndo): adjust
16251
16252 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16253
16254         * buffer.C: up' the LYX_FORMAT
16255
16256         * lyxfont.h: turn NO_LATEX on as default
16257
16258         * buffer.C (insertErtContents): new methods of tex style compability.
16259         (parseSingleLyXformat2Token): use it several places.
16260         * tabular.C (OldFormatRead): and here
16261
16262 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16263
16264         * text2.C: remove some commented code.
16265         reindent file.
16266
16267         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16268         * trans.C: changes because of the above.
16269
16270 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16271
16272         * text2.C (setCounter): Fix counters bug with bibliography layout.
16273
16274 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16275
16276         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16277         own member functions
16278         (simpleTeXSpecialChars): ditto
16279
16280 2001-07-06  Juergen Vigna  <jug@sad.it>
16281
16282         * a lot of files: changed the access to LyXText::status and the
16283         call of undo-functions.
16284
16285         * undo.[Ch]: added a inset_id to the undo informations.
16286
16287         * undo_funcs.[Ch]: added and moved here all undo functions.
16288
16289         * lyxtext.h: give the status enum a weight, made status_ a private
16290         variable and made accessor functions for it, removed the whole bunch
16291         of undo-functions as they are now in their own file, make some
16292         functions publically available. Added function ownerParagraph with
16293         int parameter.
16294
16295         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16296         made InInset() a const function, added getParFromID() function.
16297
16298         * buffer.[Ch]: added const version for inset_iterator functions,
16299         added getInsetFromID() function.
16300
16301         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16302         changed undo functions for new version.
16303
16304 2001-07-05  Juergen Vigna  <jug@sad.it>
16305
16306         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16307         unknow mechanism does not call the proper constructor but only this
16308         one also if I request the other!?
16309
16310 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16311
16312         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16313
16314         * text2.C (LyXText): use initialization lists.
16315
16316         * lyxtext.h (Selection): initialize set_ and mark_
16317         (init): remove method
16318
16319 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16320
16321         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16322
16323 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16324
16325         * screen.[Ch]: change method names to begin with lowercase
16326
16327         * BufferView_pimpl.C (updateScrollbar): simplify further and
16328         hopefully make it a bit faster.
16329
16330 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16331
16332         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16333         calling directly xforms functions.
16334
16335         * Painter.C (Painter):
16336         * lyx_cb.C (MenuWrite):
16337         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16338         fl_display.
16339
16340         * lyx_gui.C: remove bogus guiruntime extern declaration.
16341
16342 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16343
16344         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16345         in NEW_INSETS
16346         (redoDrawingOfParagraph): ditto
16347         (redoParagraphs): ditto
16348         (cutSelection): don't create a object for CutAndPaste use the
16349         static method directly
16350         (pasteSelection): ditto
16351
16352         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16353         LyXview (+ rename)
16354
16355 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16356
16357         * modifications to some other files because of this.
16358
16359         * Makefile.am (lyx_SOURCES): add XFormsView
16360
16361         * XFormsView.[Ch]: new files
16362
16363         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16364         the main window. Move the gui dependent stuff to XFormsView
16365
16366 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16367
16368         * tabular.C (GetCellInset): update cur_cell also in the row/col
16369         version of this function.
16370
16371         * lyxfunc.C: no need to include figure_form.h here.
16372
16373         * FontLoader.h:
16374         * lyxfunc.h:
16375         * lyxscreen.h:
16376         * text2.C:
16377         * lyxvc.C: no need to include forms.h here.
16378
16379 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16380
16381         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16382
16383         * lyxfunc.C (Dispatch):
16384         * Spacing.C (set):
16385         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16386         constructor argument.
16387
16388 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16389
16390         * paragraph.C (Paragraph): dont't clear, and just set layout.
16391         (makeSameLayout): use params's copy contructor.
16392
16393         * ParagraphParameters.[Ch] (makeSame): delete method
16394
16395 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16396
16397         * Variables.[Ch]: fix indentation, rename set to isSet
16398
16399 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16400
16401         * lyxfunc.C (Dispatch): fix typo
16402
16403 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16404
16405         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16406         upper_bound.
16407
16408         * bufferlist.C: include assert.h for emergencyWrite().
16409
16410 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16411
16412         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16413           give up at last (bug #425202) !
16414
16415 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16416
16417         * lyx_gui_misc.C:
16418         * sp_form.h:
16419         * sp_form.C:
16420         * spellchecker.h:
16421         * spellchecker.C: strip spellchecker options and bring up
16422           preferences tab instead
16423
16424 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16425
16426         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16427         the istringstream constructor
16428
16429 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16430
16431         * paragraph.C (getLayout): fix return value
16432
16433         * paragraph.h: do not declare getLayout as inline.
16434
16435         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16436
16437 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16438
16439         * lyxcursor.h (operator<): new func
16440         (operator>): new func
16441         (operator>=): new func
16442         (operator<=): new func
16443
16444         * text.C (changeCase): use selection.start and selection.end
16445         (changeRegionCase): require from to be <= to. Require par to be a
16446         valid paragraph.
16447
16448         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16449
16450 2001-06-27  Juergen Vigna  <jug@sad.it>
16451
16452         * text.C (cursorLeftOneWord): changed to return the cursor and added
16453         overlay with BufferView * parameter which calls this one.
16454         (getWord): added
16455         (selectWord): use new getWord function.
16456         (changeCase): renamed from changeWordCase as and extended to work
16457         also on selections.
16458
16459         * lyxtext.h: added enum word_location
16460
16461         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16462         changeCase as this operates now also on selections.
16463
16464 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16465
16466         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16467
16468         * many files: send debug output to Debug::INFO instead of
16469         Debug::ANY.
16470
16471         * converter.C (View):
16472         (Convert):
16473         (Move): send debug output to Debug::FILES instead of console.
16474
16475 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16476
16477         * lyxfunc.C (getStatus): use func_status
16478
16479         * func_status.h: new header, describing the results of
16480         LyXFunc::getStatus;
16481
16482         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16483         LFUN_MATH_HALIGN.
16484
16485 2001-06-25  The LyX Project  <jug@sad.it>
16486
16487         * buffer.C (sgmlOpenTag):
16488         (sgmlCloseTag):
16489         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16490
16491 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16492
16493         * text2.C: remove some dead code
16494
16495         * tabular.C (GetCellInset): store the last cell checked (gotten)
16496
16497         * tabular.h: add the helper for the speedup
16498
16499         * lyxtext.h: remove some dead code
16500
16501 2001-06-26  The LyX Project  <Asger>
16502
16503         * paragraph.C: Change export to LaTeX of alignment to
16504         \begin{center} and family for better roundtrip work with reLyX.
16505
16506         * Tune the math drawing a bit.
16507
16508 2001-06-25  The LyX Project  <Asger>
16509
16510         * LColor.C (LColor): New color for math background. New color
16511         for buttons.
16512
16513 2001-06-25  The LyX Project  <jug@sad.it>
16514
16515         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16516
16517         * lyxfunc.C (Open):
16518         * bufferlist.C (newFile): do not restrict to files ending with
16519         .lyx
16520
16521         * BufferView_pimpl.C (MenuInsertLyXFile):
16522
16523 2001-06-24  The LyX Project  <jug@sad.it>
16524
16525         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16526         of compare_no_case
16527
16528 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16529
16530         * lyxtext.h: rename most methods to begin with a small char.
16531         Lots of changes because of this.
16532
16533         * paragraph.C (Paragraph): do not call fitToSize
16534         (erase): call Pimpl::erase
16535         (insertChar): call Pimpl::insertChar
16536         (insertInset): call Pipl::insertInset
16537         (breakParagraph): do not call fitToSize
16538         (breakParagraphConservative): do not call fitToSize
16539         (fitToSize): remove method
16540
16541         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16542
16543 2001-06-24  The LyX Project  <Asger>
16544
16545         * Fix Qt compilation^2
16546
16547 2001-06-24  The LyX Project  <jug@sad.it>
16548
16549         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16550         depthHook(getDepth()-1).
16551
16552         * paragraph.h:
16553         * ParagraphParameters.h:
16554         * ParameterStruct.h: change type of depth to unsigned int ==
16555         depth_type. Many adaptations to other files before of that.
16556
16557 2001-06-24  The LyX Project  <Asger>
16558
16559         * Fix Qt compilation.
16560
16561 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16562
16563         * paragraph.h: renamed several methods to begin with small letter.
16564         several changes to many parts of the code because of this.
16565
16566 2001-06-23  The LyX Project  <jug@sad.it>
16567
16568         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16569         rewritten to discard all double spaces when KeepEmpty is off
16570         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16571         to only handle newlines but not fiddle with spaces and friends.
16572
16573         * lyxfunc.C (MenuNew): when doing 'new from template', use
16574         template_path as default directory
16575
16576 2001-06-23  The LyX Project  <Asger>
16577
16578         * Clean-up of header file includes all over
16579         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16580
16581 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16582
16583         * paragraph.h: renamed from lyxparagraph.h
16584
16585 2001-06-23  Asger  <lyx@violet.home.sad.it>
16586
16587         * Buffer.h: Removed Buffer::resize
16588         * BufferList.h: Removed BufferList::resize
16589         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16590         the document lazily when we change the width, or the font settings.
16591
16592 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16593
16594         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16595
16596 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16597
16598         * buffer.h: remove out of date comment
16599
16600 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16601
16602         * lyxscreen.h:
16603         * screen.C: fix "theoretical" GC leak
16604
16605 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16606
16607         * LaTeX.C (scanAuxFile):
16608         (deplog): remove trailing \r when reading stream (useful under
16609         win32)
16610
16611 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16612
16613         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16614         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16615         and BufferView::theLockingInset(Inset*), so should use them and not
16616         access bv_->text->the_locking_inset directly.
16617
16618         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16619
16620 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16621
16622         * Makefile.am:
16623         * tex-defs.h: remove old unused file
16624
16625 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16626
16627         * BufferView_pimpl.C: fix typo, remove minibuffer message
16628           when buffer has loaded
16629
16630 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * lyxfunc.C (Dispatch): use stringstream
16633         (MenuNew): use stringstream
16634         (Open): use stringstream
16635
16636         * importer.C (Import): use stringstream
16637
16638         * bufferview_funcs.C (CurrentState): use stringstream
16639
16640         * LaTeX.C (run): use stringstream
16641
16642         * BufferView_pimpl.C (savePosition): use stringstream
16643         (restorePosition): use stringstream
16644         (MenuInsertLyXFile): use stringstream
16645
16646 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16647
16648         * BufferView.C:
16649         * Bullet.C:
16650         * ColorHandler.C:
16651         * FontInfo.C:
16652         * FontLoader.C:
16653         * LColor.C:
16654         * LaTeXFeatures.C:
16655         * Painter.C:
16656         * gettext.C:
16657         * lyx_gui_misc.C:
16658         * lyxserver.C:
16659         * vspace.C: removed // -*- C++ -*- as first line.
16660
16661         * lyxfind.h:
16662         * version.h: added // -*- C++ -*- as first line.
16663
16664 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16665
16666         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16667
16668         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16669         of string
16670
16671 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16672
16673         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16674         of floats.
16675
16676 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16677
16678         * gettext.C: include LString.h even when --disable-nls is on.
16679
16680 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16681
16682         * converter.h (Get): changed argument type from int to
16683         FormatList::size_type to avoid unnecessary conversion.
16684
16685         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16686         before using it.
16687
16688 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16689
16690         * gettext.h: include LString.h even when --disable-nls is on.
16691
16692 2001-06-07  Juergen Vigna  <jug@sad.it>
16693
16694         * text.C (BreakAgain): subst spaces with tabs.
16695
16696         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16697         (resizeInsetsLyXText): set force on resizeLyXText.
16698
16699 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16700
16701         * gettext.h (gettext_init):
16702         (locale_init): use a real definition instead of a macro
16703
16704 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16705
16706         * Bufferview_pimpl.C:
16707         * LColor.h:
16708         * LColor.C: further lcolor tidies
16709
16710 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16711
16712         * BufferView_pimpl.C (updateScrollbar): simplify.
16713
16714         * BufferView2.C: don't include insets/insetinfo.h, change
16715         prototype for insertInset and call the Pimpl version. let
16716         updateInset call Pimpl version.
16717
16718         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16719         gotoInset to BufferView::Pimpl
16720
16721 2001-06-01  Juergen Vigna  <jug@sad.it>
16722
16723         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16724         inside a LockingInset (is the update needed at all?).
16725
16726 2001-05-31  Juergen Vigna  <jug@sad.it>
16727
16728         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16729         here not the old one otherwise how should we compare it afterwards
16730         if it's the same!
16731
16732 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16733
16734         * lyxfont.C:
16735         * tabular.C:
16736         * tabular-old.C:
16737         * FontInfo.C: bring C functions into global namespace when
16738         necessary
16739
16740 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16741
16742         * LString.h: make sure config.h has been loaded before LString.h.
16743
16744         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16745         (one for each char read by EatLine!).
16746
16747         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16748         variables.
16749
16750 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16751
16752         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16753         to the same as the par we break from
16754
16755 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16756
16757         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16758
16759         * MenuBackend.C (expand): also create menu entries for wide
16760         versions of the floats.
16761
16762         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16763
16764         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16765
16766         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16767         frontends/Makefile.am
16768
16769         * text2.C: adjust
16770         * text.C: adjust
16771
16772
16773         * tabular.C (getTokenValue): add std::
16774
16775         * tabular-old.C (getTokenValue): add std::
16776         (getTokenValue): ditto
16777         (getTokenValue): ditto
16778
16779         * screen.C (ToggleSelection): adjust
16780
16781         * lyxtext.h: put selection cursors inside a Selection struct.
16782
16783         * lyxfunc.C (moveCursorUpdate): adjust
16784
16785         * lyxfont.C (latexWriteStartChanges): add std::
16786
16787         * lyxfind.C: adjust
16788
16789         * font.h: delete with(char const *, LyXFont const &)
16790
16791         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16792
16793         * FontInfo.C (getFontname): add std::
16794
16795         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16796         (workAreaButtonPress): adjust
16797         (tripleClick): adjust
16798         (update): adjust
16799         (moveCursorUpdate): adjust
16800         (Dispatch): adjust
16801
16802         * BufferView2.C (gotoInset): adjust
16803
16804 2001-05-30  Juergen Vigna  <jug@sad.it>
16805
16806         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16807         to check pspell I add this as default as I now have new pspell
16808         libraries and they seem to use this.
16809
16810 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16811
16812         * text2.C (CutSelection): make the cursor valid before the call to
16813         ClearSelection.
16814
16815 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16816
16817         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16818         relied on 0 terminated strings and other horrors. Bug found due to
16819         the new assert in lyxstring!
16820
16821         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16822         KP_ keys.
16823
16824 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16825
16826         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16827         to latinkeys.bind.
16828
16829         * lyxfunc.C (processKeySym): change method of getting to the
16830         self-insert char.
16831
16832         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16833         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16834         * BufferView_pimpl.[Ch]: here as private methods.
16835
16836 2001-05-28  Juergen Vigna  <jug@sad.it>
16837
16838         * text.C (SetHeightOfRow): added the update() call again as it is
16839         needed to initialize inset dimensions!
16840
16841 2001-05-16  Juergen Vigna  <jug@sad.it>
16842
16843         * text2.C (SetCharFont): Add new function with BufferView * and
16844         bool toggleall parameters for setting insets internal fonts.
16845         (SetFont): Freeze the undo as we may change fonts in Insets and
16846         all this change should be inside only one Undo!
16847
16848         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16849         setting font's in insets as for them we have the SetFont function!
16850
16851 2001-05-15  Juergen Vigna  <jug@sad.it>
16852
16853         * text2.C (ClearSelection): to be sure we REALLY don't have any
16854         selection anymore!
16855
16856         * tabular.C (TeXCellPreamble): fixed the left border problem for
16857         multicolumn cells.
16858
16859 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16860
16861         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16862         dependancy file
16863
16864 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16865
16866         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16867         LFUN_BREAKPARAGRAPH.
16868
16869         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16870         help test to "internal only", similar for LFUN_INSERT_URL
16871
16872         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16873         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16874         auto_region_delete and deadkeys.
16875
16876 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16877
16878         * LColor.h:
16879         * LColor.C: remove some dead entries, tidy a little
16880
16881 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16882
16883         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16884         commented code.
16885         (Dispatch): implement LFUN_ESCAPE
16886
16887         * commandtags.h: add LFUN_ESCAPE
16888
16889         * LyXAction.C (init): add entry for LFUN_ESCAPE
16890
16891         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16892         Remove commented code.
16893         (insertNote): moved here
16894         (open_new_inset): moved here
16895
16896         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16897         BufferView_pimpl
16898
16899 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16900
16901         * kbmap.C (findbinding): clean it up and make it work correctly.
16902
16903         * lyx_main.C (init): do not pass argc and argv as parameters
16904
16905 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16906
16907         * buffer.C: fix path for OS/2 & Win32
16908
16909         * lyx_gui.C:
16910         * lyx_main:
16911         * lyx_main.C: Added os:: class.
16912
16913         * os2_defines.h: update
16914
16915 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16916
16917         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16918         better by trying again with reduced state.
16919
16920 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16921
16922         * lyxrc.C (read): print error about invalid key sequence only when
16923         debugging (because not all latinX keysyms are known to some X
16924         servers)
16925
16926         * kbsequence.C (getiso): add a few std:: qualifiers
16927         (getiso): comment out extra return statement.
16928
16929 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16930
16931         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16932         handling.
16933         (Dispatch): enhance the accent inset a bit. (not perfect)
16934
16935 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16936
16937         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16938
16939 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16940
16941         * bufferlist.C (emergencyWrite): fix assert() call
16942
16943 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16944
16945         * text.C (InsertChar): Added trivial patch to only send the "you
16946         can not do multiple spaces this way" message once during a
16947         session.
16948
16949 2001-05-08  Baruch Even  <baruch@lyx.org>
16950
16951         * Makefile.am: Changed order of libraries to get LyX to link properly
16952         with the gnome frontend.
16953
16954 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16955
16956         * LaTeXFeatures.h: add a std:: qualifier
16957
16958 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16959
16960         * paragraph.C (String): use stringstream
16961
16962 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16963
16964         * paragraph.C (writeFile): remove footflag arg
16965
16966         * buffer.C (makeLaTeXFile): use stringstream
16967         (latexParagraphs): remove footnot gurba
16968
16969         * LaTeXFeatures.C (getPackages): use stringstream
16970         (getMacros): likewise
16971         (getTClassPreamble): likewise
16972         (getFloatDefinitions): new method
16973
16974         * paragraph.C (writeFile): reindent
16975         (Erase): reindent
16976
16977         * WorkArea.h: revert the xpos + etc changes.
16978
16979         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16980
16981         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16982
16983         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16984         (pasteSelection): likewise
16985         * text2.C (CreateUndo): likewise
16986
16987 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16988
16989         * minibuffer.C (peek_event): temporarily reduce the functionality
16990         of the minibuffer (to allow args on lfuns)
16991
16992         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16993         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16994
16995         * buffer.C (readInset): add compability reading of old float
16996         lists, add reading of new style float list.
16997         (readInset): avoid reevaluation of inscmd.getCmdName()
16998         (getLists): reindent
16999
17000         * MenuBackend.C (MenuItem): implement parsing of
17001         md_floatlistinsert and md_floatinsert.
17002         (expand::LastFiles): move initalizaton of iterators out of loop,
17003         avoid reevaluation.
17004         (expand::Documents): introduce typdedef vector<string> Strings,
17005         and use it.
17006         (expand::ExportFormats): introduce typedef vector<Format const *>
17007         Formats, and use it.
17008         (expand): implement FloatListInsert and FloatInsert.
17009
17010         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17011         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17012         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17013
17014         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17015         handling.
17016         (Dispatch::LFUN_FLOAT_LIST): implement
17017
17018 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17019
17020         * LaTeX.C (run): Fix problem with --export code.
17021
17022 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17023
17024         * BufferView.[Ch] (workarea): removed.
17025         (getClipboard) new method; wrapper for workarea()->getClipboard()
17026
17027         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17028         bug.
17029
17030         * WorkArea.h (width, height, xpos, ypos): These methods all
17031         returned the dimensions of the work_area sub-area of WorkArea,
17032         resulting in a position error if the WorkArea were resized. Now
17033         return the dimensions of the entire WorkArea.
17034
17035         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17036
17037 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17038
17039         * LaTeX.C (deplog): correct the syntax of regex reg1
17040
17041 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17042
17043         * undo.C: remove !NEW_INSETS cruft
17044
17045 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17046
17047         * text2.C: remove !NEW_INSETS cruft
17048
17049         * text.C: remove !NEW_INSETS cruft
17050
17051         * tabular.C: remove !NEW_INSETS cruft
17052
17053         * spellchecker.C: remove !NEW_INSETS cruft
17054
17055         * lyxtext.h: remove !NEW_INSETS cruft
17056
17057         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17058
17059         * lyxfunc.C: remove !NEW_INSETS cruft
17060
17061         * lyxfind.C: remove !NEW_INSETS cruft
17062
17063         * lyx_cb.C: remove !NEW_INSETS cruft
17064
17065         * figureForm.C: remove  !NEW_INSETS cruft
17066
17067         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17068
17069         * buffer.[Ch]: remove !NEW_INSETS cruft
17070
17071         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17072
17073         * CutAndPaste.C: remove !NEW_INSETS cruft
17074
17075         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17076
17077         * BufferView2.C: remove !NEW_INSETS cruft
17078
17079         * BufferView.h: remove !NEW_INSETS cruft
17080
17081 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17082
17083         * Lsstream.h: include LString.h before the sstream headers to
17084         fix problem with gcc 2.95.3 and lyxstring
17085
17086 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17087
17088         * lyx_main.C: add using directives when needed for C functions
17089         declared in std:: namespace.
17090
17091 2001-04-27  Juergen Vigna  <jug@sad.it>
17092
17093         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17094         (SetHeightOfRow): comment out the update call should not be needed!
17095
17096 2001-04-13  Juergen Vigna  <jug@sad.it>
17097
17098         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17099         (LyXTabular): tried to minimize operator= operations (and realized
17100         hopfully Lars wish).
17101
17102 2001-04-27  Juergen Vigna  <jug@sad.it>
17103
17104         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17105
17106 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17107
17108         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17109
17110         * buffer.C (readInset): hack to make listof algorithm work
17111
17112         * BufferView_pimpl.C: hack to make listof algorithm work
17113
17114 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17115
17116         * LyXAction.C: removed all !NEW_INSETS cruft
17117         (init): moved lfun_item in method
17118
17119         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17120
17121 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17122
17123         * BufferView2.C (theLockingInset): white space.
17124
17125 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17126
17127         * minibuffer.C: include <iostream>
17128
17129         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17130
17131         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17132
17133         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17134
17135         * text.[Ch] (TransposeChars): new method
17136
17137 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17138
17139         * call message directly through LyXView instead of through LyXFunc
17140         * BufferView2.C: adjust
17141         * BufferView_pimpl.C: adjust
17142         * FontLoader.C: adjust
17143         * buffer.C: adjust
17144         * bufferview_funcs.C: adjust
17145         * converter.C: adjust
17146         * figureForm.C: adjust
17147         * importer.C: adjust
17148         * lyx_cb.C: adjust
17149         * lyx_gui_misc.C: adjust
17150         * lyxfunc.C: adjust
17151         * lyxvc.C: adjust
17152         * text2.C: adjust
17153         + more files in subdirs
17154
17155         * lyxparagraph.h (size): move up int file
17156         (GetLayout): ditto
17157
17158         * adjust all uses of Assert to lyx::Assert.
17159
17160         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17161         lyxfunctional in namespace lyx
17162         * layout.C (hasLayout): ditto
17163         (GetLayout): ditto
17164         (GetLayout): ditto
17165         (delete_layout): ditto
17166         (NumberOfClass): ditto
17167         * converter.C (GetFormat): ditto
17168         (GetNumber): ditto
17169         (Add): ditto
17170         (Delete): ditto
17171         (SetViewer): ditto
17172         * bufferlist.C (getFileNames): ditto
17173         (emergencyWriteAll): ditto
17174         (exists): ditto
17175         (getBuffer): ditto
17176         * MenuBackend.C (hasSubmenu): ditto
17177         (hasMenu): ditto
17178         (getMenu): ditto
17179         * BufferView_pimpl.C (getInsetByCode): ditto
17180
17181 2001-04-18  Juergen Vigna  <jug@sad.it>
17182
17183         * vspace.C (asLatexString): fixed the 100% problem.
17184
17185 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17186
17187         * lyxfunc.C (Dispatch):
17188         * minibuffer.C:
17189         * minibuffer.h: add a few std:: qualifiers
17190
17191 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17192
17193         * minibuffer.[Ch]: reimplement so that commands is initiated and
17194         run from lyxfunc, simplified som handling, and made the completion
17195         and history code for complete. wip.
17196
17197         * lyxfunc.C (processKeySym): call message
17198         (miniDispatch): new temporary method
17199         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17200         (LFUN_MESSAGE): implement
17201         (LFUN_MESSAGE_PUSH): implement
17202         (LFUN_MESSAGE_POP): implement
17203         (initMiniBuffer): the initial/defualt minibuffer message.
17204
17205         * lyxfont.[Ch]: inline some more getters
17206
17207         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17208
17209         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17210
17211         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17212         (AutoSave): use LFUN_MESSAGE
17213         (Reconfigure): ditto
17214
17215         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17216
17217         * figureForm.C: use LFUN_MESSAGE
17218
17219         * converter.C (runLaTeX): use LFUN_MESSAGE
17220
17221         * bufferview_funcs.C: use LFUN_MESSAGE
17222         (Melt): ditto
17223         (changeDepth): ditto
17224
17225         * bufferparams.h: use boost::
17226
17227         * bufferlist.h: inherit privately from noncopyable
17228
17229         * bufferlist.C (loadLyXFile): remove some commented code.
17230
17231         * buffer.C (runChktex): use LFUN_MESSAGE
17232
17233         * ShareContainer.h: inherit privately from noncopyable
17234
17235         * ParagraphParameters.[hC] (depth): inline it.
17236
17237         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17238         methods.
17239         (message): new method
17240         (messagePush): ditto
17241         (messagePop): ditto
17242         (show): init minibuffer
17243         (showState): direct call
17244
17245         * LaTeX.[Ch]: inherit privately from noncopyable
17246         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17247         instead of WriteStatus.
17248
17249         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17250
17251         * BufferView_pimpl.C (buffer): don't init minibuffer
17252         (workAreaButtonPress): use LFUN_MESSAGE
17253         (workAreaButtonRelease): ditto
17254         (savePosition): ditto
17255         (restorePosition): ditto
17256         (MenuInsertLyXFile): ditto
17257         (workAreaExpose): don't init minibuffer
17258         (update): remove commented code, simplify
17259
17260         * BufferView2.C (openStuff): use LFUN_MESSAGE
17261         (toggleFloat): ditto
17262         (menuUndo): ditto
17263         (menuRedo): ditto
17264         (copyEnvironment): ditto
17265         (pasteEnvironment): ditto
17266         (copy): ditto
17267         (cut): ditto
17268         (paste): ditto
17269         (gotoInset): ditto
17270         (updateInset): remove some commented code
17271
17272         * lastfiles.h: inherit privately from noncopyable
17273         * layout.h: ditto
17274         * lyx_gui.h: ditto
17275         * lyx_main.h: ditto
17276         * lyxlex.h: ditto
17277         * lyxlex_pimpl.h: ditto
17278
17279         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17280         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17281         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17282
17283         * LyXAction.h: inherit privately from noncopyable, add methods
17284         func_begin, func_end, returning iterators to the func map.
17285
17286         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17287         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17288         (func_begin): new method
17289         (func_end): new method
17290
17291         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17292         and not)
17293         (copySelection): ditto
17294         (pasteSelection): ditto
17295
17296         * BufferView.C: whitespace change
17297         * BufferView.h: inherit privately from noncopyable
17298
17299 2001-04-16  Allan Rae  <rae@lyx.org>
17300
17301         * tabular-old.C (l_getline):
17302         * spellchecker.C (sc_check_word):
17303         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17304         an unrecognised preprocessor directive.  So ensure they're wrapped.
17305
17306 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17307
17308         * src/exporter.C (Export): Give an error message when path to file
17309         contains spaces.
17310
17311 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17312
17313         * LaTeX.C (deplog): Always check that foundfile exists.
17314
17315 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17316
17317         * lyx_main.h:
17318         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17319
17320 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17321
17322         * tabular.[Ch] (getLabelList): implement new method
17323
17324         * minibuffer.h: comment ouf setTiimer
17325
17326         * minibuffer.C (ExecutingCB): constify res
17327         (peek_event): constify s
17328         (Set): constify ntext
17329         (Init): constify nicename
17330
17331         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17332
17333         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17334         (savePosition): use two params to Minibuffer::Set
17335         (restorePosition): ditto
17336
17337 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17338
17339         * lyx_main.C: include language.h
17340
17341         * Makefile.am (lyx_main.o): add language.h
17342
17343 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17344
17345         * exporter.C:
17346         * paragraph.C:
17347         * screen.C:
17348         * tabular.C:
17349         * CutAndPaste.C: include gettext.h
17350
17351         * lyxfont.h: remove old hack with ON and OFF.
17352
17353         * lyxparagraph.h:
17354         * lyxfont.h: do not include language.h...
17355
17356         * BufferView2.C:
17357         * LaTeXFeatures.C:
17358         * Painter.C:
17359         * bufferview_funcs.C:
17360         * font.C:
17361         * lyxfont.C:
17362         * text.C:
17363         * text2.C:
17364         * trans_mgr.C:
17365         * paragraph.C: ... but do it here instead
17366
17367 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17368
17369         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17370
17371         * tabular.C: small reformat
17372
17373         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17374         NEW_INSETS version
17375         (GetChar): ditto
17376         (BreakParagraph): ditto
17377         (SetOnlyLayout): ditto
17378         (SetLayout): ditto
17379
17380         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17381         with one arg less.
17382
17383         * lastfiles.C: removed most using decl, add std:: where needed
17384
17385         * buffer.C: ws changes
17386
17387         * MenuBackend.C (class compare_format): put into anon namespace
17388         (expand): constify label, names, action, action2
17389         (expand):
17390
17391         * text.C (SingleWidth): constify font
17392         (IsBoundary): constify rtl2
17393         (GetVisibleRow): constify ww
17394
17395         * LaTeX.C (deplog): constify logfile
17396
17397         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17398         start_x, end_x
17399         (workAreaExpose): constify widthChange, heightChange
17400
17401         * lyxrow.C (par): moved
17402         (height): moved
17403         (next): moved
17404         * lyxrow.h: as inlines here
17405
17406         * lyxfont.h (shape): moved from lyxfont.C
17407         (emph): moved from lyxfont.C
17408
17409         * lyxfont.C (LyXFont): use initialization list for all
17410         constructors
17411         (shape): move to lyxfont.h as inline
17412         (emph): move to lyxfont.h as inline
17413
17414
17415 2001-04-04  Juergen Vigna  <jug@sad.it>
17416
17417         * vspace.C: had to include stdio.h for use of sscanf
17418
17419 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17420
17421         * BufferView.h:
17422         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17423         independent of xforms.
17424
17425 2001-04-02  Juergen Vigna  <jug@sad.it>
17426
17427         * spellchecker.C: fixed namespace placing!
17428
17429 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17430
17431         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17432         the LyXParagraph * is 0.
17433
17434 2001-03-29  Juergen Vigna  <jug@sad.it>
17435
17436         * vspace.C: added support for %, c%, p%, l%.
17437         (stringFromUnit): added helper function.
17438         (asLatexString): changed to give right results for the %-values.
17439
17440         * buffer.C: convert the widthp in a width%.
17441
17442 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17443
17444         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17445         figureForm.[Ch].
17446
17447         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17448         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17449
17450         * lyx_cb.[Ch]: see above.
17451
17452         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17453         form1.[Ch].
17454
17455         * form1.[Ch]:
17456         * lyx.[Ch]: replaced by figure_form.[Ch].
17457
17458         * lyx_gui.C:
17459         * lyx_gui_misc.C:
17460         * lyxfunc.C: changed headers associated with above changes.
17461
17462 2001-03-27  Juergen Vigna  <jug@sad.it>
17463
17464         * BufferView_pimpl.C: set the temporary cursor right!
17465
17466 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17467
17468         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17469
17470 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17471
17472         * LString.h: removed "using std::getline"!
17473
17474         * BufferView_pimpl.C (Dispatch): changes due to changes in
17475         InsetInclude::Params.
17476
17477         * buffer.C (tag_name): removed redundant break statements as they were
17478         producing lots of warnings with my compiler.
17479
17480 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17481
17482         * LString.h: add "using std::getline" when using the real <string>.
17483
17484 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17485
17486         * buffer.C: removed bitset usage.
17487         PAR_TAG moved to an anonymous name space.
17488         (tag_name): new funtion, also in the anonymous namespace.
17489         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17490         (makeDocBookFile): clean code. Completed transition from string arrays
17491         to string vectors.
17492         (SimpleDocBookOnePar): code clean.
17493
17494 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17495
17496         * tabular.C: add some comments.
17497
17498 2001-03-22  Juergen Vigna  <jug@sad.it>
17499
17500         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17501         compatibility read a bit and fixed bug with minipage in different
17502         depth.
17503
17504 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17505
17506         * buffer.C (pop_tag): removed.
17507         (push_tag): removed.
17508         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17509         array replaced with vector. Added support for CDATA sections.
17510         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17511         at any nest level.
17512         (makeDocBookFile): XML conformant declaration of CDATA section,
17513         fixed bug related to <emphasis> in the first paragraph char.
17514         (sgmlOpenTag): exclude empty tags.
17515         (sgmlCloseTag): ditto.
17516
17517         * buffer.h (pop_tag): removed.
17518         (push_tag): removed.
17519
17520 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17521
17522         * language.h (Languages): added size_type and size().
17523
17524 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17525
17526         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17527         response on compability reading of minipages. One probliem is that
17528         the old usage of minipages was flertydig
17529
17530         * several files here and in subdirs: don't use static at file
17531         scope use anon namespaces instead.
17532
17533 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17534
17535         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17536         LaTeX output. This is necessary for Literate document
17537         processing.
17538
17539 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17540
17541         * buffer.C: insert hfill when needed.
17542
17543         * tabular.C (l_getline): use string::erase, small whitespace change.
17544
17545         * BufferView_pimpl.C: try the anon namespace.
17546         * WorkArea.C: ditto
17547
17548 2001-03-16  Juergen Vigna  <jug@sad.it>
17549
17550         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17551         otherwise it won't open options-dialogs.
17552
17553         * buffer.C: honor pextraWidth(p) on converting minipages.
17554
17555         * tabular.C (l_getline): changed the functions to strip trailing \r.
17556
17557 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17558
17559         * BufferView_pimpl.C:
17560         * minibuffer..C: added "using SigC::slot" declaration.
17561
17562 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17563
17564         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17565
17566         * text2.C: ditto
17567
17568         * text.C: ditto
17569
17570         * paragraph.C: ditto
17571
17572         * lyxtext.h: NO_PEXTRA
17573
17574         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17575
17576         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17577         * ParameterStruct.h: ditto
17578         * ParagraphParameters.h: ditto
17579         * lyxparagraph.h: ditto
17580
17581 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17582
17583         * buffer.C: add compability for minipage alignment.
17584         (latexParagraphs): remove unwanted pextra check.
17585
17586         * several files: remove CXX_WORKING_NAMESPACES
17587
17588         * buffer.C (pop_tag): tie is in namespace boost
17589
17590         * BufferView.h: noncopyable is in namespace boost
17591         * lyxlex.h: ditto
17592         * lyx_main.h: ditto
17593         * lyx_gui.h: ditto
17594         * layout.h: ditto
17595         * lastfiles.h: ditto
17596         * bufferlist.h: ditto
17597         * ShareContainer.h: ditto
17598         * LyXView.h: ditto
17599         * LyXAction.h: ditto
17600         * LaTeX.h: ditto
17601
17602 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17603
17604         * Merging changes from BRANCH_MVC back into HEAD.
17605
17606         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17607
17608 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17609
17610         * BufferView_pimpl.C: change from intl.C
17611
17612         * combox.h:
17613         * combox.C:
17614         * Makefile.am: move combox.*
17615
17616         * form1.h:
17617         * form1.C:
17618         * lyx_gui.C:
17619         * intl.h:
17620         * intl.C: remove dialog (covered by prefs)
17621
17622 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17623
17624         * lyxfunc.C (Dispatch): removed redundant break statement.
17625
17626 2001-03-14  Juergen Vigna  <jug@sad.it>
17627
17628         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17629
17630 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17631
17632         * buffer.C: add hack to fix compability reading of minipages.
17633
17634 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17635
17636         * buffer.C (getLists): Cleanup.
17637
17638 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17639
17640         * lyxfont.C (update): don't honor toggleall on font size.
17641
17642 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17643
17644         * bmtable.c:
17645         * bmtable.h:
17646         * Makefile.am: moved to frontends/xforms/
17647
17648         * lyx_gui_misc.C:
17649         * lyxfunc.C:
17650         * BufferView_pimpl.C: changes for moved mathpanel
17651
17652 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17653
17654         * gettext.h: fix gettext_init() in --disable-nls
17655
17656 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17657
17658         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17659
17660 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17661
17662         * lyx.C:
17663         * lyx.h: strip external form
17664
17665 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17666
17667         * BufferView_pimpl.C: add comment, destroySplash()
17668
17669 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17670
17671         * BufferView_pimpl.C:
17672         * LyXAction.C:
17673         * buffer.C:
17674         * commandtags.h:
17675         * lyxfunc.C: use re-worked insetinclude
17676
17677 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17678
17679         * buffer.C: add using std::stringstream.
17680
17681         * lyx_cb.C: readd using std::ios.
17682
17683         * buffer.C: add using std::map.
17684
17685         * BufferView_pimpl.C: add using std::vector.
17686
17687         * ShareContainer.h: add std:: to swap.
17688
17689         * buffer.h: add some typedefs
17690         * buffer.C (getLists): use them
17691         (getLists): renamed from getTocList.
17692         add a counter for the different float types and use it in the
17693         generated string.
17694         (getLists): use the same counter for the NEW_INSETS and the "non"
17695         NEW_INSETS
17696
17697         * lyx_cb.h: remove unused items, includes, using etc.
17698
17699         * ShareContainer.h: remove some commented code, add more comments
17700         and "documentation".
17701
17702 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17703
17704         * buffer.C (getTocList): make the list also when NEW_INSETS is
17705         defined.
17706
17707         * buffer.h: remove TocType
17708
17709         * buffer.C (getTocList): change to return a map<string,
17710         vector<TocItem> >, implement for dynamic number of list.
17711
17712         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17713         * text2.C (PasteSelection): adjust
17714         * CutAndPaste.C (pasteSelection): adjust
17715
17716         * FloatList.C (FloatList): update from the new_insets branch.
17717         * Floating.[Ch]: ditto
17718         * LaTeXFeatures.C: ditto
17719         * buffer.C: ditto
17720         * lyxlex_pimpl.C: ditto
17721
17722         * paragraph.C (Last): remove when NEW_INSETS is defined.
17723
17724         * other file: changes because of the above.
17725
17726 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17727
17728         * lyxparagraph.h: rename next to next_, previous to previous_,
17729         make them private for NEW_INSETS. Rename Next() to next(),
17730         Previous() to previous().
17731
17732         * other files: changes because of the above.
17733
17734 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17735
17736         * BufferView.h:
17737         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17738         problem.
17739
17740 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17741
17742         * main.C (main): pass lyx_localedir to gettext_init().
17743
17744         * gettext.h: remove locale_init and gettext_init macros
17745
17746         * gettext.C (locale_init): new function
17747         (gettext_init): new function
17748
17749         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17750         setlocale().
17751
17752 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17753
17754         * Moved credits to frontends:
17755         * credits.[Ch]: removed
17756         * credits_form.[Ch]: removed
17757         * lyx_gui_misc.C: remove credits stuff
17758         * Makefile.am:
17759
17760 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17761
17762         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17763
17764         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17765         unneeded destructor.
17766
17767         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17768         a standalone pointer again.
17769
17770         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17771
17772 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17773
17774         * Makefile.am:
17775         * filedlg.h:
17776         * filedlg.C:
17777         * LyXAction.C:
17778         * ToolbarDefaults.C:
17779         * bufferlist.C:
17780         * commandtags.h:
17781         * form1.C:
17782         * form1.h:
17783         * lyx_cb.C:
17784         * lyx_cb.h:
17785         * lyxfunc.h:
17786         * lyxfunc.C:
17787         * BufferView_pimpl.C: use new file dialog in GUII
17788
17789         * lyx_cb.h:
17790         * lyx_cb.C: remove LayoutsCB to Toolbar
17791
17792 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17793
17794         * ShareContainer.h (get): add std:: qualifier
17795
17796 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17797
17798         * ShareContainer.h: define a proper ShareContainer::value_type
17799         type (and use typename to please compaq cxx)
17800
17801 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17802
17803         * lyxparagraph.h: move serveral local vars to
17804         ParameterStruct/ParagraphParameters., use ShareContainer in
17805         FontTable., make vars in FontTable private and add getter and
17806         setter.
17807
17808         * paragraph.C: changes because of the above.
17809
17810         * lyxfont.h: remove copy constructor and copy assignment. (the
17811         default ones is ok), move number inside FontBits. move inlines to
17812         lyxfont.C
17813
17814         * lyxfont.C: add number to initializaton of statics, move several
17815         inlines here. constify several local vars. some whitespace
17816         cleanup. Dont hide outerscope variables.
17817
17818         * Spacing.h: add two new constructors to match the set methods.
17819
17820         * ShareContainer.h: new file, will perhaps be moved to support
17821
17822         * ParameterStruct.h: new file
17823
17824         * ParagraphParameters.h: new file
17825
17826         * ParagraphParameters.C: new file
17827
17828         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17829         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17830
17831         * BufferView_pimpl.C: ParagraphParameter changes.
17832         * buffer.C: Likewise.
17833         * bufferview_funcs.C: Likewise.
17834         * text.C: Likewise.
17835         * text2.C: Likewise.
17836
17837 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17838
17839         * lyxfind.C (LyXReplace): do not redefine default argument in
17840         implementation.
17841         (IsStringInText): ditto
17842         (SearchForward): ditto
17843         (SearchBackward): ditto
17844
17845 2001-03-06  Juergen Vigna  <jug@sad.it>
17846
17847         * lyxfind.C (IsStringInText): put parentes around expressions.
17848
17849 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17850
17851         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17852
17853 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17854
17855         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17856
17857         * stl_string_fwd.h: add comment
17858
17859         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17860
17861         * tabular.h:
17862         * tabular.C: remove unused DocBook methods
17863
17864         * intl.C:
17865         * language.C:
17866         * paragraph.C:
17867         * buffer.C:
17868         killed DO_USE_DEFAULT_LANGUAGE
17869
17870 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17871
17872         * lyx_gui.C: do not include language.h.
17873
17874         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17875         arguments in function implementation.
17876
17877 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17878
17879         * BufferView_pimpl.C: add <ctime>
17880
17881 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17882
17883         * BufferView_pimpl.C: add using std::find_if
17884
17885 2001-02-27  José Matos  <jamatos@fep.up.pt>
17886
17887         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17888         by OnlyPath.
17889
17890 2001-02-11  José Matos  <jamatos@fep.up.pt>
17891
17892         * buffer.C (makeDocBookFile): command styles now have a parameter as
17893         "title" by default.
17894
17895 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17896
17897         * layout_forms.[Ch]: removed
17898         * lyx_cb.[Ch]: out character
17899         * lyx_gui.C: out character
17900         * lyx_gui_misc.C: out character
17901         * bufferview_funcs.C: : out character,
17902         added toggleall as parameter in ToggleAndShow
17903
17904 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17905
17906         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17907
17908         * text2.C (SetCurrentFont): Disable number property at boundary.
17909
17910 2001-02-26  Juergen Vigna  <jug@sad.it>
17911
17912         * lyxfunc.C (getStatus): added a string argument override function so
17913         that this is correctly called from LyXFunc::Dispatch if it contains a
17914         do_not_use_argument which is used!
17915         (Dispatch): added check for "custom" export and call appropriate func.
17916
17917 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17918
17919         * lyxrc.C: Add language_command_local, language_use_babel and
17920         language_global_options.
17921
17922         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17923
17924         * buffer.C (makeLaTeXFile): Use language_use_babel and
17925         language_global_options.
17926
17927 2001-02-23  Juergen Vigna  <jug@sad.it>
17928
17929         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17930         which works with LyXText and putted it inside BufferView. Here now we
17931         only call for that part the BufferView::Dispatch() function.
17932
17933         * BufferView.C (Dispatch): added.
17934
17935         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17936         functions which needs to use a LyXText over from LyXFunc.
17937         (MenuInsertLyXFile): added
17938         (getInsetByCode): added
17939         (moveCursorUpdate): added
17940         (static TEXT): added
17941
17942 2001-02-22  Juergen Vigna  <jug@sad.it>
17943
17944         * BufferView_pimpl.C (update): call a status update to see if LyXText
17945         needs it.
17946
17947 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17948
17949         * vc-backend.C (revert): implement for CVS
17950         (getLog): implement for CVS
17951
17952 2001-02-20  Juergen Vigna  <jug@sad.it>
17953
17954         * text2.C (ClearSelection): added BufferView param for inset_owner call
17955
17956         * lyxfunc.C (TEXT): added this function and use it instead of
17957         directly owner->view()-text of getLyXText().
17958
17959 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17960
17961         * src/layout_forms.C: out preamble
17962         * src/layout_forms.h: out preamble
17963         * src/lyx_cb.C: out preamble
17964         * src/lyx_cb.h: out preamble
17965         * src/lyx_gui.C: out preamble
17966         * src/lyx_gui_misc.C: out preamble
17967         * src/lyxfunc.C: connect with guii preamble
17968
17969 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17970
17971         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17972
17973 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17974
17975         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17976         whether to run bibtex.
17977
17978 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17979
17980         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17981
17982 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17983
17984         * Makefile.am (lyx_SOURCES): removed bibforms.h
17985
17986         * vspace.h: doxygen
17987
17988         * text.C (GetVisibleRow): make several local vars const
17989
17990         * tabular.C: small cleanup.
17991
17992         * lyxserver.C (callback): use compare instead of strncmp
17993
17994         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17995         inlines to after class or to paragraph.C
17996
17997         * lyxfont.h: remove friend operator!=
17998
17999         * converter.h: move friend bool operator< to non friend and after
18000         class def.
18001
18002         * combox.h: small cleanup
18003
18004         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18005         to inlines after class def.
18006
18007         * buffer.C (pop_tag): use string operations instead of strcmp
18008
18009         * bmtable.c: doxygen, small cleanup
18010
18011         * LaTeX.h: remove friend operator==
18012
18013 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18014
18015         * screen.C:
18016         * lyxrc.[Ch]:
18017         * lyxfunc.C:
18018         * lyxfont.[Ch]:
18019         * lyx_cb.C:
18020         * intl.[Ch]:
18021         * commandtags.h:
18022         * buffer.C:
18023         * WorkArea.[Ch]:
18024         * LyXAction.C:
18025         * BufferView_pimpl.C:
18026         * BufferView.[Ch]: remove cruft
18027
18028 2001-02-14  Juergen Vigna  <jug@sad.it>
18029
18030         * lyxfunc.C: removed #if 0 unused code
18031
18032         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18033
18034         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18035
18036         * text2.C (SetSelection): added a BufferView * parameter
18037
18038 2001-02-13  Juergen Vigna  <jug@sad.it>
18039
18040         * lyxfunc.C (Dispatch): fixed protected blank problem.
18041         * BufferView2.C (protectedBlank): added LyxText * parameter.
18042
18043         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18044         (AppendColumn): same as above for column_info.
18045
18046         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18047         (moveCursorUpdate): use a LyXText param for support of InsetText.
18048
18049         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18050         (tripleClick): ditto
18051
18052         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18053
18054         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18055
18056         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18057
18058         * text2.C (SetSelection): set correct update status if inset_owner
18059         (ToggleFree): ditto
18060
18061 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18062
18063         * tabular.C: remove some commented code.
18064
18065 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18066
18067         * BufferView_pimpl.C: call hideSplash()
18068
18069         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18070
18071         * include_form.h:
18072         * bibforms.h: remove
18073
18074         * lyxfunc.C:
18075         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18076           add LFUN_CHILD_CREATE
18077
18078         * counters.h: fix tiny typo
18079
18080         * lyx_cb.C:
18081         * lyx.h:
18082         * lyx_gui.C:
18083         * lyx.C: move splash to frontends/xforms/
18084
18085         * lyx_gui_misc.C: move Include and Bibform to frontends
18086
18087         * lyxvc.h: clarify comment
18088
18089         * vspace.C: tiny housekeeping
18090
18091 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18092
18093         * text.C (PrepareToPrint): RTL Fix.
18094
18095         * paragraph.C (GetUChar): New method.
18096         (String):  Use GetUChar.
18097
18098         * buffer.C (asciiParagraph): Use GetUChar.
18099
18100 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18101
18102         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18103
18104 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18105
18106         * buffer.h:
18107         * buffer.C: rename to getLogName(), handle
18108           build log / latex log nicely
18109
18110 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18111
18112         * MenuBackend.C:
18113         * MenuBackend.h: remove support for reference menuitem type.
18114
18115 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18116
18117         * BufferView_pimpl.C: housekeeping
18118         * BufferView_pimpl.h:
18119         * LyXView.h:
18120         * Makefile.am:
18121         * Timeout.C:
18122         * Timeout.h:
18123         * minibuffer.h: move Timeout GUI-I
18124
18125 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18126
18127         * lyxrc.C (read): Update converters data-structures.
18128
18129 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18130
18131         * LaTeX.h (operator!=): add operator != for Aux_Info
18132
18133 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18134
18135         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18136
18137         * LaTeXLog.C: deleted, useful code moved to Buffer
18138
18139         * buffer.h:
18140         * buffer.C: new function getLatexLogName()
18141
18142         * lyx_gui_misc.C:
18143         * lyx_gui.C:
18144         * lyxvc.C:
18145         * lyxvc.h:
18146         * lyxfunc.C: use frontends for LaTeX and VC logs
18147
18148 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18149
18150         * LaTeX.h: yet another std:: that Allan forgot.
18151
18152         * Variables.C (set): renamed from isset(), because this clashes
18153         with some HP-UX macros (grr).
18154
18155 2001-02-06  Allan Rae  <rae@lyx.org>
18156
18157         * LaTeX.h: Another bug fix.  Missing std:: this time.
18158
18159 2001-02-04  Allan Rae  <rae@lyx.org>
18160
18161         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18162         floats problem. I've left it commented out because it's not quite
18163         correct.  It should also test that the current object is a table or
18164         figure inset.  But I haven't gotten around to figuring out how to do
18165         that.  I *think* it'll be something like: "table" == inset.type()
18166
18167         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18168         bool.
18169
18170 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18171
18172         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18173         all the citation/databases/styles in the auxilary file.
18174         (run): Rerun latex if there was a babel language error.
18175
18176 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18177
18178         * text.C (Backspace): Preserve the font when changing newline char
18179         with a space.
18180         (BreakParagraph): If the cursor is before a space, delete the space.
18181
18182         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18183
18184 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18185
18186         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18187         new argument (code).
18188         (ChangeCitationsIfUnique): New method.
18189
18190         * paragraph.C (GetPositionOfInset): Handle bibkey.
18191
18192 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18193
18194         * BufferView_pimpl.h: change type of Position::par_pos to
18195         LyXParagraph::size_type.
18196
18197 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18198
18199         * BufferView_pimpl.C (savePosition, restorePosition): Write
18200         messages to minibuffer.
18201
18202 2001-01-28  José Matos  <jamatos@fep.up.pt>
18203
18204         * buffer.C (makeDocBookFile): adds support for document language.
18205         A silly restriction on the name of LatexCommand types where removed.
18206         Added support for CDATA sections, allows to chars unescaped, used
18207         among others in code, to avoid escape < and >.
18208
18209 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18210
18211         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18212         saved positions instrad of a stack. Furthermore, a position is
18213         stored using paragraph id/paragraph position.
18214
18215         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18216         Remove LFUN_REF_BACK.
18217
18218 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18219
18220         * converter.C (dvipdfm_options): New method.
18221
18222 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18223
18224         * vspace.C (isValidLength): Fix for empty input string.
18225
18226 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18227
18228         * LyXAction.C (init): change description of LFUN_FIGURE to
18229         "Insert Graphics"
18230
18231 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18232
18233         * LaTeX.C: add using directive
18234
18235 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18236
18237         * MenuBackend.C (expand): Fix the sorting of the formats.
18238
18239 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18240
18241         * lyx_main.C: tiny error message fix
18242
18243 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18244
18245         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18246         calling fl_initialize(). This fixes the problem with ',' as
18247         decimal separator in text files.
18248
18249 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18250
18251         * trans.C (process): Fix the keymap bug.
18252
18253 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18254
18255         * LaTeX.C (scanAuxFiles): New method. Provides support for
18256         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18257         (scanLogFile) Scan for "run BibTeX" messages.
18258
18259         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18260         OT1 font encoding. Also, load the aecompl package if the ae
18261         package is loaded.
18262
18263         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18264
18265 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18266
18267         * texrow.C (increasePos): turn two error messages into debug
18268         messages.
18269
18270 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18271
18272         * LaTeX.C (scanAux): Handle the \@input macro.
18273         (runBibTeX): Use scanAux().
18274
18275         * language.C (latex_options_): New field.
18276
18277         * LaTeXFeatures.C (getMacros): Add language macros.
18278
18279         * buffer.C (makeLaTeXFile): Small fix.
18280
18281 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18282
18283         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18284
18285         * text2.C: add a using directive.
18286
18287 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18288
18289         * BufferView2.C:
18290         * lyx_gui_misc.h:
18291         * lyxfr1.C:
18292         * lyxfunc.C: kill LyXBell.
18293
18294 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18295
18296         * text.C (IsBoundary): Remove the error message
18297
18298         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18299
18300         * lyxrc.C (setDefaults): Correct initialization value for
18301         font_norm_type.
18302
18303 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18304
18305         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18306         gotoError().
18307
18308         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18309         and GotoNextNote().
18310
18311         * src/LyXAction.C: Added reference-next.
18312
18313         * text.C (InsertChar): Use contains instead of strchr.
18314
18315         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18316
18317 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18318
18319         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18320         alignment commands (when needed).
18321
18322         * text.C (InsertChar): Add ':' to number separator chars.