]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e90f83495dcdfadbf7035a209a029e74a6a093f7
[lyx.git] / src / ChangeLog
1 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text.C (leftMargin): check for inInset == 0
4
5 2005-08-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6
7         * text.C (leftMargin): test for insetbase's new neverIndent()
8         bool instead of listing each and every inset that does not
9         wish par indendation.
10
11 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * buffer_funcs.C (setCounter): put the code to compute enum label
14         here (where it belongs).
15
16         * counters.C (enumLabel): move code to buffer_funcs.C.
17
18 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
19
20         * outputparams.[Ch]: store local_font instead of local_language
21         * paragraph.C (simpleTeXOnePar): adapt to the change above
22
23 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
24
25         * buffer_funcs.C:
26         * counters.[Ch]: clean up special code for Hebrew.
27
28 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
31         than 2.
32
33 2005-09-08  Angus Leeming  <leeming@lyx.org>
34
35         * ispell.C:
36         * lyxrc.C: correct grammar describing invocation of the
37         spellchecker.
38
39 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * text.C (read): remove unused variable.
42         (readParToken): remove static Change variable (never good in
43         recursive settings...); add it as a parameter instead.
44
45         * paragraph_pimpl.C (acceptChange): make debug info conditional.
46
47         * metricsinfo.C (PainterInfo): add new member erased_.
48
49         * rowpainter.C (RowPainter): add erased_ member, initialized from
50         PainterInfo. 
51         (paintInset): pass erased_ to Inset::draw.
52
53         * lyxfunc.C (lookupChange): new function. Tells whether change 
54         tracking is disabled at a given postion.
55         (getStatus): disable some actions when in deleted text with change
56         tracking. 
57
58 2005-08-03  John Levon  <levon@movementarian.org>
59         
60         * tabular.C (appendColumn, setMultiColumn): adapt to change to
61         InsetText::clear().
62
63         * paragraph_pimpl.C (markErased): add bool argument and handle it.
64         Also make sure to mark insets recursively.
65         (rejectChange, erase): be recursive
66
67         * paragraph.C (markErased): add bool argument.
68 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
69
70         * lyxfind.C (findNextChange): tiny cleanup.
71
72         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
73         change tracking with the cursor in an inset; make sure the first
74         change is not skipped.
75
76 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
77
78         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
79         tabularStackDirty to work around bug 1919 (tabular needs
80         to know whether its own cell paste buffer or the one of 
81         texted is newer.
82         * CutAndPaste.C: mark tabular_stack_ clean after copy.
83
84 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
85
86         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
87
88 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
89
90         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
91         use old deleteion algorithm when changetracking is on.
92
93 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
94
95         * messages.C (get): add debug output.
96
97 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
98
99         * text.C (cursorX): fix bug 1965: cursor movement at
100         line end broken in RtL.
101         (drawSelection): fix bug 1970: drawing of single-line 
102         selection broken for RtL.
103
104 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
105
106         bug 465.
107
108         * dociterator.h (clear, push_back, pop_back): change from
109         protected to public.
110
111         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
112         and changed to just return the value of the item depth; take a
113         ParIterator as argument; take the itemdepth at outer nesting level
114         in account if necessary; cleanup and comment the code.
115         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
116         and changed to just return true if reset is needed; take a
117         ParIterator as argument; cleanup and comment the code.
118         (setCounter): adapt to above changes.
119
120 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * text3.C (dispatch): make debug message optional
123
124 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
127         inset. (bug 1963)
128
129 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
130
131         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
132
133 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
134
135         * text.C (insertChar):
136         * text2.C (deleteEmptyParagraphMechanism): take care whether 
137         a blank has been deleted (in change tracking mode) (bug 1254).
138
139 2005-07-20  John Levon  <levon@movementarian.org>
140
141         * text2.C (insertStringAsLines): remove old dubious code,
142         fixing bug 1939.
143
144 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
145
146         * MenuBackend.C (expandToc): use Floating::listName() as title of
147         the floats submenus.
148
149 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
150
151         * toc.[Ch]: Do not use translatable strings (bug 1870).
152
153 2005-07-20  John Levon  <levon@movementarian.org>
154
155         * tabular.C: fix 1748 - setting multicolumn adds
156           left line to the first cell
157
158 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
159
160         bug 1920
161         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
162         pars in one go.
163
164 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
165
166         * messages.C: supress some lyxerr messages
167
168 2005-07-18  Juergen Vigna  <jug@lyx.org>
169
170         * text.C (drawSelection): honor boundary when asking for cursorX.
171
172 2005-07-17  José Matos  <jamatos@fc.up.pt>
173
174         * tabular.C (recalculateMulticolumns): fix handling of one column
175         tables.
176
177 2005-07-17  Juergen Vigna  <jug@lyx.org>
178
179         * text.C (Delete, backspace): fixed so that paragraph with the
180         same layout can be merged by Delete/Backspace.
181
182 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
183
184         * text.C (readParToken): fix spelling.
185
186 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
187
188         * text2.C: fix counter update for DEPM problem reported by
189         Georg Baum
190
191 2005-07-17  Juergen Vigna  <jug@lyx.org>
192
193         * BufferView_pimpl.C (setBuffer): save/restore the
194         cursor/selection when switching buffers
195
196         * buffer.h: 
197         * buffer.C (saveCursor): add saveDocumentIterators to save the
198         cursor when switching buffer.
199
200 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
201
202         * debug.C: fix typo
203         * buffer.C: clarify message
204         
205 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
206
207         * dociterator.C (DocIterator): fix initialization order
208
209 2005-07-17  Juergen Vigna  <jug@lyx.org>
210
211         * text2.C (cursorHome): 
212         * text.C (drawSelection, cursorX): 
213         * dociterator.C (textRow): add boundary to getRow() call
214
215         * paragraph.C (getRow): implementation of below
216
217         * paragraph.h: add parameter boundary for getRow() function
218
219 2005-07-17  José Matos  <jamatos@fc.up.pt>
220
221         * buffer.C:
222         * bufferparams.[Ch]:
223         * tex-strings.[Ch]: new file format, remove support for a4.sty,
224         a4wide.sty and a4widemargins.
225
226 2005-07-17  Juergen Vigna  <jug@lyx.org>
227
228         * text2.C (cursorLeft): fix one of error
229
230 2005-07-17  Juergen Vigna  <jug@lyx.org>
231
232         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
233                    cursorEnd):
234         more fixes for boundary handling
235
236         * text3.C (dispatch): don't reset cursor if boundary has changed
237         on cursor movement.
238
239 2005-07-16  Juergen Vigna  <jug@lyx.org>
240
241         * text2.C (getColumnNearX): hopefully got it right now,
242         check if we are on column 0 for special case.
243
244 2005-07-16  Juergen Vigna  <jug@lyx.org>
245
246         * text2.C (getColumnNearX): handle special case Newline Inset
247
248         * text.C (singleWidth): Just remove bogus check
249
250 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
251
252         * funcrequest.C (split): avoid reading uninitialized char c
253
254 2005-07-16  José Matos  <jamatos@fc.up.pt>
255
256         * buffer.C:
257         * converter.C:
258         * lyxrc.C:
259         * paper.h:
260         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
261         single papersize variable.
262
263 2005-07-16  Juergen Vigna  <jug@lyx.org>
264
265         * text3.C (dispatch): honor boundary when checking if a cursor
266         movement has been done
267
268         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
269         (setCursor, setCursorIntern): fix cursor movement with boundary
270
271 2005-07-16  Juergen Vigna  <jug@lyx.org>
272
273         * text.C (currentState): output the actual Boundary
274
275 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * factory.C (createInset): fix bad logic for tabular creation
278
279 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
280
281         * lyx_main.C (init): change some reLyX reference to tex2lyx
282
283 2005-07-16  Juergen Vigna  <jug@lyx.org>
284
285         * dociterator.C (DocIterator): initialize boundary
286
287 2005-07-16  Juergen Vigna  <jug@lyx.org>
288
289         * text2.C (getColumnNearX): Consider rows without trailing blank.  
290
291 2005-07-16  André Pönitz  <poenitz@gmx.net>
292
293         * lyxfont.h: Change order of declarations to give the compiler
294         a better chance to inline things
295
296         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
297         questions on unsaved docs for better scritability
298
299 2005-07-16  André Pönitz  <poenitz@gmx.net>
300
301         * paragraph.h (getChar): remove asserts as the same kind of security
302         can be achieved by using a suitable standard library implementation
303         and the function was in the critical path (25.9% in profiler)
304
305 2005-07-16  Juergen Vigna  <jug@lyx.org>
306
307         * cursor.C (bruteFind2):
308         * bufferview_funcs.C (coordOffset): 
309         * text.C (cursorX,cursorY): Handle cursor position after last char
310         in row before a inset which uses a whole row.
311
312 2005-07-15  José Matos <jamatos@lyx.org>
313
314         * output_plaintext.[Ch] (writeFileAscii): control reference title
315         printing.
316         (asciiParagraph): noparbreak was already deal and was incorrectly
317         used.
318
319 2005-07-15  Juergen Vigna <jug@lyx.org>
320
321         * lyxfunc.C (dispatch): save and restore the cursor after a
322         textclass switch.
323
324 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
325
326         * text.C (backspace): bug 806 for empty keepempty paragraphs we
327         change the layout to default before letting DEPM do its thing.
328
329         * paragraph_funcs.C (breakParagraph): dont reset the layout on
330         keepEmpty paragraphs
331
332         * text.C (setCursorFromCoordinates): add a debug statement
333
334         * text2.C (getColumnNearX): bug 1825 make sure that we don't
335         return a pos that is not on the row
336
337         * output_latex.C (TeXDeeper): get rid of potential dereferencing
338         of past the end iterator
339
340 2005-07-14  André Pönitz  <poenitz@gmx.net>
341
342         * undo.C (recordUndoFullBuffer): implement undo for
343         textclass switches
344
345 2005-07-14  André Pönitz  <poenitz@gmx.net>
346
347         * cursor.C (setSelection): open insets when selection is set there
348         to avoid crashs with cold coord cache
349
350 2005-07-14  André Pönitz  <poenitz@gmx.net>
351
352         * trans_mgr.C (insert): move cursor to the right after inserting
353         a char.
354
355 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
356
357         * BufferView_pimpl.C (update): dampen some of the debug blabbering
358         * factory.C (readInset): ditto
359         * text.C, text2.C: ditto
360
361 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
362
363         * buffer.C: format incremented to 242. There is no file format per
364         se, but the "frenchb" language has been removed from lib/language
365         and has to be translated to "french" by lyx2lyx.
366
367 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
368
369         * cursor_slice.h, dociterator.h: add some documentation
370         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
371
372 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
373
374         * text.C (leftMargin): do not add identation to display() style
375         insets, because they are always centered (bug 1293).
376
377 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
378
379         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
380         formatted_time methods in support/lyxtime.
381
382 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
383
384         * toc.[Ch]: new method getGuiName, which is used by the frontends 
385         to set the toc combo (fixes bug 1870). Make TOC string translatable.
386
387 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
388
389         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
390         StableDocIterator const &)
391         * undo.C (recordUndo): use the above instead of cell.size() comparison
392         (fixes bug 1808; instructed by Andr�.
393
394 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
395
396         * cursor_slice.h: 
397         * dociterator.h: Fix the assert when copying rows/cols in math
398
399 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
400
401         * BufferView_pimpl.C:
402         * LyXAction.C:
403         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
404
405         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
406         (findInset): new functions, refactored from goto Inset that return 
407         the position of a certain inset without setting the buffer's cursor
408         (by Jean-Marc); 
409         (gotoInset): rewrite to call findInset and then set the cursor
410         (by Jean-Marc).
411
412 2005-06-16  Angus Leeming  <leeming@lyx.org>
413
414         * lyxrc.C (output, read): wrap all input and output of paths with
415         calls to os::internal_path and os::external_path, respectively.
416         (output): wrap bind_file inside quotes.
417
418         * format.C (view): enable the viewer to use the '$$s' placeholder.
419
420 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
421
422         * LColor.[Ch] (getFromLaTeXName): new
423
424 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
427
428 2005-06-14  Angus Leeming  <leeming@lyx.org>
429
430         * lyx_main.C (init): ensure that the LyX binary dir is the first
431         element in the PATH on non-POSIX builds.
432
433 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
434
435         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
436
437 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * rowpainter.C (paintInset, paintHebrewComposeChar)
440         (paintArabicComposeChar, paintChars): add a LyXFont argument.
441         (paintChars): use getFontSpan to reduce calls to getFont to a
442         minimum; use Paragraph::lookupChange instead of isXXXText.
443         (paintForeignMark): rename LyXFont argument.
444         (paintFromPos): pass a LyXFont object to the various paintXXX
445         methods.
446
447         * FontIterator.C (FontIterator, operator++): use
448         Paragraph::getFontSpan
449
450         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
451         version that returns the font span as a pair.
452
453 2005-06-09  Angus Leeming  <leeming@lyx.org>
454
455         * converter.C (convert): Don't forget "outfile = real_outfile" as
456         the final step in a conversion where the input and output file names
457         are the same. Otherwise, future conversion steps won't work...
458
459 2005-06-09  Angus Leeming  <leeming@lyx.org>
460
461         * lyxsocket.C: remove stub code as it isn't needed by
462         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
463
464 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
467         effectively disabled -x
468
469 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
470
471         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
472         when it actually makes sense.
473
474 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * BufferView_pimpl.C: revert to showCursor in connection with
477         Lars's front-end stack
478
479 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
480
481         * text.C (redoParagraph): move cursor right after a bibitem
482         has been inserted.
483
484         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
485
486 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * buffer_funcs.C (bufferErrors): fix computation of the end of an
489         error range.
490
491 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
492
493         * BufferView.[Ch] (update):
494         * BufferView_pimpl.[Ch] (update, metrics):
495         * dimension.h (operator==):
496         * lyxfunc.C (dispatch):
497         * metricsinfo.h (ViewMetricsInfo):
498         * rowpainter.C (paintText):
499         * lyxtext.h:
500         * text.C (redoParagraph):
501         * text3.C (dispatch): Make LyX only repaint current paragraph in
502         case of character insert --> speedup. Also fix cursor draw
503         artifacts
504
505 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
508         avoid a crash (bug 1891)
509
510 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         Fix bug 1892:
513
514         * text2.C (getStringToIndex): constify cur argument.
515
516         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
517         argument has been given
518         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
519         try to invoke LFUN_INSET_APPLY).
520
521         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
522         if no inset was created by doInsertInset
523         (doInsertInset): return true if an inset has been inserted.
524
525 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * vspace.C (asGUIName): new method. A version of the space
528         suitable for showing on screen.
529
530 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
531
532         * MenuBackend.C:
533         * lyxrc.C: rename "ASCII" to "Plain Text"
534
535 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         * buffer_funcs.C (expandLabel): take a Buffer as argument;
538         translate the labelstring.
539         (setCounter): translate labelstring as needed.
540
541         * output_docbook.C (makeCommand): fix expandLabel invokation
542
543 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
544
545         * BufferView.C: fix dialog title
546
547 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
548
549         * lyx_main.C (priv_exec): fix logic error with help from Angus
550         * lyx_main.C (parse_execute): set is_gui = false and remove now
551         obsolete comment about a segfault
552
553 2005-05-18  Angus Leeming  <leeming@lyx.org>
554
555         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
556
557 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
558
559         * tabular.[hC]: added setCellInset to fix tabular paste.
560
561 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
562
563         * buffer.C (save): check if destination is writable before trying
564         to copy a file
565
566 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
567
568         * BufferView_pimpl.C (update): fix processEvents -caused update
569         recursion bug
570
571 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * buffer_funcs.C (setCounter): fix test for numbering of
574         environments.
575
576         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
577         depth correctly; use optional argument when it exists
578
579         * lyxtextclass.C: remove unused MaxCounterTags enum
580         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
581         (max_toclevel, min_toclevel): new methods.
582
583         * MenuBackend.C (expandToc2): fix case where depth is smaller than
584         the smallest depth in toc.
585
586         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
587         layouts that should not appear in a table of contents.
588
589 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
590
591         * cursor.h (undispatched, noUpdate): add comments from Andr�
592 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
593
594         * lfuns.h:
595         * LyXAction.C:
596         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
597
598 2005-05-07  André Pönitz  <poenitz@gmx.net>
599
600         * cursor.[Ch] (leaveInset): new function
601
602 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
603
604         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
605
606 2005-05-04  Angus Leeming  <leeming@lyx.org>
607
608         * lyxfunc.C (getStatus): disable the spell checker dialog if
609         none of USE_[AIP]SPELL are defined.
610
611 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
612
613         * tabular.C (setWidthOfCell): remove obsolete comment
614
615 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
616
617         * paragraph.C (bibitem):
618         * buffer_funcs.C (setCounter):
619         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
620
621 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
622
623         * text3.C (getStatus): immediately return after setOnOff
624
625         * rowpainter.C: fix drawing of appendix start
626
627 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
628
629         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
630         SwitchBetweenClasses and remove the unused return value.
631         Handle character styles, too
632
633 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
634
635         * factory.C (createInset): handle undefined character styles
636
637 2005-05-02  Angus Leeming  <leeming@lyx.org>
638
639         * buffer.C: protect the #include of utime.h with a preprocessor
640         guard.
641
642 2005-05-02  Angus Leeming  <leeming@lyx.org>
643
644         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
645         function so that auto-saving works, albeit in a blocking manner.
646
647         * Makefile.am: make compilation of the client sub directory, of
648         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
649         on conditionals set at configure time.
650
651         * SpellBase.[Ch]: no longer an abstract base class. Instead,
652         it can be compiled in its own right but has no-op functionality.
653
654         * aspell.C, pspell.C: remove preprocessor guards. The files should
655         be compiled only if the necessary functionality exists.
656
657         * lyxserver.C, lyxsocket.C: disable on Windows.
658
659 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
660
661         * text.C (leftMargin): Fix the parindent use bug (1764)
662         by dirty trick
663
664 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
665
666         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
667         argument.
668
669 2005-04-25  Angus Leeming  <leeming@lyx.org>
670
671         * Bidi.[Ch]:
672         * coordcache.[Ch]:
673         * ispell.C:
674         * lyxserver.C:
675         * mover.C:
676         * pch.h:
677         include <config.h> in .C files, not .h ones.
678         add licence blurb.
679         protect headers inside preprocessor guards.
680
681 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
682
683         * FuncStatus.h (StatusCodes): document
684
685 2005-04-21  André Pönitz  <poenitz@gmx.net>
686
687         * FuncStatus.h (enabled, onoff): document
688
689 2005-04-19  Angus Leeming  <leeming@lyx.org>
690
691         * BufferView_pimpl.C (cursorToggle): no longer test whether
692         any child processes have been reaped before calling
693         handleCompletedProcesses().
694
695 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
696
697         * text3.C (dispatch): fix, finally fix, the language problem in
698         new lyxtexts, without disabling on-the-fly font changes (Helge's
699         bug report)
700
701 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
702
703         * text3.C (dispatch): set cursor on double/triple click events
704         (bug 1811)
705
706 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
709         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
710
711         * rowpainter.C (paintFirst): simplify the code a little bit. In
712         particular, remove the test for secnumdepth.
713         * text.C (setHeightOfRow): only allocate space for chapter number
714         when updateCounters provided an actual label, instead of looking
715         at secnumdepth directly.
716
717         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
718
719         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
720         paragraphs when secnumdepth is large enough or, for environments,
721         when they are not the first in a sequence.
722
723 2005-04-17  Angus Leeming  <leeming@lyx.org>
724
725         * buffer.C (makeLaTeXFile): replace code to manipulate a path
726         containing space and '~' characters with a call to latex_path().
727
728 2005-04-17  Angus Leeming  <leeming@lyx.org>
729
730         * converter.C (convert): protect all args of convertDefault.sh
731         script with quotes.
732
733 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * text3.C (dispatch): change the layout to "Caption" after inserting
736         a float.
737
738 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
739
740         * text3.C (dispatch): fix language problem in newly created
741         textinsets (and main text) in non-english docs
742
743 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
744
745         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
746         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
747         * text3.C (getStatus): disable LFUN_INSET_MODIFY
748
749 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
750
751         * lyxtext.h:
752         * text.C (metrics):
753         * text2.C (getFont):
754         * rowpainter.C (getFont): Fix metrics bug introduced by inset
755         fonts fix
756
757 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
758
759         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
760         output of \item arguments without trailing text.
761
762 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * FontIterator.C (operator*): avoid a copy of the font.
765
766 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
767
768         * rowpainter.C (getFont): fix language bug from previous fix
769
770 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
771
772         * rowpainter.C (RowPainter, getFont): fix font inside inset
773         (bugs 1766, 1809)
774
775 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
776
777         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
778         preventing inserted font, deco, delim insets jumping to start of
779         surrounding inset.
780
781 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * lyxfunc.C (dispatch): translate message before sending it to the
784         minibuffer.
785
786 2005-03-29  Angus Leeming  <leeming@lyx.org>
787
788         * lyx_main.C (priv_exec): call os::internal_path on each file passed
789         to LyX on the command line.
790
791 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
792
793         * vc-backend.C: use QuoteName to protect file names wherever
794         necessary.
795
796 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
797
798         * buffer.[Ch]:
799         * BranchList.h: fix bugs 1844,1845: document settings don't
800         stick
801
802 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * lyxrc.C (setDefaults, read, output, getDescription): add support
805         for tex_allows_spaces.
806
807         * exporter.C (Export): allows files in directory containing spaces
808         if tex_allows_spaces is true.
809
810         * buffer.C (makeLaTeXFile): if the document path contains spaces,
811         output it in double quotes.
812
813 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
814
815         * rowpainter.C: use default text height for drawing change tracker
816         strikeout lines.
817
818 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
819
820         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
821
822 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
825         directory is missing.
826
827 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
828
829         * text2.C: fixed the fix, extended to other case.
830
831 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
832
833         * text2.C: fix for cursor up/down stuck in math [bug 1792]
834
835 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
836
837         * text2.C (cursorUp): get rid of a crash
838         * text.C (x2pos): add an assert
839
840 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
841
842         * lyxfunc.C (getStatus): fix warning when assertions are disabled
843
844         * text3.C:
845         * lyxfunc.C:
846         * dociterator.C: include <boost/current_function.hpp>, which is
847         needed when assertions are disabled.
848
849 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
850
851         * text2.C: fix for stuck cursor when traversing two
852         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
853
854 2005-02-25  Andreas Vox  <avox@arcor.de>
855
856         * output_docbook.C (makeParagraph): suppress trailing newline
857         after a run of paragraphs
858
859 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
860
861         * paragraph.C: fix for confused change tracker when pasting
862         text that begins with a lineseparator. [bug 1827]
863         (setChange(0, Change::INSERTED);)
864
865         * paragraph_funcs.C: fix for lost changes on triple-paste
866         in change tracking mode [bug 1827] (par.setChange()).
867
868 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
869
870         * text2.C (updateCounters, setCounter, expandLabel): move to
871         buffer_funcs.
872
873         * buffer_funcs.C (updateCounters): turn into a free standing
874         function and add a buffer parameter. Remove dead code for tracking
875         labelstring change.
876         (setCounter): change into a free-standing function which gets a
877         dociterator as argument. Use this iterator to fix captions in a
878         simple way. When no float is found above the caption, use the
879         labelstring of the caption layout as default.
880
881         * text.C (breakParagraph, backspace):
882         * text2.C (init, setLayout, changeDepth):
883         * text3.C (dispatch):
884         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
885         updateCounters.
886
887         * dociterator.C (forwardPar): make it much faster by calling
888         forwardPos() only when really necessary.
889
890         * output_docbook.C (makeCommand): adapt to expandLabel move.
891
892         * cursor.C: remove unused variable
893
894 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
895
896         * paragraph_funcs.C: fix crash when pasting insets in change
897         tracking mode [bug 1277] (honour change type in moveItem).
898
899 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
900
901         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
902
903 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
904
905         * BufferView.C (setCursor): change to use a DocIterator.
906         (gotoLabel): use BufferView::setCursor (other part of bug 781).
907         (putSelectionAt): adapt to BufferView::setCursor change.
908
909         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
910         moved here from LyXText and rewritten to use proper cursor
911         methods. Fixes bug 1787, 616 and 835.
912
913         * BufferView_pimpl.C (restorePosition): set the cursor correctly
914         when inside an inset (part of bug 781).
915         (dispatch): adapt to change of BufferView::setCursor.
916         (getStatus, dispatch): handle LFUN_GOTOERROR,
917         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
918
919         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
920         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
921         * text3.C (gotoNextInset, gotoInset): removed.
922
923 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
924
925         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
926
927 2005-02-15  Angus Leeming  <leeming@lyx.org>
928
929         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
930         can be used meaningfully in a comparison.
931
932 2005-02-13  André Pönitz  <poenitz@gmx.net>
933
934         * bufferview_funcs.C (coordOffset): improve cursor drawing
935
936 2005-02-13  André Pönitz  <poenitz@gmx.net>
937
938         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
939         * Cursor.C (dispatch): use fixIfBroken
940         * lyxfunc.C (getStatus): use fixIfBroken
941
942 2005-02-15  Angus Leeming  <leeming@lyx.org>
943
944         * lyx_main.C (error_handler):
945         * lyxfunc.C:
946         * lyxrc.C (setDefaults):
947         s/GetEnv/getEnv/.
948         #include "environment.h".
949
950         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
951
952 2005-02-15  Angus Leeming  <leeming@lyx.org>
953
954         * lyxserver.C (startPipe): squash MSVC warning "local variable
955         'fd' used without having been initialized".
956
957 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
958
959         * BufferView_pimpl.C: revert accidental commit.
960
961 2005-02-14  André Pönitz  <poenitz@gmx.net>
962
963         * dociterator.[Ch]: new member forwardPosNoDescent(),
964         which doesn't enter nested insets.
965         * text2.C (setFont): use forwardPosNoDescent() instead
966         of ForwardPos() (fixes crash on font change).
967
968 2005-02-13  Angus Leeming  <leeming@lyx.org>
969
970         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
971         only if lyxrc.path_prefix is not empty.
972
973 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
974
975         * bufferparams.C (readGraphicsDriver): prevent crash
976
977 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
978
979         * text2.C (setCounter): check for inInset() == 0
980
981 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
984         but use update() to get correct screen display; use convert
985         instead of istringstream.
986         (getStatus): handle LFUN_GOTO_PARAGRAPH
987
988         * lyxfunc.C (dispatch, getStatus): do not handle
989         LFUN_GOTO_PARAGRAPH here.
990
991 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
992
993         * text3.C (dispatch): size() -> depth()
994
995         * text2.C: remove some debug output
996
997         * paragraph.C: ws changes only
998
999         * lyxfunc.C (getStatus): size() -> depth()
1000
1001         * dociterator.h (clear, push_back, pop_back, internalData,
1002         operator[], resize, empty): new functions
1003         Make StableDocIterator and operator== be friends. Don't inherit
1004         from std::vector use a privat class variable slices_ instead.
1005         Modify to fit.
1006
1007         * dociterator.C: update because of not inheriting from std::vector
1008         anymore. Call explictly to slices_ instead. Use depth() instead of
1009         size() and top() instead of back()
1010
1011         * cursor.C: chagne size() -> depth and back() -> top(). Also
1012         remove some direct operator[](i) calls in favour of foo[i]
1013         (getFont): remove some dead code
1014
1015         * bufferview_funcs.C (coordOffset): size() -> depth()
1016
1017         * buffer.C: ws changes only
1018
1019         * CutAndPaste.C (eraseSelection): back() -> top()
1020
1021         * BufferView_pimpl.C (selectionRequested): back() -> top()
1022
1023         * BufferView.C (setCursor): size() -> depth()
1024
1025 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1026
1027         * text3.C (cursorPrevious): return true if depm changed something
1028         (cursorNext): ditto
1029         (dispatch): rename sl to oldTopSlice, remove moving use the new
1030         NoUpdate func attrib instead. Make sure that needsUpdate is set
1031         for function that have NoUpdate, but where depm might have changed
1032         the buffer anyway.
1033
1034         * text2.C (cursorLeft): make us return true if depm changed
1035         something
1036         (cursorRight): ditto
1037         (cursorUpParagraph): ditto
1038         (curosrDownParagraph): ditto
1039         (cursorUp, cursorDown): ditto, make sure to read comments in code
1040         (deleteEmptyParagraphMechanism): remove an assert, also return
1041         true if just a single char was deleted.
1042
1043         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1044         cursor that we modify, to avoid modifying an active cursor before
1045         we call setCursor. This allows depm to run. Also return true if
1046         depm deleted something.
1047
1048         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1049         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1050         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1051         something was changed in the buffer because of them (ie. depm run)
1052
1053         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1054         debug messages. Make update by default be false. Make sure that
1055         the result of update is retained throught several calls down to
1056         dispatch.
1057
1058         * LyXAction.h: add a new func_attrib: NoUpdate
1059
1060         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1061         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1062         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1063         and LFUN_WORDLEFT
1064         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1065
1066 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1069         bv_->owner(), bv_->buffer() by direct references to the private
1070         members.
1071         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1072         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1073         (fitCursor): center() is in BufferView::Pimpl.
1074         (getStatus, trackChanges, dispatch): no need for a temporary buf
1075         variable
1076         (fitCursor, workAreaDispatch): use workarea().workheight()
1077
1078 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1079
1080         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1081
1082 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1083
1084         * buffer.C: format up to 241.
1085         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1086         break if pasting into ERT
1087         * lyxfunc.C (getStatus): suppress mathpanel and
1088         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1089
1090 2005-02-01  Angus Leeming  <leeming@lyx.org>
1091
1092         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1093
1094 2005-02-01  Angus Leeming  <leeming@lyx.org>
1095
1096         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1097         calling fs::is_directory().
1098
1099 2005-01-31  Angus Leeming  <leeming@lyx.org>
1100
1101         * lyx_main.C (priv_exec): specify explicitly the relative location
1102         of the top level build directory when run in-place.
1103
1104 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1107         LyXText containing the cursor, not the top-level one.
1108
1109         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1110         true.
1111         (insertStringAsLines): rename par to pit; use temporary variable
1112         par to hold a Paragraph; do not store par.layout() in a variable,
1113         since the pointer may die when breaking paragraphs; pass pars to
1114         breakParagraph() instead of Buffer::paragraphs().
1115
1116 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1117
1118         * lyxlex_pimpl.h: #include <fstream>.
1119
1120         * BufferView.[Ch] (getLyXText): add a const version.
1121
1122         * BufferView_pimpl.C: add debug aids.
1123
1124         * RowList_fwd.h:
1125         * buffer.h:
1126         * lyxrow.h:
1127         * paragraph_funcs.h: add commentary explaining what the class does.
1128
1129
1130         * coordcache.[Ch]: add lots of commentary.
1131         (startUpdating, doneUpdating): debug aids.
1132         (arrays, insets, parPos, getParPos): accessors to private data.
1133
1134         * cursor_slice.[Ch] (text): add a const version.
1135         * dociterator.[Ch] (text, innerText): add const versions.
1136
1137         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1138         bool.
1139
1140         * paragraph.C (getRow, pos2ros): add asserts.
1141
1142         * paragraph.h: add commentary. Lots of.
1143
1144         * paragraph.[Ch] (metrucs, draw): removed.
1145
1146         * cursor.C:
1147         * rowpainter.[Ch]: const-correct changes.
1148
1149         * text.C: various obvious clean-ups. Removal of ancient cruft.
1150         Bug fixes, even.
1151
1152 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1153
1154         * vc-backend.C (find_file): rewrite to use boost.filesystem
1155         (scanMaster): ditto
1156
1157         * main.C (main): set default name check for boost.filesystem to
1158         no check
1159
1160         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1161         (open): ditto
1162         (doImport): ditto
1163         (actOnUpdatedPrefs): ditto
1164
1165         * lyx_main.C (init): rewrite to use boost.filesystem
1166         (queryUserLyXDir): ditto
1167
1168         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1169         (getContentsOfAsciiFile): ditto
1170
1171         * lastfiles.C (readFile): rewrite to use boost.filesystem
1172
1173         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1174
1175         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1176         (loadLyXFile): ditto
1177
1178         * buffer.C (Buffer): adjust for destroydir
1179         (getLogName): rewrite to use boost.filesystem
1180         (setFileName): ditto
1181         (save): use fs::copy_file (from fs_extras)
1182
1183         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1184
1185         * LaTeX.C (run): rewrite to use boost.filesystem
1186         (scanAuxFiles): ditto
1187         (handleFoundFile): ditto
1188
1189 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1190
1191         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1192
1193         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1194
1195 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1196
1197         * lyxlayout.[Ch]: change some vars from float to double
1198
1199         * buffer.C (readFile): make a local var const
1200
1201         * Several files: use convert<> instead of atoi,strToXXX and friends
1202
1203 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1204
1205         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1206         holds the contents of packages.lst. New functions getAvailable
1207         and isAvailable to parse and check that list, resp.
1208
1209         * LyXAction.C:
1210         * lfuns.h:
1211         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1212
1213         * bufferparams.[Ch]: new param output_changes.
1214
1215         * Buffer.C: increase file format to 240.
1216         Use output_changes and isVailable.
1217
1218         * changes.[Ch]:
1219         * paragraph.C:
1220         * paragraph_pimpl.C: Use output_changes and isVailable.
1221
1222 2005-01-23  Angus Leeming  <leeming@lyx.org>
1223
1224         * output_latex.C: #include "insetbibitem.h", rather than
1225         forward declare function bibitemWidest.
1226
1227 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1228
1229         * lyx_main.C (init): make it compile on the Mac.
1230
1231 2005-01-20  Angus Leeming  <leeming@lyx.org>
1232
1233         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1234         (setLyXMisc): (char string literal) != (char string literal) is
1235         performing a comparison on the addresses. Convert one operand
1236         explicitly to string to guarantee expected behaviour.
1237         From MSVC warning.
1238
1239 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1240
1241         * buffer.C:
1242         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1243
1244         * output_plaintext.C: remove unneeded #include gzstream.h.
1245
1246 2005-01-20  Angus Leeming  <leeming@lyx.org>
1247
1248         * SpellBase.h: rename some of the elements of the Result enum.
1249
1250         * aspell_local.h:
1251         * ispell.h:
1252         * pspell.h:
1253         * aspell.C (check):
1254         * ispell.C (check):
1255         * pspell.C (check): ditto
1256
1257 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1258
1259         * buffer.C: add #include <fstream>.
1260
1261         * lyx_main.C (init): Compile fix.
1262
1263         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1264
1265 2005-01-20  Angus Leeming  <leeming@lyx.org>
1266
1267         * mover.h: change commentary to reflect the changed meaning of
1268         the $$s placeholder.
1269
1270 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1271
1272         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1273
1274         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1275
1276 2005-01-20  Angus Leeming  <leeming@lyx.org>
1277
1278         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1279         printing diagnostic data by not dereferecing an iterator past the
1280         end.
1281
1282 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1283
1284         * buffer.C (readHeader): use "&&" rather than "and".
1285
1286         * lyxserver.h (inPipeName, outPipeName): make these const.
1287
1288 2005-01-19  Angus Leeming  <leeming@lyx.org>
1289
1290         * lyx_main.C (error_handler, init): protect SIGHUP with
1291         #ifdef SIGHUP guards.
1292
1293 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1294
1295         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1296
1297 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1298
1299         * text.C (setHeightOfRow): add a margin at the top and bottom of
1300         the document (bug 1761)
1301
1302 2005-01-17  Angus Leeming  <leeming@lyx.org>
1303
1304         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1305         with "python ". Workaround for a brain-dead Windows.
1306
1307 2005-01-16  Angus Leeming  <leeming@lyx.org>
1308
1309         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1310         for MacOSX and Windows to use prependEnvPath.
1311         Strip out the hard-coded block to add elements to the PATH for
1312         MacOSX and replace it with a call to prependEnvPath using the
1313         contents of LyXRC::path_prefix.
1314         (queryUserLyXDir): strip out the code to run reconfigure, instead
1315         returning a boolean indicating the necessity to do so.
1316         (reconfigureUserLyXDir): contains the code to reconfigure the
1317         user support directory. Is now called after the various LyXRC data
1318         files have been read.
1319
1320         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1321
1322 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1323
1324         * converter.[Ch] (convert): take a new parameter try_default. Use
1325         a default converter (imagemagick) if try_default is true.
1326
1327 2005-01-13  Angus Leeming  <leeming@lyx.org>
1328
1329         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1330         os::cygwin_path_fix.
1331         (write): output LyXRC::cygwin_path_fix as necessary.
1332
1333 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1334
1335         * lyxrc.h:
1336         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1337
1338 2005-01-12  Angus Leeming  <leeming@lyx.org>
1339
1340         * lyx_main.C (init): set the PATH variable to include the
1341         directory containing the LyX binary when running on Mac or Windows.
1342
1343 2005-01-12  Angus Leeming  <leeming@lyx.org>
1344
1345         * lyx_main.C (init): remove cruft that purports to set the locale
1346         dir. It doesn't and is not needed anyway.
1347
1348 2005-01-10  Angus Leeming  <leeming@lyx.org>
1349
1350         * Makefile.am: remove the lyx_main.C special casing.
1351
1352         * BufferView_pimpl.C:
1353         * bufferlist.C:
1354         * exporter.C:
1355         * lyx_cb.C:
1356         * lyx_main.C:
1357         * lyxfunc.C:
1358         * messages.C: use support/package.h to provide the paths to the
1359         various directories used by LyX.
1360
1361 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1362
1363         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1364         layout if pasting into an empty paragraph)
1365
1366 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1367
1368         * tex-accent.C: add <string>
1369
1370 2005-01-06  José Matos  <jamatos@lyx.org>
1371
1372         * ParagraphParameters.C (write): put every parameter in its own line.
1373         * paragraph.C (write): reduce number of consecutive empty lines exported.
1374         * buffer.C (LYX_FORMAT): increase file format to 239.
1375
1376 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1377
1378         * everywhere: change support/tostr.h -> support/convert.h
1379
1380         * tabular.C: make all write_attributes templates, tostr -> convert
1381
1382         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1383         (emptyTag): and -> &&, and fix type for ret from getChar
1384         (getFirstWord): fix type for ret from getChar
1385         (onlyText): and -> &&
1386         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1387         getChar
1388
1389         * toc.C (goTo, action):
1390         * text3.C (dispatch):
1391         * text.C (currentState):
1392         * tex-accent.C (DoAccent):
1393         * sgml.C:
1394         * lyxrc.C:
1395         * lyxfunc.C (menuNew):
1396         * lyxfinc.C (replace):
1397         * counters.C (laberItem):
1398         * bufferview_funcs.C (font2string):
1399         * bufferparams.C (writeFile):
1400         * buffer.C (readFile):
1401         * Spacing.C (set):
1402         * MenuBackend.C: tostr -> convert
1403
1404         * LaTeX.C (runMessage): fix format
1405         (scanAuxFiles): tostr -> convert
1406
1407         * BufferView_pimpl.C (savePosition): fix format
1408         (restorePosition): ditto
1409         (dispatch): ditto
1410
1411 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1412
1413         * Spacing.[Ch]: New method getValueAsString().
1414
1415         * Spacing.[Ch]:
1416         * bufferparams.C:
1417         * ParagraphParameters.C:
1418         * lyxlayout.C:
1419         * text.C:
1420         * text3.C: store/read spacing value as string.
1421
1422         * rowpainter.C: change float value (spacing_val) to double.
1423
1424         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1425         broken custom document spacing).
1426
1427 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1428
1429         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1430         namespace, also more use of temp references and const
1431
1432         * cursor.[Ch] (getStatus): move to lyxfunc.C
1433
1434         * bufferparams.C: reformat slightly
1435
1436         * bufferview_funcs.C (font2string): constify arg
1437
1438         * changes.C:
1439         * converter.C:
1440         * counters.C:
1441         * bufferlist.C:
1442         * buffer_funcs.C: (many funcs): constify arg on function
1443         definitions, also make more local vars const, also add ASSERTS on
1444         pointer args.
1445
1446         * buffer.C (LYX_FORMAT): put const in correct place
1447         (many funcs): constify arg on function definitions, also make
1448         more local vars const
1449
1450         * aspell_local.h: remove "struct" from typdef setup
1451
1452         * aspell.C (check): make word_ok const
1453         (nextMiss): simplify slightly
1454         (error): ditto
1455
1456 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1457
1458         * lyxrc.[Ch]: store all float values as strings.
1459         use int (not float) for lyxrc.dpi.
1460
1461 2005-01-04  Angus Leeming  <leeming@lyx.org>
1462
1463         * lyx_cb.C (Reconfigure):
1464         * lyx_main.C (queryUserLyXDir):
1465         to run the <system_lyxdir>/configure correctly on Windows, prefix
1466         the path to the script with "sh " when generating the string that
1467         is passed to system().
1468
1469 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1470
1471         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1472
1473 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1474
1475         * lyxlength.C (asLatexString): get rid of setprecision
1476
1477 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1478
1479         * text2.C (setLayout): remove unused variable endpit.
1480         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1481
1482         * paragraph.C (onlyText): remove unused variable style.
1483
1484         * cursor.C (bruteFind): remove unused variables beg and end.
1485
1486         * Makefile.am (dist_noinset_DATA): not needed anymore
1487
1488         * cheaders/*: remove.
1489
1490 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1491
1492         * text3.C: fix LFUN_MATH_MODE.
1493
1494 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1495
1496         * buffer_funcs.C (countWords): new function. Counts words between
1497         two iterators.
1498
1499         * BufferView_pimpl.C (getStatus, dispatch): handle
1500         LFUN_WORDS_COUNT.
1501
1502         * LyXAction.C (init):
1503         * lfuns.h: add LFUN_WORDS_COUNT.
1504
1505 2004-12-19  Angus Leeming  <leeming@lyx.org>
1506
1507         * buffer.C (save): s/slashify_path/internal_path/.
1508
1509 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1510
1511         * lyxfind.C (findChange): do not search for end of pars, because
1512         the change tracker cannot handle this (fixes bug 1719).
1513
1514 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1515
1516         * paragraph.[Ch] (autoBreakRows): remove
1517
1518         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1519
1520         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1521         avoid using the paragraph one
1522
1523         * text2.C (LyXText, insertStringAsLines): adjust
1524
1525 2004-12-16  Angus Leeming  <leeming@lyx.org>
1526
1527         * bufferlist.C:
1528         * lyx_main.C:
1529         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1530
1531 2004-12-14  Angus Leeming  <leeming@lyx.org>
1532
1533         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1534
1535         * bufferlist.C (emergencyWrite):
1536         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1537         GetEnvPath("HOME").
1538
1539 2004-12-14  Angus Leeming  <leeming@lyx.org>
1540
1541         * main.C: (main): no longer pass pointers to os::init.
1542
1543 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1544
1545         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1546         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1547
1548 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1549
1550         * lyxfunc.C:
1551         * text3.C: remove selection_possible global flag
1552
1553 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1554
1555         * text2.C (getSelectionSpan): remove
1556         (changeDepth, changeDepthAllowed): adjust
1557
1558 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1559
1560         * Makefile.am (BOOST_LIBS): use boost variables
1561
1562 2004-12-03  José Matos  <jamatos@lyx.org>
1563
1564         * buffer.C: format up to 238.
1565
1566 2004-12-03  José Matos  <jamatos@lyx.org>
1567
1568         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1569
1570 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1571
1572         * cursor.C (goUpDown): remove call to idxUpDown2
1573
1574 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1575
1576         * tabular.[Ch]: use size_t-like types for cell, row and column
1577         indices
1578
1579 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * lyxfunc.C (getStatus): do not lose previous information when
1582         calling BufferView::getStatus; do not set a default "Command
1583         disabled" message at the beginning, but just before returning.
1584
1585 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1586
1587         * cursor.h (getStatus): add better comment from src/cursor.C
1588
1589 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1590
1591         * text3.C (getStatus): return false when the lfun is not handled
1592
1593 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1594
1595         * broken_headers.h: remove
1596
1597         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1598
1599 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1600
1601         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1602         offset_ref accessors
1603
1604         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1605         top_y_, merge fitcursor with update
1606         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1607         coord scheme
1608         (metrics): introduce
1609         (workAreaDispatch): adapt to new coord scheme
1610         (redoCurrentBuffer): remove
1611
1612         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1613
1614         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1615         CurStatus enum.
1616
1617         * coordcache.[Ch]: add paragraph cache and helpers
1618
1619         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1620         adjust everywhere
1621
1622         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1623         (targetX, setTargetX): introduce
1624
1625         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1626         baseline -> ascent, as the rest of lyx
1627
1628         * lyxtext.h: remove redoParagraphs, updateParPositions,
1629         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1630         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1631         have ascent/descent (ascent is ascent of first par)
1632
1633         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1634         step of BufferView
1635
1636         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1637
1638         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1639
1640         * pariterator.C: fix infinite loop introduced in par->pit renaming
1641
1642         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1643         in insets and LyXText, draw two off-screen paragraphs using
1644         NullPainter, and adapt to new coord scheme
1645
1646         * text.C:
1647         * text2.C:
1648         * text3.C: adapt lfun handlers to the new coord scheme, which
1649         means: there's only guaranteed coord information for onscreen pars
1650         plus one above and one below. This implies that one can do search
1651         from y coordinates in the range [-1,workHeight]
1652
1653 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * rename a lot of InsetOld to InsetBase
1656
1657 2004-11-25  Angus Leeming  <leeming@lyx.org>
1658
1659         * BufferView_pimpl.C:
1660         * lyx_cb.C:
1661         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1662
1663 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1664
1665         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1666         call BufferView::getStatus if LCursor::getStatus did nothing
1667         (setStatusMessage, getStatusMessage): removed.
1668
1669         * FuncStatus.C (message): new methods. Used to provide an error
1670         message indicating why a command is disabled.
1671         (clear, |=, FuncStatus): update for message.
1672
1673 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1674
1675         * lyxfunc.C (dispatch): always call sendDispatchMessage
1676
1677 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1678
1679         * BufferView.C:
1680         * BufferView_pimpl.C:
1681         * CutAndPaste.C:
1682         * FontIterator.C:
1683         * buffer.C:
1684         * cursor.C:
1685         * cursor_slice.[Ch]:
1686         * dociterator.[Ch]:
1687         * lyxfind.C:
1688         * paragraph_funcs.C:
1689         * pariterator.C:
1690         * rowpainter.C:
1691         * text.C:
1692         * text2.C:
1693         * text3.C:
1694         * undo.C: par->pit renaming
1695
1696 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1697
1698         * tabular.C (cellstruct): use initialization, store a shared_ptr
1699         to insettext instead of the insettext directly, adjust to fit.
1700         (operator=):  new function
1701         (swap): new function
1702         (rowstruct): use initialization
1703         (columnstruct): use initialization
1704         (ltType): use initialization
1705
1706
1707         * lyxlength.h (swap): new function
1708
1709         * LColor.[Ch] (operator=): use the common semantics
1710
1711 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1712
1713         * lyxfind.C (findNextChange): update the bufferview after setting
1714         the selection.
1715
1716 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1717
1718         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1719         number of InsetOptArgs has already been inserted.
1720
1721         * output_latex.C (latexOptArgInsets): new method. This outputs all
1722         the optarg insets, up to the limit defined in the layout file.
1723         (optArgInset): removed
1724         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1725
1726 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1727
1728         * paragraph.C (isLetter): remove special spellchecker-related
1729         code; return true also for digits
1730         (isWord, isKomma): remove
1731
1732         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1733         * lyxfind.C (MatchString()): use isLetter instead of isWord
1734
1735 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1736
1737         * pariterator.h (operatir=): comment out un-implemented member
1738         function.
1739
1740         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1741         static cast.
1742
1743 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1744
1745         * lyxfont.h: include LColor.h to satisfy concept checks.
1746
1747 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1748
1749         * pariterator.h: add typdefs for value_type, difference_type,
1750         pointer and reference to satisfy concept checks. Also add default
1751         constructor for same reason.
1752
1753         * pariterator.C (operator++): add post-increment operator to
1754         satisfy concept checks.
1755
1756         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1757         checks.
1758
1759         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1760
1761         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1762         checks. Also rename base_type to BaseType to follow naming
1763         standard better.
1764
1765         * FloatList.h: include Floating.h to satisfy concept checks.
1766
1767 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1768
1769         * lyxfunc.C (getStatus): when the origin of the request is menu or
1770         toolbar, and the LyXView does not have focus, do as if there was
1771         no buffer (bug 1720)
1772
1773         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1774         FuncRequest to individual entries of LFUN_SEQUENCE
1775
1776 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1777
1778         * output_latex.C (TeXOnePar): override runparams.moving_arg
1779         according to the needprotect value of the current paragraph (bug
1780         1739)
1781
1782         * paragraph.C (simpleTeXOnePar): no need to override
1783         runparams.moving_args here
1784
1785 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1786
1787         * vspace.C: fix off-by-one-error, related to fix #1682
1788
1789 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1790
1791         * lengthcommon.C: a more general fix for bug 1682
1792
1793 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1794
1795         * text.C (backspace): fix crash
1796
1797 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1798
1799         * format.[Ch] (getFormatFromFile): new method
1800         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1801
1802 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1803
1804         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1805
1806 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1807
1808         * lyxfunc.C (dispatch): remove the verbose argument
1809         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1810         instead
1811
1812         * kbmap.C (defkey): set the origin of func to KEYBOARD
1813
1814         * MenuBackend.C (MenuItem):
1815         * ToolbarBackend.C (add): set the origin of func to UI
1816
1817         * funcrequest.[Ch]: add origin member, which indicates which part
1818         of LyX requests an action
1819
1820 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1821
1822         * converter.C (move): don't lie in the error message
1823         * converter.h (isReachable, move): document
1824
1825 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1826
1827         * buffer.C: remove unused using lyx::support::atoi
1828         * paragraph_funcs.C: ditto
1829
1830 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1831
1832         * bufferlist.C (exists): use bind and equal_to instead of
1833         compare_memfun
1834         (getBuffer): ditto
1835         * lyxtextclasslist.C (NumberOfClass): ditto
1836
1837         * cursor.C (insert): use for_each instead of explicit for loop
1838
1839         * bufferlist.C (getFileNames): use std::transform and
1840         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1841
1842         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1843         for loop
1844
1845         * buffer.C (changeLanguage): use for_each instead of explicit for
1846         loop
1847         (hasParWithID): implement using getParFromID
1848
1849         * LaTeXFeatures.C: ws change only
1850
1851         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1852         to cleanup a bit.
1853
1854         * BufferView_pimpl.C (trackChanges): use for_each instead of
1855         expilicit for loop
1856
1857 2004-11-04  André Pönitz  <poenitz@gmx.net>
1858
1859         * undo.h:
1860         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1861
1862         * dociterator.C (asDocIterator): use hard assert again.
1863
1864 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1865
1866         * lyxlength.C (asLatexString): rewrite so that it does not use
1867         snprintf anymore
1868
1869 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * text3.C (specialChar, dispatch): make sure cursor moves to the
1872         right after inserting an inset
1873
1874 2004-11-02  José Matos  <jamatos@lyx.org>
1875
1876         * output_docbook.C (docbook):
1877         * paragraph.C (getID):
1878         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1879         garantee that the output is always legal.
1880
1881         * tabular.C (docbook):
1882         * outputprams.[Ch]: remove mixed contents.
1883
1884 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1885
1886         * text2.C (setCounter): prevent endless loop
1887
1888 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1889
1890         * exporter.C (copyFile): use the mover instead of support::copy()
1891         * exporter.C (Export): pass format and latex name to copyFile()
1892         * exporter.h (addExternalFile): document
1893         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1894
1895 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1896
1897         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1898
1899 2004-10-30  José Matos  <jamatos@lyx.org>
1900
1901         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1902         text and no inset or font change. This allows to use CDATA
1903         sections just for the whole paragraph.
1904
1905 2004-10-30  José Matos  <jamatos@lyx.org>
1906
1907         * paragraph.C (getFirstWord): remove unused variable.
1908
1909 2004-10-30  José Matos  <jamatos@lyx.org>
1910
1911         * paragraph.C (getFirstWord): the content should always be escaped
1912         there.
1913         (simpleDocBookOnePar):
1914         * output_docbook.C (makeEnvironment): replace reference to CDATA
1915         to style pass_thru.
1916
1917 2004-10-30  José Matos  <jamatos@lyx.org>
1918
1919         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1920
1921 2004-10-30  José Matos  <jamatos@lyx.org>
1922
1923         * output_docbook.C (makeParagraphs):
1924         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1925         standard paragraph has only a given type of content drop the wrapper.
1926
1927 2004-10-29  José Matos  <jamatos@lyx.org>
1928
1929         * output_docbook.C (makeEnvironment):
1930         * sgml.C (openTag):
1931         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1932
1933 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1934
1935         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1936         (cleanID): sanitize any id.
1937
1938 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1939
1940         * buffer.C, lyxlex_pimpl.C:
1941         * lyxlex_pimpl.C (setFile):
1942         s/getExtFromContents/getFormatFromContents/
1943
1944 2004-10-28  José Matos  <jamatos@lyx.org>
1945
1946         * output_docbook.C (makeEnvironment): move id to broadest possible
1947         scope.
1948
1949         * sgml.C (openTag): apply substitution of <> for all attributes.
1950
1951 2004-10-28  José Matos  <jamatos@lyx.org>
1952
1953         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1954         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1955         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1956
1957         * sgml.[Ch]: new version for open and closeTag for paragraph and
1958         for strings. Now they handle the ids of paragraphs.
1959
1960 2004-10-26  Angus Leeming  <leeming@lyx.org>
1961
1962         * Makefile.am: add mover.[Ch].
1963
1964         * converter.C (convert, move): use the new Movers to move external
1965         files to the temp directory.
1966
1967         * lyx_main.C (init): ensure that the global system_movers data
1968         is initialised.
1969
1970         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1971         preferences file.
1972
1973         * mover.[Ch]: new files, defining a Mover as a utility to move an
1974         external file between directories and, if necessary, manipulate this
1975         file using a helper script.
1976
1977 2004-10-25  José Matos  <jamatos@lyx.org>
1978
1979         * output_docbook.C (makeCommand): merge two if's that tested the
1980         same condition.
1981
1982 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1983
1984         * sgml.C (escapeString): fix warning in a better way
1985
1986 2004-10-25  José Matos  <jamatos@lyx.org>
1987
1988         * sgml.C (escapeString): import the require boosts header file for
1989         tie, and avoid a signed unsigned comparison.
1990
1991 2004-10-25  José Matos  <jamatos@lyx.org>
1992
1993         * sgml.h: add #include <string>
1994
1995 2004-10-25  José Matos  <jamatos@lyx.org>
1996
1997         * sgml.[Ch] (escapeString): new function to escape all the string.
1998
1999 2004-10-24  José Matos  <jamatos@lyx.org>
2000
2001         * paragraph.[Ch] (getFirstWord): new function to get the first
2002         word. Useful for description.
2003         (simpleDocBookOnePar): remove depth argument, add another that
2004         says where to start the paragraph.
2005
2006         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2007         use the new functions to fix cleanly the support for descriptions.
2008
2009 2004-10-24  José Matos  <jamatos@lyx.org>
2010
2011         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2012         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2013         * output_linuxdoc.C (linuxdocParagraphs):
2014         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2015         add buffer as argument.
2016
2017 2004-10-24  José Matos  <jamatos@lyx.org>
2018
2019         * output_docbook.C (makeEnvironment, searchEnvironment): place
2020         CDATA inside paragraphs and fix scope for listitems.
2021
2022 2004-10-24  José Matos  <jamatos@lyx.org>
2023
2024         * output_docbook.C: remove using statement for stack.
2025
2026 2004-10-23  José Matos  <jamatos@lyx.org>
2027
2028         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2029         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2030         docbook. The new scheme is recursive and makes use of iterators, the
2031         same as latex export works.
2032         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2033         directly with the paragraph contents. This code was moved up to
2034         output_docbook.C (docbookParagraphs).
2035         * sgml.C (openTag, closeTag): removed unneeded newlines.
2036         (closeEnvTags) removed.
2037
2038 2004-10-23  André Pönitz  <poenitz@gmx.net>
2039
2040         * undo.C (textUndoOrRedo):
2041         * dociterator.C (asDocIterator): work around crash
2042
2043         * cursor.C (getStatus): replace ASSERT by more verbose error message
2044           and manual correction of the problem. Should increase stability
2045           while providing more sensible information.
2046
2047 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2048
2049         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2050
2051         * bufferlist.C (previous, next): new methods
2052
2053         * lfuns.h:
2054         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2055
2056 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2057
2058         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2059         entities to preamble.
2060
2061 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2062
2063         * messages.C (Pimpl): strip off translation context information
2064
2065 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2066
2067         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2068         the cursor is correct (bug 1694)
2069
2070 2004-10-13  José Matos  <jamatos@lyx.org>
2071
2072         * output_docbook.C (docbookParagraphs): fix closing tags in the
2073         end of the document.
2074
2075 2004-10-09  José Matos  <jamatos@lyx.org>
2076
2077         * buffer.C: format up to 237.
2078         * bufferparams.C (write): use tostr to convert booleans to strings.
2079
2080 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2081
2082         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2083
2084 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2085
2086         * LaTeX.C: implement use of babel language in xindy.
2087
2088 2004-10-05  José Matos  <jamatos@lyx.org>
2089
2090         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2091         Add new translators to help reading and writing the lyx file.
2092
2093 2004-10-05  José Matos  <jamatos@lyx.org>
2094
2095         * ParagraphParameters.C (read):
2096         * text.C (readParToken): replace nexToken by more appropriate lex
2097         methods.
2098
2099 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2100
2101         * LaTeX.C (runMakeIndex):
2102         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2103         (usually 'makeindex') configurable.
2104
2105         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2106         with a variable rather than with a number.
2107
2108 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2109
2110         * output_latex.C (TeXOnePar): make sure font setting is the first
2111         thing that gets output (and the last at the end). Should fix bug
2112         1404.
2113
2114 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2115
2116         * pch.h: use proper signal include
2117
2118         * LaTeX.h: Use preferred calling of Boost.Signal
2119         * buffer.h: ditto
2120
2121 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2122
2123         * pch.h: dont include <boost/function/function0.hpp>
2124
2125         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2126
2127         * paragraph_pimpl.h: remove usage of ShareContainer
2128
2129         * paragraph_pimpl.C: remove initialization of ShareContainer.
2130
2131 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         Fix bug #1666
2134
2135         * BufferView.C (putSelectionAt): change the semantics when
2136         backwards == true: now, this just swaps cursor and anchor wrt the
2137         forward case
2138
2139         * BufferView.h (putSelectionAt): add some documentation
2140
2141         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2142         make sure backwardChar is done at least once (to avoid getting
2143         stuck)
2144         (findNextChange): use putSelectionAt in the forward direction
2145         (operator()): use Paragraph::isWord
2146
2147 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2148
2149         * Spacing.C (set): c_str fix
2150
2151 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * lyx_cb.C (Reconfigure): quote the name of configure script in
2154         case it contains spaces
2155
2156 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2157
2158         * client: new dir
2159
2160         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2161         (BOOST_LIBS): use top_buildir when looking for the file
2162
2163 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2164
2165         * pch.h: do not use include boost/format.hpp, multiple symbols
2166                 will result (gcc bug)
2167
2168
2169 2004-08-23  José Matos  <jamatos@lyx.org>
2170
2171         * bufferparams.C (readToken): fix reading of the author field.
2172
2173 2004-08-20  José Matos  <jamatos@lyx.org>
2174
2175         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2176
2177 2004-08-20  José Matos  <jamatos@lyx.org>
2178
2179         * lyxlex.[Ch] (findToken): remove function.
2180
2181         * ParagraphParameters.C (findToken):
2182         * bufferparams.C (findToken): replace call for previous function
2183         with local copy. This local function has one more argument, the
2184         read string argument.
2185
2186 2004-08-16  José Matos  <jamatos@lyx.org>
2187
2188         * ParagraphParameters.C (write):
2189         * Spacing.C (writeFile):
2190         * bufferparams.C (writeLaTeX):
2191         * lyx_cb.C (Reconfigure):
2192         * paragraph.C (write):
2193         * tabular.C (write): remove unnecessary space at end of line.
2194
2195
2196 2004-08-16  José Matos  <jamatos@lyx.org>
2197
2198         * text.C (readParagraph): remove debug message.
2199
2200 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2201
2202         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2203         crash
2204
2205         * output_plaintext.C (asciiParagraph): set depth correctly
2206
2207         * outputparams.h: add member depth
2208
2209         * paragraph_funcs.C (ownerPar): remove.
2210
2211         * text2.C (setCounter): remove first_pit; comment out some
2212         non-working code that uses ownerPar
2213
2214         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2215         uses ownerPar
2216
2217 2004-08-16  José Matos  <jamatos@lyx.org>
2218
2219         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2220         For the same level of importance use the same chanel to report problems.
2221         (read): add code to deal with \begin_body and \end_body.
2222
2223
2224 2004-08-15  José Matos  <jamatos@lyx.org>
2225
2226         * lyxlex.C (getString): fix comment, buffer::readBody is now
2227         buffer:readDocument.
2228
2229         * tex-strings.C (string_papersize): Default -> default,
2230         Custom -> custom, for consistency with other options.
2231
2232 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2233
2234         * pch.h: new file
2235
2236         * Makefile.am: support pch
2237
2238 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2239
2240         * text.C (readParToken): remove the static LyXFont variable and
2241         pass it as a parameter instead. This fixes a nasty bug where an
2242         inset will be inserted with a bad font in some situations
2243         (readParagraph): adapt
2244
2245         * text2.C (setCounter): reduce number of calls to pars_[pit]
2246
2247         * text.C (singleWidth): add an assert, fix a test
2248
2249         * rowpainter.C (paintText): reduce number of calls to singleWidth
2250
2251         * paragraph.C (isHfill):
2252         (isNewline): ws only
2253
2254 2004-08-14  André Pönitz  <poenitz@gmx.net>
2255
2256         * text.C:
2257         * text2.C:
2258         * rowpainter.C:
2259         * lyxtext.h (several functions): use a Paragraph & argument
2260         instead of par_type
2261
2262 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2263
2264         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2265
2266         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2267
2268         * text.C (singleWidth): remove useless test
2269
2270 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2271
2272         * tabular.h: remove bogus comments
2273
2274         * tabular.C (getDescentOfRow):
2275         (isPartOfMultiColumn): add assertions
2276
2277         * lyxlength.C (inPixels): remove #warning
2278
2279 2004-08-14  André Pönitz  <poenitz@gmx.net>
2280
2281         * paragraph.h: inline getChar()
2282
2283         * BufferView.h: remove unused declarations
2284
2285 2004-08-14  José Matos  <jamatos@lyx.org>
2286
2287         * Buffer.[Ch] (readDocument): new name for old readBody.
2288         * Buffer.C: new file format, new keywords: \begin_document,
2289         \begin_header, \begin_body, \end_body.
2290
2291         * bufferparams.C (readToken): replace all calls to lex.nextToken
2292         by lex.next(). Do the same to eatLine except where really needed.
2293
2294         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2295         line when writing to the lyx file.
2296
2297         * output_plaintext.C (asciiParagraph): fix Bibliography style
2298         handling.
2299
2300         * text.C (read): fix end of file handling.
2301
2302 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2303
2304         * MenuBackend.C (Menu::operator[]): new method to access
2305         individual menu items
2306         (Menu::hasFunc): new method. search for an item that corresponds
2307         to a given func
2308         (MenuBackend::specialMenu): new method
2309         (MenuBackend::expand): if a special menu has been set, skip
2310         entries whose func() appears in this menu
2311
2312 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2313
2314         * text3.C: use Debug::DEBUG a bit more
2315
2316         * text.C (leftMargin): try to simplify a tiny bit change var x to
2317         l_margin. Dont output the wide margins always.
2318         (rightMargin): no margin in inner texts
2319
2320         * rowpainter.h (nestMargin): new func
2321         (changebarMargin): new func
2322         (rightMargin): new func
2323
2324         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2325         now functions.
2326         (paintLast): ditto
2327
2328         * factory.C (createInset): modify setDrawFrame
2329
2330         * cursor.C: use Debug::DEBUG a bit more
2331
2332 2004-08-14  André Pönitz  <poenitz@gmx.net>
2333
2334         * coordcache.[Ch]:
2335         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2336         cache for all insets in (at least partially) visible (top-level)
2337         paragraphs.
2338
2339         * BufferView_pimpl.C: reset external coord cache before every update.
2340         This means the coord cache only contains valid entries.
2341
2342 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2343
2344         bug 1096
2345         * BufferView_pimpl.C (getInsetByCode): move function out of class
2346         and change in to a template in anon namespace. Also fix to do what
2347         suits us better.
2348
2349 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2350
2351         bug 1305
2352         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2353         of char
2354         (breakParagraph): rename par to par_offset and use a local
2355         reference. Add code to keep the language over a rebreak.
2356         (breakParagraphConservative): rename par to par_offset, use a
2357         local reference
2358         (mergeParagraph): ditto
2359         (outerHook): ditto
2360         (isFirstInSequence): ditto
2361         (outerFont): rename pit to par_offset
2362
2363         * paragraph.C: ws change
2364         * paragraph.h: ditto
2365         * text3.C: ditto
2366         * text.C: ditto
2367
2368 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2369
2370         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2371         treatment for ']'
2372
2373         * paragraph.C (simpleTeXOnePar): when we have a \item with
2374         optional argument, enclose the argument with curly brackets (in
2375         case it contains a closing square bracket)
2376
2377         * text2.C (editXY):
2378         * text2.C (editXY):
2379         * text3.C (checkInsetHit): constify
2380
2381 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2382
2383         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2384         documents (bug 1629)
2385
2386 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2387
2388         Fix toggling of collapsable insets with the mouse (bug 1558)
2389
2390         * lyxfunc.C (dispatch): adapt to LCursor changes
2391
2392         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2393         make sure that dispatch is not invoked twice
2394
2395         * cursor.C (needsUpdate): new method
2396         (dispatch): return void
2397         (result): new method, to access the DispatchResult of the cursor.
2398
2399 2004-08-13  José Matos  <jamatos@lyx.org>
2400
2401         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2402
2403 2004-08-13  André Pönitz  <poenitz@gmx.net>
2404
2405         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2406
2407         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2408           multiple cells
2409
2410 2004-08-12  André Pönitz  <poenitz@gmx.net>
2411
2412         * text3.C: take out the 'cursor right' form insertInset and only
2413         do it in those places when it is really needed. Fixes crash on
2414         C-m...
2415
2416 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2417
2418         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2419
2420         * BufferView_pimpl.C (setBuffer): initialize the current font of
2421         the underlying LyXText
2422
2423 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2424
2425         * kbsequence.C (print): use UI native formatting for menu
2426         shortcuts
2427
2428         * text.C (insertChar): call Paragraph::insertChar with a font
2429         argument (cosmetic)
2430
2431         * paragraph.C (insertInset, insertChar): the version that takes a
2432         LyXFont argument is now a wrapper around the other one (the
2433         opposite used to be true).
2434
2435         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2436         argument. Font setting is done in Paragraph now.
2437
2438 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2439
2440         * outputparams.h: add new members intitle and lang.
2441
2442         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2443         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2444
2445 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2446
2447         * text3.C (dispatch): remove special handling of button 4 and 5,
2448         it is now taken care of in the frontend code.
2449
2450 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2451
2452         * Spacing.h: add <string> (STLPort compile fix)
2453
2454 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2455
2456         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2457
2458 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2461         to bool.
2462
2463         * converter.C (showMessage): inherit from unary_function, make
2464         operator() const.
2465
2466         * buffer.C (writeFile): initialize retval
2467
2468         * InsetList.h: rename private variable list to list_
2469         * InsetList.[Ch]: adjust accordingly.
2470
2471 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2472
2473         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2474         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2475         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2476         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2477         * ParagraphParameters.C, LaTeXFeatures.C: replace
2478         "support/std_sstream.h" with <sstream>
2479
2480 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2483         * lyxsocket.C (LyXServerSocket): ditto
2484         (serverCallback): ditto
2485
2486 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2487
2488         * LaTeXFeatures.C: check release date when loading jurabib.
2489
2490 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2491
2492         * lyxserver.C (startPipe): call register_socket_callback
2493         (endPipe): call unregister_socket_callback
2494
2495 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2496
2497         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2498         (LyXServerSocket): register the callback
2499         (LyXServerSocket): unregister the callback
2500         (fd): delete function
2501         (serverCallback): improve error checking and setup the callbacks.
2502         (dataCallback): change arg to fd.
2503         (writeln): new func (copied fro the client socket) used for server
2504         write to client.
2505         (LyXDataSocket): simplify
2506         (~LyXDataSocket): close ann unregiser callback
2507         (server): delete function
2508         (fd): delete function
2509         (readln): small changes, improve some std::string usage
2510         (writeln): constify a bit
2511
2512 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2515         Qt frontend
2516
2517 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518
2519         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2520         after it has been populated
2521
2522 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2523
2524         * text2.C (insertInset): move cursor when inserting inset.
2525
2526 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2527
2528         * kbmap.C (findbindings): a couple of new methods. returns a
2529         container of kb_sequence objects. The real work is done by the
2530         private recursive version
2531         (printbindings): uses findbindings to print out a bracketed list
2532         of bindings (renamed from findbinding).
2533
2534         * MenuBackend.C (binding): use kb_keymap::findbindings
2535
2536         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2537
2538 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2539
2540         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2541
2542 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2543
2544         * paragraph.C (isWord): return true on insets that report
2545         isLetter().
2546
2547         * text.C (getWord): use Paragraph::isWord to decide what is in a
2548         word and what is not; fix bug 1609.
2549
2550 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2551
2552         * tex-strings.C: add "none" to string_paperpackages[], fixes
2553         off-by-one-error in the paperpackage selection.
2554
2555         * lyxlex.[Ch]:
2556         * tex-strings.[Ch]: char const * string[n]
2557         -> char const * const string[]
2558
2559 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2560
2561         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2562         command, return early.
2563
2564 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * debug.h: add DEBUG to enum and fix size of ANY.
2567
2568         * debug.C: add support for Debug::DEBUG
2569         (showTags): cast errorTags.level to unsigned int
2570
2571         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2572         (redoCurrentBuffer): ditto
2573         (updateScrollbar): ditto
2574         * cursor.C (dispatch): ditto
2575         * text2.C (setLayout): ditto
2576         (setFont): ditto
2577         (updateCounters): ditto
2578         (editXY): ditto
2579         (deleteEmptyParagraphMechanism): ditto
2580
2581 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2582
2583         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2584         annotations to cleanup the Makefile slightly.
2585
2586 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2587
2588         * lyxrc.C: do not set user_email to a default value but use empty
2589         instead. The entry used to be translated, which does not work
2590         since at the point where lyxrc is constructed there is no
2591         translation service available
2592
2593         * messages.C (getLocaleDir): remove and use directly
2594         lyx_localedir() instead
2595
2596 2004-06-02  Angus Leeming  <leeming@lyx.org>
2597
2598         Fix crash caused by dereferencing null pointer 'exportdata' in
2599         OutputParams by creating a new ExportData variable on the heap,
2600         storing it in a boost::shared_ptr.
2601         The crash was triggered when generating an Instant Preview
2602         of an external inset.
2603
2604         * Makefile.am: add outputparams.C
2605
2606         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2607         (c-tor): allocate memory to it.
2608
2609         * exporter.C (c-tor): associated changes.
2610
2611 2004-06-01  Angus Leeming  <leeming@lyx.org>
2612
2613         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2614         contains data before calling isInset(0). (Bug 1513.)
2615
2616 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2617
2618         * exporter.C (checkOverwrite): new method
2619         * exporter.C (copyFile): new method
2620         * exporter.C (Export): copy referenced files to the document dir
2621         * exporter.[Ch]: new class ExportedFile
2622         * exporter.[Ch]: new class ExportData. Contains currently the
2623         names of referenced external files
2624         * outputparams.h: add exportdata member.
2625
2626 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2629         version.C-tmp
2630
2631 2004-05-19  Angus Leeming  <leeming@lyx.org>
2632
2633         * LaTeXFeatures.C:
2634         * ToolbarBackend.C:
2635         * bufferparams.C:
2636         * lyxfunc.C: small changes due to the introduction of namespace
2637         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2638
2639 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2640
2641         * text3.C (dispatch): supress update when only moving the cursor
2642         * cursor.C (selHandle): remove commented code
2643
2644 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2645
2646         * paragraph.C (startTeXParParams): correct column count
2647         * CutAndPaste.C (pasteSelection): remove const_cast
2648         * output_docbook.C (docbookParagraphs): remove const_cast
2649         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2650         const_cast and return ParagraphList::const_iterator
2651         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2652         * output_plaintext.C (writeFileAscii): remove const_cast
2653         * paragraph.[Ch] (simpleTeXOnePar): make const
2654         * paragraph_funcs.C (outerPar): use const iterators
2655         * paragraph_pimpl.C (validate): use const iterators
2656         * text.C (setHeightOfRow): use const iterators
2657
2658 2004-05-17  Angus Leeming  <leeming@lyx.org>
2659
2660         * lfuns.h:
2661         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2662
2663         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2664         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2665         if the citation engine has changed.
2666
2667 2004-05-14  José Matos  <jamatos@lyx.org>
2668
2669         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2670         if the textclass does not provide it. Have it different for sgml and
2671         xml.
2672         support the language of document.
2673         * output_docbook.C (docbookParagraphs):
2674         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2675         first anchor as the id of the paragraph, remove special case code.
2676         * sgml.C (escapeChar): escape only < & >.
2677
2678 2004-05-14  Angus Leeming  <leeming@lyx.org>
2679
2680         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2681         dependencies on src/frontends/controllers/biblio.h. Define a
2682         CiteEngine_enum wrapper class to enable the enum to be forward
2683         declared.
2684
2685 2004-05-12  Angus Leeming  <leeming@lyx.org>
2686
2687         * buffer.C: up LYX_FORMAT to 234.
2688         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2689         use_numerical_citations with a single biblio::CiteEngine cite_engine
2690         variable.
2691         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2692
2693 2004-05-13  José Matos  <jamatos@lyx.org>
2694
2695         * converter.h:
2696         * converter.C (Converter, readFlags): add xml member.
2697         * outputparams.h: add XML flavor.
2698         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2699
2700 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2701
2702         * lyxfunc.C (dispatch):
2703         (getStatus): fix handling of LFUN_SEQUENCE
2704
2705 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2706
2707         * debug.C (showLevel): do not forget the end-of-line marker
2708
2709 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2710
2711         * kbmap.C (read): do not stop parsing a bind file when an error
2712         occurs (bug 1575)
2713
2714 2004-04-29  Angus Leeming  <leeming@lyx.org>
2715
2716         * cursor.C:
2717         * factory.C:
2718         * pariterator.C:
2719         * text2.C: wrap a bunch of #warning statements
2720         inside #ifdef WITH_WARNINGS blocks.
2721
2722 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2723
2724         * buffer.C: increment format to 233.
2725
2726 2004-04-28  Angus Leeming  <leeming@lyx.org>
2727
2728         * BufferView_pimpl.C:
2729         * lyxfunc.C:
2730         * text3.C:
2731         s/updateToolbar()/updateToolbars()/
2732         s/Toolbar.h/Toolbars.h/
2733
2734 2004-04-28  Angus Leeming  <leeming@lyx.org>
2735
2736         * BufferView.[Ch] (c-tor):
2737         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2738         No longer passes these data to the WorkArea generator.
2739
2740 2004-04-28  Angus Leeming  <leeming@lyx.org>
2741
2742         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2743
2744 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2745
2746         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2747
2748 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2749
2750         * output_latex.C (TeXEnvironment): make sure that there is a line
2751         break before \end{foo} for the last paragraph of a document
2752         (TeXOnePar): if the paragraph is at the end of the document (or
2753         inset) and the language has to be reset, then make sure that the
2754         line break is _before_ the language command, not after (fixes bug
2755         1225); also make sure that the language reset command is the first
2756         thing after the paragraph (to ensure proper nesting of
2757         environments and thus fix bug 1404)
2758
2759 2004-04-21  John Levon  <levon@movementarian.org>
2760
2761         * ToolbarBackend.h:
2762         * ToolbarBackend.C: make "name" be a programmatic name
2763         and a gui_name field.
2764
2765         * lyxfunc.C: display the minibuffer on M-x
2766
2767 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768
2769         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2770         (bug 1526)
2771
2772 2004-04-19  Angus Leeming  <leeming@lyx.org>
2773
2774         * BufferView_pimpl.C (setBuffer): changed preview interface.
2775
2776         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2777         possible values.
2778
2779 2004-04-19  John Levon  <levon@movementarian.org>
2780
2781         * BufferView_pimpl.C:
2782         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2783
2784 2004-04-05  Angus Leeming  <leeming@lyx.org>
2785
2786         * text.C (redoParagraphs): add call to updateCounters(), thereby
2787         fixing the missing "Figure #:" label from the caption of a
2788         figure float.
2789
2790 2004-04-13  Angus Leeming  <leeming@lyx.org>
2791
2792         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2793         cursor is clicked out of an inset.
2794
2795 2004-04-13  Angus Leeming  <leeming@lyx.org>
2796
2797         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2798         than an InsetOld one.
2799
2800 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2801
2802         * format.[Ch]: add editor to Format
2803         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2804         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2805
2806 2004-04-08  André Pönitz  <poenitz@gmx.net>
2807
2808         * metricsinfo.h: remove PainterInfo::width member
2809
2810 2004-04-08  Angus Leeming  <leeming@lyx.org>
2811
2812         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2813         "\providecommand" rather than "\newcommand", thereby preventing
2814         clashes with packages that define "\boldsymbol" themselves.
2815         Eg, beamer.
2816
2817 2004-04-08  Angus Leeming  <leeming@lyx.org>
2818
2819         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2820         thereby squashing an unnecessary warning.
2821
2822 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2823
2824         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2825         setBuffer()
2826
2827 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2828
2829         * BufferView.C (setCursor): call redoParagraph (some insets could
2830         have been opened)
2831         (putSelectionAt): remove the 'double update' trick
2832
2833         * BufferView_pimpl.C (fitCursor): call refreshPar
2834         (workAreaDispatch): remove an uneeded update call
2835         (dispatch): remove some manual update calls
2836
2837         * cursor.[Ch]: remove cached_y_, updatePos
2838         (selHandle): set noUpdate when appropriate
2839
2840         * lyxfunc.C (dispatch): track if we need an update
2841
2842         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2843
2844         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2845         (paintSelection): cheap optimization, do not call cursorX when not
2846         needed
2847         (paintPars): change signature
2848         (refreshPar): add
2849         (paintText): adjust
2850         (paintTextInset): adjust
2851
2852         * text.C: adjust
2853
2854 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2855
2856         * lengthcommon.C: compilation fix: remove explicit array size from
2857         unit_name[] and friends
2858
2859 2004-04-05  Angus Leeming  <leeming@lyx.org>
2860
2861         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2862
2863         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2864         present only for the preferences dialog.
2865         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2866
2867 2004-04-05  Angus Leeming  <leeming@lyx.org>
2868
2869         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2870         to enable the frontends to export changes to lyxrc correctly.
2871
2872         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2873
2874 2004-04-07  André Pönitz  <poenitz@gmx.net>
2875
2876         * cursor.[Ch] (selClear, adjust): remove math
2877
2878         * cursor_slice.C: more agressive assert
2879
2880         * lyxfunc.C:
2881         * BufferView_pimpl.C: rework mouse event dispatch
2882
2883         * dociterator.C:
2884         * paragraph.C:
2885         * text2.C:
2886         * text3.C: adjust
2887
2888 2004-04-05  André Pönitz  <poenitz@gmx.net>
2889
2890         * cursor.[Ch] (valign, halign...): remove unneeded functions
2891
2892 2004-04-05  Angus Leeming  <leeming@lyx.org>
2893
2894         * lyxlength.[Ch] (unit_name et al.): const-correct.
2895
2896 2004-04-05  Angus Leeming  <leeming@lyx.org>
2897
2898         * BufferView_pimpl.C:
2899         * buffer.C:
2900         * counters.C:
2901         * cursor.C:
2902         * lyxfunc.C
2903         * paragraph.C:
2904         * pariterator.C:
2905         * text.C:
2906         * text2.C:
2907         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2908
2909 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2910
2911         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2912
2913 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2914
2915         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2916         * BufferView_pimpl.[Ch] (getStatus)
2917         * BufferView.[Ch] (getStatus): add
2918         * lyxfunc.C (getStatus): move lfuns handled in
2919         BufferView::dispatch to te function above
2920         * Cursor.C (setSelection): set selection() = true
2921
2922 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2923
2924         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2925
2926 2004-03-31  Angus Leeming  <leeming@lyx.org>
2927
2928         * lyxfunc.C (dispatch): Fall through to the generic
2929         Dialogs::show("preamble").
2930
2931 2004-03-31  Angus Leeming  <leeming@lyx.org>
2932
2933         * lyxfunc.C (dispatch): Fall through to the generic
2934         Dialogs::show("spellchecker").
2935
2936 2004-03-31  Angus Leeming  <leeming@lyx.org>
2937
2938         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2939         preferences dialog.
2940
2941 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2942
2943         * BufferView.C
2944         * cursor.[Ch]
2945         * dociterator.[Ch]:
2946         * insetiterator.[Ch]:
2947         * lyxfind.C:
2948         * lyxfunc.C:
2949         * pariterator.[Ch]:
2950         * text2.C:
2951         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2952
2953 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2954
2955         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2956         insets where we are putting the cursor.
2957
2958 2004-03-31  Angus Leeming  <leeming@lyx.org>
2959
2960         * lfuns.h:
2961         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2962
2963         * lyxrc.[Ch] (read, write): overloaded member functions taking
2964         a std::[io]stream arguments.
2965
2966         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2967
2968 2004-03-31  Angus Leeming  <leeming@lyx.org>
2969
2970         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2971         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2972
2973         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2974         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2975
2976 2004-03-31  Angus Leeming  <leeming@lyx.org>
2977
2978         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2979         the LFUN_ALL_INSETS_TOGGLE code.
2980
2981 2004-03-30  Angus Leeming  <leeming@lyx.org>
2982
2983         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2984         has died. Fall through to the generic Dialogs::show("document").
2985
2986 2004-03-30  Angus Leeming  <leeming@lyx.org>
2987
2988         * lfuns.h:
2989         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2990         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2991
2992         * lyxfunc.C (getStatus, dispatch): define the actions for these
2993         lfuns. Little more than a cut and pste job from ControlDocument.C
2994
2995         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2996
2997 2004-03-30  Angus Leeming  <leeming@lyx.org>
2998
2999         * lfuns.h:
3000         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3001         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3002
3003         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3004         open/closed state of ollapsable insets. Usage:
3005
3006         all-inset-toggle <state> <name>, where
3007         <state> == "open" || "closed" || "toggle" and
3008         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3009
3010         * lyxtext.h, text2.C (toggleInset): removed.
3011
3012         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3013         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3014         now passes LFUN_INSET_TOGGLE to the found inset.
3015
3016         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3017         is now invoked as "all-insets-toggle toggle branch".
3018
3019 2004-03-30  Angus Leeming  <leeming@lyx.org>
3020
3021         * dociterator.C:
3022         * insetiterator.C:
3023         * pariterator.[Ch]: added/corrected header blurb.
3024
3025 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3026
3027         * dociterator.[Ch]: add an inset_ member
3028         (backwardPos): implemented
3029         (backwardPos, forwardPos): use inset_ when the stack is empty.
3030         (doc_iterator_begin, doc_iterator_end): implemented
3031         * pariterator.[Ch]: adjust, add begin, end
3032         * insetiterator.[Ch]: adjust, add begin, end
3033         * cursor.C:
3034         * document.C:
3035         * BufferView.C:
3036         * BufferView_pimpl.C:
3037         * CutAndPaste.C: adjust
3038
3039 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3040
3041         * buffer.C: increment file format to 232.
3042         * LaTeXFeatures.C: add bibtopic package.
3043         * bufferparams.[Ch]: param \use_bibtopic.
3044
3045         * lyxrc.[Ch]: add lyxrc bibtex_command
3046         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3047
3048         * buffer.C: increment file format to 231.
3049
3050 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3051
3052         * dociterator.C: implement forwardPar
3053         * iterators.[Ch]: remove, replaced by
3054         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3055         * BufferView.C:
3056         * BufferView_pimpl.C:
3057         * CutAndPaste.C:
3058         * buffer.C:
3059         * bufferview_funcs.C:
3060         * cursor.C:
3061         * lyxfind.C
3062         * lyxfunc.C
3063         * paragraph_funcs.C
3064         * toc.C:
3065         * Makefile.am: adjust
3066
3067 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3068
3069         * CutAndPaste.C (pasteSelection): fix 2 crashes
3070         (eraseSelection): fix a crash
3071         * paragraph_funcs.C: remove a warning
3072
3073 2004-03-28  Angus Leeming  <leeming@lyx.org>
3074
3075         * lfuns.h:
3076         * LyXAction.C (init): new LFUN_PRINT.
3077
3078         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3079
3080 2004-03-27  Angus Leeming  <leeming@lyx.org>
3081
3082         * lfuns.h:
3083         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3084
3085         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3086
3087 2004-03-27  Angus Leeming  <leeming@lyx.org>
3088
3089         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3090         insetlist always contains non-null pointers to insets.
3091
3092 2004-03-26  Angus Leeming  <leeming@lyx.org>
3093
3094         * src/BufferView_pimpl.C:
3095         * src/CutAndPaste.C:
3096         * src/buffer.C:
3097         * src/iterators.C:
3098         * src/output_plaintext.C:
3099         * src/outputparams.h:
3100         * src/paragraph_funcs.C:
3101         * src/rowpainter.C:
3102         * src/text.C:
3103         * src/text2.C:
3104         * src/frontends/controllers/ControlErrorList.C:
3105         * src/frontends/gtk/FileDialogPrivate.C:
3106         * src/frontends/gtk/GPainter.C:
3107         * src/frontends/gtk/GToolbar.C:
3108         * src/frontends/qt2/QRef.C:
3109         * src/mathed/math_scriptinset.C: squash compiler warnings.
3110
3111 2004-03-26  Angus Leeming  <leeming@lyx.org>
3112
3113         * ispell.C (LaunchIspell::start):
3114         * lyx_cb.C (AutoSaveBuffer::start):
3115         invoke run(DontWait) rather than runNonBlocking().
3116
3117 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3118
3119         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3120
3121 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3122
3123         * kbsequence.C (print): adjust
3124
3125         * kbmap.C (printKeySym): rename and change signature
3126         (printKey): use LyXKeySym::print()
3127
3128 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3129
3130         * undo.C: add using std::advance to compile for stlport
3131
3132 2004-03-24  Angus Leeming  <leeming@lyx.org>
3133
3134         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3135         it leads to a crash when no buffer is present.
3136
3137 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3138             Martin Vermeer  <martin.vermeer@hut.fi>
3139
3140         * lyxfunc.C (dispatch):
3141         * bufferparams.C (readToken): use the new LColor::setColor
3142
3143         * LColor.[Ch] (setColor): new version that takes two strings as
3144         argument and creates a new color entry if necessary
3145
3146 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3147
3148         * buffer.C (makeLaTeXFile): if the main latex file that is
3149         processed is usually a subdocument of some master, then pretend
3150         for a while that it is actually the master
3151
3152 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3153
3154         * buffer.C (getLabelList):
3155         (getBibkeyList): use getMasterBuffer()
3156         (getMasterBuffer): new method. Returns the main document in the
3157         case where one is using included documents.
3158
3159 2004-03-25  André Pönitz  <poenitz@gmx.net>
3160
3161         * Makefile.am:
3162         * iterators.[Ch]:
3163         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3164
3165         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3166
3167         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3168         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3169
3170         * ParameterStruct.h: merge with ParagraphParameters
3171
3172         * lyxtext.h: remove LyXText::parOffset() and getPar()
3173
3174         * text3.C: Remove all 'manual' update calls. We do now one per user
3175         interaction which is completely sufficient.
3176
3177         * Bidi.C:
3178         * BufferView.[Ch]:
3179         * BufferView_pimpl.C:
3180         * FontIterator.[Ch]:
3181         * MenuBackend.C:
3182         * ParagraphParameters.[Ch]:
3183         * buffer.C:
3184         * buffer.h:
3185         * bufferlist.C:
3186         * cursor.[Ch]:
3187         * cursor_slice.[Ch]:
3188         * dociterator.[Ch]:
3189         * errorlist.[Ch]:
3190         * factory.C:
3191         * lfuns.h:
3192         * lyxfind.C:
3193         * lyxfunc.C:
3194         * output_docbook.[Ch]:
3195         * output_latex.[Ch]:
3196         * output_linuxdoc.[Ch]:
3197         * output_plaintext.[Ch]:
3198         * paragraph.[Ch]:
3199         * paragraph_funcs.[Ch]:
3200         * paragraph_pimpl.[Ch]:
3201         * rowpainter.C:
3202         * tabular.[Ch]:
3203         * text.C:
3204         * text2.C:
3205         * toc.C:
3206         * undo.[Ch]: adjust
3207
3208         * frontends/controllers/ControlDocument.C:
3209         * frontends/controllers/ControlErrorList.C:
3210         * frontends/controllers/ControlSpellchecker.C:
3211         * insets/inset.C:
3212         * insets/inset.h:
3213         * insets/insetbase.h:
3214         * insets/insetbibitem.C:
3215         * insets/insetbox.C:
3216         * insets/insetbranch.C:
3217         * insets/insetcaption.C:
3218         * insets/insetcharstyle.C:
3219         * insets/insetcharstyle.h:
3220         * insets/insetcollapsable.C:
3221         * insets/insetcollapsable.h:
3222         * insets/insetert.C:
3223         * insets/insetfloat.C:
3224         * insets/insetfoot.C:
3225         * insets/insetmarginal.C:
3226         * insets/insetnote.C:
3227         * insets/insetoptarg.C:
3228         * insets/insettabular.C:
3229         * insets/insettext.C:
3230         * insets/insettext.h:
3231         * insets/insetwrap.C:
3232         * mathed/math_mboxinset.C:
3233         * mathed/math_nestinset.C:
3234         * mathed/math_scriptinset.C:
3235         * mathed/math_scriptinset.h:
3236         * support/types.h:
3237
3238 2004-03-24  Angus Leeming  <leeming@lyx.org>
3239
3240         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3241         deal with any child processes that have finished but are waiting to
3242         communicate this fact to the rest of LyX.
3243
3244 2004-03-24  Angus Leeming  <leeming@lyx.org>
3245
3246         64-bit compile fixes.
3247
3248         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3249         (c-tor): pass lyx::pos_types rather than ints.
3250
3251         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3252         lyx::pos_type.
3253
3254         * text.C (Delete): compile fix.
3255         (getPar): ensure that function declaration is the same as that in
3256         the header file.
3257
3258 2004-03-23  Angus Leeming  <leeming@lyx.org>
3259
3260         * ispell.C (LaunchIspell):
3261         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3262         a boost::shred_ptr rather than a std::auto_ptr.
3263
3264 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3265
3266         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3267         handle LFUN_FILE_INSERT_*
3268
3269         * lyxrc.C (setDefaults, getDescription, output, read):
3270         * lyxrc.h: remove ps_command
3271
3272 2004-03-22  Angus Leeming  <leeming@lyx.org>
3273
3274         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3275         Ensure that error_handler is processed once only and that all data
3276         is saved before attempting to output any warning messages.
3277
3278         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3279
3280 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3281
3282         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3283
3284 2004-03-19  André Pönitz  <poenitz@gmx.net>
3285
3286         * cursor.[Ch] (reset): take main text inset as argument
3287
3288         * BufferView: adjust
3289         * BufferView_pimpl.C: adjust
3290
3291         * paragraph.[Ch]: fix completely broken operator=()
3292
3293 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3294
3295         * LColor.C (getFromLyXName): make sure that the color name is used
3296         as lowercase.
3297
3298 2004-03-17  Angus Leeming  <leeming@lyx.org>
3299
3300         * lfuns.h:
3301         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3302
3303         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3304         dialog and to kill a forked process.
3305
3306 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3307
3308         * text2.C (setCursorFromCoordinates): fix font problem
3309
3310 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3311
3312         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3313         bogus "rebuild cursor" code
3314
3315 2004-03-11  André Pönitz  <poenitz@gmx.net>
3316
3317         * buffer.[Ch]: use InsetText instead of LyXText as container for
3318         the main lyx text.
3319
3320         * dociterator.[Ch]: drop the BufferView * member which is not needed
3321         anymore after the change to buffer.C
3322
3323         * paragraph_funcs.C:
3324         * text.C:
3325         * text2.C:
3326         * BufferView.[Ch]:
3327         * BufferView_pimpl.[Ch]:
3328         * cursor.[Ch]:
3329         * cursor_slice.[Ch]: adjust
3330
3331         * text3.C: fix bug in mathDispatch
3332
3333 2004-03-08  André Pönitz  <poenitz@gmx.net>
3334
3335         * undo.[Ch]: use 'StableDocumentIterator' as base for
3336         the Undo struct.
3337
3338 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3339
3340         * LaTeXFeatures.C:
3341         * bufferparams.[Ch]: add jurabib support and param.
3342
3343         * LaTeX.C: add FIXME/comment.
3344
3345 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3346
3347         * buffer.C: increment file format to 230.
3348
3349 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * cursor.C (dispatch): avoid infinite loops
3352
3353 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3354
3355         * rowpainter.C (paintSelection): fix x coordinates
3356
3357 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3358
3359         * text.C (rowBreakPoint): fix breaking before displayed insets
3360
3361 2004-03-01  André Pönitz  <poenitz@gmx.net>
3362
3363         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3364
3365         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3366
3367         * Makefile.am:
3368         * BufferView.C:
3369         * BufferView_pimpl.C:
3370         * buffer.C:
3371         * lyxfind.C:
3372         * lyxfunc.C:
3373         * text.C:
3374         * text2.C:
3375         * text3.C: adjust
3376
3377 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3378
3379         * lyxtext.h:
3380         * text.C:
3381         * text2.C:
3382         * rowpainter.C:
3383         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3384         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3385
3386 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3387
3388         * Bidi.[Ch] (computeTables): const correctness
3389         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3390         fill_hfill, fill_label_hfill and x from Row
3391         * lyxtext.h: prepareToPrint returns a RowMetrics
3392         * rowPainter.C: adjust
3393         * text.C (prepareToPrint): use width, not textWidth. adjust
3394         (redoParagraphInternal, cursorX): adjust
3395         * text2.C (getColumnNearX): adjust
3396         (init): put a default value to the top LyXText::width
3397
3398 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3399
3400         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3401
3402 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3403
3404         * lyxtext.h: add FontIterator class
3405
3406         * text.C (FontIterator, operator*, operator->, operator++): add
3407         (rowBreakPoint, setRowWidth): adjust (fixing a
3408         rebreaking bug)
3409
3410 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3411
3412         * BufferView_pimpl.C (workAreaDispatch): allow also
3413         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3414
3415 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3416
3417         * text.C (rowBreakPoint): fix a bug showing with very large insets
3418
3419 2004-02-25  André Pönitz  <poenitz@gmx.net>
3420
3421         * text3.C:
3422         * cursor.[Ch]: move some mathed specific code to mathed
3423
3424 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3425
3426         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3427         use_tempdir in preferences
3428         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3429         tempfile creation
3430         * lyx_main.C: ensure that tempdir is valid
3431         * lyxlex.h: correct typo
3432         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3433         * paragraph.[Ch] (isMultiLingual): make const
3434         * cursor.[Ch] (openable): make const
3435
3436 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3437
3438         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3439
3440 2004-02-20  André Pönitz  <poenitz@gmx.net>
3441
3442         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3443
3444         * cursor.[Ch]: prepare for localized getStatus()
3445
3446         * lyxtext.h:
3447         * tabular.C:
3448         * text.C:
3449         * text2.C:
3450         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3451
3452 2004-02-20  André Pönitz  <poenitz@gmx.net>
3453
3454         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3455
3456 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3457
3458         * text2.C (setCursorFromCoordinates): switch to absolute coords
3459         (cursorUp): adjust
3460         (cursorDown): adjust
3461         * text3.C (dispatch): adjust
3462
3463 2004-02-16  André Pönitz  <poenitz@gmx.net>
3464
3465         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3466           insets/ChangeLog)
3467
3468         * cursor_slice.[Ch]: remove unneeded acessor function
3469
3470         * lyxtext.h: rename rtl() to isRTL()
3471
3472         * rowpainter.C:
3473         * tabular.C:
3474         * text.C:
3475         * text2.C:
3476         * text3.C: adjust
3477
3478 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3479
3480         * rowpainter.C (paintSelection): coord fix
3481
3482 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3483
3484         * Spacing.C: compile fix
3485
3486 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3487
3488         * cursor.C (dispatch): restore current_ before returning
3489
3490 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3491
3492         * text2.C (cursorUp, cursorDown): fix coords
3493         (moveUp): fix crash
3494
3495 2004-02-12  André Pönitz  <poenitz@gmx.net>
3496
3497         * lyxtext.h:
3498         * text.C:
3499         * text2.C:
3500         * text3.C: add LCursor & parameter to most cursor movement functions
3501           remove usage of LyXText::cursorRow() and cursorPar()
3502
3503         * cursor.[Ch]: add textRow() needed members
3504
3505         * BufferView.C:
3506         * BufferView_pimpl.C:
3507         * paragraph.[Ch]:
3508         * BufferView.C:
3509         * BufferView_pimpl.C: adjust
3510
3511 2004-02-11  André Pönitz  <poenitz@gmx.net>
3512
3513         * lyxfunc.C:
3514         * BufferView.[Ch]:
3515         * BufferView_pimpl.C: shift undo/redo handling
3516
3517         * cursor.[Ch]: fix mathed crash
3518
3519         * lyxfind.C:
3520         * lyxtext.h: move selectionAsText to LCursor
3521
3522         * output_latex.C:
3523         * paragraph.C:
3524         * text.C:
3525         * text2.C:
3526         * text3.C: adjust
3527
3528         * rowpainter.C: fix excessive drawing
3529
3530 2004-02-06  André Pönitz  <poenitz@gmx.net>
3531
3532         * BufferView.[Ch]:
3533         * BufferView_pimpl.[Ch]:
3534         * text3.C: move some text specific LFUN handling
3535
3536 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3537
3538         * text3.C (checkInsetHit): adjust coords
3539         * text2.C (getColumnNearX): adjust coords
3540         (edit): adjust coords
3541         * text.C (getRowNearY): add two asserts
3542
3543 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3544
3545         * converter.C:
3546         * format.C: add using std::distance to compile on gcc 2.95/stlport
3547
3548 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3549
3550         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3551
3552 2004-02-04  André Pönitz  <poenitz@gmx.net>
3553
3554         * BufferView.[Ch] (insertInset):
3555         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3556
3557         * text2.C:
3558         * text3.C: adjust
3559
3560 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3561
3562         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3563         on the default clause of the switch
3564         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3565         wasn't catched by LCursor::dispatch
3566
3567 2004-02-03  André Pönitz  <poenitz@gmx.net>
3568
3569         * BufferView.C:
3570         * cursor.[Ch]: some additional asserts
3571
3572         * undo.[Ch]: remove LyXText dependency in interface
3573
3574         * lyxfunc.C: adjust
3575
3576         * lyxtext.h (firstPar, lastPar): remove dead functions
3577
3578         * text.C:
3579         * text2.C:
3580         * text3.C:
3581         * paragraph.[Ch]: adjust
3582
3583 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3584
3585         * lyxfind.C (find): fix argument order in call to ::find
3586
3587 2004-02-02  André Pönitz  <poenitz@gmx.net>
3588
3589         * cursor.[Ch]: remove direct access to anchor
3590
3591         * text.C: remove findText() hack
3592
3593 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3594
3595         * iterators.[Ch] (lockPath): remove in favour of...
3596         * BufferView.[Ch] (setCursor): this addition
3597         * BufferView.C (putSelectionAt): adjust
3598         * undo.C (performUndoOrRedo): adjust
3599         * lyxfunc.C (dispatch): adjust
3600
3601 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3602
3603         * iterators.C (lockPath): add a missing slice
3604         * undo.C (performUndoOrRedo): remove redundant positioning code
3605
3606 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * vc-backend.C (scanMaster): ";" -> ';'
3609
3610 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3613         std::binary_function
3614
3615         * lyxtextclass.C (compare_name): rename to...
3616         (LayoutNamesEqual): ...this
3617
3618         * lyxlex_pimpl.C (compare_tags): inherit from
3619         std::binary_function, put back into anon namespace
3620
3621         * lyxfind.C (MatchString): inherig from std::binary_function
3622         (findChange): use empty() istead of !size()
3623
3624         * format.C (FormatNamesEqual): new functor
3625         (getFormat): use it
3626         (getNumber): use it
3627         (add): use it
3628         (erase): use it
3629         (setViewer): use it
3630
3631         * converter.C (compare_Converter): rename to...
3632         (ConverterEqual): ...this, and fixup a bit.
3633         (getConverter): use it, and make function const
3634         (getNumber): use it, and make function const
3635         (add): use it
3636         (erase): use it:
3637
3638         * bufferlist.C: add using boost::bind
3639
3640         * MenuBackend.C (MenuNamesEqual): new functor
3641         (hasMenu): use it, and make function const
3642         (hasSubmenu): use nested bind to get rid of compare_memfun.
3643
3644 2004-01-30  André Pönitz  <poenitz@gmx.net>
3645
3646         * BufferView_pimpl.C:
3647         * cursor.C:
3648         * cursor.h:
3649         * cursor_slice.[Ch]:
3650         * lyxfunc.C:
3651         * lyxtext.h:
3652         * paragraph_funcs.C:
3653         * paragraph_funcs.h:
3654         * rowpainter.C:
3655         * text.C:
3656         * text2.C:
3657         * text3.C: move some of the edit(x,y) handling to the insets
3658         some coordinate changes.
3659
3660 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * text.C: add using statements for std::advance and std::distance
3663
3664         * paragraph.C: add using statement for std::distance
3665
3666         * lyxfind.C: add using statement for std::advance
3667
3668         * cursor.C (region): remove std:: from swap
3669         (openable): use nucleus in stead of operator->
3670
3671         * BufferView.C: add using statements for std::distance and std::swap
3672
3673 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3674
3675         * iterators.C: Remove the pimple, move the needed structures to
3676         the header file. Create accessor for the positions stack.
3677         (asPosIterator): remove function
3678
3679         * PosIterator.C (PosIterator): move constructors to top of file
3680         (PosIterator): reimplement the constructor taking a ParIterator in
3681         terms of setFrom.
3682         (setFrom): new function
3683         (operator!=): inline it
3684
3685 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3686
3687         * lyxfind.C (replaceAll): use std::advance
3688
3689         * iterators.h: inherit from std::iterator.
3690
3691         * PosIterator.C (advance, distance): remove
3692         * PosIterator.h: interit from std::iterator.
3693
3694 2004-01-26  André Pönitz  <poenitz@gmx.net>
3695
3696         * BufferView.[Ch]:
3697         * BufferView_pimpl.[Ch]:
3698         * InsetList.[Ch]:
3699         * PosIterator.[Ch]:
3700         * buffer.h:
3701         * bufferview_funcs.C:
3702         * cursor.[Ch]:
3703         * cursor_slice.h:
3704         * factory.[Ch]:
3705         * iterators.[Ch]:
3706         * lyxfind.C:
3707         * lyxfunc.C:
3708         * lyxtext.h:
3709         * output_docbook.C:
3710         * output_latex.C:
3711         * output_linuxdoc.C:
3712         * output_plaintext.C:
3713         * paragraph.[Ch]:
3714         * paragraph_funcs.[Ch]:
3715         * paragraph_pimpl.[Ch]:
3716         * rowpainter.C:
3717         * tabular.C:
3718         * tabular.h:
3719         * text.C:
3720         * text2.C:
3721         * text3.C: more IU:  dumps most of the rest of the mathcursor
3722     implementation into cursor.[Ch]; "globalize" a bit of it.
3723
3724 2004-01-25  Angus Leeming  <leeming@lyx.org>
3725
3726         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3727
3728 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3729
3730         * LaTeXFeatures.h: add nice_ and nice() const
3731         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3732
3733 2004-01-20  André Pönitz  <poenitz@gmx.net>
3734
3735         * BufferView.[Ch]:
3736         * BufferView_pimpl.C:
3737         * PosIterator.C:
3738         * bufferview_funcs.C:
3739         * cursor.[Ch]:
3740         * cursor_slice.[Ch]:
3741         * factory.C:
3742         * iterators.C:
3743         * lyx_cb.C:
3744         * lyxfind.C:
3745         * lyxfunc.C:
3746         * lyxtext.h:
3747         * rowpainter.C:
3748         * text.C:
3749         * text2.C:
3750         * text3.C:
3751         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3752           LCursor and mathcursor parts to LCursor and InsetBase.
3753
3754 2004-01-15  André Pönitz  <poenitz@gmx.net>
3755
3756         * cursor_slice.[Ch]: add a few covienience functions
3757
3758         * funcrequest.[Ch]: remove BufferView * member
3759
3760         * BufferView_pimpl.C:
3761         * cursor.C:
3762         * factory.[Ch]:
3763         * lyxfind.[Ch]:
3764         * lyxfunc.C:
3765         * lyxtext.h:
3766         * text3.C:
3767         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3768
3769 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3770
3771         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3772         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3773
3774 2004-01-13  André Pönitz  <poenitz@gmx.net>
3775
3776         * textcursor.[Ch]:
3777         * lyxtext.h: hide cursor and selection anchor behind accessor function
3778
3779         * BufferView.C:
3780         * BufferView_pimpl.[Ch]:
3781         * PosIterator.C:
3782         * bufferview_funcs.C:
3783         * cursor.h:
3784         * lyxfind.C:
3785         * lyxfunc.C:
3786         * text.C:
3787         * text2.C:
3788         * text3.C:
3789         * undo.C: adjust
3790
3791         * cursor.h:
3792         * cursor_slice.[Ch]: some integer type changes for inset unification
3793
3794         * lyxcursor.[hC]: remove, it's CursorSlice now.
3795
3796         * Makefile.am:
3797         * BufferView_pimpl.[Ch]:
3798         * bufferview_funcs.C:
3799         * cursor_slice.C:
3800         * lyxtext.h:
3801         * text.C:
3802         * text2.C:
3803         * text3.C:
3804         * textcursor.[Ch]: adjust
3805
3806 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3807
3808         * text2.C (undoSpan): add and use
3809         * text.C (breakParagraph): use undoSpan (fix bug 578)
3810         * lyxtext.h: adjust
3811
3812 2004-01-08  Angus Leeming  <leeming@lyx.org>
3813
3814         * BufferView_pimpl.C (MenuInsertLyXFile):
3815         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3816         * lyxfunc.C (menuNew, open, doImport):
3817         FileFilterList change to the FileDialog open and save functions.
3818
3819 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * ShareContainer.h: make isEqual and isUnique adaptable
3822
3823         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3824
3825 2004-01-07  Angus Leeming  <leeming@lyx.org>
3826
3827         * LyXAction.C:
3828         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3829
3830         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3831
3832         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3833         functions replacing find, replace and replaceAll.
3834
3835         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3836         LFUN_WORDFIND(FORWARD|BACKWARD).
3837
3838 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3839
3840         * text.C (breakParagraph): remove an outdated #warning
3841
3842 2004-01-07  André Pönitz  <poenitz@gmx.net>
3843
3844         * lyxfind.C: somewhat clearer logic
3845
3846         * text.C: prevent crash in cursorX on unitialized row cache
3847
3848 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3849
3850         * lyxcursor.[Ch] (operator>): add
3851         * textcursor.C (selStart, selEnd): use std::min and std::max
3852
3853 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * Chktex.C: include boost/format.hpp
3856
3857 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3858
3859         * InsetList.C: replace functor MathcIt with adaptable functor
3860         InsetTablePosLess
3861         (insetIterator): modify accordingly
3862
3863         * BranchList.h: move the BranchNamesEqual functor here from...
3864         * BranchList.C: ... to here
3865
3866         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3867         SameName and match.
3868         (add): replace a finding loop with std::find_if.
3869
3870 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3871
3872         * output_docbook.C: moving LatexParam functionality into
3873         .layout files
3874
3875 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3876
3877         * buffer.C: increment format to 229.
3878
3879 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3880
3881         * LaTeXFeatures.C:
3882         * lyx_sty.[Ch]: remove minipageindent_def
3883
3884         * LyXAction.C:
3885         * factory.C:
3886         * lfuns.h:
3887         * lyxfunc.C:
3888         * text3.C: remove LFUN_INSET_MINIPAGE
3889
3890 2003-12-28  Angus Leeming  <leeming@lyx.org>
3891
3892         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3893
3894 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3895
3896         * text2.C (setParagraph): fix off-by-one crash
3897
3898 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3899
3900         * output_docbook.C: header stuff for AGU
3901
3902 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3903
3904         * text2.C (redoCursor): remove
3905         * text.C:
3906         * text3.C:
3907         * BufferView_pimpl.C: remove calls to redoCursor and
3908         setCursor(cursor.par(), cursor.pos()) all around
3909
3910 2003-12-15  Angus Leeming  <leeming@lyx.org>
3911
3912         * buffer.C: up the format to 228.
3913
3914 2003-12-15  André Pönitz  <poenitz@gmx.net>
3915
3916         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3917         slices
3918
3919         * Makefile.am:
3920
3921         * BufferView_pimpl.C:
3922         * cursor.[Ch]:
3923         * lyxcursor.[Ch]:
3924         * rowpainter.[Ch]:
3925         * lyxtext.h:
3926         * text.C:
3927         * text2.C:
3928         * text3.C: adjust
3929
3930 2003-12-15  Angus Leeming  <leeming@lyx.org>
3931
3932         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3933         than getFromGUIName to manipulate the color.
3934
3935 2003-12-14  Angus Leeming  <leeming@lyx.org>
3936
3937         * BranchList.[Ch]: minimize the API.
3938         (Branch::getBranch, getColor): now return a 'const &'.
3939         (Branch::setSelected) now returns a bool set to true if the
3940         selection status changes.
3941         (BranchList::clear, size, getColor, setColor, setSelected,
3942         allBranches, allSelected, separator): removed.
3943         (BranchList::find): new functions, returning the Branch with
3944         the given name.
3945         (BranchList::add, remove): return a bool indicating that
3946         the operation was successful.
3947
3948         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3949         new InsetBranch::isBranchSlected member function.
3950
3951         * LColor.[Ch]: mimimize the API.
3952         (fill): renamed as addColor and made private.
3953         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3954         versions of these functions taking a string arg have been removed.
3955
3956         * bufferparams.C (readToken):
3957         * lyxfunc.C (dispatch):
3958         * lyxrc.C (read): changes due to the altered BranchList and
3959         LColor APIs.
3960
3961         * factory.C (createInset, readInset): changes due to altered
3962         InsetBranch c-tor.
3963
3964 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3965
3966         * factory.C:
3967         * lyxfunc.C: remove insetminipage. "minipage-insert"
3968         now produces a frameless minipage box inset.
3969
3970 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3971
3972         * textcursor.[Ch] (selStart,selEnd): add new methods
3973         remove selection::start, end, use LyXCursor::operator<
3974         * lyxcursor.[Ch] (operator<): add
3975         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3976         * BufferView.[Ch] (unsetXSel): add
3977         * text2.C (clearSelection): use unsetXSel,adjust
3978         * text.C: adjust
3979         * text3.C: adjust
3980         * rowpainter.C: adjust
3981         * bufferview_funcs.C (put_selection_at): adjust
3982
3983 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3984
3985         * BufferView_pimpl.C: small coord. correction
3986
3987 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3990         dragging over the splash screen.
3991
3992 2003-12-11  Angus Leeming  <leeming@lyx.org>
3993
3994         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3995         as it is now handled in LyXText::dispatch.
3996
3997         * text3.C (doInsertInset): remove a level of nesting.
3998
3999 2003-12-11  Angus Leeming  <leeming@lyx.org>
4000
4001         * factory.C (createInset): changes due to the changed interface to
4002         InsetCommandMailer::string2params.
4003
4004 2003-12-10  Angus Leeming  <leeming@lyx.org>
4005
4006         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4007         'dialog-show-new-inset <inset name>'
4008
4009 2003-12-10  Angus Leeming  <leeming@lyx.org>
4010
4011         * buffer.C: up the format to 227.
4012
4013         * factory.C: the box inset is now identified simply by 'Box'.
4014
4015 2003-12-10  Angus Leeming  <leeming@lyx.org>
4016
4017         * buffer.C: up the format to 226.
4018
4019         * factory.C: the note inset is now identified simply by 'Note'.
4020
4021 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4022
4023         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4024         when a pit is enough. Standarize a couple of loops.
4025
4026 2003-12-05  Angus Leeming  <leeming@lyx.org>
4027
4028         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4029         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4030         data to the re-worked "log" dialog.
4031
4032 2003-12-03  André Pönitz  <poenitz@gmx.net>
4033
4034         * PosIterator.C:
4035         * iterators.C:
4036         * lyxtext.h:
4037         * output_latex.C:
4038         * paragraph_funcs.C:
4039         * text.C:
4040         * text2.C: use Inset::getText instead of Inset::getParagraph
4041
4042 2003-12-03  André Pönitz  <poenitz@gmx.net>
4043
4044         * buffer.[Ch]:
4045         * lyxtext.h:
4046         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4047         InsetText::read() as LyXText::read()
4048
4049 2003-12-02  Angus Leeming  <leeming@lyx.org>
4050
4051         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4052         type. Add a comment in the implementation that the function uses
4053         the stream's bad() function rather than fail() as the std::streams
4054         would do.
4055
4056 2003-12-02  André Pönitz  <poenitz@gmx.net>
4057
4058         * lyxlex.[Ch]: make interface more similar to std::stream
4059
4060         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4061
4062 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4063
4064         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4065
4066 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4067
4068         * vspace.[Ch]: remove VSpace::NONE
4069
4070 2003-12-01  André Pönitz  <poenitz@gmx.net>
4071
4072         * buffer.[Ch]:
4073         * lyxtext.h: move ParagraphList member to LyXText
4074         rename LyXText::ownerParagraphs to LyXText::paragraph
4075
4076         * CutAndPaste.C:
4077         * bufferview_funcs.C:
4078         * iterators.[Ch]:
4079         * lyx_cb.C:
4080         * paragraph.C:
4081         * rowpainter.C:
4082         * tabular.C:
4083         * text.C:
4084         * text2.C:
4085         * text3.C: adjust
4086
4087         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4088
4089         * undo.C: fix cursor positioning
4090
4091 2003-12-01  John Levon  <levon@movementarian.org>
4092
4093         * BufferView_pimpl.C: fix a crash on exit with
4094         a buffer open
4095
4096 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4097
4098         * BranchList.C: fix setSelected() method.
4099
4100 2003-11-28  André Pönitz  <poenitz@gmx.net>
4101
4102         * ParagraphParameters.[Ch]:
4103         * ParameterStruct.h: remove space above/below from Paragraph to
4104          InsetVSpace
4105
4106         * BufferView_pimpl.C:
4107         * factory.C:
4108         * lyxfunc.C:
4109         * lyxtext.h:
4110         * output_latex.C:
4111         * paragraph.C:
4112         * paragraph_funcs.C:
4113         * rowpainter.[Ch]:
4114         * text.C:
4115         * text2.C:
4116         * text3.C: adjust
4117
4118 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4119
4120         * factory.C: Syntax change for CharStyles
4121
4122 2003-11-28  André Pönitz  <poenitz@gmx.net>
4123
4124         * BufferView.[Ch]:
4125         * BufferView.[Ch]:
4126         * buffer.[Ch]:
4127         * buffer.[Ch]: move LyXText member
4128
4129 2003-11-28  André Pönitz  <poenitz@gmx.net>
4130
4131         * BufferView.[Ch]: make LyXText * text a private member
4132
4133         * BufferView_pimpl.C:
4134         * cursor.C:
4135         * iterators.C:
4136         * lyx_cb.C:
4137         * lyxfind.C:
4138         * lyxtext.h:
4139         * rowpainter.[Ch]:
4140         * text.C:
4141         * text2.C:
4142         * undo.C: adjust
4143
4144         * output_plaintext.C: cleanup
4145
4146 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4147
4148         * buffer.C:
4149         * lyxtextclass.[Ch]: parametrize SGML document header
4150
4151 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4152
4153         * converter.[Ch]:
4154         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4155         getFlavor().
4156
4157 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4158
4159         * text2.C (setFont): rework using PosIterator (no more recursive)
4160         (setCharFont): no more needed
4161         (setLayout): no more selection cursors fiddling (done by redoCursor)
4162         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4163         destroy remaining ones)
4164
4165 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4166
4167         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4168         * lyxtext.h: ditto
4169         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4170         selection cursors
4171         * lyxfunc.C: adjust
4172         * text3.C: adjust + re-allow multi par depth changes
4173         * textcursor.C: simplify a bit
4174
4175 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4176
4177         * src/buffer.C:
4178         * src/lyxlayout.C:
4179         * src/lyxlayout.h:
4180         * src/lyxtext.h:
4181         * src/output_docbook.C:
4182         * src/output_latex.C:
4183         * src/paragraph.C:
4184         * src/paragraph.h:
4185         * src/sgml.C:
4186         * src/sgml.h:
4187         * src/text2.C: Introducing a number of tags parametrizing various
4188         XML formats that we may want to support
4189
4190 2003-11-25  André Pönitz  <poenitz@gmx.net>
4191
4192         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4193
4194         * lyxtext.h (leftMargin/rightMargin): simplify interface
4195
4196         * rowpainter.C:
4197         * text.C:
4198         * text2.C:
4199         * text3.C: adjust
4200
4201 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4202
4203         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4204         master file to any child files. Fixes bug 546.
4205
4206 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4207
4208         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4209
4210 2003-11-24  André Pönitz  <poenitz@gmx.net>
4211
4212         * rowpainter.C: simplification
4213
4214         * text2.C (updateCounters): remove call to redoParagraph on
4215         changed labels as this is far too expensive.
4216
4217 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4218
4219         * converter.C (convert): fix a crash: this function gets
4220         called with buffer == 0 from importer code.
4221
4222 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * text3.C (cursorPrevious): make sure that we do not compare
4225         iterators form different containers.
4226         (cursorNext): ditto
4227
4228         * rowpainter.C (paintSelection): make sure that we do not compare
4229         iterators from different containers.
4230
4231         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4232         iterators from different ParagraphList containers.
4233         [NEXT] ditto
4234
4235         * text2.C (LyXText): change order of initialization slightly
4236         (operator=): new function. copy all variables except cache_par_
4237         (moveUp): make sure that we do not compare iterators from
4238         different ParagraphList constainers.
4239         (moveDown): ditto
4240
4241         * text.C (firstPar): new function
4242         (lastPar): new function
4243         (endPar): new function
4244
4245         * lyxtext.h: move things around and group public functions, public
4246         variables, private functions, private variables
4247
4248 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4249
4250         * factory.C: change call to InsetERT constructor to avoid
4251         additional invocation of method status
4252         * text2.C (toggleInset): remove redundant update() call
4253         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4254         instead of a Bufferview pointer
4255
4256 2003-11-21  André Pönitz  <poenitz@gmx.net>
4257
4258         * rowpainter.C: simplification
4259
4260 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4261
4262         * text3.C (dispatch): make possible to extend a word/row selection
4263         with the mouse
4264
4265 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4266
4267         * lyxtext.h: x0_,y0_ -> xo_,yo_
4268         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4269         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4270         * rowpainter.C (paintRows): paint full paragraphs
4271
4272 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4273
4274         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4275         screen coordinates)
4276
4277 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4278
4279         * lyxtext.h: add x0_, y0_
4280         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4281         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4282
4283 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4284
4285         * text2.C (setCursorIntern): move the x_target update here *
4286         * text3.C: change some bv() to true/false in calls to
4287         cursorUp/Down/Right/Left
4288         * cursor.C: use helper function.
4289
4290 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4291
4292         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4293         * paragraph_funcs.[Ch]: correct comment
4294         * rowpainter.C: do not paint selections away from bv->cursor()
4295         Fix a long standing selection painting bug.
4296         * text3.C: generalize mouse-selection code to LyXTexts other that
4297         top one
4298         * textcursor.C: do not use y coords if we can use par offsets
4299
4300 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4301
4302         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4303         cursor position after e.g. inset insert)
4304
4305 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4306
4307         * lyxfind.C (replace): adjust to locking removal + some
4308         code simplification
4309
4310 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4311
4312         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4313         of the path
4314
4315 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4316
4317         * lyxlayout.[Ch]:
4318         * output_docbook.C: XML sanitation: new layout
4319         parameters InnerTag and CommandDepth
4320
4321 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4322
4323         * BufferView_pimpl.C:
4324         * factory.C:
4325         * text3.C: Fix the insertion and modification of button-style
4326         insets
4327
4328 2003-11-13  André Pönitz  <poenitz@gmx.net>
4329
4330         * InsetList.[Ch]: remove deleteLyXText
4331
4332         * paragraph.[Ch]: cache beginOfBody position
4333
4334         * Bidi.C:
4335         * text.C:
4336         * text2.C:
4337         * text3.C: remove superfluous update() calls
4338
4339         * vspace.C: cleanup
4340
4341 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4342
4343         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4344         * BufferView.C (fitLockedInsetCursor): remove
4345         * cursor.[Ch] (getDim): add
4346         * text.C (getRowNearY): add faster version
4347         * text3.C: remove some update calls
4348
4349 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4350
4351         * LaTeXFeatures.C:
4352         * LyXAction.C:
4353         * MenuBackend.C:
4354         * MenuBackend.h:
4355         * dispatchresult.h:
4356         * factory.C:
4357         * lfuns.h:
4358         * lyxfunc.C:
4359         * lyxtextclass.C:
4360         * lyxtextclass.h:
4361         * text3.C: The Character Style /XML short element patch.
4362
4363 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4364
4365         * text3.C:
4366         * factory.C: Small step to solving 'unable to insert some insets'
4367         problem
4368
4369 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4370
4371         * cursor.[Ch] (updatePos): new function for updating the y
4372         position of the tip inset
4373         * bufferview_funcs.C (put_selection_at):
4374         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4375
4376 2003-11-11  André Pönitz  <poenitz@gmx.net>
4377
4378         * text.C: remove big comment on invalid Paragraph pointers as it is
4379         not valid anymore
4380
4381 2003-11-11  André Pönitz  <poenitz@gmx.net>
4382
4383         * text_funcs.[Ch]: merge with ...
4384
4385         * text.C: ... this
4386
4387         * lyxtext.h:
4388         * text2.C:
4389         * text3.C: adjust
4390
4391         * Makefile.am: remove text_funcs.[Ch]
4392
4393 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4394
4395         * cursor.C (getPos): return absolute cached y coord
4396
4397         * BufferView_pimpl.C (fitCursor): new simplistic code
4398         (workAreaDispatch): add a fitCursor call
4399
4400 2003-11-10  André Pönitz  <poenitz@gmx.net>
4401
4402         * BufferView.[Ch]:
4403         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4404
4405 2003-11-10  André Pönitz  <poenitz@gmx.net>
4406
4407         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4408         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4409         indicate that the cursor needs to leave an inset
4410
4411         * lyxtext.h: remove inset locking
4412
4413         * cursor.[Ch]: re-implement functionality provided by inset locking
4414
4415         * BufferView.[Ch]:
4416         * BufferView_pimpl.[Ch]:
4417         * LyXAction.C:
4418         * bufferview_funcs.[Ch]:
4419         * factory.C:
4420         * funcrequest.[Ch]:
4421         * iterators.C:
4422         * lyx_cb.C:
4423         * lyxfind.C:
4424         * lyxfunc.C:
4425         * text.C:
4426         * text2.C:
4427         * text3.C:
4428         * undo.C: adjust
4429
4430 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4431
4432         * PosIterator.[Ch]: replace the stack with a vector, add inset
4433         accesor
4434         * iterators.[C]: adjust
4435
4436 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4437
4438         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4439         replaced
4440         * paragraph_funcs.C (readParToken): put the correct id in the
4441         error item, not the id of the top paragraph
4442
4443 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4444
4445         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4446         * bufferview_funcs.C (put_selection_at): use the above
4447
4448 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4451
4452 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4453
4454         * output_linuxdoc.h:
4455         * output_plaintext.h:
4456         * output.h:
4457         * output_docbook.h: add #include statements
4458
4459 2003-11-05  José Matos  <jamatos@lyx.org>
4460
4461         * output_docbook.[Ch]:
4462         * output_latex.[Ch]:
4463         * output_linuxdoc.[Ch]:
4464         * output_plaintext.[Ch]: New files for output formats.
4465         * output.[Ch]: New file for helper functions.
4466
4467         * buffer.[Ch]:
4468         * paragraph_funcs.[Ch]: output functions moved to new files.
4469
4470         * outputparams.h: rename of latexrunparams.h
4471
4472         * LaTeX.[Ch]:
4473         * buffer.[Ch]:
4474         * bufferlist.[Ch]:
4475         * converter.[Ch]:
4476         * exporter.C:
4477         * paragraph.[Ch]:
4478         * paragraph_funcs.[Ch]:
4479         * paragraph_pimpl.[Ch]:
4480         * tabular.[Ch]: rename ascii to plaintext
4481         and LatexRunParams to OutputParams.
4482
4483 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4484
4485         * iterators.[Ch] (text): require bv argument
4486         * undo.C (recordUndo):
4487         * lyxfunc.C (dispatch):
4488         * bufferview_funcs.C (put_selection_at): adjust
4489
4490 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4491
4492         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4493
4494 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4495
4496         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4497         nestings
4498
4499 2003-11-04  André Pönitz  <poenitz@gmx.net>
4500
4501         * cursor.[Ch]: restructure
4502
4503         * BufferView.[Ch]:
4504         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4505
4506         * iterators.[Ch] (asCursor): remove
4507
4508         * lfuns.h: remove LFUN_INSET_EDIT
4509
4510         * lyxfunc.C:
4511         * tabular.C:
4512         * text.C:
4513         * text2.C:
4514         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4515
4516 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * lyxfind.[Ch]: complete overhaul
4519         * BufferView_pimpl.C:
4520         * lyxfunc.C: adjust
4521         * paragraph.[Ch] (insert): add
4522
4523 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4524
4525         * BufferView.[Ch]:
4526         * lyxtext.h:
4527         * text.C: remove dead spellcheck code
4528
4529 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * dispatchresult.h: add a val setter
4532
4533         * cursor.C (dispatch): use a tempvar for data_[i]
4534
4535 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4536
4537         * PosIterator.[Ch]: compile fix
4538
4539 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4540
4541         * text.C (cursorPar): deactivate the cursor cache
4542
4543 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4544
4545         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4546
4547 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * text3.C (dispatch): adjust for new DisptchResult semantics.
4550
4551         * lyxfunc.C (dispatch): handle update when return from
4552         Cursor::dispatch, adjust for new DispatchResult semantics.
4553
4554         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4555         DispatchResult(true) mean to not update. Add class functions for
4556         setting dispatched and update, as well as reading.
4557
4558         * cursor.C (dispatch): don't handle update here
4559
4560 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4563         * trans_mgr.C: adjust
4564
4565         * paragraph_funcs.C (readParToken): exception safety
4566
4567         * lyxvc.h: store the vcs pointer in a scoped_ptr
4568         * lyxvc.C: adjust
4569
4570         * lyxsocket.C (serverCallback): exception safety
4571
4572         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4573
4574         * ispell.C (clone): make it return a auto_ptr
4575
4576         * factory.C (createInset): exception safety
4577         (readInset): exception safety
4578
4579         * bufferlist.C (newBuffer): exception safety
4580
4581         * Thesaurus.C (Thesaurus): use initialization for aik_
4582
4583         * MenuBackend.C (expandToc): exception safety.
4584
4585 2003-11-03  André Pönitz  <poenitz@gmx.net>
4586
4587         * buffer.C:
4588         * buffer.h:
4589         * bufferview_funcs.C: remove getInsetFromId()
4590
4591         * lyxcursor.[Ch]:
4592         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4593
4594         * lyxfunc.C:
4595         * text2.C:
4596         * text3.C: adjust
4597
4598 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4599
4600         * PosIterator.C (distance, advance): new
4601         * bufferview_funcs.[Ch] (put_selection_at): new
4602         * iterators.[Ch] (lockPath): new
4603
4604 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4605
4606         * iterators.[Ch] (asPosIterator): added
4607         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4608         * PosIterator.[Ch]: added
4609
4610 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * text3.C:
4613         * lyxfunc.C:
4614         * cursor.C (dispatch):
4615         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4616
4617         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4618         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4619         contructor, add a class function dispatched. Remove operator>=
4620
4621 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4622
4623         * debug.C: only use the default constructor for debugstream
4624         (lyxerr) here.
4625
4626         * main.C (main): include debug.h and setup the lyxerr streambuf
4627         here.
4628
4629 2003-10-31  José Matos  <jamatos@lyx.org>
4630
4631         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4632
4633         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4634         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4635         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4636         * paragraph_pimpl.C (simpleTeXSpecialC):
4637         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4638         add LatexRunParams argument.
4639
4640         * exporter.C (Export): change call accordingly.
4641
4642         * latexrunparams.h: add new member to take care of the other backends.
4643 2003-10-30  José Matos  <jamatos@lyx.org>
4644
4645         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4646         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4647         factorise code for paragraph output.
4648         * buffer.[Ch]:
4649         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4650         move functions.
4651
4652 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * text3.C (dispatch):
4655         * lyxfunc.C (dispatch):
4656         * cursor.C (dispatch):
4657         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4658
4659         * dispatchresult.h: make the dispatch_result_t ctor explicit
4660
4661 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4662
4663         * sgml.[Ch]:
4664         * buffer.C: small refactoring of docbook stuff
4665
4666 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4669         meaning.
4670
4671 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4674         operator dispatch_result_t, and operators for == != and >=
4675
4676         * cursor.C (dispatch): adjust for operator dispatch_result_t
4677         removal. comment out call to update
4678
4679         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4680
4681 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * text3.C:
4684         * text2.C:
4685         * text.C:
4686         * lyxtext.h:
4687         * lyxfunc.C:
4688         * cursor.C:
4689         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4690         (dispatch):
4691
4692         * dispatchresult.h: new file, DispatchResult broken out of
4693         insets/insetbase.h
4694
4695         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4696
4697 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4698
4699         * text.C (rowBreakPoint): put a hack inside #if 0
4700
4701 2003-10-28  André Pönitz  <poenitz@gmx.net>
4702
4703         * lyxtext.h:
4704         * metricsinfo.C:
4705         * paragraph_funcs.C:
4706         * rowpainter.C:
4707         * text.C:
4708         * text2.C: general cleanup (lots of small stuff)
4709
4710 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4711
4712         * text2.C (cursorEnd): simple fix to the "end key goes to one
4713         before the end on last row" bug
4714
4715 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4716
4717         * text.C (backspace): fix the "zombie characters"
4718
4719 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4720
4721         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4722
4723 2003-10-27  André Pönitz  <poenitz@gmx.net>
4724
4725         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4726
4727         * factory.C: handle new InsetPagebreak, InsetLine
4728
4729         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4730         and move handling into new InsetPagebreak, InsetLine
4731
4732         * BufferView_pimpl.C:
4733         * LyXAction.C:
4734         * ParagraphParameters.C:
4735         * ParameterStruct.h:
4736         * lyxfunc.C:
4737         * lyxtext.h:
4738         * paragraph.C:
4739         * paragraph.h:
4740         * paragraph_funcs.C:
4741         * paragraph_pimpl.C:
4742         * rowpainter.C:
4743         * text.C:
4744         * text2.C:
4745         * text3.C: adjust
4746
4747 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4748
4749         * text.C:
4750         * lyxrow_funcs.[Ch]:
4751         * Bidi.C:
4752         * paragraph.C:
4753         * lyxtext.h:
4754         * rowpainter.C:
4755         * text2.C:
4756         * text3.C: remove lastPos uses in favour of Row::endpos
4757
4758 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4759
4760         * undo.C (performUndoOrRedo): fix two crashes by setting a
4761         cursor by hand and reordering some calls. Use bv->lockInset instead
4762         of inset->edit because the latter loses cursor information
4763
4764 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4765
4766         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4767         by Martin
4768         (rowBreakPoint): fix width. change point to point + 1.
4769         Add a missing check.
4770
4771 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4772
4773         * MenuBackend.C:
4774         * lyxfunc.C: fix (at least partly) the problems
4775         with the Nav menu and headers inside branch insets
4776         reported by Kayvan
4777
4778 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4779
4780         * paragraph.C (getChar): add strong asserts
4781
4782         * lyxrow_funcs.C (lastPos): remove hideous hack
4783
4784         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4785         (fill): adjust to that (avoid an infinite loop)
4786
4787 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4788
4789         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4790
4791 2003-10-23  André Pönitz  <poenitz@gmx.net>
4792
4793         * RowList_fwd.h: change list<> to vector<> to gain speed
4794         after suggestion from Alfredo
4795
4796 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4797
4798         * lyxtext.h: move the bidi stuff from here...
4799         * text.C: and here
4800         * text2.C: and here
4801         * Bidi.[Ch]: ... to here
4802
4803 2003-10-23  André Pönitz  <poenitz@gmx.net>
4804
4805         * lyxtext.h:
4806         * text.C (isLastRow, isFirstRow): new functions
4807
4808         * paragraph.h: new width cache member
4809
4810         * rowpainter.C: replace RowList::iterator with Row & where possible
4811
4812         * lyxfunc.C: replace several view()->text with a single call
4813
4814         * toc.C: fix 'unused' warning
4815
4816 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4819         when woring with stream::pos_type
4820         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4821
4822 2003-10-22  André Pönitz  <poenitz@gmx.net>
4823
4824         * lyxtext.h:
4825         * text.C: use Row & instead of RowList::iterator
4826
4827         * lyxrow.h: rename end() to endpos()
4828
4829         * rowpainter.C:
4830         * text.C:
4831         * text2.C: adjust
4832
4833 2003-10-22  Angus Leeming  <leeming@lyx.org>
4834
4835         * buffer.[Ch] (fully_loaded): new member function, returning true
4836         only when the file has been loaded fully.
4837         Used to prevent the premature generation of previews and by the
4838         citation inset to prevent computation of the natbib-style label.
4839
4840         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4841         templates are all set up.
4842
4843         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4844
4845 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4846
4847         * text.C: fixed an "oops" in the "is a bit silly"
4848         bug fix
4849
4850 2003-10-21  André Pönitz  <poenitz@gmx.net>
4851
4852         * FuncStatus.[Ch]: small stuff, whitespace
4853
4854         * lyxfont.[Ch]: operator<<() for debug reasons
4855
4856         * lyxfunc.C:
4857         * lyxrow_funcs.C:
4858         * lyxtext.h: whitespace, spelling
4859
4860         * paragraph.C: naming of variables
4861
4862         * text.C:
4863         * text2.C: small stuff
4864
4865
4866 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4867
4868         * text.C: (1) finish off the inset display() work;
4869         (2) fix the "is a bit silly" bug (accessing char
4870         past end of par).
4871
4872 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4873
4874         * text.C: re-introduce display() for insets, fixing the
4875         various bugs (stretch of line above, math inset
4876         positioning, ...)
4877
4878 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4879
4880         * text.C (rightMargin): remove spurious semicolon
4881
4882         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4883         1415)
4884
4885 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4886
4887         * text3.C: fix one crash due to wrong cursor def
4888
4889 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4890
4891         * vc-backend.C (scanMaster): make the regex static
4892
4893         * LaTeX.C (scanAuxFile): make the regexs static
4894
4895         * text3.C (doInsertInset, dispatch, dispatch):
4896         * text2.C (cursorUp, cursorDown):
4897         * text.C (selectNextWordToSpellcheck):
4898         * BufferView_pimpl.C (dispatch):
4899         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4900
4901 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4902
4903         * lyxsocket.C: include <cerrno>
4904
4905 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * lyxfunc.C (dispatch): remove textcache stuff
4908
4909         * bufferlist.C (release): remove textcache stuff
4910         (closeAll): ditto
4911
4912         * TextCache.C: delete file
4913         * TextCache.h: delete file
4914
4915         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4916
4917         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4918         delete of the bv_->text.
4919         (resizeCurrentBuffer): remove texcache stuff
4920         (workAreaResize): ditto
4921
4922 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4923
4924         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4925         action.
4926
4927 2003-10-16  André Pönitz  <poenitz@gmx.net>
4928
4929         * lyxrow.[Ch]:
4930         * paragraph.h:
4931         * rowpainter.C:
4932         * text.C:
4933         * text2.C:
4934         * text3.C: speed up by storing y positions per paragraph plus per-row
4935         offset instead of having a 'full' y position in the row.
4936
4937 2003-10-15  André Pönitz  <poenitz@gmx.net>
4938
4939         * iterators.[Ch]:
4940         * iterators.[Ch]:
4941         * undo.[Ch]: make undo aware of inner insets
4942
4943 2003-10-14  Angus Leeming  <leeming@lyx.org>
4944
4945         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4946         static member functions LyX::ref() and LyX::cref.
4947         (lastfiles): new accessor functions for the new lastfiles_ member var.
4948         (addLyXView, views_): add a new LyXView to the list of views_.
4949         (updateInset): loop over all LyXViews to call their own updateInset
4950         member function, returning a pointer to the Buffer owning the inset.
4951
4952         * BufferView_pimpl.C (loadLyXFile):
4953         * MenuBackend.C (expandLastfiles):
4954         * bufferlist.C (MenuWrite, QuitLyX):
4955         lastfiles is no longer a global variable.
4956         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4957
4958         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4959         static function. Access through LyX::cref().emergencyCleanup().
4960
4961 2003-10-14  André Pönitz  <poenitz@gmx.net>
4962
4963         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4964
4965         * undo.[Ch]: restoring part of 'undo in insets'
4966
4967         * Makefile.am:
4968         * undo_funcs.[Ch]: merge with undo.[Ch]
4969
4970         * tabular.C: small cleansing stuff
4971
4972 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4973
4974         * paragraph_funcs.C (readParToken): report unknown insets as error
4975         boxes. Use the outer paragraph as location (also for unknown
4976         tokens).
4977
4978         * factory.C (readInset): do not abort on reading an unknown inset.
4979         Eat it and return 0.
4980
4981 2003-10-13  Angus Leeming  <leeming@lyx.org>
4982
4983         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4984
4985         * lyxrc.C: displayTranslator is now a function,
4986         declared in GraphicsTypes.h.
4987
4988 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4989
4990         * format.C: new placeholder $$a to pass the socket address.
4991
4992         * bufferlist.[Ch]: new function getBufferFromTmp.
4993
4994         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4995           files in the temporary dir.
4996
4997 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4998
4999         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5000
5001         * Makefile.am: add lyxsocket.[Ch].
5002
5003         * lyx_main.C (error_handler): handle SIGPIPE.
5004
5005 2003-10-13  André Pönitz  <poenitz@gmx.net>
5006
5007         * BufferView_pimpl.C:
5008         * lyxtext.h:
5009         * text.C:
5010         * text2.C:
5011         * text3.C:
5012         * undo_funcs.[Ch]: use paroffset_type instead of
5013           ParagraphList::iterators to prevent multiple conversion
5014           (and get a more robust interface)
5015
5016 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5019         * lyxtext.h: ditto
5020         * text3.C (dispatch): ditto
5021
5022 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5025         move the onlyfile, use onlyfile instead of foundfile in a couple
5026         of places.
5027
5028         * DepTable.C (update): flush the error stream a bit more
5029
5030 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * lyxserver.C (callback): adjust
5033
5034         * lyxfunc.C (getStatus): add a missing brace in commented code
5035         (ensureBufferClean): reindent
5036         (dispatch): delete version taking a string
5037
5038 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5039
5040         * LaTeX.C (deplog): move found file handlig from here...
5041         (handleFoundFile): .. to new function here.
5042         (deplog): make sure to discover several files mentioned on the
5043         same log line.
5044
5045 2003-10-10  André Pönitz  <poenitz@gmx.net>
5046
5047         * lyxfunc.C:
5048         * lyxtext.h:
5049         * tabular.C:
5050         * text.C:
5051         * text2.C:
5052         * text3.C: fix some of the tabular crashes
5053
5054 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5055
5056         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5057
5058         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5059
5060 2003-10-09  André Pönitz  <poenitz@gmx.net>
5061
5062         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5063
5064         * BufferView.C:
5065         * BufferView_pimpl.C:
5066         * bufferview_funcs.C:
5067         * lyx_cb.C:
5068         * lyxcursor.C:
5069         * lyxfind.C:
5070         * lyxfunc.C:
5071         * lyxtext.h:
5072         * text.C:
5073         * text2.C:
5074         * text3.C:
5075         * text_funcs.[Ch]:
5076         * textcursor.[Ch]:
5077         * undo_funcs.C: adjust
5078
5079 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * text2.C (incrementItemDepth): new function, use a backtracking
5082         algorithm to discover the correct item depth.
5083         (resetEnumCounterIfNeeded): new function, use a backtracking
5084         algorithm to discover if counter reset is needed.
5085         (setCounter): use them. Simplify a bit. Add different labels for
5086         different item depths for itemize.
5087
5088         * paragraph.C (Paragraph): remove initialization of enumdepth
5089         (operator=): ditto
5090
5091         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5092         enumerate and itemize. Change the type of itemdepth to signed char.
5093
5094 2003-10-08  André Pönitz  <poenitz@gmx.net>
5095
5096         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5097           thing assignable.
5098         * text.C:
5099         * text2.C: adjust
5100
5101         * tabular.[Ch]: fix crash after 'row-insert'
5102
5103 2003-10-08  Angus Leeming  <leeming@lyx.org>
5104
5105         Fix doxygen warnings.
5106
5107         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5108         Remove CutAndPaste:: prefix from header file declaration.
5109
5110         * LColor.h (fill): remove LColor:: prefix from declaration.
5111
5112         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5113         use lyx::depth_type rather than Paragraph::depth_type so that
5114         header file and .C file match.
5115
5116         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5117
5118         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5119         * aspell.C: \file aspell_local.C -> \file aspell.C
5120         * gettext.C: \file gettext.C -> \file src/gettext.C
5121         * gettext.h: \file gettext.h -> \file src/gettext.h
5122         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5123         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5124         * text.C: \file text.C -> \file src/text.C
5125
5126         * toc.C: move comment so that doxygen is not confused.
5127
5128 2003-10-07  Angus Leeming  <leeming@lyx.org>
5129
5130         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5131
5132 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5133
5134         * aspell.C:
5135         * aspell_local.h: add forgotten std::string's.
5136
5137 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5138
5139         * LaTeXFeatures.C:
5140         * LyXAction.C:
5141         * factory.C:
5142         * lfuns.h:
5143         * lyxfunc.C:
5144         * text3.C: The Box patch. Fancybox support, minipage, parbox
5145
5146 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5147
5148         * CutAndPaste.h:
5149         * DepTable.h:
5150         * FloatList.h:
5151         * LaTeXFeatures.h:
5152         * ParagraphParameters.h:
5153         * TextCache.h:
5154         * Thesaurus.h:
5155         * bufferlist.h:
5156         * exporter.h:
5157         * importer.h:
5158         * lastfiles.h:
5159         * lyxfind.h:
5160         * lyxfont.h:
5161         * lyxlex.h:
5162         * lyxtextclasslist.h:
5163         * messages.h:
5164         * paragraph.h:
5165         * paragraph_pimpl.C:
5166         * textcursor.h: add <string> and other small fixes to make Lars'
5167         std::string patch compile with STLport.
5168
5169 2003-10-06  Angus Leeming  <leeming@lyx.org>
5170
5171         * LColor.h: Add missing #include <string>.
5172
5173 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5174
5175         * All most all file in all subdirs: Make <string> be the prefered
5176         way of getting to std::string, add using declarations.
5177
5178 2003-10-06  André Pönitz  <poenitz@gmx.net>
5179
5180         * metricsinfo.C: initialize LyXFont before changing attribute.
5181         (fixes the 'math in \emph is upright' bug)
5182
5183 2003-10-06  André Pönitz  <poenitz@gmx.net>
5184
5185         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5186
5187 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5188
5189         * graph.C:
5190         * paragraph_pimpl.C: Small fixes to build using STLport
5191
5192 2003-10-02  André Pönitz  <poenitz@gmx.net>
5193
5194         * lyxfunc.C:
5195         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5196
5197 2003-10-01  André Pönitz  <poenitz@gmx.net>
5198
5199         * factory.C: assert early
5200
5201 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * lyx_main.C: remove the global debug object
5204
5205         * debug.h: adjust for new debugstream
5206
5207         * debug.C: adjust for new debugstream and keep the global debug
5208         object here.
5209
5210 2003-09-22  Angus Leeming  <leeming@lyx.org>
5211
5212         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5213         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5214         an incomplete class LyXFont.
5215
5216 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5217
5218         * factory.C: bug fix in branches
5219
5220 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * lyxfunc.C (processKeySym): adjust
5223         (dispatch): adjust
5224         (dispatch): change arg name from ev to func, adjust
5225         (sendDispatchMessage): ditto
5226
5227         * lyx_main.C (defaultKeyBindings): adjust keybindings
5228         (deadKeyBindings): ditto
5229
5230         * kbsequence.C (addkey): return a FuncRequest
5231
5232         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5233
5234         * kbmap.C (bind): take a FuncRequest as arg, adjust
5235         (read): adjust
5236         (lookup): adjust
5237         (defkey): change to take a FuncRequest as arg, adjust
5238         (findbinding): take a FuncRequest as arg, adjust.
5239
5240         * funcrequest.h (operator=): added
5241
5242         * funcrequest.C (FuncRequest): default kb_action changed from
5243         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5244
5245         * buffer.C (dispatch): simplify
5246         (dispatch): adjust to take a FuncRequest as arg, adjust
5247
5248         * boost.C (assertion_failed): change assertion message slightly
5249
5250         * ToolbarBackend.C (read): simplify
5251
5252         * MenuBackend.C (binding): adjust call to findbinding, add a
5253         message if no binding is found.
5254         (read): simplify
5255         (expandToc): correct by adding a empty FuncRequest
5256
5257         * LyXAction.C: include <boost/assert.hpp>
5258         (isPseudoAction): delete function
5259         (LookupFunc): change name to...
5260         (lookupFunc): this. change return type to FuncRequest.
5261         (getActionName): take kb_action as arg, simplify
5262         (funcHasFlag): add an assert, simplify.
5263
5264 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * toc.C (action): return a FuncRequest, simplify
5267
5268         * lyxfunc.C (processKeySym): adjust
5269         (getStatus): delete version that takes an int.
5270         (getStatus): adjust
5271         (dispatch): delete version that takes action as int
5272         (dispatch): adjust
5273         (sendDispatchMessage): simplify and adjust
5274
5275         * funcrequest.C (getArg): take unsigned int as arg
5276
5277         * ToolbarBackend.C (read): adjust
5278         (add): delete version that takes func as a string.
5279         (getIton): take a FuncRequest as arg
5280
5281         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5282         action.
5283
5284         * MenuBackend.C (MenuItem): add a new construct that only takes a
5285         Kind, simplify the constructor use for submenus.
5286         (add): adjust
5287         (expandLastfiles): adjust
5288         (expandDocuments): adjust
5289         (expandFormats): adjust
5290         (expandFloatListInsert): adjust
5291         (expandFloatInsert): adjust
5292         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5293
5294         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5295         Remove class variables lyx_pseudo_map and lyx_arg_map
5296
5297         * LyXAction.C (searchActionArg): delete function
5298         (getPseudoAction): delete function
5299         (retrieveActionArg): delete function
5300         (LookupFunc): make it return kb_action, simplify.
5301         (getActionName): simplify
5302
5303         * factory.C (createInset): fix new bug
5304
5305 2003-09-19  Angus Leeming  <leeming@lyx.org>
5306
5307         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5308         masterFilename_ parameter in the include inset.
5309
5310         * factory.C (createInset): changes due to the changes to InsetInclude.
5311
5312 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5313
5314         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5315
5316 2003-09-18  Angus Leeming  <leeming@lyx.org>
5317
5318         * buffer.C:
5319         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5320         Inset::fillWithBibKeys.
5321         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5322
5323 2003-09-18  Angus Leeming  <leeming@lyx.org>
5324
5325         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5326         variables.
5327         (ctor): pass and store a 'Buffer const &'
5328         (buffer): new member function.
5329
5330         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5331         '*this' to the LaTeXFeatures ctor.
5332
5333 2003-09-18  Angus Leeming  <leeming@lyx.org>
5334
5335         * LColor.h:
5336         * lyxfont.C:
5337         * lyxfont.h:
5338         * lyxtext.h:
5339         * text.C: rename EnumLColor as LColor_color.
5340
5341 2003-09-18  Angus Leeming  <leeming@lyx.org>
5342
5343         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5344         remove #include "insets/insetbase.h" from cursor.h.
5345
5346 2003-09-18  Angus Leeming  <leeming@lyx.org>
5347
5348         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5349         InsetOld_code to remove #include "inset.h".
5350
5351         * iterators.C: add #include "insets/inset.h"
5352
5353 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5354
5355         * BufferView.C: remove more locking stuff that apparently doesn't
5356         do anything sensible.
5357
5358 2003-09-16  André Pönitz  <poenitz@gmx.net>
5359
5360         * paragraph.[Ch]:
5361         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5362           performance boost.
5363
5364 2003-09-16  Angus Leeming  <leeming@lyx.org>
5365
5366         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5367
5368         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5369         arg/return type.
5370
5371         * paragraph.h: remove #include "lyxfont.h". Forward declare
5372         LyXFont_size.
5373
5374 2003-09-16  Angus Leeming  <leeming@lyx.org>
5375
5376         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5377         of support/textutils.h.
5378         (isWord): move the contents of support/textutils.h's IsWordChar here.
5379
5380         * buffer.C:
5381         * lyxfind.C:
5382         * rowpainter.C:
5383         * text.C:
5384         * text2.C: add #include "paragraph.h".
5385
5386         * rowpainter.C:
5387         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5388
5389 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * main.C:
5392         * lyx_main.C:
5393         * lyx_cb.C:
5394         * buffer.C:
5395         * LaTeX.C: use namespace alias for lyx::support::os
5396
5397 2003-09-16  Angus Leeming  <leeming@lyx.org>
5398
5399         * bufferparams.C:
5400         * bufferview_funcs.C:
5401         * factory.C:
5402         * lyxfunc.C:
5403         * paragraph_pimpl.C:
5404         * rowpainter.C:
5405         * text.C: add #include "LColor.h".
5406
5407 2003-09-16  Angus Leeming  <leeming@lyx.org>
5408
5409         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5410         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5411         return LyXFont &.
5412         Store the FontBits::color variable as an int rather than as an
5413         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5414         file.
5415
5416         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5417         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5418         string calls together.
5419
5420         * lyxrc.C: add #include "LColor.h".
5421
5422 2003-09-15  Angus Leeming  <leeming@lyx.org>
5423
5424         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5425         a cow_ptr.
5426
5427 2003-09-15  Angus Leeming  <leeming@lyx.org>
5428
5429         * LColor.h: add an EnumLColor wrapper for LColor::color.
5430
5431         * lyxfont.[Ch] (color, setColor, realColor):
5432         * lyxtext.h, text.C (backgroundColor):
5433         pass EnumLColor args to/from the functions, rather than LColor::color
5434         ones.
5435
5436         * lyxfont.h:
5437         * lyxtext.h: forward declare EnumLColor.
5438
5439         * lyx_main.C: add #include "LColor.h".
5440
5441 2003-09-15  Angus Leeming  <leeming@lyx.org>
5442
5443         * .cvsignore: add lyx-gtk.
5444
5445 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * Chktex.C
5448         * LaTeX.C
5449         * LaTeXFeatures.C
5450         * ParagraphParameters.C
5451         * Spacing.C
5452         * buffer.C
5453         * bufferparams.C
5454         * bufferview_funcs.C
5455         * chset.C
5456         * counters.C
5457         * funcrequest.C
5458         * lyxfont.C
5459         * lyxgluelength.C
5460         * lyxlength.C
5461         * paragraph.C
5462         * paragraph_funcs.C
5463         * text3.C
5464         * vc-backend.C: remove usage of STRCONV
5465
5466 2003-09-15  Angus Leeming  <leeming@lyx.org>
5467
5468         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5469         explicitly define the color passed to the painter.
5470
5471 2003-09-15  Angus Leeming  <leeming@lyx.org>
5472
5473         * bufferparams.C (BufferParams): reorder member initializers to avoid
5474         compiler warning.
5475
5476 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5477
5478         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5479         * text.C (updateRowPositions): remove an unusual nop
5480
5481 2003-09-12  André Pönitz  <poenitz@gmx.net>
5482
5483         * BufferView_pimpl.C:
5484         * Bullet.C:
5485         * layout.h:
5486         * lyxfunc.C:
5487         * lyxlayout.[Ch]:
5488         * lyxtextclass.C:
5489         * rowpainter.C:
5490         * text.C:
5491         * text2.C:
5492         * Counters.[Ch]: finish the 'automatic counters' job
5493
5494 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5495
5496         * aspell.C: include <boost/assert.cpp> (compile fix)
5497
5498 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5499
5500         * boost.C (assertion_failed): use lyx::support::abort instead of
5501         assert.
5502
5503 2003-09-10  Angus Leeming  <leeming@lyx.org>
5504
5505         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5506         with their _fwd progeny.
5507
5508 2003-09-09  Angus Leeming  <leeming@lyx.org>
5509
5510         134 files throughtout the source tree: replace 'using namespace abc;'
5511         directives with the appropriate 'using abc::xyz;' declarations.
5512
5513 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5514
5515         * boost.C (emergencyCleanup): moved here from LAssert.c
5516         (assertion_failed): new function, called by BOOST_ASSERT
5517
5518         * several files: change Assert to BOOST_ASSERT
5519
5520 2003-09-09  Angus Leeming  <leeming@lyx.org>
5521
5522         * buffer.[Ch]: Add an Impl class and move Buffer's member
5523         variables into it. As a result move several header files out of
5524         buffer.h.
5525
5526         Add header files to lots of .C files all over the tree as a result.
5527
5528 2003-09-09  Angus Leeming  <leeming@lyx.org>
5529
5530         * buffer.[Ch]: make Buffer's member variables private. Add
5531         accessor functions.
5532
5533         Lots of changes all over the tree as a result.
5534
5535 2003-09-08  Angus Leeming  <leeming@lyx.org>
5536
5537         * graph.C: #include <config.h>.
5538
5539 2003-09-08  Angus Leeming  <leeming@lyx.org>
5540
5541         * BranchList.C:
5542         * BufferView.C:
5543         * BufferView_pimpl.C:
5544         * CutAndPaste.C:
5545         * DepTable.C:
5546         * LaTeX.C:
5547         * LaTeXFeatures.C:
5548         * LyXAction.C:
5549         * MenuBackend.C:
5550         * TextCache.C:
5551         * aspell.C:
5552         * buffer.C:
5553         * bufferlist.C:
5554         * changes.C:
5555         * chset.C:
5556         * converter.C:
5557         * counters.C:
5558         * debug.C:
5559         * graph.C:
5560         * ispell.C:
5561         * lyx_cb.C:
5562         * lyxfind.C:
5563         * lyxfunc.C:
5564         * lyxlex_pimpl.C:
5565         * lyxrc.C:
5566         * lyxrow.C:
5567         * paragraph.C:
5568         * rowpainter.C:
5569         * texrow.C:
5570         * text.C:
5571         * text2.C:
5572         * toc.C: remove redundant using directives.
5573
5574 2003-09-07  Angus Leeming  <leeming@lyx.org>
5575
5576         * LaTeXFeatures.h: remove #include "support/types.h".
5577         * ToolbarBackend.h: remove #include <algorithm>.
5578         * changes.h: remove #include <ctime>.
5579         * debug.h: remove #include <iosfwd>.
5580         * graph.h: remove #include "support/std_string.h".
5581         * lyx_main.h: remove #include <csignal>.
5582         * lyxlex_pimpl.h: remove #include <fstream>.
5583         * sgml.h: remove #include <algorithm>, <utility>.
5584         * toc.h: remove #include "support/std_ostream.h".
5585         Add #include <iosfwd>.
5586
5587 2003-09-07  Angus Leeming  <leeming@lyx.org>
5588
5589         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5590
5591         * converter.h: forward declare LatexRunParams.
5592         * encoding.h: remove #include "lyxrc.h".
5593         * lyxtext.h: remove #include "LColor.h".
5594         * lyxtextclass.h: remove #include "support/types.h".
5595         * trans.h: remove #include "tex-accent.h".
5596         * trans_mgr.h: remove #include "tex-accent.h".
5597         * insets/inset.h: remove #include "support/types.h", <vector>.
5598         * insets/insetcollapsable.h: remove #include "LColor.h".
5599         * insets/insetinclude.h: remove #include "dimension.h".
5600         * insets/insetlatexaccent.h: remove #include "dimension.h".
5601         * insets/insetoptarg.h:: remove #include "insettext.h".
5602         * insets/insettext.h: remove #include "dimension.h",
5603         <boost/shared_ptr.hpp>
5604
5605         * insets/renderers.h: add #include "dimension.h".
5606         * insets/updatableinset.h: add #include "support/types.h".
5607
5608         * many .C files: Associated changes.
5609
5610 2003-09-06  Angus Leeming  <leeming@lyx.org>
5611
5612         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5613         one, inside testInvariant.
5614
5615         * PrinterParams.C: new file.
5616         * PrinterParams.[Ch]: move the function bodies out of line.
5617
5618 2003-09-06  Angus Leeming  <leeming@lyx.org>
5619
5620         * ParagraphParameters.h: forward declare ParameterStruct rather than
5621         including its header file.
5622         (depth): moved out-of-line.
5623
5624 2003-09-06  Angus Leeming  <leeming@lyx.org>
5625
5626         * BufferView_pimpl.h:
5627         * kbmap.h:
5628         * kbsequence.h:
5629         * lyxfunc.h: forward declare LyXKeySym rather than
5630         #include "frontends/LyXKeySym.h".
5631
5632         * BufferView_pimpl.C:
5633         * kbmap.C:
5634         * kbsequence.C:
5635         * lyxfunc.C: associated changes.
5636
5637 2003-09-06  Angus Leeming  <leeming@lyx.org>
5638
5639         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5640         As a result, can remove the #include "insets/inset.h" from BufferView.h
5641
5642 2003-09-06  Angus Leeming  <leeming@lyx.org>
5643
5644         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5645         As a result, can remove the #include "insets/inset.h" from BufferView.h
5646
5647 2003-09-06  Angus Leeming  <leeming@lyx.org>
5648
5649         * buffer_funcs.C:
5650         * buffer.h:
5651         * bufferlist.C:
5652         * BufferView.C:
5653         * bufferview_funcs.C:
5654         * BufferView_pimpl.C:
5655         * CutAndPaste.C:
5656         * lyx_cb.C:
5657         * lyxfunc.C:
5658         * paragraph.h:
5659         * ParagraphParameters.C:
5660         * tabular.C:
5661         * text3.C:
5662         * toc.C:
5663         * undo_funcs.C:
5664         * frontends/controllers/ControlDocument.C:
5665         * insets/insetcaption.C: rearrange the #includes into some sort of
5666         coherent order.
5667
5668         * buffer.h: remove #includes ErrorList.h, undo.h
5669
5670 2003-09-06  Angus Leeming  <leeming@lyx.org>
5671
5672         * support/types.h: add a 'depth_type' typedef, used to store the
5673         nesting depth of a paragraph.
5674
5675         * paragraph.h:
5676         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5677         defining explicitly.
5678
5679         * buffer.h:
5680         * paragraph_funcs.h:
5681         * ParagraphParameters.h:
5682         * sgml.h: use lyx::depth_type rather than Paragraph or
5683         ParameterStruct's depth_type.
5684
5685         * buffer.h
5686         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5687
5688         * BufferView.C:
5689         * BufferView_pimpl.C:
5690         * CutAndPaste.C:
5691         * ParagraphParameters.C:
5692         * buffer_funcs.C:
5693         * bufferlist.C:
5694         * bufferview_funcs.C:
5695         * lyx_cb.C:
5696         * lyxfunc.C:
5697         * tabular.C:
5698         * text3.C:
5699         * toc.C:
5700         * undo_funcs.C:
5701         * frontends/LyXView.C:
5702         * frontends/controllers/ControlDocument.C:
5703         * frontends/controllers/ControlErrorList.C:
5704         * insets/insetbibitem.C:
5705         * insets/insetbranch.C:
5706         * insets/insetcaption.C:
5707         * insets/insetcollapsable.C:
5708         * insets/insetenv.C:
5709         * insets/insetert.C:
5710         * insets/insetfloat.C:
5711         * insets/insetfoot.C:
5712         * insets/insetfootlike.C:
5713         * insets/insetnewline.C:
5714         * insets/insetquotes.C:
5715         * insets/insettabular.C:
5716         * insets/insettext.C:
5717         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5718
5719         * frontends/controllers/ControlChanges.C: #include "changes.h".
5720
5721 2003-09-06  Angus Leeming  <leeming@lyx.org>
5722
5723         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5724         than #including paragraph.h.
5725
5726         * ParagraphList.h:
5727         * RowList.h: deleted. Superfluous.
5728
5729         * CutAndPaste.h:
5730         * iterators.h:
5731         * lyxcursor.h:
5732         * lyxtext.h:
5733         * text_funcs.h:
5734         * undo.h:
5735         * undo_funcs.h:
5736         * insets/inset.h:
5737         * insets/insettext.h: use ParagraphList_fwd.h rather than
5738         ParagraphList.h.
5739
5740         * paragraph.h: don't forward declare ParagraphList.
5741
5742         * buffer.h:
5743         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5744         rather than ParagraphList.h. paragraph.h is still needed for the
5745         Paragraph::depth_type parameters.
5746
5747         * textcursor.h: enable it to compile stand-alone in light of the
5748         above changes.
5749
5750         * bufferview_funcs.C:
5751         * iterators.C:
5752         * lyxfunc.C:
5753         * lyxrow_funcs.C:
5754         * paragraph.C:
5755         * rowpainter.C:
5756         * text.C:
5757         * text2.C:
5758         * text3.C:
5759         * text_funcs.C:
5760         * textcursor.C:
5761         * undo.C:
5762         * frontends/controllers/ControlParagraph.C:
5763         * frontends/controllers/ControlTabular.C:
5764         * insets/insetmarginal.C:
5765         * insets/insetminipage.C:
5766         * insets/insetnote.C:
5767         * insets/insetoptarg.C: add header files needed to compile again.
5768
5769 2003-09-06  Angus Leeming  <leeming@lyx.org>
5770
5771         * RowList_fwd.h: new file, forward-declaring Row rather than
5772         #including lyxrow.h.
5773
5774         * lyxrow_funcs.h:
5775         * lyxtext.h:
5776         * paragraph.h:
5777         * insets/insettext.h: use it instead of RowList.h
5778
5779         * bufferview_funcs.C:
5780         * lyxfunc.C:
5781         * lyxrow_funcs.C:
5782         * paragraph.C:
5783         * rowpainter.C:
5784         * text.C:
5785         * text2.C:
5786         * text3.C: #include "RowList.h".
5787
5788 2003-09-05  Angus Leeming  <leeming@lyx.org>
5789
5790         * factory.C (createInset):
5791         * vspace.C (c-tor): replace sscanf call with an istringstream.
5792         * ispell.C: re-add missing HP/UX headers.
5793         * lyxserver.C: re-add missing  os2 headers.
5794
5795 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5796
5797         * BranchList.C:
5798         * graph.C:
5799         * ispell.C:
5800         * lastfiles.C:
5801         * lyx_cb.C:
5802         * lyxserver.C:
5803         * texrow.C:
5804         * text3.C: re-add missing system headers, needed for 2.95.2.
5805
5806 2003-09-05  Angus Leeming  <leeming@lyx.org>
5807
5808         Changes most place everywhere due to the removal of using directives
5809         from support/std_sstream.h.
5810
5811 2003-09-05  Angus Leeming  <leeming@lyx.org>
5812
5813         Replace LString.h with support/std_string.h,
5814         Lsstream.h with support/std_sstream.h,
5815         support/LIstream.h with support/std_istream.h,
5816         support/LOstream.h with support/std_ostream.h.
5817
5818         Changes resulting throughout the tree.
5819
5820 2003-09-05  Angus Leeming  <leeming@lyx.org>
5821
5822         * sgml.h: ensure that the header file can be compiled stand-alone.
5823         * *.C: strip out redundant #includes. (320 in total.)
5824
5825 2003-09-04  Angus Leeming  <leeming@lyx.org>
5826
5827         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5828         here (from getPackages).
5829
5830         * debug.[Ch]: add a new EXTERNAL tag.
5831
5832 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5833
5834         * text2.C (cursorEnd): simplify
5835         (setCursor): adjust
5836         (getColumnNearX): adjust
5837
5838         * text.C (computeBidiTables): adjust
5839         (fill): adjust
5840
5841         * rowpainter.C (paintChars): adjust
5842         (paintSelection): adjust
5843         (paintChangeBar): adjust
5844         (paintText): adjust
5845
5846         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5847         lastPos instead.
5848         (numberOfSeparators): adjust
5849
5850 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5851
5852         * LyXAction.C:
5853         * box.[Ch]:
5854         * lfuns.h:
5855         * lyxfunc.C:
5856         * text3.C: Restricts the mouse click functionality
5857         of insets like bibtex, include, toc and floatlist to the visible
5858         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5859         up the dialogs. Cursor has to be in front of the inset (i.e.
5860         start of row) for this to function.
5861
5862 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5863
5864         * bufferview_funcs.C (currentState): output row information
5865
5866 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5867
5868         * bufferview_funcs.C (currentState): output paragraph position
5869
5870 2003-09-04  Angus Leeming  <leeming@lyx.org>
5871
5872         * FloatList.h: move out #include "Floating.h".
5873         * LaTeX.h: move out #include "DepTable.h".
5874         * LyXAction.h: move out #include "funcrequest.h".
5875         * buffer.h: move out #include "author.h", "iterators.h".
5876         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5877         * lyx_main.h: move out #include "errorlist.h".
5878         * lyxfunc.h: move out #include "FuncStatus.h".
5879         * lyxtext: move out #include "lyxcursor.h".
5880         * paragraph_pimpl.h: move out #include "counters.h".
5881
5882 2003-09-03  Angus Leeming  <leeming@lyx.org>
5883
5884         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5885         preamble_snippets list, enabling us to add snippets to the preamble
5886         only if the snippet was not there already.
5887
5888 2003-09-04  Angus Leeming  <leeming@lyx.org>
5889
5890         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5891
5892 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5895         update
5896
5897 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5898
5899         * BranchList.C: point fix, earlier forgotten
5900
5901 2003-09-02  Angus Leeming  <leeming@lyx.org>
5902
5903         * box.C (contains): renamed from 'contained' after a fantastic
5904         amount of hot air.
5905
5906 2003-09-02  John Levon  <levon@movementarian.org>
5907
5908         * BufferView.C:
5909         * lyxcursor.h:
5910         * lyxcursor.C:
5911         * lyxfunc.C:
5912         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5913
5914 2003-09-02  John Levon  <levon@movementarian.org>
5915
5916         * text2.C: simplification of cursorEnd(), including partial
5917         fix for bug 1376
5918
5919 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * buffer.C (readFile): add a space
5922
5923 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5924
5925         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5926
5927 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5928
5929         * buffer.C (readFile): new function, take a filename and a
5930         ParagraphList::iterator
5931         (readFile): adjust
5932         (readFile): adjust, make it private. don't use setStream, make
5933         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5934         always contain the filename.
5935
5936         * BufferView.C (insertLyXFile): simplify and make it work for
5937         gzipped files.
5938
5939 2003-08-30  John Levon  <levon@movementarian.org>
5940
5941         * Makefile.am: fix dist (from Kayvan)
5942
5943 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5944
5945         * most files: change to use const Buffer refs
5946
5947 2003-08-27  André Pönitz  <poenitz@gmx.net>
5948
5949         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5950         on top of ownerPar().
5951
5952 2003-08-27  John Levon  <levon@movementarian.org>
5953
5954         * funcrequest.C: properly initialise POD members
5955
5956 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * lyxtext.h (top_y): move top_y from here
5959         * text.C:
5960         * text2.C:
5961         * text3.C:
5962         * BufferView.[Ch]:
5963         * BufferView_pimpl.[Ch]: to here
5964         * frontends/screen.C:
5965         * insets/insettabular.C:
5966         * insets/insettext.C: adjust
5967         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5968
5969 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5970
5971         * BufferView.[Ch]:
5972         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5973
5974 2003-08-26  André Pönitz  <poenitz@gmx.net>
5975
5976         * paragraph_func.[Ch] (outerPar): new function
5977
5978         * paragraph.C:
5979         * paragraph_funcs.C:
5980         * paragraph_funcs.h:
5981         * paragraph_pimpl.C:
5982         * text2.C: remove Inset::par_owner
5983
5984 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5985
5986         * lyxrow_funcs.C:
5987         * lyxtext.h:
5988         * text.C:
5989         * text2.C: eliminates the needFullRow/display() stuff
5990         altogether, putting the logic in metrics/draw in the insets.
5991
5992 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5993
5994         * text2.C (redoParagraphInternal, redoParagraphs):
5995         * text.C (redoParagraph): add a call to updateRowPositions at the
5996         end of each 'metrics-like' call. Remove all others.
5997         (getRow): remove the 'y-computing' version.
5998         (getRowNearY): do not compute nor return the real y. Solve the
5999         'y < 0' problem and simplify.
6000
6001 2003-08-22  Angus Leeming  <leeming@lyx.org>
6002
6003         * *.[Ch]: clean-up of licence and author blurbs.
6004         Also move config.h out of a few .h files and into a few .C files.
6005
6006 2003-08-22  André Pönitz  <poenitz@gmx.net>
6007
6008         * lyxrow.[Ch]: add x_ and *fill_ members
6009
6010         * lyxtext.h:
6011         * text.C:
6012         * rowpainter.C:
6013         * text2.C: adjust/remove prepareToPrint() calls
6014
6015 2003-08-22  André Pönitz  <poenitz@gmx.net>
6016
6017         * lyxrow.[Ch]: add  end_ member
6018
6019         * lyxrow_funcs.C: use LyXRow::end_
6020
6021         * lyxtext.h (singleWidth): add LyXFont parameter
6022
6023         * rowpainter.C:
6024         * text2.C: adjust LyXText::singleWidth() calls
6025
6026         * text.C (redoParagraph): simplify row breaking logic
6027
6028
6029 2003-08-19  André Pönitz  <poenitz@gmx.net>
6030
6031         * funcrequest.C: initialize button_ member
6032
6033         * text3.C:
6034         * rowpainter.[Ch]: interface consolidation
6035
6036 2003-08-18  André Pönitz  <poenitz@gmx.net>
6037
6038         * BufferView.C:
6039         * BufferView_pimpl.C:
6040         * lyxfind.C:
6041         * paragraph_funcs.C:
6042         * rowpainter.C:
6043         * text3.C: remove LyXScreen::draw() and fitCursor calls
6044
6045         * BranchList.h: remove spurious semicolons
6046
6047         * MenuBackend.C: fix branchlist related crash
6048
6049 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6050
6051         * BranchList.[Ch]:
6052         * InsetList.[Ch]:
6053         * LColor.[Ch]:
6054         * LyXAction.C:
6055         * Makefile.am:
6056         * MenuBackend.[Ch]:
6057         * bufferparams.[Ch]:
6058         * factory.C:
6059         * lfuns.h:
6060         * lyxfunc.C:
6061         * text3.C: implements the 'branch inset'
6062         idea. This allows the output of various versions of a document
6063         from a single source version, selectively outputing or suppressing
6064         output of parts of the text.
6065         This implementation contains a 'branch list editor' in a separate
6066         tab of the document settings dialog. Branches are user definable
6067         and have a "display colour" to distinguish them on-screen.
6068
6069         ColorHandler was somewhat cleaned up.
6070         (1) make possible a dynamically growing LColor list by allowing
6071         the graphic context cache to grow along (vector);
6072         (2) eliminate an IMHO unnecessary step in colour allocation.
6073
6074 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6075
6076         * BufferView_pimpl.C: compile fix
6077
6078 2003-08-15  André Pönitz  <poenitz@gmx.net>
6079
6080         * rowpainter.C: remove extra metrics calls
6081
6082         * lyxtext.h: merge the two constructors into a single one,
6083           pass reference to owner's par list
6084
6085         * BufferView_pimpl.C:
6086         * text.C:
6087         * text2.C: adjust
6088
6089 2003-08-15  André Pönitz  <poenitz@gmx.net>
6090
6091         * lyxrow_funcs.[Ch]:
6092         * lyxtext.h:
6093         * paragraph.h:
6094         * paragraph_funcs.C:
6095         * rowpainter.C:
6096         * text.C:
6097         * text2.C:
6098         * text3.C:
6099         * text_funcs.C: split LyXText::rowlist_ into individual
6100         Paragraph::rows_ chunks
6101
6102         * BufferView.[Ch]:
6103         * BufferView_pimpl.[Ch]:
6104         * lyxfind.C:
6105         * lyxtext.h:
6106         * text3.C: remove toggleSelection()
6107
6108 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6109
6110         * bufferlist.C: beautify two alerts (shorter text of buttons)
6111         * buffer.C: Remove redundant ' ' from message
6112         * tabular.h:
6113         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6114         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6115         rename VALIGN_CENTER to VALIGN_MIDDLE
6116
6117 2003-08-11  André Pönitz  <poenitz@gmx.net>
6118
6119         * lyxtext.h (getPar):
6120         * text.C: new function
6121
6122 2003-08-11  André Pönitz  <poenitz@gmx.net>
6123
6124         * Makefile.am:
6125         * tracer.[Ch]: remove unneeded files
6126
6127         * InsetList.[Ch]: remove resizeInsetsLyXText()
6128
6129         * lyxtext.h:
6130         * text.C:
6131         * text2.C:
6132         * text3.C: merge insertParagraphs() and appendParagraph()
6133         remove breakAgain(), update()
6134
6135         * BufferView_pimpl.[Ch]:
6136         * bufferview_funcs.[Ch]:
6137         * lyxfunc.C:
6138         * paragraph.[Ch]:
6139         * rowpainter.C:
6140         * tabular.C: adjust after text & InsetList changes.
6141
6142 2003-08-08  André Pönitz  <poenitz@gmx.net>
6143
6144         * text.C (insertChar, backspace): replace rowlist fiddling
6145         with rebreak of full par
6146
6147         * lyxtext.h:
6148         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6149         checkParagraph, updateInset): removed
6150
6151 2003-08-07  André Pönitz  <poenitz@gmx.net>
6152
6153         * paragraph.C:
6154         * text3.C: merge some LFUN handlers, remove dead code
6155
6156 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6157
6158         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6159
6160 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6161
6162         * text2.C (DEPM): fix part of bug 1255 and 1256
6163
6164 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6165
6166         * BufferView_pimpl.C (workAreaDispatch): change to use
6167         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6168         that are no mouse related.
6169
6170 2003-08-05  André Pönitz  <poenitz@gmx.net>
6171
6172         * BufferView.[Ch]:
6173         * BufferView_pimpl.[Ch]:
6174         * bufferview_funcs.C:
6175         * text2.C:
6176         * text3.C: rip out "deep update"
6177
6178         * textcursor.[Ch] (last_sel_cursor): remove unused member
6179
6180 2003-08-04  André Pönitz  <poenitz@gmx.net>
6181
6182         * BufferView.[Ch]:
6183         * BufferView_pimpl.[Ch]:
6184         * ParagraphParameters.C:
6185         * bufferview_funcs.C:
6186         * lyx_cb.C:
6187         * lyxfind.C:
6188         * lyxfunc.C:
6189         * text.C:
6190         * text2.C:
6191         * text3.C: replace "complicated" BufferView::update(...) calls with
6192         simpler ones.
6193
6194         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6195
6196 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6197
6198         * Makefile.am (lyx_SOURCES): add paper.h
6199
6200 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6201
6202         * Makefile.am: move things around so that both lyx-qt and
6203         lyx-xforms can be built (according to --with-frontend). Then lyx
6204         is a symbolic link to lyx-[firstfrontend]
6205
6206 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6207
6208         * Always use std::endl with lyxerr
6209
6210 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6211
6212         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6213
6214 2003-08-01  André Pönitz  <poenitz@gmx.net>
6215
6216         * BufferView.[Ch]:
6217         * BufferView_pimpl.[Ch]:
6218         * lyxfunc.C:
6219         * text3.C: merge BufferView::repaint() and BufferView::update()
6220
6221 2003-08-01  José Matos  <jamatos@lyx.org>
6222
6223         * buffer.[Ch]: file_format is no longer a buffer data element.
6224
6225 2003-08-01  André Pönitz  <poenitz@gmx.net>
6226
6227         * BufferView.C:
6228         * lyxtext.h:
6229         * text.C:
6230         * text2.C: make redoParagraph more independent of current cursor
6231
6232         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6233         * text.C:
6234         * text2.C: remove unneeded members
6235
6236 2003-07-30  André Pönitz  <poenitz@gmx.net>
6237
6238         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6239
6240         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6241           create a single function...
6242
6243         * paragraph_funcs.C (moveItem): ... here.
6244
6245         * text.C:
6246           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6247
6248 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6249
6250         * LColor.[Ch]: Add comment and greyedout logical colors.
6251
6252 2003-07-30  André Pönitz  <poenitz@gmx.net>
6253
6254         * tabular.C: don't use Assert too heavily. This crashes where it
6255           shouldn't
6256
6257 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6258
6259         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6260         is disabled (bug 1232)
6261
6262 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6263
6264         * factory.C: limited 'arg' scope
6265
6266 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6267
6268         * factory.C: fixed Note submenu issues
6269
6270 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6271
6272         * factory.C: submenu for Note/Comment/Greyedout
6273
6274 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6275
6276         * lyx_main.C (LyX):
6277         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6278
6279 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6280
6281         * LaTeXFeatures.C:
6282         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6283         greyedout. Patch provided by Jürgen Spitzmüller.
6284
6285 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6286
6287         * kbmap.C (read): fix error message when reading bind files
6288
6289 2003-07-29  Angus Leeming  <leeming@lyx.org>
6290
6291         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6292         certainly does not do what it purports to do. I am doing it, and
6293         us, a favour by killing it.
6294
6295 2003-07-28  José Matos  <jamatos@lyx.org>
6296
6297         * buffer.C (readBody, do_writeFile):
6298         * paragraph.C(readParagraph): \end_document replaces \the_end.
6299
6300 2003-07-29  André Pönitz  <poenitz@gmx.net>
6301
6302         * BufferView.[Ch]:
6303         * BufferView_pimpl.[Ch]:
6304         * lyxfunc.C:
6305         * text2.C:
6306         * text3.C:
6307         * textcursor.[Ch]: remove toggleToggle & Co
6308
6309 2003-07-28  José Matos  <jamatos@fep.up.pt>
6310
6311         * buffer.C (readParagraph):
6312         * params_func (readParToken, readParagraph):
6313         * paragraph.C (write): \layout -> \begin_layout.
6314
6315 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * lyxlex_pimpl.C (setFile): clean up slightly.
6318
6319         * bufferparams.h: add compressed var
6320
6321         * buffer_funcs.C (readFile): adjust for LyXLex change
6322         (newFile): ditto + simplify
6323
6324         * buffer.C (writeFile): handle writing of compressed files
6325
6326         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6327         Check if the file is compressed and set a bufferparm if so.
6328
6329         * Makefile.am (lyx_LDADD): remove explicit -lz
6330
6331 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6332
6333         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6334         makeDocBookFile): put the real LyX version in the first line of
6335         the file
6336
6337         * version.h:
6338         * version.C.in: remove lyx_docversion
6339
6340         * tabular.C (write_attribute): add a template-based version to
6341         write enums properly
6342
6343 2003-07-28  André Pönitz  <poenitz@gmx.net>
6344
6345         * lyxtext.h:
6346         * text.C:
6347         * text2.C:
6348         * text3.C: use doubles again for x-coordinates. They are needed.
6349
6350 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * messages.C (getLocaleDir): use lyx_localedir()
6353
6354         * lyxlex_pimpl.C (setFile): compress stuff
6355
6356         * buffer.C (writeFile): add some compression stuff
6357         (do_writeFile): new func, dont call expliti close... will this
6358         breake anything?
6359
6360         * Makefile.am (lyx_LDADD): add -lz
6361
6362 2003-07-28  José Matos  <jamatos@fep.up.pt>
6363
6364         * buffer.C: increment file format.
6365         * paragraph_funcs (readParagraph, readParToken):
6366         * paragraph.C (readParagraph): add \end_layout.
6367
6368 2003-07-27  Angus Leeming  <leeming@lyx.org>
6369
6370         * Makefile.am: remove special casing for configure-time setting of
6371         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6372
6373         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6374         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6375
6376 2003-07-26  André Pönitz  <poenitz@gmx.net>
6377
6378         * paragraph_func.[Ch]:
6379         * paragraph.C (realizeFont): inline it whereever it is used
6380
6381         * rowpainter.C:
6382         * text.C:
6383         * text2.C:
6384         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6385
6386
6387 2003-07-26  André Pönitz  <poenitz@gmx.net>
6388
6389         *       lyxtext.h:
6390         * text.C:
6391         * text2.C: get rid of LyXText::need_break_row
6392
6393 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6394
6395         * toc.[Ch]: put namespace toc inside namespace lyx
6396
6397         * MenuBackend.C (expandToc2): adjust for lyx::toc
6398         (expandToc): ditto
6399
6400         * lyxfunc.C (dispatch): adjust for lyx::find
6401
6402         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6403         lyx::find instead. Reorganize a bit.
6404         (LyXReplace): rename to replace
6405         (LyXFind): rename to find
6406
6407         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6408         (dispatch): ditto
6409
6410 2003-07-26  André Pönitz  <poenitz@gmx.net>
6411
6412         * text.C (setHeightOfRow): restrict scope of temporary variable
6413
6414         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6415           code (never has been used?)
6416
6417 2003-07-27  Asger Alstrup  <alstrup@local>
6418
6419         * text.C (fill): Optimise algorithm to exploit that we can reuse
6420         the LyXFont for many characters.
6421         (setHeightOfRow): Same thing.
6422         (rowBreakPoint): Same thing.
6423
6424 2003-07-26  Asger Alstrup  <alstrup@local>
6425
6426         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6427
6428         * text.C (singleWidth): Spurious font copying in hot-spot
6429         singleWidth avoided. Reorder tests for arabic for efficiency.
6430
6431         * text.C (fill): handle empty paragraphs better.
6432
6433 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6434
6435         * ispell.C:
6436         * encoding.h: add includes
6437
6438         * lyxrc.C: remove reading of bind files
6439
6440         * lyx_main.C (init): setup bindings and menus only if we have a
6441         gui.
6442
6443         * kbmap.C (read): new method. Do the actual reading of bind
6444         files.
6445
6446         * converter.C (dvipdfm_options):
6447         * bufferparams.C:
6448         * lyxrc.C (read):
6449         (output): adapt PAPER_* enums.
6450
6451         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6452
6453         * bufferparams.h: remove paper-related enums from there
6454
6455         * paper.h: New file. A trivial header file to hold paper-related
6456         enums. It should later expand to contain many paper-related
6457         horrors access.
6458
6459         * lyxrc.C: declare extern displayTranslator
6460
6461 2003-07-27  José Matos  <jamatos@fep.up.pt>
6462
6463         * tabular.[Ch] (linuxdoc): add support for tables and figures
6464         (linuxdoc).
6465
6466 2003-07-27  José Matos  <jamatos@fep.up.pt>
6467
6468         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6469         consistency in both functions.
6470         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6471
6472 2003-07-26  Asger Alstrup  <alstrup@local>
6473
6474         * rowpainter.C (paintRows): Change algorithm to work directly on
6475         the insets rather than asking every character in the document
6476         whether its an inset.
6477
6478 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6479
6480         * buffer.C (openFileWrite): factorize some code
6481
6482 2003-07-26  Angus Leeming  <leeming@lyx.org>
6483
6484         * lyx_cb.C:
6485         * lyx_main.[Ch]: replace occurances of system_tempdir with
6486         os::getTmpDir().
6487
6488 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * rename Inset to InsetOld
6491
6492 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6493
6494         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6495         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6496         which I think is a bit clearer. EDIT is gone, since it was
6497         premature optimisation, and broken for mathed anyway.
6498         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6499         with cursor positioning in insets as well (math insets still do not
6500         work, but that's a different story anyway.) It mysteriously
6501         crashes sometimes with undo in the first paragraph, but I'm fairly
6502         confident that this is a compiler bug.
6503
6504 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * paragraph.C (Paragraph): adjust for new clone return type
6507         (operator==): ditto
6508         (copyIntoMinibuffer): ditto
6509
6510 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6511
6512         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6513         by not having a special case, and always doing a full rebreak of
6514         the document after undo.
6515
6516 2003-07-23  Angus Leeming  <leeming@lyx.org>
6517
6518         * factory.C (createInset): InsetExternal::setParams now takes a
6519         Buffer const * arg.
6520
6521 2003-07-23  Angus Leeming  <leeming@lyx.org>
6522
6523         * factory.C (createInset): changed interface to the external and
6524         graphics mailers' string2params functions.
6525
6526 2003-07-23  Angus Leeming  <leeming@lyx.org>
6527
6528         * factory.C (createInset): pass a
6529         Buffer const * parameter to InsetExternalMailer's string2params.
6530
6531 2003-07-22  John Levon  <levon@movementarian.org>
6532
6533         * Thesaurus.h: include the right aiksaurus header
6534
6535 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6536
6537         * MenuBackend.C (expand): check menu shortcuts unconditionally
6538
6539 2003-07-21  Angus Leeming  <leeming@lyx.org>
6540
6541         * factory.C (createInset): pass a
6542         buffer_path parameter to InsetGraphicsMailer's string2params.
6543
6544 2003-07-21  Angus Leeming  <leeming@lyx.org>
6545
6546         * BufferView_pimpl.C (buffer):
6547         * buffer.C (d-tor):
6548         * lyx_main.C (LyX):
6549         * lyxfunc.C (dispatch):
6550         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6551         rather than the grfx shortcut.
6552
6553 2003-07-21  André Pönitz  <poenitz@gmx.net>
6554
6555         * rowpainter.C: remove unused variables
6556
6557         * tabular_funcs.C:
6558         * tabular_funcs.h: move to tabular.C
6559         * Makefile.am: adjust
6560
6561         * tabular.[Ch]: basic optical cleaning
6562
6563         * author.h: pass references, not values
6564
6565 2003-07-18  André Pönitz  <poenitz@gmx.net>
6566
6567         * lyxtext.h:
6568         * metricsinfo.C:
6569         * metricsinfo.h:
6570         * rowpainter.C:
6571         * text.C:
6572         * text2.C:
6573         * text3.C: two-phase drawing for InsetText and InsetTabular
6574         some float -> int changes.
6575
6576 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6577
6578         * lyx_main.C: fix the fix
6579
6580 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6581
6582         * lyx_main.C: fix a crash in batch mode if no files specified
6583         * converter.C: ws
6584
6585 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6586
6587         * format.[Ch] (papersize): moved to BufferParams
6588         * converter.[Ch] (dvips_options): moved to BufferParams
6589         (dvipdfm_options): moved to anon namespace
6590         * bufferparams.[Ch]: added above functions.
6591
6592 2003-07-17  André Pönitz  <poenitz@gmx.net>
6593
6594         * lyxtext.h:
6595         * rowpainter.C:
6596         * text2.C: don't call inset->update() anymore
6597
6598         * metricsinfo.[Ch]: add convenience constructor
6599
6600 2003-07-16  André Pönitz  <poenitz@gmx.net>
6601
6602         * lyxcursor.[Ch]:
6603         * lyxfunc.[Ch]:
6604         * text.C:
6605         * text2.C: replace the LyXCursor::irow_ member with
6606          on-demand computation of the value
6607
6608 2003-07-16  John Levon  <levon@movementarian.org>
6609
6610         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6611
6612 2003-07-15  André Pönitz  <poenitz@gmx.net>
6613
6614         * text.C:
6615         * text2.C: remove no more needed refresh_row
6616
6617 2003-07-15  André Pönitz  <poenitz@gmx.net>
6618
6619         * lyxtext.h:
6620         * rowpainter.C:
6621         * text2.C:
6622         * text3.C: refresh_status tristate -> need_update bool
6623
6624 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6625
6626         * lyxtext.h (init): remove reinit argument (act as if always true)
6627         * text2.C: adjust to that
6628
6629 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6630
6631         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6632         * text3.C: use it to delete selections in some cases
6633         (bugs 441, 673, 702, 954).
6634
6635 2003-07-14  André Pönitz  <poenitz@gmx.net>
6636
6637         * rowpainter.[Ch]: reduce interface
6638
6639 2003-07-14  André Pönitz  <poenitz@gmx.net>
6640
6641         * BufferView_pimpl.C:
6642         * text2.C: adjust after removing unused BufferView * argument
6643
6644 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6645
6646         * text2.C (init): fix a crash fired on resize
6647
6648 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6649
6650         * buffer.[Ch]: added new closing signal
6651         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6652         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6653         BufferView::Pimpl via the closing the signal
6654
6655 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6656
6657         * buffer.[Ch]: take out all bv-related from buffer
6658         * BufferView.C:
6659         * BufferView_pimpl.[Ch]: connect to new signals
6660         * CutAndPaste.C: removed useless asserts
6661         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6662         * lyxvc.[Ch]:
6663         * vc-backend.[Ch]:
6664         * lyxfunc.C: moved view-related funciontality from vc here
6665         * paragraph.C: removed outdated comments
6666         * text.C: ws
6667
6668 2003-07-10  André Pönitz  <poenitz@gmx.net>
6669
6670         * BufferView_pimpl.C:
6671         * tabular.h:
6672         * tabular_funcs.C:
6673         * text.C:
6674         * text2.C: remove InsetText::InnerCache, clean up consequences
6675
6676 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6677
6678         * ispell.C: fix two typos in error messages
6679
6680 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6681
6682         * Extend Note inset to other forms of annotation like Comment
6683         and Greyedout. Right button click gives dialog.
6684
6685         Files modified or added (+):
6686
6687         * insetnote.[Ch]
6688         * FormNote.[Ch]      +
6689         * ControlNote.[Ch]   +
6690         * form_note.fd       +
6691         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6692         frontends/controllers
6693         * xforms/Dialogs.C
6694         * factory.C
6695
6696 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6697
6698         * aspell.C: add missing namespace lyx::support
6699
6700 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6701
6702         * BufferView.[Ch] (newFile): Add
6703         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6704         * LaTeX.[Ch] (message): added this signal and use it
6705         * buffer.[Ch] (busy, message): added these signals and use them
6706         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6707         * converter.C:
6708         * exporter.C:
6709         * format.C:
6710         * importer.C: use buffer signals instead of direct bv calling
6711         * lyx_cb.[Ch] (ShowMessage): removed
6712         * lyx_main.C:
6713         * lyxfunc.C:
6714         * paragraph_funcs.C:
6715         * text2.C: use buffer signals
6716
6717 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * introduce namespace lyx::graphics
6720
6721 2003-07-02  André Pönitz  <poenitz@gmx.net>
6722
6723         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6724
6725 2003-07-01  André Pönitz  <poenitz@gmx.net>
6726
6727         * text.C:
6728         * text2.C:
6729         * text3.C:
6730         * text_funcs.[Ch]:
6731         * textcursor.h:
6732         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6733           text*.C to text_func.C
6734
6735 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6736
6737         * introduce namespace lyx::support
6738
6739 2003-06-30  André Pönitz  <poenitz@gmx.net>
6740
6741         * Chktex.C:
6742         * funcrequest.C:
6743         * lyxtext.h:
6744         * text.C: re-enable --with-included-string
6745
6746 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * textcursor.C: add <config.h>
6749
6750         * text.C (getWord): remove const from word_location arg
6751
6752         * lyxvc.C (getLogFile): fix const type order
6753
6754         * lyxtext.h: remove const from word_location arg, add arg name
6755
6756         * lyxlayout.h: currect type on labeltype.
6757
6758         * importer.C: correct \file
6759
6760         * converter.C (intToFormat): use std:: on ret val, ws changes
6761
6762         * bufferlist.h: correct \file
6763
6764         * buffer.C (makeLinuxDocFile): fix const type order
6765         (makeDocBookFile): ditto
6766         (fillWithBibKeys): use std:: on stdlib args.
6767
6768         * CutAndPaste.C: fix authors.
6769         (availableSelections): use std:: on return vector
6770
6771 2003-06-27  André Pönitz  <poenitz@gmx.net>
6772
6773         * BufferView_pimpl.C:
6774         * bufferview_funcs.C:
6775         * lyxcursor.C:
6776         * lyxcursor.h:
6777         * lyxfunc.C:
6778         * lyxtext.h:
6779         * rowpainter.C:
6780         * text.C:
6781         * text2.C:
6782         * text3.C: remove LyXCursor::row_ member
6783
6784         * lyxtext.h:
6785         * text.C: rename fullRebreak() to partialRebreak() and implement
6786           a fullRebreak() that really bereks fully
6787
6788         * textcursor.h: new struct for cursor-related data
6789
6790 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6791
6792         * lyx_main.C (LyX): get full path of document loaded on the
6793         command line
6794
6795 2003-06-26  André Pönitz  <poenitz@gmx.net>
6796
6797         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6798           remove unused/broken operator>,<,>=.
6799
6800         *       text.C: remove only use of broken operator<= in an Assert().
6801
6802 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6803
6804         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6805         moved errorlist_.clear to showErrorList
6806
6807 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6808
6809         * converter.C (scanLog, runLaTeX):
6810         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6811         move the bv->showErrorList call to the callers
6812         * lyxfunc.C: i.e. here...
6813         * text2.C: and here
6814         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6815         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6816         namespace, the second to...
6817         * buffer_funcs (BufferFormat, parseErrors): added
6818         * errorlist.C (ErrorList(TeXErrors const &)): removed
6819
6820 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6821
6822         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6823
6824 2003-06-24  "Garst R. Reese" <reese@isn.net>
6825
6826         * debug.C: fix typo
6827
6828 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6829
6830         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6831
6832         * version.C.in: change docversion to 1.4
6833
6834 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6835
6836         * buffer.C: fix a bug just introduced
6837
6838 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6839
6840         * buffer.[Ch]: added the parseError signal and use it, removed
6841         sgmlError
6842         * BufferView.[Ch] (addError): moved to ...
6843         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6844         to the Buffer::parseError signal to catch (guess what) parse errors
6845         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6846
6847 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6848
6849         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6850         ability to create a buffer and to return an existing one from
6851         the list. Moved these functions to...
6852         * buffer_funcs.[Ch]: added
6853         * BufferView.[Ch] (loadLyXFile): added
6854         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6855         job removed from bufferlist::loadLyXFile.
6856         * buffer.C (setReadOnly): make it work without view
6857         (i.e added an if (users))
6858
6859 2003-06-19  Angus Leeming  <leeming@lyx.org>
6860
6861         * lfuns.h:
6862         * LyXAction.C (init):
6863         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6864         with LFUN_DIALOG_SHOW <name> <data>.
6865
6866 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6867
6868         * CutAndPaste.C (availableSelections): small compilation fix for
6869         ancient (gcc 2.9x) compilers
6870
6871 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * text3.C (cursorNext): add tmp var
6874
6875         * text2.C (updateCounters): for function calling out of for clause
6876         (replaceSelectionWithString): ditto
6877         (insertStringAsParagraphs): ditto
6878         (getColumnNearX): add tmp var
6879         (setCursorFromCoordinates): add tmp var
6880         (cursorDownParagraph): add tmp var
6881         (deleteEmptyParagraphMechanism): add tmp var
6882
6883         * text.C (insertChar): add tmp var
6884
6885         * rowpainter.C (paintDepthBar): add tmp var
6886
6887         * CutAndPaste.C (availableSelections): potentially check all
6888         paragraphs in a cut to fill the shown strings.
6889
6890 2003-06-18  André Pönitz  <poenitz@gmx.net>
6891
6892         * kbmap.[Ch]: use vector<> instead of list<>
6893
6894 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6895
6896         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6897         pasteSelection with index
6898
6899         * text2.C (pasteSelection): modify, call pasteSelection with index
6900
6901         * paragraph.C (asString): reimplement version with no interval to
6902         call the one with interval.
6903
6904         * lyxtext.h: add index arg to pasteSelection
6905
6906         * MenuBackend.C (MenuItem): handle PasteRecent
6907         (Menu::read::Menutags): add md_pasterecent
6908         (read): handle it
6909         (expandPasteRecent): new function
6910         (expand): use it
6911
6912         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6913
6914         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6915         the limited stack
6916         (availableSelections): new function
6917
6918 2003-06-17  Angus Leeming  <leeming@lyx.org>
6919
6920         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6921
6922 2003-06-17  Angus Leeming  <leeming@lyx.org>
6923
6924         * lfuns.h:
6925         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6926
6927         * lyxfunc.C (dispatch): invoke it.
6928
6929 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6930
6931         * iterators.C (operator++, ParPosition): reintroduce some
6932         const_cast for the benefit of older compilers.
6933
6934 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6935
6936         * text3.C (dispatch): do not modify clipboard when doing
6937         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6938         LFUN_DELETE_SKIP on a selection selection
6939
6940 2003-06-16  André Pönitz  <poenitz@gmx.net>
6941
6942         * BufferView.C:
6943         * buffer.C:
6944         * buffer.h:
6945         * paragraph.C:
6946         * tabular.[Ch]: IU of clone() and getLabelList();
6947
6948 2003-06-13  André Pönitz  <poenitz@gmx.net>
6949
6950         * tabular.h: compactification
6951
6952 2003-06-12  André Pönitz  <poenitz@gmx.net>
6953
6954         * tabular.C:
6955         * tabular.h:
6956         * tabular_funcs.h: some renaming plus whitespace
6957
6958 2003-06-12  André Pönitz  <poenitz@gmx.net>
6959
6960         * BufferView.C:
6961         * BufferView_pimpl.C:
6962         * CutAndPaste.C:
6963         * buffer.C:
6964         * iterators.[Ch]:
6965         * lyxfunc.C:
6966         * text.C:
6967         * toc.C: Return a Paragraph & for ParIterator::operator*()
6968
6969 2003-06-11  John Levon  <levon@movementarian.org>
6970
6971         * lyx_main.C:
6972         * ToolbarBackend.h:
6973         * ToolbarBackend.C: add "Toolbars" section and
6974         put the flags there
6975
6976 2003-06-10  Angus Leeming  <leeming@lyx.org>
6977
6978         * lfuns.h:
6979         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6980
6981         * lyxfunc.C (dispatch): invoke it.
6982
6983 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * main.C: protect <ios> with HAVE_IOS
6986         (main): protect sync_with_stdio with HAVE_IOS
6987
6988 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6989
6990         * text2.C (cutSelection): adjust
6991         (pasteSelection): adjust
6992
6993         * messages.C: handle get of empty string
6994
6995         * main.C (main): use sync_with_stdio(false)
6996
6997         * lyxfunc.C (dispatch): adjust
6998
6999         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7000         (WriteAs): remove unneeded BufferView arg.
7001
7002         * bufferparams.h: use correct types on papersize, papersize2 and
7003         paperpackage.
7004
7005         * bufferparams.C (readToken): adjust for type
7006         (writeLaTeX): add missing cases to switch.
7007
7008         * bufferlist.C (quitWriteBuffer): adjust
7009         (close): adjust
7010
7011         * buffer.C (asciiParagraph): remove some commented code.
7012
7013         * CutAndPaste.C: remove current_view extern variable.
7014         (cutSelection): add BufferParams arg.
7015         (eraseSelection): add BufferParams arg.
7016         (pasteSelection): add Buffer const & arg
7017
7018 2003-06-07  John Levon  <levon@movementarian.org>
7019
7020         * buffer.C:
7021         * paragraph_funcs.C:
7022         * paragraph_pimpl.C:
7023         * text.C:
7024         * text2.C:
7025         * paragraph.h:
7026         * paragraph.C: allow InsetERT to freely space lines,
7027         and some consolidation of code
7028
7029 2003-06-06  José Matos  <jamatos@fep.up.pt>
7030
7031         * buffer.C (makeDocBookFile): fix bug #821
7032
7033 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7034
7035         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7036
7037 2003-06-04  Angus Leeming  <leeming@lyx.org>
7038
7039         * buffer.C: bump format to 224.
7040
7041 2003-06-05  André Pönitz  <poenitz@gmx.net>
7042
7043         * text2.C (redoParagraphs): remove two const_cast<>
7044
7045 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7046
7047         * ParagraphList.h: remove last remnants of NO_STD_LIST
7048
7049 2003-06-03  Angus Leeming  <leeming@lyx.org>
7050
7051         * factory.C (createInset): small change to the way InsetExternal's params
7052         are set.
7053
7054 2003-06-04  André Pönitz  <poenitz@gmx.net>
7055
7056         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7057
7058         * paragraph_pimpl.h:
7059         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7060
7061         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7062
7063         * undo_funcs.C: make some simple cases of undo work again
7064
7065 2003-06-03  John Levon  <levon@movementarian.org>
7066
7067         * ispell.C: HPUX doesn't have sys/select.h
7068         (from Albert Chin)
7069
7070 2003-06-03  John Levon  <levon@movementarian.org>
7071
7072         * CutAndPaste.C: update tabular and include inset
7073         buffer references
7074
7075         * buffer.h:
7076         * paragraph.h:
7077         * paragraph.C: remove owningBuffer(), don't pass Buffer
7078         to clone()
7079
7080         * factory.C: insetGraphicsParams changed
7081
7082 2003-06-02  John Levon  <levon@movementarian.org>
7083
7084         * LyXAction.C:
7085         * factory.C:
7086         * lfuns.h:
7087         * lyxfunc.C:
7088         * text3.C: remove insetparent
7089
7090 2003-06-02  John Levon  <levon@movementarian.org>
7091
7092         * buffer.h:
7093         * buffer.C: fix inset_iterator.end(), move out of line
7094         (bug 1149)
7095
7096 2003-06-01  John Levon  <levon@movementarian.org>
7097
7098         * text3.C: use a proper cut/paste when doing inset
7099         insert (from Jürgen Spitzmüller)
7100
7101 2003-06-01  John Levon  <levon@movementarian.org>
7102
7103         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7104
7105 2003-05-30  André Pönitz  <poenitz@gmx.net>
7106
7107         * rowpainter.C: unify second drawing phase
7108
7109 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7110
7111         * trans_mgr.C: remove one case of current_view
7112
7113         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7114
7115         * paragraph_funcs.h: remove paragraph.h include
7116
7117         * paragraph.h: delete NO_STD_LIST stuff
7118
7119         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7120
7121         * buffer.h: remove paragraph.h include
7122
7123         * ParagraphList.C: delete file
7124
7125         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7126
7127         * toc.C (getTocList): adjust
7128
7129         * paragraph_pimpl.C (validate): adjust
7130
7131         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7132
7133         * paragraph.C (Paragraph): adjust
7134         (getPositionOfInset): use const_iterator, adjust
7135         (bibitem): use const_iterator, adjust
7136         (setInsetOwner): adjust
7137
7138         * iterators.C (operator++): adjust
7139
7140         * InsetList.[Ch]: Replace selfmade iterator with standard
7141         vector::iterator also introduce const_iterator. Remove getPos,
7142         getInset and setInset from InsetTable. Adjust accordingly.
7143
7144         * BufferView.C (lockInset): adjust
7145         (ChangeInsets): adjust
7146
7147         * tabular.[Ch]: delete commented same_id functions
7148
7149 2003-05-28  John Levon  <levon@movementarian.org>
7150
7151         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7152
7153 2003-05-28  André Pönitz  <poenitz@gmx.net>
7154
7155         * metricsinfo.[Ch]: remove 'fullredraw' member
7156
7157 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7158
7159         * lyxtextclass.C (operator): remove caching.
7160
7161 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7162
7163         * text3.C: adjust
7164
7165         * text2.C (cursorBottom): adjust
7166         (setCounter): use ParagraphList::find, adjust
7167
7168         * text.C (workWidth): use ParagraphList::find, adjust
7169
7170         * lyxcursor.C (LyXCursor): adjust
7171
7172         * buffer.C (inset_iterator): adjust
7173
7174         * ParagraphList.h: make iterator(value_type) private, make
7175         ParagraphList a friend of iterator.
7176
7177         * ParagraphList.C (find): new function
7178
7179         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7180
7181 2003-05-27  André Pönitz  <poenitz@gmx.net>
7182
7183         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7184
7185 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7186
7187         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7188
7189 2003-05-26  John Levon  <levon@movementarian.org>
7190
7191         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7192
7193 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * remove same_id from function signatures, adjust.
7196
7197 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7198
7199         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7200
7201         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7202
7203         * paragraph.C (Paragraph): get rid of same_ids parameter
7204
7205         * ParagraphList.C (insert): adjust
7206         (push_back): adjust
7207
7208 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * paragraph_funcs.C (breakParagraph): adjust
7211         (breakParagraphConservative): adjust
7212
7213         * buffer.C (readParagraph): adjust
7214
7215         * ParagraphList.C (insert): take a reference instead of a pointer
7216         (insert): adjust
7217
7218         * paragraph.[Ch] (id): new function
7219
7220         * bufferlist.C (newFile): adjust
7221
7222         * ParagraphList.C (ParagraphList): adjust
7223         (assign): adjust
7224         (push_back): take a reference instead of a pointer.
7225
7226         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7227
7228         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7229         instead.
7230
7231         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7232         set else use old code.
7233
7234         * ParagraphList.C: remove all NO_NEXT code and only compile this
7235         code of NO_STD_LIST is set.
7236
7237 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7238
7239         * BufferView_pimpl.C:
7240         * TextCache.C:
7241         * TextCache.h:
7242         * bufferlist.C:
7243         * errorlist.h:
7244         * format.C:
7245         * format.h:
7246         * graph.C:
7247         * lyxfunc.C:
7248         * lyxrc.C:
7249         * graphics/GraphicsConverter.C:
7250         * graphics/PreviewLoader.C: header adjustment
7251
7252 2003-05-23  Angus Leeming  <leeming@lyx.org>
7253
7254         * LaTeXFeatures.[Ch] (useBabel): new method.
7255         * bufferparams.C (writeLaTeX): use it.
7256
7257 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7258
7259         * ParagraphList.h (set): remove unused function.
7260
7261 2003-05-23  André Pönitz  <poenitz@gmx.net>
7262
7263         * BufferView.C:
7264         * BufferView_pimpl.C:
7265         * buffer.C:
7266         * buffer.h:
7267         * lyxfunc.C:
7268         * undo_funcs.C: setUndo reworked
7269
7270         * iterators.[Ch]: add access to topmost ParagraphList
7271
7272         * lyxtext.[Ch] (workWidth): add a const
7273
7274 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7275
7276         * texrow.[Ch] (increasePos): remove function
7277         * exporter.C (export): removed unused var and outdated comment
7278
7279 2003-05-23  Angus Leeming  <leeming@lyx.org>
7280
7281         * latexrunparams.h: rename fragile as moving_arg.
7282         * paragraph.C (simpleTeXOnePar): ditto.
7283         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7284
7285 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7286
7287         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7288         (createUndo): ditto
7289         (textUndoOrRedo): comment out a currently unused var.
7290
7291         * paragraph.h (NO_NEXT): enable NO_NEXT
7292
7293         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7294
7295         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7296
7297         * exporter.C (Export): adjust for removeAutoInsets removal.
7298
7299         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7300
7301         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7302
7303         * BufferView.[Ch] (removeAutoInsets): delete function
7304
7305 2003-05-22  Angus Leeming  <leeming@lyx.org>
7306
7307         * latexrunparams.h: add a free_spacing variable.
7308
7309         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7310         to pass moving_arg, as the data is stored in runparams.fragile.
7311
7312         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7313         to Inset::latexOptional or to simpleTeXOnePar.
7314
7315         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7316         free_spacing arg to Inset::latexOptional.
7317
7318         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7319         free_spacing arg.
7320
7321 2003-05-22  Angus Leeming  <leeming@lyx.org>
7322
7323         * latexrunparams.h: add fragile and use_babel variables.
7324
7325         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7326         * buffer.C (makeLaTeXFile): store this returned value in
7327         runparams.use_babel, thus passing it to the inset::latex methods.
7328
7329         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7330         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7331
7332         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7333         longer has a fragile arg, as it is stored in runparams.fragile.
7334
7335         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7336         moving_arg parameter as the data is stored in runparams.fragile.
7337
7338         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7339         a fragile parameter as the data is stored in runparams.fragile.
7340
7341 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7344
7345 2003-05-22  Angus Leeming  <leeming@lyx.org>
7346
7347         * latexrunparams.h: add a 'bool nice' which defaults to false.
7348
7349         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7350         now encapsulated within runparams.
7351
7352         * bufferlist.C (updateIncludedTeXfiles):
7353         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7354
7355 2003-05-22  Angus Leeming  <leeming@lyx.org>
7356
7357         * latexrunparams.h: new file containing struct LatexRunParams.
7358         * Makefile.am: add new file.
7359
7360         * LaTeX.[Ch] (c-tor, run):
7361         * buffer.[Ch] (makeLaTeXFile):
7362         * bufferlist.[Ch] (updateIncludedTeXfiles):
7363         * converter.C (convert, scanLog):
7364         * converter.[Ch] (runLaTeX):
7365         * exporter.C (Export):
7366         * paragraph.[Ch] (simpleTeXOnePar):
7367         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7368         * paragraph_funcs.[Ch] (latexParagraphs):
7369         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7370         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7371         pass around a LatexRunParams parameter.
7372
7373 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * paragraph.[Ch]: remove unused constructor
7376
7377         * ParagraphList.C (erase): new function, taking two iterators
7378
7379 2003-05-22  André Pönitz  <poenitz@gmx.net>
7380
7381         * undo_funcs.C: remove duplicated code
7382
7383         * iterator.[Ch]: operator=
7384
7385 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7386
7387         * tabular.C (SetMultiColumn): ws changes
7388
7389         * rowpainter.C (paintFirst): get rid of a ->previous
7390
7391         * lyx_cb.C (getPossibleLabel): parlist simplification
7392
7393         * BufferView.C (ChangeInsets): simplify slightly.
7394
7395 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7396
7397         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7398         * lfuns.h: new LFUN_SPACE
7399         * lyxfunc.C: protected space has a new lfun
7400         * paragraph_funcs.C: read new space insets
7401         * text3.C:
7402         * factory.C: handle new space insets
7403
7404 2003-05-22  André Pönitz  <poenitz@gmx.net>
7405
7406         * BufferView.C:
7407         * BufferView_pimpl.C:
7408         * buffer.[Ch]:
7409         * lyxfunc.C:
7410         * undo_funcs.C: return a ParIterator from getParFromID.
7411
7412         * iterators.[Ch]: add two const's
7413
7414 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * toc.C (getTocList): adjust
7417
7418         * iterators.[Ch]: rework for parlist
7419
7420         * buffer.C (par_iterator_begin): adjust
7421         (par_iterator_end): adjust
7422
7423         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7424
7425         * BufferView.C (removeAutoInsets): adjust
7426         (ChangeInsets): adjust
7427
7428 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7429
7430         * text.C (top_y): fix bug 1110
7431
7432 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7433
7434         * errorlist.[Ch]: added
7435         * buffer.C:
7436         * BufferView.[Ch]:
7437         * BufferView_pimpl.C:
7438         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7439         instead
7440
7441 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * Makefile.am: ensure that lyx is relinked upon changes to the
7444         various "convenience" libs.
7445
7446 2003-05-20  Angus Leeming  <leeming@lyx.org>
7447
7448         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7449         files are compiled in alphabetical order again.
7450
7451         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7452
7453 2003-05-19  Angus Leeming  <leeming@lyx.org>
7454
7455         * gettext.[Ch]: remove "char const * _(char const *)".
7456
7457 2003-05-19  André Pönitz  <poenitz@gmx.net>
7458
7459         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7460
7461         * Makefile.am:
7462         * BufferView.C:
7463         * DepTable.h:
7464         * LaTeXFeatures.C:
7465         * buffer.C:
7466         * lyxfont.C:
7467         * lyxlex.h:
7468         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7469
7470 2003-05-19  André Pönitz  <poenitz@gmx.net>
7471
7472         * buffer.C:
7473         * lyxlayout.[Ch]:
7474         * lyxtextclass.[Ch]:
7475         * paragraph.C:
7476         * paragraph_funcs.[Ch]:
7477         * text2.C:
7478         * text3.C: more insetenv work
7479
7480 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7481
7482         * ParagraphParameters.C (params2string): small bug fixed
7483
7484 2003-05-16  André Pönitz  <poenitz@gmx.net>
7485
7486         * debug.C:
7487         * bufferview_funcs.C: patch from Kornel Benko to prevent
7488           crash when _(...) is called twice in a statement
7489
7490 2003-05-16  André Pönitz  <poenitz@gmx.net>
7491
7492         * BufferView.C:
7493         * lyxfunc.C:
7494         * text.C:
7495         * text2.C:
7496         * text3.C:
7497         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7498
7499 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7500
7501         * lyx_main.C (init): remove spurious static_cast
7502
7503 2003-05-14  André Pönitz  <poenitz@gmx.net>
7504
7505         * BufferView.C: fix format string
7506
7507 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7508
7509         * BufferView.[Ch] (insertErrors): removed
7510         * BufferView.[Ch] (showErrorList): added
7511         * buffer.C (runChkTeX):
7512         * converter.C (scanLog): call showErrorList instead of inserterrors
7513
7514 2003-05-13  André Pönitz  <poenitz@gmx.net>
7515
7516         * BufferView_pimpl.C:
7517         * buffer.C:
7518         * bufferview_func.C:
7519         * MenuBackend.C:
7520         * lyxfunc.C:
7521         * lyxrc.C:
7522         * tex-accent.C:
7523         * text3.C:
7524         * toc.C:
7525         * tabular_funcs.h: tostr() from its own header
7526
7527         * ParagraphParameters.C:
7528         * ToolbarBackend.C:
7529         * bufferparams.C:
7530         * format.C:
7531         * lyxlex_pimpl.C:
7532         * text3.C: STRCONV()
7533
7534 2003-05-12  André Pönitz  <poenitz@gmx.net>
7535
7536         * BufferView.C:
7537         * BufferView_pimpl.C:
7538         * CutAndPaste.C:
7539         * LaTeX.C:
7540         * LaTeXFeatures.C:
7541         * ParagraphParameters.C:
7542         * buffer.C:
7543         * bufferlist.C:
7544         * bufferparams.C:
7545         * bufferview_funcs.C:
7546         * converter.C:
7547         * counters.C:
7548         * debug.C:
7549         * exporter.C:
7550         * format.C:
7551         * importer.C:
7552         * lyx_cb.C:
7553         * lyx_main.C:
7554         * lyxfont.C:
7555         * lyxfunc.C:
7556         * lyxvc.C:
7557         * paragraph.C:
7558         * paragraph_funcs.C:
7559         * tabular.C:
7560         * tabular_funcs.C:
7561         * text2.C:
7562         * text3.C:  boost::format -> bformat  all over the place
7563
7564
7565 2003-05-09  André Pönitz  <poenitz@gmx.net>
7566
7567         * LColor.[Ch]: Pimpl the #include <map> away
7568
7569 2003-05-09  John Levon  <levon@movementarian.org>
7570
7571         * bufferlist.C: never remove emergency saves
7572
7573 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * Makefile.am: better lib building
7576
7577 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7578
7579         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7580         instead.
7581         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7582         (simpleTeXSpecialChars): adjust
7583         (simpleTeXSpecialChars): adjust
7584         * paragraph.C (simpleTeXOnePar): adjust
7585         * buffer.C (makeLaTeXFile): adjust
7586
7587         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7588
7589         * text2.C (changeDepth): parlist cleanup
7590         (getColumnNearX): ditto
7591
7592         * rowpainter.C (getLabelFont): parlist cleanup
7593
7594         * bufferlist.C (newFile): parlist cleanup
7595
7596         * CutAndPaste.C (eraseSelection): parlist cleanup
7597
7598         * BufferView_pimpl.C (trackChanges): parlist cleanup
7599         (dispatch): ditto
7600
7601         * BufferView.C (lockInset): parlist cleanup.
7602         (ChangeInsets): ditto
7603
7604 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7605
7606         * CutAndPaste.h: Update file header.
7607
7608         * CutAndPaste.C: Update file header.
7609         Store the parts cut out of the Document in a limited_stack.
7610         (copySelection): adjust
7611         (pasteSelection): new function, takes the index in the limited stack.
7612         (nrOfParagraphs): adjust
7613         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7614         simplify error inset insertion.
7615         (checkPastePossible): adjust
7616
7617 2003-05-06  John Levon  <levon@movementarian.org>
7618
7619         * text2.C: don't cast wrap inset to float
7620
7621 2003-05-05  André Pönitz  <poenitz@gmx.net>
7622
7623         * iterator.C:
7624         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7625
7626         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7627           few naked Paragraph *.
7628
7629 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7630
7631         * bufferparams.C: Output warning if a document with missing
7632         TeX document class is loaded
7633         * exporter.C: Disable TeX exports if the document class is missing
7634         * lyxtextclass.C:
7635         * lyxtextclass.h:
7636         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7637         isTeXClassAvailable()
7638
7639 2003-05-03  John Levon  <levon@movementarian.org>
7640
7641         * BufferView.h:
7642         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7643         explicit cursor show/hide
7644
7645         * BufferView_pimpl.h:
7646         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7647         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7648
7649         * lyxfunc.C: hide cursor before dispatching.
7650
7651         * lyx_cb.C:
7652         * lyxfind.C:
7653         * text.C:
7654         * text3.C: remove explicit cursor hides
7655
7656 2003-05-02  André Pönitz  <poenitz@gmx.net>
7657
7658         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7659
7660         * undo_funcs.C:
7661         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7662           linked lists
7663
7664         * text2.C: tiny whitespace
7665
7666 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * undo_funcs.C: almost only ws changes.
7669
7670         * ParagraphList.C (splice): just return if pl is empty.
7671
7672 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7673
7674         * ParagraphList.C (splice): new function.
7675
7676         * CutAndPaste.C (pasteSelection): use it
7677
7678 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * CutAndPaste.C (pasteSelection): remove the last next and
7681         previous from this file.
7682
7683 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7684
7685         * CutAndPaste.C (pasteSelection): more clean up, user proper
7686         ParagraphList functions for pasteing.
7687
7688         * ParagraphList.C (insert): new function, three arg insert
7689
7690 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7691
7692         * ParagraphList.C (insert): new function, three arg insert
7693
7694         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7695         not on paragraphs.
7696
7697 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7700
7701 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7702
7703         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7704
7705 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7706
7707         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7708         (copySelection): clean up a bit.
7709         (pasteSelection): use make_pair
7710
7711         * ParagraphList.C (ParagraphList): implement copy constructor
7712         (operator=): implement, base on copy constructor.
7713         (assign): new func
7714
7715         * paragraph.C (erase): return a bool
7716
7717         * paragraph_pimpl.C (erasePos): remove function, move contents...
7718         (erase): ... here. Return a bool.
7719         (erase): call erase instead of erasePos.
7720
7721 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7722
7723         * ParagraphList.h: define PitPosPair
7724         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7725         ParagraphList, fix a bug on pasting multiple pars
7726         * text2.C: change interface to C&P
7727
7728 2003-04-30  André Pönitz  <poenitz@gmx.net>
7729
7730         * undo_func.C: revert part of yesterday's patch 2
7731
7732 2003-04-30  John Levon  <levon@movementarian.org>
7733
7734         * LColor.C: s/tabular/table/
7735
7736 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7737
7738         * text3.C (dispatch): do not convert iterator -> pointer
7739         * undo_funcs.C (setCursorParUndo): ditto
7740         * text_funcs.C (transposeChars): ditto
7741
7742         * text2.C (setLayout): ws changes only
7743
7744         * text.C (breakParagraph): do not convert iterator -> pointer
7745         (insertChar): ditto
7746         (acceptChange): ditto
7747         (rejectChange): ditto
7748         (changeCase): ditto
7749         (Delete): ditto
7750         (backspace): ditto
7751
7752         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7753         pointer
7754
7755 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7756
7757         * text3.C (gotoInset): YABG (yet another bad getChar)
7758
7759 2003-04-29  André Pönitz  <poenitz@gmx.net>
7760
7761         * paragraph.h: make operator= private unimplemented as long as
7762           it is unusable
7763
7764         * ParagraphList.C: whitespace
7765
7766         * paragraph.[Ch]:
7767         * paragraph_pimpl.[Ch]:
7768         * paragraph_funcs.C:
7769         * CutAndPaste.C:
7770         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7771
7772         * text2.C:
7773           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7774
7775 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7776
7777         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7778         * paragraph.[Ch] (erase):
7779         * paragraph_pimpl.[Ch] (erase): change return type and value
7780         * text2.C (cutSelection): some rework
7781
7782 2003-04-28  John Levon  <levon@movementarian.org>
7783
7784         * bufferlist.C: changes for unsaved changes dialog
7785
7786 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * bufferlist.C (newFile): set language (messages_) for new
7789         documents also.
7790
7791         * buffer.C (readFile): ws changes only.
7792
7793 2003-04-28  André Pönitz  <poenitz@gmx.net>
7794
7795         * undo_funcs.C:
7796         * lyxfunc.C:
7797         * buffer.[Ch]:
7798         * BufferView_pimpl.C:
7799         * BufferView.C: getParFromID related ParagraphList::iterator changes
7800
7801 2003-04-28  André Pönitz  <poenitz@gmx.net>
7802
7803         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7804           Changes
7805
7806 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7807
7808         * messages.C: remove one more localedir class variable.
7809
7810 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7811
7812         * messages.C (getLocaleDir): singleton generation function
7813         (Pimpl): use it.
7814         (Messages): add a default constructor.
7815
7816         * main.C (main): do not setup localedir here, do not call
7817         gettext_init.
7818
7819         * gettext.C (_): use it.
7820         (gettext_init): delete funciton
7821
7822 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * gettext.C (getLyXMessages): new singleton generating function.
7825
7826         * buffer.C (updateDocLang): adjust
7827
7828         * Makefile.am (messages.o): add target
7829         (main.o): remove target
7830
7831 2003-04-27  John Levon  <levon@movementarian.org>
7832
7833         * bufferlist.C:
7834         * lyx_cb.C:
7835         * lyxfunc.C:
7836         * lyxvc.C: specify cancel button in Alert::prompt
7837
7838 2003-04-26  John Levon  <levon@movementarian.org>
7839
7840         * text3.C:
7841         * lyxfunc.C:
7842         * lfuns.h:
7843         * LyXAction.C: add LFUN_INSET_SETTINGS
7844
7845         * lyxfunc.C: don't enable tabular-feature when there's
7846         just any locking inset
7847
7848 2003-04-26  John Levon  <levon@movementarian.org>
7849
7850         * bufferlist.C: re-add Cancel to buffer close question
7851
7852         * lyxfunc.C: fix import UI a bit
7853
7854 2003-04-25  John Levon  <levon@movementarian.org>
7855
7856         * gettext.C: remove the broken asserts for now
7857
7858 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7859
7860         * messages.C: make case where setlocale cannot comply work better.
7861
7862         * buffer.C (updateDocLang): new function
7863         (changeLanguage): use it
7864         (readFile): use it
7865
7866         * text2.C (setCounter): use B_ a bit.
7867
7868         * lyxlayout.C (Read): be sure to trim the label strings.
7869
7870         * messages.C (Messages): fix typo in comment
7871
7872         * buffer.C (readFile): set message_ after file is loaded.
7873         (makeDocBookFile): remove double return
7874         (changeLanguage): reset message_ upon language change.
7875         (B_): new func, use this to get translated buffer strings.
7876
7877         * main.C: add myself and Jean Marc as authors.
7878
7879 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * messages.[hC]: pimplify Messages, and three different pimpls to be
7882         used in different circumstances.
7883
7884         * gettext.[Ch]: change for use with new message code.
7885
7886 2003-04-24 André Pönitz <poenitz@gmx.net>
7887
7888         * factory.C: support for eqref
7889
7890 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * messages.[Ch]: add missing char
7893
7894         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7895
7896         * messages.[Ch]: New files
7897
7898 2003-04-18  John Levon  <levon@movementarian.org>
7899
7900         * BufferView.h:
7901         * BufferView.C:
7902         * BufferView_pimpl.C:
7903         * lfuns.h:
7904         * LyXAction.C:
7905         * lyxtext.h:
7906         * text2.C: remove layout-copy/paste (bug 778)
7907
7908 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7909
7910         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7911
7912 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7913
7914         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7915         if they succeed. Act accordingly.
7916
7917 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7918
7919         * text2.C (setCharFont): adjust
7920         (setCounter): adjust
7921         (insertStringAsLines): adjust
7922
7923         * text.C (leftMargin): adjust
7924         (setHeightOfRow): adjust
7925
7926         * rowpainter.C (paintFirst): adjust
7927         (paintLast): adjust
7928
7929         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7930         (outerHook): ditto
7931         (isFirstInSequence): ditto
7932         (getEndLabel): ditto
7933         (outerFont): adjust
7934
7935         * paragraph.C (getParLanguage): comment out some hard stuff.
7936
7937         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7938         (sgmlError): ditto
7939         (simpleDocBookOnePar): ditto
7940         (makeDocBookFile): use ParagraphList::iterator
7941
7942         * CutAndPaste.C (pasteSelection): adjust
7943
7944 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7945
7946         * text2.C (getFont): adjust
7947         (getLayoutFont): adjust
7948         (getLabelFont): adjust
7949
7950         * paragraph_funcs.C (TeXOnePar): adjust
7951
7952         * buffer.C (simpleLinuxDocOnePar): adjust
7953         (simpleDocBookOnePar): adjust
7954
7955         * CutAndPaste.C (pasteSelection): adjust
7956
7957         * BufferView.C (getEncoding): adjust
7958
7959         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7960
7961 2003-04-16  John Levon  <levon@movementarian.org>
7962
7963         * lyxfind.C: use parlist stuff for search/changes
7964
7965 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7966
7967         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7968
7969         * text2.C (deleteEmptyParagraphMechanism): adjust
7970
7971         * text2.[Ch] (ownerParagraph): delete func (both of them
7972
7973 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7976
7977 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7978
7979         * ParagraphList.C: prepare for NO_NEXT
7980
7981 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982
7983         * text2.C (getFont): adjust
7984         (getLayoutFont): adjust
7985         (getLabelFont): adjust
7986
7987         * paragraph.C (getFont): adjust
7988         (getLabelFont): adjust
7989         (getLayoutFont): adjust
7990
7991         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7992
7993 2003-04-15  John Levon  <levon@movementarian.org>
7994
7995         From Angus Leeming
7996
7997         * lyx_main.C: handle Include in .ui files
7998
7999 2003-04-15  John Levon  <levon@movementarian.org>
8000
8001         * MenuBackend.C: make the doc files length shorter
8002
8003         * ToolbarBackend.h:
8004         * ToolbarBackend.C: handle toolbar placement flags,
8005         Minibuffer
8006
8007 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8008
8009         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8010         adjust
8011
8012         * paragraph_funcs.C (TeXOnePar): adjust
8013
8014         * paragraph.C (getLabelFont): add outerfont arg, adjust
8015         (getLayoutFont): ditto
8016         (simpleTeXOnePar): adjust
8017
8018         * paragraph_pimpl.C (realizeFont): delete func
8019
8020 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8021
8022         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8023         row argument, constify cur argument.
8024
8025 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * text2.C (getFont): adjust
8028         (getLayoutFont): adjust
8029         (getLabelFont): adjust
8030
8031         * paragraph_funcs.C (TeXOnePar): adjust
8032         (outerFont): new func...
8033         (realizeFont): ...moved out from here, changed this to facilitate
8034         transition
8035
8036         * paragraph.C (getFont): take outerfont as arg, adjust
8037         (simpleTeXOnePar): add outerfont arg, adjust
8038
8039         * buffer.C (simpleLinuxDocOnePar): adjust
8040         (simpleDocBookOnePar): adjust
8041
8042         * CutAndPaste.C (pasteSelection): adjust
8043
8044         * BufferView.C (getEncoding): adjust
8045
8046 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8047
8048         * text2.C (setCharFont): adjust
8049         (setCounter): adjust
8050
8051         * text.C (leftMargin): adjust
8052         (setHeightOfRow): adjust
8053
8054         * rowpainter.C (paintFirst): adjust
8055         (paintLast): adjust
8056
8057         * paragraph_pimpl.C (realizeFont): adjust
8058
8059         * paragraph.C (isFirstInSequence): move from here...
8060         * paragraph_funcs.C (isFirstInSequence): ...to here
8061
8062         * paragraph.C (outerHook): move from here...
8063         * paragraph_funcs.C (outerHook): ...to here
8064
8065         * paragraph.C (depthHook): move from here...
8066         * paragraph_funcs.C (depthHook): ...to here
8067
8068         * paragraph.C (getEndLabel): move from here...
8069         * paragraph_funcs.C (getEndLabel): ...to here
8070
8071         * text2.C (realizeFont): move from here...
8072         * paragraph_funcs.C (realizeFont): ...to here
8073
8074 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8075
8076         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8077
8078 2003-04-14  Angus Leeming  <leeming@lyx.org>
8079
8080         * LColor.[Ch]: scrap LColor mathcursor.
8081
8082 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8083
8084         * lyxlex.[Ch] (text): delete function
8085         * trans.C (Load): adjust
8086         * paragraph_funcs.C (readParToken): adjust
8087
8088 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8091         vector<char> instead of a char[].
8092
8093         * lyxlex_pimpl.C (getString): adjust
8094         (next): adjust
8095         (lex): use getString
8096         (eatLine): adjust
8097         (nextToken): adjust
8098
8099         * lyxlex.C (text): use pimpl_->getString()
8100         (getBool): ditto
8101         (findToken): ditto
8102
8103 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8106         (makeFontEntriesLayoutSpecific): temp var for par.size()
8107         (setLayout): temp var for ownerParagraphs().end()
8108         (fullRebreak): temp var for rows().end()
8109         (selectionAsString): temp var for boost::next(startpit), realize
8110         that the while really is a regular for loop.
8111         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8112         setCursor in one place.
8113         (setParagraph): temp vr for ownerParagraphs().end()
8114         (updateCounters): make the while loop a for loop
8115         (cutSelection): temp var for ownerParagraphs().end()
8116         (updateInset): make the do {} while() a regular for loop
8117         (getCursorX): use temp vars
8118         (setCurrentFont): use temp vars
8119         (getColumnNearX): use temp vars
8120
8121 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8122
8123         * text.C (transformChar): use temp var for getChar
8124         (computeBidiTables): use temp var for row->par()
8125         (fill): move temp vars for row->par() and pit->layout() earlier in
8126         the function.
8127         (labelFill): use temp var for row->par()
8128         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8129         asc and desc, realize that pit never changes and that firstpit is
8130         just a duplicate and not needed. Exchange rit->par() with pit in a
8131         lot of places.
8132         (breakAgain): use a temp var for boost::next(rit)
8133         (breakAgainOneRow): ditto
8134         (breakParagraph): use a temp var for rows().begin()
8135         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8136         (cursorRightOneWord): use temp var for cursor.par() and
8137         cursor.pos(), remove usage of tmpcursor.
8138         (cursorLeftOneWord): use temp var for cursor.par() and
8139         cursor.pos() only set cur at end of function.
8140
8141 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * text.C, text2.C: exchange all usage of Paragraph::next with
8144         boost::next(ParagraphList::iterator)
8145
8146         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8147
8148         * text2.C (cursorTop): simplify implementation
8149         (cursorBottom): ditto
8150         (setParagraph): use ParagraphList::iterator
8151         (setCurrentFont): adjust
8152         (getColumnNearX): adjust
8153         (cursorRight): adjust
8154         (cursorLeft): remove usage of Paragraph::previous
8155         (cursorUpParagraph): ditto
8156         (deleteEmptyParagraphMechanism): slight cleanup
8157
8158         * text.C (isBoundary): take a Paragraph const & instead of a
8159         pointer as arg.
8160         (addressBreakPoint): ditto
8161         (leftMargin): remove usage of Paragraph::previous.
8162         (setHeightOfRow): ditto
8163         (cursorLeftOneWord): ditto
8164         (selectNextWordToSpellcheck): ditto
8165         (Delete): ditto
8166         (backspace): ditto
8167         (breakParagraph): remove one usage of Paragraph::next
8168         (redoParagraph): ditto
8169         (acceptChange): ditto
8170         (insertChar): adjust
8171         (rowBreakPoint): adjust
8172
8173         * bufferview_funcs.C (toggleAndShow): adjust
8174
8175 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8176
8177         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8178         methods to access it.
8179         * lyxtext.h:
8180         * text.C: Added updateRowPositions to compute all row positions.
8181         Make top_y and getRowNearY() to use the cached y position
8182
8183 2003-04-11  John Levon  <levon@movementarian.org>
8184
8185         * text.C (rowBreakPoint): reintroduce the labelEnd
8186         checks, code copied from the row fill stuff. Deep voodoo.
8187
8188         * text.C (fill): add a comment and debugging for the
8189         next poor soul.
8190
8191 2003-04-11  John Levon  <levon@movementarian.org>
8192
8193         * text.C: make sure fullrow insets get wrapped to the next line,
8194         even when they're in a manual label
8195
8196 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8197
8198         * text2.C (insertParagraph): make it take ParagraphList::iterator
8199         as arg.
8200         (setLayout): make it return ParagraphList::iterator
8201         (redoParagraphs): ditto
8202         (setCounter): ditto
8203         (checkParagraph): ditto
8204
8205         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8206
8207         * text2.C: adjust several funcs.
8208         (realizeFont): take a ParagraphList::iterator as arg.
8209         (getLayoutFont): ditto
8210         (getLabelFont): ditto
8211         (setCharFont): ditto
8212
8213         * text.C: adjust several funcs.
8214
8215 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8216
8217         * text.C (selectNextWordToSpellcheck): don't accidentally
8218         skip insets
8219
8220 2003-04-10  John Levon  <levon@movementarian.org>
8221
8222         * ToolbarBackend.C (getIcon): special handling for
8223         LFUN_MATH_DELIM
8224
8225 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8226
8227         * text2.C (cursorRight): a getChar assert fixed
8228
8229 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * text2.C (getFont): change to take a ParagraphList::iterator
8232         instead of Paragraph*
8233         Adjust several functions.
8234
8235         * text.C (transformChar): change to take a ParagraphList::iterator
8236         instead of Paragraph*
8237         (singleWidth): ditto
8238         Adjust several functions.
8239
8240         * rowpainter.C: adjust several functions
8241         * rowpainter.h:store a ParagraphList::iterator and not a
8242         Paragraph&.
8243
8244
8245 2003-04-09  John Levon  <levon@movementarian.org>
8246
8247         * lyxfunc.C:
8248         * lfuns.h:
8249         * LyXAction.h:
8250         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8251         and the "help" bits as well
8252
8253 2003-04-09  John Levon  <levon@movementarian.org>
8254
8255         * ToolbarBackend.h:
8256         * ToolbarBackend.C: allow multiple toolbars
8257
8258 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8259
8260         * undo_funcs.C (setCursorParUndo): adjust
8261
8262         * text_funcs.C (transposeChars): adjust
8263
8264         * text3.C (gotoNextInset): adjust
8265         (dispatch): adjust
8266
8267         * text2.C (setLayout): adjust
8268         (changeDepth): adjust
8269         (setFont): adjust
8270         (redoParagraphs): adjust
8271         (selectionAsString): adjust
8272         (setParagraph): adjust
8273         (insertInset): adjust
8274         (cutSelection): adjust
8275         (copySelection): adjust
8276         (pasteSelection): adjust
8277         (insertStringAsLines): adjust
8278         (updateInset): adjust
8279         (setCursor): change to take a ParagraphList::iterator parameter
8280         (setCursorIntern): change to take a ParagraphList::iterator parameter
8281         (setCurrentFont): adjust
8282         (cursorLeft): adjust
8283         (cursorRight): adjust
8284         (deleteEmptyParagraphMechanism): adjust
8285
8286         * text.C (breakParagraph): adjust
8287         (insertChar): adjust
8288         (acceptChange): adjust
8289         (rejectChange): adjust
8290         (selectNextWordToSpellcheck): adjust
8291         (changeCase): adjust
8292         (Delete): adjust
8293         (backspace): adjust
8294
8295         * lyxfind.C (SearchForward): adjust
8296         (SearchBackward): adjust
8297         (nextChange): adjust
8298
8299         * lyxcursor.C (par): adjust
8300
8301         * lyxcursor.h: store a ParagraphList::iterator instead of a
8302         Paragraph*
8303
8304         * lyx_cb.C (getPossibleLabel): adjust
8305
8306         * bufferview_funcs.C (toggleAndShow): adjust
8307
8308         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8309         (dispatch): adjust
8310
8311         * BufferView.C (removeAutoInsets): adjust
8312         (lockedInsetStoreUndo): adjust
8313
8314 2003-04-09  John Levon  <levon@movementarian.org>
8315
8316         * ToolbarBackend.C: try icon without argument
8317         if with argument fails
8318
8319 2003-04-08  John Levon  <levon@movementarian.org>
8320
8321         * ToolbarBackend.h:
8322         * ToolbarBackend.C: add getIcon(), handle tooltip,
8323         and change from "Icon" to "Item".
8324
8325 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8326
8327         * BufferView.C (lockInset): another bad getchar crunched
8328
8329 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8330
8331         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8332         again)
8333
8334 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8335
8336         * lyxfind.C (searchForward, searchBackwards): bug 782
8337
8338 2003-04-07  John Levon  <levon@movementarian.org>
8339
8340         * paragraph.C: remove dead comment
8341
8342         * text.C: remove troublesome depth-fiddling code
8343         in leftMargin() and rightMargin() (bug 1017)
8344
8345         * text.C: fix breaking of rows in nested lists
8346         (bug 1004)
8347
8348         * text2.C (updateCounters): fix up depth values
8349         (bug 1013)
8350
8351 2003-04-07  John Levon  <levon@movementarian.org>
8352
8353         * BufferView_pimpl.C: clear message when doc finishes resizing,
8354         and after a mouse event
8355
8356         * lyxfunc.C: clear message after exiting inset
8357
8358 2003-04-07  John Levon  <levon@movementarian.org>
8359
8360         * bufferview_funcs.C: show math status not outside
8361         status in the statusbar
8362
8363 2003-04-07  John Levon  <levon@movementarian.org>
8364
8365         * lyxfunc.C: note status changed after a depth change
8366
8367 2003-04-04  Angus Leeming  <leeming@lyx.org>
8368
8369         * LaTeX.h: move AuxInfo operator==, != out of line.
8370         Remove LaTeX virtual destructor; nothing derives from it.
8371         Move operator()() out of public area and rename it startscript().
8372         Change protected for private.
8373
8374 2003-04-04  Angus Leeming  <leeming@lyx.org>
8375
8376         * lyxfunc.C:
8377         * text2.C: remove unneeded #includes.
8378
8379 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8380
8381         * text2.C (dEPM): fix the heigth of the next row
8382
8383 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8384
8385         * text.C: squashed an invalid getChar requester + some ws changes
8386
8387 2003-04-03  John Levon  <levon@movementarian.org>
8388
8389         * bufferview_funcs.h:
8390         * bufferview_funcs.C:
8391         * lyxfunc.C:
8392         * lyxtext.h:
8393         * text2.C: make getStatus work for the env depth lfuns
8394
8395 2003-04-03  John Levon  <levon@movementarian.org>
8396
8397         * bufferview_funcs.h:
8398         * bufferview_funcs.C:
8399         * lyxfunc.C:
8400         * lyxtext.h:
8401         * text2.C: parlistize decDepth(), by merging it with incDepth()
8402
8403 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8404
8405         * lyxrow.h: store a ParagraphList::iterator instead of a
8406         Paragraph* and adjust other class functions to suit.
8407
8408         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8409         above.
8410
8411 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8412
8413         * text2.C (setCursor): do not anchor to cursor row for the time being
8414
8415 2003-04-02  John Levon  <levon@movementarian.org>
8416
8417         * LyXAction.C:
8418         * lfuns.h:
8419         * lyx_main.C:
8420         * lyxtext.h:
8421         * text.C:
8422         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8423
8424 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * paragraph.h: make ParagraphList and ParagraphList::iterator
8427         friends of Paragraph.
8428
8429         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8430
8431         * ParagraphList.C: Use the private next_ and previous_ from
8432         Paragraph.
8433
8434 2003-04-01  John Levon  <levon@movementarian.org>
8435
8436         * ToolbarBackend.h:
8437         * ToolbarBackend.C:
8438         * Makefile.am: rename, remove defaults gunk
8439
8440         * MenuBackend.h:
8441         * MenuBackend.C: remove defaults gunk
8442
8443         * Languages.h:
8444         * Languages.C: remove defaults gunk
8445
8446         * lyx_main.h:
8447         * lyx_main.C: error out if files couldn't be found.
8448
8449 2003-04-02  John Levon  <levon@movementarian.org>
8450
8451         * text2.C: make incDepth() use parlist
8452
8453 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * undo_funcs.C (firstUndoParagraph): adjust
8456
8457         * text3.C (gotoInset): adjust
8458         (dispatch): adjust, and rewrite loop.
8459
8460         * text2.C (init): adjust, and rewrite loop.
8461         (redoParagraphs): adjust
8462         (updateInset): adjust, and rewrite loop.
8463         (deleteEmptyParagraphMechanism): adjust
8464
8465         * tabular.C (LyXTabular): adjust
8466         (SetMultiColumn): adjust
8467         (TeXRow): adjust
8468
8469         * lyxtext.[Ch] (ownerParagraph): delete function
8470         (ownerParagraphs): new function returns a ParagraphList.
8471
8472         * BufferView.C (removeAutoInsets): adjust
8473         (insertErrors): adjust
8474         (setCursorFromRow): adjust
8475
8476 2003-04-01  Angus Leeming  <leeming@lyx.org>
8477
8478         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8479         in the frontends.
8480
8481 2003-04-02  John Levon  <levon@movementarian.org>
8482
8483         * lyxtext.h:
8484         * text.C:
8485         * Makefile.am:
8486         * text_funcs.h:
8487         * text_funcs.C: make transposeChars a free function
8488
8489         * lyxrow_funcs.C: remove wrong comment
8490
8491 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8492
8493         * lyxtext.h: adjust
8494         * rowpainter.C: adjust
8495         * text.C: adjust
8496         * text2.C: adjust
8497         * text3.C: adjust
8498
8499         * lyxrow_funcs. [Ch]: new files
8500
8501         * lyxrow.[Ch]: remove next and previous pointers
8502         (next,previous): remove accessor functions
8503         (isParEnd): move to lyxrow_funcs
8504         (lastPos): move to lyxrow_funcs
8505         (nextRowIsAllInset): move to lyxrow_funcs
8506         (lastPrintablePos): move to lyxrow_funcs
8507         (numberOfSeparators): move to lyxrow_funcs
8508         (numberOfHfills): move to lyxrow_funcs
8509         (numberOfLabelHfills): move to lyxrow_funcs
8510         (hfillExpansion): move to lyxrow_funcs
8511
8512         * lyxfunc.C: adjust
8513
8514         * bufferview_funcs.C (toggleAndShow): adjust
8515
8516         * RowList.h: Remove class RowList from file leave just a
8517         std::list<Row>.
8518
8519         * RowList.C: delete file
8520
8521         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8522         and lyxrow_funcs.h
8523
8524 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * text3.C (cursorPrevious): adjust
8527         (cursorNext): adjust
8528         (dispatch): adjust
8529
8530         * text2.C (redoHeightOfParagraph): adjust
8531         (redoDrawingOfParagraph): adjust
8532         (setCursor): adjust
8533
8534         * text.C (breakParagraph): adjust
8535         (insertChar): adjust
8536         (backspace): adjust
8537
8538         * rowpainter.C (RowPainter): adjust
8539         (leftMargin): simplify and adjust
8540         (most rowpainter functions): adjust.
8541
8542         * rowpainter.h: store the row as RowList::iterator not as Row*
8543
8544         * lyxcursor.C (row): taka RowList::iterator as arg
8545         (irow): ditto
8546
8547         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8548         of Row*.
8549
8550 2003-04-01  Angus Leeming  <leeming@lyx.org>
8551
8552         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8553         stuff like bool Bool.
8554
8555 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8556
8557         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8558         rewrite a loop
8559
8560 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8563         RowList::iterator.
8564
8565         * lyxtext.h (rows): drop one version and leve a const variant that
8566         returns a RowList::iterator.
8567
8568 2003-03-31  Angus Leeming  <leeming@lyx.org>
8569
8570         * text.C (fill): ensure that the signature is the same as that in the
8571         header file.
8572
8573 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8574
8575         * text2.C (redoParagraphs): adjust
8576         (updateCounters): adjust
8577         (checkParagraph): adjust
8578         (getColumnNearX): adjust and reformat a bit.
8579
8580         * text.C (top_y): adjust
8581         (workWidth): adjust
8582         (leftMargin): adjust
8583         (prepareToPrint): adjust
8584         (getRow): adjust
8585         (getRowNearY): adjust
8586
8587         * lyxtext.h: make rowlist_ mutable.
8588
8589         * RowList.h: add const_iterator
8590         * RowList.C: adjust for RowList::const_iterator.
8591
8592         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8593         adjust.
8594
8595 2003-03-31  John Levon  <levon@movementarian.org>
8596
8597         * lyxrc.h:
8598         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8599
8600         * lyx_main.C: set default fonts from using lyx_gui funcs
8601
8602         * exporter.C: pdf_mode moved from lyxrc
8603
8604         * lyx_cb.C:
8605         * lyxfunc.C: changes from above
8606
8607 2003-03-31  John Levon  <levon@movementarian.org>
8608
8609         * lyx_main.C: fix to the last fix
8610
8611 2003-03-31  John Levon  <levon@movementarian.org>
8612
8613         * bufferlist.C: "Load original" -> "Load Original"
8614
8615         * converter.C:
8616         * exporter.C:
8617         * importer.C:
8618         * lyx_main.C:
8619         * format.C: more Alert cleanups
8620
8621 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8622
8623         * text2.C (removeParagraph): make it take a RowList::iterator as
8624         arg, adjust.
8625         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8626         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8627
8628         * text.C (anchor_row): make it take a RowList::iterator as arg,
8629         adjust.
8630         (computeBidiTables): make it take a const reference to Row instead
8631         of Row pointer, adjust.
8632         (leftMargin): make it take a RowList::iterator as arg, adjust.
8633         (rowBreakPoint): adjust
8634         (breakAgainOneRow): make it take a RowList::iterator as arg,
8635         adjust.
8636         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8637
8638         * bufferview_funcs.C (toggleAndShow): adjust
8639
8640 2003-03-30  John Levon  <levon@movementarian.org>
8641
8642         * Makefile.am:
8643         * BoostFormat.h:
8644         * boost-inst.C: moved to support
8645
8646         * several files: changes as a result
8647
8648 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8649
8650         * text2.C (LyXText): adjust.
8651         (init): adjust
8652         (removeRow): make it take a RowList::iterator as arg, adjust.
8653         (fullRebreak): adjust
8654         (deleteEmptyParagraphMechanism): adjust
8655         (clearPaint): adjust
8656         (postPaint): adjust
8657
8658         * text.C (top_y): adjust
8659         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8660         (breakAgain): make it take a RowList::iterator as arg, adjust.
8661         (breakParagraph): adjust
8662         (insertChar): adjust
8663         (backspace): adjust
8664
8665         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8666         need_break_row, and refresh_row.
8667
8668         * text3.C (dispatch): adjust
8669
8670         * text2.C (checkParagraph): adjust
8671         (setCursor): adjust
8672         (setCursorFromCoordinates): adjust
8673
8674         * text.C (top_y): adjust
8675         (workWidth): adjust
8676         (getRow): make it return a RowList::iterator, adjust
8677         (getRowNearY): make it return a RowList::iterator, adjust
8678
8679         * text2.C (init): adjust
8680         (insertRow): remove function
8681         (insertParagraph): adjust
8682         (redoParagraphs): adjust
8683         (fullRebreak): adjust
8684         (updateCounters): adjust
8685
8686         * text.C (top_y): rewrite to use RowList iterators.
8687         (top_y): adjust
8688         (setHeightOfRow): rewrite to sue RowList iterators.
8689         (appendParagraph): adjust
8690         (breakAgain): adjust
8691         (breakAgainOneRow): adjust
8692         (breakParagraph): adjust
8693         (getRow): adjust
8694         (getRowNearY): adjust, and remove commented code.
8695
8696         * lyxtext.h (firstRow): delete function
8697         (lastRow): delete function
8698         (rows): new function (const and non-const versions.)
8699         (insertRow): delete function
8700
8701         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8702
8703 2003-03-29  John Levon  <levon@movementarian.org>
8704
8705         * BufferView_pimpl.C: always update scrollbar top
8706         because pasting text when we're anchored could mean we
8707         miss an update altogether
8708
8709 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8710
8711         * text2.C (init): use rowlist_.end() and not 0.
8712         (insertRow): change to take a RowList::iterator as arg, adjust
8713         for this.
8714         (insertParagraph): change to take a RowList::iterator as arg,
8715         adjust for this.
8716         (redoParagraphs): remove some debug msgs.
8717
8718         * text.C (appendParagraph): change to take a RowList::iterator
8719         arg, adjust for this.
8720         (breakAgain): add an assert
8721         (breakAgainOneRow): ditto
8722
8723 2003-03-29  John Levon  <levon@movementarian.org>
8724
8725         * text2.C: do not clear selection after inc/decDepth
8726         (bug 550)
8727
8728 2003-03-29  John Levon  <levon@movementarian.org>
8729
8730         * BufferView.C:
8731         * buffer.C: fix broken strerrors according to Lars
8732
8733 2003-03-29  John Levon  <levon@movementarian.org>
8734
8735         * converters.C: more Alert cleanups
8736
8737 2003-03-29  John Levon  <levon@movementarian.org>
8738
8739         * bufferview_funcs.C: remove pointless Alert
8740
8741         * buffer.C: fix confusing error message when
8742         a template is chmoded 000
8743
8744 2003-03-29  John Levon  <levon@movementarian.org>
8745
8746         * BufferView.C:
8747         * BufferView.h:
8748         * BufferView_pimpl.C: Alert fixes
8749
8750         * Makefile.am:
8751         * tabular.C:
8752         * tabular-old.C: remove unused table compat reading
8753
8754 2003-03-29  John Levon  <levon@movementarian.org>
8755
8756         * BufferView.C:
8757         * buffer.C:
8758         * lyx_cb.h:
8759         * lyx_cb.C: more Alert cleanups
8760
8761         * lyxfunc.C: don't allow chktex if not latex document
8762
8763 2003-03-29  John Levon  <levon@movementarian.org>
8764
8765         * lyx_cb.C:
8766         * BufferView.C:
8767         * buffer.C: warnings pushed down from support/,
8768         kill err_alert
8769
8770 2003-03-29  John Levon  <levon@movementarian.org>
8771
8772         * lyxfunc.C: safety check for C-r (revert)
8773
8774 2003-03-29  John Levon  <levon@movementarian.org>
8775
8776         * bufferlist.h:
8777         * bufferlist.C: several UI fixes using Alert::prompt.
8778         Fix the pointless looping quit code. Fix stupid revert
8779         behaviour (bug 938)
8780
8781         * lyxvc.h:
8782         * lyxvc.C:
8783         * lyx_cb.C: use Alert::prompt
8784
8785         * lyx_main.C: remove a silly question
8786
8787         * lyxfunc.C: remove a couple of silly questions,
8788         use Alert::prompt
8789
8790 2003-03-28  John Levon  <levon@movementarian.org>
8791
8792         * text2.C: fix bug 974 (End on empty par)
8793
8794 2003-03-28  John Levon  <levon@movementarian.org>
8795
8796         * BufferView_pimpl.C:
8797         * LyXAction.C:
8798         * lfuns.h: remove do-nothing math greek lfuns
8799
8800 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8801
8802         * lyxgluelength.h (isValidGlueLength): add default arg on
8803         parameter 2. Remove default arg from friend in class.
8804
8805         * lyxlength.h (isValidLength): add default arg on parameter 2.
8806         Remove default arg from friend in class.
8807
8808         * text2.C (LyXText): adjust, initialize refresh_row.
8809         (init): adjust
8810         (removeRow): adjust
8811         (insertRow): adjust
8812         (insertParagraph): adjst
8813         (redoParagraphs): adjust
8814         (fullRebreak): adjust
8815         (updateCounters): adjust
8816         (deleteEmptyParagraphMechanism): first attempt at fixing a
8817         crashing bug.
8818
8819         * text.C (top_y): adjust
8820         (setHeightOfRow): adjust
8821         (getRow): adjust
8822         (getRowNearY): adjust
8823
8824         * lyxtext.h: include RowList.h
8825         (~LyXText): not needed anymore, deleted.
8826         (firstRow): modify for RowList
8827         (lastRow): new function
8828         Delete firstrow and lastrow class variables, add a Rowlist
8829         rowlist_ class variable.
8830
8831         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8832         paragraph is empty.
8833
8834         * RowList.C (insert): fix case where it == begin().
8835
8836 2003-03-26  Angus Leeming  <leeming@lyx.org>
8837
8838         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8839         the thesaurus dialog.
8840
8841 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8842
8843         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8844
8845         * RowList.[Ch]: new files
8846
8847         * ParagraphList.C (erase): handle the case where it == begin
8848         correctly.
8849
8850 2003-03-25  John Levon  <levon@movementarian.org>
8851
8852         * Makefile.am:
8853         * aspell_local.h:
8854         * aspell.C: add new aspell support
8855
8856         * lyxrc.h:
8857         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8858         have it accessible.
8859
8860 2003-03-25  Angus Leeming  <leeming@lyx.org>
8861
8862         * lfuns.h:
8863         * LyXAction.C (init): new LFUN_INSET_INSERT.
8864
8865         * BufferView_pimpl.C (dispatch): split out part of the
8866         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8867
8868         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8869         LFUN_INSET_APPLY.
8870
8871 2003-03-25  Angus Leeming  <leeming@lyx.org>
8872
8873         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8874
8875 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8876
8877         * text2.C:
8878         * text3.C: remove useless row->height(0)
8879
8880 2003-03-25  John Levon  <levon@movementarian.org>
8881
8882         * lyxtext.h:
8883         * text2.C:
8884         * text3.C: rename the refreshing stuff to better names
8885
8886 2003-03-24  John Levon  <levon@movementarian.org>
8887
8888         * BufferView_pimpl.h:
8889         * BufferView_pimpl.C: update layout choice on a mouse
8890         press/release
8891
8892 2003-03-23  John Levon  <levon@movementarian.org>
8893
8894         * Makefile.am: fix commandtags.h reference
8895
8896 2003-03-22  John Levon  <levon@movementarian.org>
8897
8898         * BufferView_pimpl.C:
8899         * lyxtext.h:
8900         * rowpainter.C:
8901         * rowpainter.h:
8902         * text.C:
8903         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8904
8905 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8906
8907         * lyxtext.h:
8908         * text.C: take the rtl methods out of line
8909
8910 2003-03-21 André Pönitz <poenitz@gmx.net>
8911
8912         * metricsinfo.[Ch]: new files containing structures to be passed around
8913         during the two-phase-drawing...
8914
8915 2003-03-21 André Pönitz <poenitz@gmx.net>
8916
8917         * lyxtextclass.C: read 'environment' tag.
8918
8919 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8920
8921         * text2.C (removeRow): fix bug 964
8922
8923 2003-03-20  John Levon  <levon@movementarian.org>
8924
8925         * rowpainter.C:
8926         * text.C:
8927         * text2.C: paint cleanups. Inset::update() dropped font
8928         parameter
8929
8930 2003-03-19  John Levon  <levon@movementarian.org>
8931
8932         * lyxfunc.C: only fitcursor/markDirty if available()
8933
8934 2003-03-19  John Levon  <levon@movementarian.org>
8935
8936         * commandtags.h: rename to ...
8937
8938         * lfuns.h: ... this, and renumber / cleanup
8939
8940 2003-03-19  John Levon  <levon@movementarian.org>
8941
8942         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8943         fit the cursor after an lfun
8944
8945         * BufferView.h:
8946         * BufferView.C:
8947         * BufferView_pimpl.h:
8948         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8949
8950         * LyXAction.C: layout-character should have ReadOnly
8951
8952         * ParagraphParameters.C:
8953         * buffer.C:
8954         * bufferview_funcs.C:
8955         * lyx_cb.C:
8956         * lyxfind.C:
8957         * lyxtext.h:
8958         * text.C:
8959         * text2.C:
8960         * text3.C:
8961         * undo_funcs.C: changes from above
8962
8963 2003-03-18  John Levon  <levon@movementarian.org>
8964
8965         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8966         remove it from update()
8967
8968         * lyxfunc.C: update layout choice after an lfun
8969
8970         * text3.C: remove extra updateLayoutChoice()s
8971
8972 2003-03-18  John Levon  <levon@movementarian.org>
8973
8974         * text.C: top_y change means full repaint, fix
8975         a drawing bug with cursor movement
8976
8977 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8978
8979         * lyxtext.h:
8980         * text.C:
8981         * text2.C: anchor row on setCursor
8982
8983 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8984
8985         * lyxtext.h: remove almost all mutable keywords
8986         * text.C:
8987         * text2.C:
8988         * text3.C: remove const keywords accordingly
8989
8990 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8991
8992         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8993         anon namespace
8994         (TeXEnvironment): ditto
8995         (TeXOnePar): ditto
8996
8997 2003-03-17  John Levon  <levon@movementarian.org>
8998
8999         * text.C (rowBreakPoint): remove attempt to fix displayed
9000         math insets inside a manual label
9001
9002 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9003
9004         * lyxtext.h: remove BufferView* as first arg from almost all class
9005         functions.
9006         * other files: adjust.
9007
9008 2003-03-17  John Levon  <levon@movementarian.org>
9009
9010         * lyxtext.h:
9011         * undo_funcs.C:
9012         * text2.C: more paint cleanups
9013
9014         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9015
9016         * rowpainter.h:
9017         * rowpainter.C: remove "smart" background painting code
9018
9019 2003-03-16  John Levon  <levon@movementarian.org>
9020
9021         * lyxtext.h:
9022         * text.C:
9023         * text2.C:
9024         * text3.C: add helper functions for setting refresh_row/y
9025
9026 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9027
9028         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9029         newline inset which *can* get inserted in the pass_thru layouts.
9030         This is primarily for literate documents.
9031
9032 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9033
9034         * buffer.C: increment LYX_FORMAT to 223
9035
9036 2003-03-14 André Pönitz <poenitz@gmx.net>
9037
9038         * textclass.h: prepare for environment handling, ws changes
9039         * lyxlayout.C: read latexheader and latexfooter tags
9040
9041 2003-03-14  John Levon  <levon@movementarian.org>
9042
9043         * text2.C: rewrite ::status() a bit
9044
9045 2003-03-13  John Levon  <levon@movementarian.org>
9046
9047         * lyxtext.h: add some docs
9048
9049 2003-03-13  John Levon  <levon@movementarian.org>
9050
9051         * lyxtext.h:
9052         * text.C:
9053         * text2.C:
9054         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9055
9056 2003-03-13  John Levon  <levon@movementarian.org>
9057
9058         * text3.C: fix appendix redrawing
9059
9060 2003-03-13  John Levon  <levon@movementarian.org>
9061
9062         * text.C (setHeightOfRow):
9063         * rowpainter.h:
9064         * rowpainter.C: make appendix mark have the text
9065           "Appendix" so the user knows what it is
9066
9067         * LColor.h:
9068         * LColor.C: s/appendixline/appendix/ from above
9069
9070 2003-03-13  John Levon  <levon@movementarian.org>
9071
9072         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9073
9074         * text.C: fix a getChar(pos) bug properly
9075
9076 2003-03-13  Angus Leeming  <leeming@lyx.org>
9077
9078         * commandtags.h:
9079         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9080         Probably only temporary. Let's see how things pan out.
9081
9082         * BufferView.C (unlockInset):
9083         * BufferView_pimpl.C (fitCursor):
9084         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9085
9086         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9087         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9088
9089         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9090         new functions that convert ParagraphParameters to and from a string.
9091
9092         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9093         BufferView::Pimpl's dispatch.
9094         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9095
9096 2003-03-13 André Pönitz <poenitz@gmx.net>
9097
9098         * lyxfunc.C:
9099         * text3.C:
9100         * factory.C: make it aware of InsetEnv
9101
9102 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9103
9104         * text2.C (setCursor): never ask for one past last
9105         (setCursor): add some debugging messages.
9106
9107         * text.C (singleWidth): never ask for one past last
9108         (singleWidth): ditto
9109         (leftMargin): ditto
9110         (rightMargin): ditto
9111         (rowBreakPoint): ditto
9112         (setHeightOfRow): ditto
9113         (prepareToPrint): ditto
9114
9115         * rowpainter.C (paintBackground): never ask for one past last
9116         (paintText): never ask for one past last
9117
9118         * paragraph_pimpl.C (getChar): make the assert stricter, never
9119         allow the one past last pos to be taken
9120
9121         * paragraph.C (getChar): ws changes only
9122
9123         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9124         (numberOfSeparators): ditto
9125         (numberOfHfills): ditto
9126
9127 2003-03-12  John Levon  <levon@movementarian.org>
9128
9129         * author.h:
9130         * author.C:
9131         * bufferparams.h:
9132         * bufferparams.C:
9133         * paragraph_funcs.C: fix per-buffer authorlists
9134
9135 2003-03-12  John Levon  <levon@movementarian.org>
9136
9137         * text.C: fix newline in right address
9138
9139 2003-03-12  Angus Leeming  <leeming@lyx.org>
9140
9141         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9142         duplicate those in LyXFunc::dispatch.
9143
9144         * commandtags.h:
9145         * LyXAction.C:
9146         * ToolbarDefaults.C:
9147         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9148         Add LFUN_FONTFREE_UPDATE.
9149
9150         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9151         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9152
9153         * bufferview_func.[Ch]: several new functions to facilliate
9154         transfer of data to and from the character dialog.
9155
9156 2003-03-12  John Levon  <levon@movementarian.org>
9157
9158         * buffer.C:
9159         * paragraph.h:
9160         * paragraph.C:
9161         * paragraph_funcs.C:
9162         * paragraph_pimpl.C:
9163         * sgml.C:
9164         * tabular.C:
9165         * text.C:
9166         * text3.C: remove META_NEWLINE in favour of an inset
9167
9168         * rowpainter.h:
9169         * rowpainter.C: remove paintNewline (done by inset)
9170
9171 2003-03-12  John Levon  <levon@movementarian.org>
9172
9173         * paragraph_pimpl.C: complain about bad getChar()s
9174         for a while at least
9175
9176 2003-03-12  John Levon  <levon@movementarian.org>
9177
9178         * buffer.h:
9179         * buffer.C: move paragraph read into a separate function,
9180         a little renaming to reflect that.
9181
9182         * bufferparams.h:
9183         * bufferparams.C: remove the author_ids map, not necessary now
9184
9185         * factory.h:
9186         * factory.C: moved Buffer::readInset to here
9187
9188         * paragraph_funcs.h:
9189         * paragraph_funcs.C: readParagraph free function moved from
9190         buffer.C
9191
9192         * tabular.C: name change
9193
9194 2003-03-12  John Levon  <levon@movementarian.org>
9195
9196         * buffer.C:
9197         * ParagraphParameters.C: move par params input to
9198         a read() method
9199
9200         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9201         behave like a normal read from the stream wrt reading
9202         a line vs. a \\token
9203
9204 2003-03-12  John Levon  <levon@movementarian.org>
9205
9206         * paragraph.C:
9207         * ParagraphParameters.h:
9208         * ParagraphParameters.C: move output code to a
9209         ::write() method
9210
9211 2003-03-12  John Levon  <levon@movementarian.org>
9212
9213         * BufferView.C (insertLyXFile):
9214         * buffer.h:
9215         * buffer.C:
9216         * tabular.C: use a parlist iterator for creating the
9217           document.
9218
9219 2003-03-12  John Levon  <levon@movementarian.org>
9220
9221         * buffer.C: make current_change static local not
9222           static file-scope
9223
9224 2003-03-12  John Levon  <levon@movementarian.org>
9225
9226         * buffer.C: fix insertStringAsLines for change tracking
9227
9228 2003-03-12  John Levon  <levon@movementarian.org>
9229
9230         * BufferView.C:
9231         * tabular.C:
9232         * buffer.h:
9233         * buffer.C:
9234         * bufferparams.h:
9235         * bufferparams.C: move author list into params. Rename some
9236           functions. Move the header reading into a separate token
9237           loop. Move the header token reading into BufferParams.
9238
9239 2003-03-12  John Levon  <levon@movementarian.org>
9240
9241         * changes.C: put debug inside lyxerr.debugging() checks
9242
9243 2003-03-11 André Pönitz <poenitz@gmx.net>
9244
9245         * factory.C: make it aware of InsetHFill
9246
9247 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9248
9249         * buffer.C (latexParagraphs): move function from here...
9250         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9251         args.
9252
9253 2003-03-10  Angus Leeming  <leeming@lyx.org>
9254
9255         * LyXAction.C (init): fix bug in poplating array with multiple entries
9256         with the same LFUN (spotted by JMarc).
9257
9258 2003-03-10  John Levon  <levon@movementarian.org>
9259
9260         * text.C:
9261         * text2.C: move getColumnNearX() near its
9262         only call site
9263
9264 2003-03-10  John Levon  <levon@movementarian.org>
9265
9266         * text.C: fix break before a minipage
9267
9268 2003-03-10  John Levon  <levon@movementarian.org>
9269
9270         * text.C: fix the last commit
9271
9272 2003-03-09  John Levon  <levon@movementarian.org>
9273
9274         * lyxtext.h:
9275         * text.C:
9276         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9277         bug 365 (don't break before insets unless needed). Don't
9278         return a value > last under any circumstances.
9279
9280 2003-03-09  Angus Leeming  <leeming@lyx.org>
9281
9282         * BufferView_pimpl.C (trackChanges, dispatch): call
9283         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9284
9285 2003-03-09  Angus Leeming  <leeming@lyx.org>
9286
9287         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9288         than Dialogs::showAboutlyx().
9289
9290 2003-03-09  Angus Leeming  <leeming@lyx.org>
9291
9292         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9293         than Dialogs::showTabularCreate().
9294
9295 2003-03-09  John Levon  <levon@movementarian.org>
9296
9297         * lyxtext.h:
9298         * text.C:
9299         * text2.C: 3rd arg to nextBreakPoint was always the same.
9300           Use references.
9301
9302 2003-03-08  John Levon  <levon@movementarian.org>
9303
9304         * lyxrow.C:
9305         * paragraph.C:
9306         * paragraph.h:
9307         * rowpainter.C:
9308         * text.C:
9309         * text2.C: Remove the "main" bit from the "main body"
9310           notion.
9311
9312 2003-03-08  John Levon  <levon@movementarian.org>
9313
9314         * text.C (leftMargin): The left margin of an empty
9315         manual label paragraph should not include the label width
9316         string length.
9317
9318         * text.C (prepareToPrint): don't attempt to measure hfills
9319         for empty manual label paragraphs - the answer should be 0
9320
9321 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9322
9323         * CutAndPaste.C: remove commented code and reindent.
9324
9325 2003-03-08  John Levon  <levon@movementarian.org>
9326
9327         * lyxfunc.h:
9328         * lyxfunc.C: move reloadBuffer()
9329
9330         * BufferView.h:
9331         * BufferView.C: to here
9332
9333         * lyxvc.C: add comment
9334
9335         * vc-backend.h:
9336         * vc-backend.C: call bv->reload() to avoid
9337           getStatus() check on MENURELOAD
9338
9339 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9340
9341         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9342         to an old format .dep file.
9343
9344 2003-03-07  Angus Leeming  <leeming@lyx.org>
9345
9346         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9347         when the LFUN_MOUSE_RELEASE should have been handled by
9348         inset->localDispatch.
9349
9350 2003-03-07  Angus Leeming  <leeming@lyx.org>
9351
9352         * BufferView_pimpl.C (dispatch):
9353         * LyXAction.C (init):
9354         * ToolbarDefaults.C (init):
9355         * commandtags.h:
9356         * lyxfunc.C (getStatus):
9357         remove LFUN_INSET_GRAPHICS.
9358
9359         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9360
9361 2003-03-07  Angus Leeming  <leeming@lyx.org>
9362
9363         * commandtags.h:
9364         * LyXAction.C (init):
9365         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9366
9367         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9368
9369         * commandtags.h:
9370         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9371
9372         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9373         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9374
9375 2003-03-07  Angus Leeming  <leeming@lyx.org>
9376
9377         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9378         remove "ert".
9379
9380 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9381
9382         * ParagraphList.C (front): new function
9383         (back): implement
9384
9385 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9386
9387         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9388         and top_row_offset_. removed var first_y.
9389         * text.C (top_y):
9390         * text2.C (LyXText, removeRow):
9391         * text3.C:
9392         * BufferView_pimpl.C:
9393         use these methods instead of using first_y
9394
9395 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9396
9397         * text2.C (pasteSelection): adjust for checkPastePossible
9398
9399         * CutAndPaste.C: remove Paragraph * buf and replace with
9400         ParagraphList paragraphs.
9401         (DeleteBuffer): delete
9402         (cutSelection): change the tc type to textclass_type
9403         (copySelection): change the tc type to textclass_type
9404         (copySelection): adjust for ParagraphList
9405         (pasteSelection): change the tc type to textclass_type
9406         (pasteSelection): adjust for Paragraphlist
9407         (nrOfParagraphs): simplify for ParagraphList
9408         (checkPastePossible): simplify for ParagraphList
9409         (checkPastePossible): remove unused arg
9410
9411         * ParagraphList.C (insert): handle the case where there are no
9412         paragraphs yet.
9413
9414         * CutAndPaste.h: make CutAndPaste a namespace.
9415
9416         * text3.C (dispatch): adjust
9417
9418         * text.C (breakParagraph): add a ParagraphList as arg
9419
9420         * paragraph_funcs.C (breakParagraph): change to take a
9421         BufferParams and a ParagraphList as args.
9422         (breakParagraphConservative): ditto
9423         (mergeParagraph): ditto
9424         (TeXDeeper): add a ParagraphList arg
9425         (TeXEnvironment): ditto
9426         (TeXOnePar): ditto
9427
9428         * buffer.C (readLyXformat2): adjust
9429         (insertStringAsLines): adjust
9430         (latexParagraphs): adjust
9431
9432         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9433         (cutSelection): adjust
9434         (pasteSelection): adjust
9435
9436         * BufferView_pimpl.C (insertInset): adjust
9437
9438 2003-03-05  Angus Leeming  <leeming@lyx.org>
9439
9440         * commandtags.h:
9441         * LyXAction.C (init):
9442         * BufferView_pimpl.C (dispatch):
9443         * lyxfunc.C (getStatus):
9444         remove LFUN_CHILD_INSERT.
9445
9446         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9447
9448 2003-03-05  Angus Leeming  <leeming@lyx.org>
9449
9450         * commandtags.h:
9451         * LyXAction.C (init):
9452         * src/factory.C (createInset):
9453         * lyxfunc.C (getStatus):
9454         * text3.C (dispatch):
9455         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9456
9457         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9458
9459 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9460
9461         * ParagraphList.C (insert): handle insert right before end()
9462         (erase): fix cases where it can be first or last paragraph.
9463
9464 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9465
9466         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9467         Paragraph::next and Paragraph::previous
9468         (TeXOnePar): ditto
9469
9470         * text.C (breakParagraph): adjust
9471
9472         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9473         BufferParams& as arg.
9474         (breakParagraph): use ParagraphList::insert
9475         (breakParagraphConservative): take a Buffer* instead of a
9476         BufferParams& as arg.
9477         (breakParagraphConservative): use ParagraphList::insert.
9478
9479         * buffer.C (insertStringAsLines): un-const it
9480         (insertStringAsLines): adjust
9481
9482         * ParagraphList.C (insert): new function
9483
9484         * CutAndPaste.C (pasteSelection): adjust
9485
9486         * text.C (backspace): adjust
9487
9488         * tabular.C (SetMultiColumn): adjust
9489
9490         * CutAndPaste.C (cutSelection): adjust
9491         (pasteSelection): adjust
9492
9493         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9494         Buffer const * as arg
9495
9496         * ParagraphList.C (erase): new function
9497         * paragraph_funcs.C (mergeParagraph): use it
9498         (mergeParagraph): make it take a Buffer* instead of a
9499         BufferParams* as arg
9500
9501         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9502         as arg
9503         (breakParagraphConservative): ditto
9504
9505         * paragraph.h: remove the breakParagraph friend
9506
9507         * paragraph.C (eraseIntern): new function
9508         (setChange): new function
9509
9510         * paragraph_funcs.C (mergeParagraph): make it take a
9511         ParagraphList::iterator instead of a Paragraph *, adjust
9512         accordingly.
9513
9514         * paragraph.h: move an #endif so that the change tracking stuff
9515         also works in the NO_NEXT case.
9516
9517 2003-03-04  Angus Leeming  <leeming@lyx.org>
9518
9519         * commandtags.h:
9520         * LyXAction.C: new LFUN_INSET_MODIFY.
9521
9522         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9523         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9524
9525 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9526
9527         * several files: ws changes only
9528
9529         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9530         (TeXEnvironment): ditto
9531         (TeXDeeper): ditto
9532
9533         * buffer.C (makeLaTeXFile): adjust
9534         (latexParagraphs): make it take ParagraphList::iterator as args
9535
9536 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9537
9538         * buffer.C (latexParagraphs): adjust
9539
9540         * paragraph.C (TeXOnePar): move function...
9541         (optArgInset): move function...
9542         (TeXEnvironment): move function...
9543         * paragraph_pimpl.C (TeXDeeper): move function...
9544         * paragraph_funcs.C: ...here
9545
9546         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9547
9548 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9549
9550         * buffer.C (readInset): remove compability code for old Figure and
9551         InsetInfo insets
9552
9553 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9554
9555         * buffer.C: ws changes
9556         (readInset):
9557
9558         * BufferView_pimpl.C: ditto
9559         * author.C: ditto
9560         * buffer.h: ditto
9561         * bufferlist.h: ditto
9562         * changes.h: ditto
9563         * lyxfunc.C: ditto
9564
9565 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9566
9567         * converter.[Ch]: split into itself +
9568         * graph.[Ch]
9569         * format.[Ch]
9570         * Makefile.am: += graph.[Ch] + format.[Ch]
9571         * MenuBackend.C
9572         * buffer.C
9573         * exporter.C
9574         * importer.C
9575         * lyx_main.C
9576         * lyxfunc.C
9577         * lyxrc.C: added #include "format.h"
9578
9579 2003-02-27  Angus Leeming  <leeming@lyx.org>
9580
9581         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9582           a label.
9583
9584         * factory.C (createInset): add "label" to the factory.
9585
9586         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9587           string and do no more.
9588
9589 2003-02-27  Angus Leeming  <leeming@lyx.org>
9590
9591         * commandtags.h:
9592         * LyXAction.C (init):
9593         * factory.C (createInset):
9594         * BufferView_pimpl.C (dispatch):
9595           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9596
9597         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9598
9599         * lyxfunc.C (dispatch):
9600         * text3.C (dispatch): pass name to params2string.
9601
9602 2003-02-26  Angus Leeming  <leeming@lyx.org>
9603
9604         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9605           blocks together.
9606           Rearrange the ~includes. Strip out the unnecessary ones.
9607
9608         * factory.C (createInset): reformat.
9609           create new insets for the various LFUN_XYZ_APPLY lfuns.
9610
9611 2003-02-26  John Levon  <levon@movementarian.org>
9612
9613         * lyxrow.h:
9614         * lyxrow.C: add isParStart,isParEnd helpers
9615
9616         * paragraph.h: make isInserted/DeletedText take refs
9617
9618         * paragraph_funcs.h:
9619         * paragraph_funcs.C: remove #if 0'd code
9620
9621         * lyxtext.h:
9622         * text3.C:
9623         * text2.C:
9624         * text.C: use lyxrow helpers above.
9625           Move draw and paint routines to RowPainter.
9626           Make several methods use refs not pointers.
9627           Make backgroundColor() const.
9628           Add markChangeInDraw(), isInInset().
9629           Merge changeRegionCase into changeCase.
9630           Make workWidth() shouldn't-happen code into an Assert.
9631
9632         * rowpainter.h:
9633         * rowpainter.C: new class for painting a row.
9634
9635         * vspace.h:
9636         * vspace.C: make inPixels take a ref
9637
9638 2003-02-26  Angus Leeming  <leeming@lyx.org>
9639
9640         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9641         LFUN_REF_APPLY.
9642
9643 2003-02-25  John Levon  <levon@movementarian.org>
9644
9645         * ispell.C: give the forked command a more accurate name
9646
9647 2003-02-22  John Levon  <levon@movementarian.org>
9648
9649         * toc.h:
9650         * toc.C: make TocItem store an id not a Paragraph *
9651           (bug #913)
9652
9653 2003-02-21  Angus Leeming  <leeming@lyx.org>
9654
9655         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9656           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9657           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9658           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9659           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9660           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9661
9662         * BufferView_pimpl.C (dispatch):
9663         * LyXAction.C (init):
9664         * factory.C (createInset):
9665         * lyxfunc.C (getStatus, dispatch):
9666         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9667
9668 2003-02-21  Angus Leeming  <leeming@lyx.org>
9669
9670         * BufferView_pimpl.C (MenuInsertLyXFile):
9671         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9672         * lyxfunc.C (menuNew, open, doImport):
9673           no longer pass a LyXView & to fileDlg.
9674
9675 2003-02-21  Angus Leeming  <leeming@lyx.org>
9676
9677         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9678         * LyXAction.C: change, BIBKEY to BIBITEM.
9679         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9680         Change InsetBibKey to InsetBibitem.
9681         Change BIBKEY_CODE to BIBITEM_CODE.
9682         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9683         * factory.C: replace insetbib.h with insetbibitem.h.
9684         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9685         * paragraph.C: replace insetbib.h with insetbibitem.h.
9686         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9687         Change bibkey() to bibitem().
9688         * text.C: remove insetbib.h.
9689         * text2.C: replace insetbib.h with insetbibitem.h.
9690         change bibkey() to bibitem().
9691         * text3.C: remove insetbib.h.
9692         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9693
9694 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9695
9696         * lyxrc.C (output): enclose user email in quotes (in case there are
9697         several words)
9698
9699 2003-02-18  John Levon  <levon@movementarian.org>
9700
9701         * buffer.h: add std::
9702
9703 2003-02-17  John Levon  <levon@movementarian.org>
9704
9705         * SpellBase.h:
9706         * ispell.h:
9707         * ispell.C:
9708         * pspell.h:
9709         * pspell.C: reworking. Especially in ispell, a large
9710           number of clean ups and bug fixes.
9711
9712         * lyxfunc.C: fix revert to behave sensibly
9713
9714 2003-02-17 André Pönitz <poenitz@gmx.net>
9715
9716         * LyXAction.C:
9717         * commandtags.h: new LFUN_INSERT_BIBKEY
9718
9719         * layout.h:
9720         * lyxlayout.C:
9721         * buffer.C:
9722         * factory.C:
9723         * text.C:
9724         * text2.C:
9725         * text3.C:
9726         * paragraph.[Ch]:
9727         * paragraph_func.C: remove special bibkey handling
9728
9729 2003-02-17  John Levon  <levon@movementarian.org>
9730
9731         * text.C (Delete): fix case where delete at the end of
9732           the very first paragraph would not merge the pars
9733
9734 2003-02-17  John Levon  <levon@movementarian.org>
9735
9736         * lyxrow.C: fix lastPrintablePos()
9737
9738 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9739
9740         * bufferparams.C (writeLaTeX): add a std:here
9741
9742         * buffer.C: and remove a using directive there
9743
9744 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9745
9746         * buffer.C (makeLaTeXFile): move the code that generates the
9747           preamble...
9748
9749         * bufferparams.C (writeLaTeX): ... in this new method
9750
9751         * LaTeXFeatures.C (getEncodingSet): make const
9752           (getLanguages): make const
9753
9754         * MenuBackend.C (binding): returns the binding associated to this
9755           action
9756           (add): sets the status of each item by calling getStatus. Adds
9757           some intelligence.
9758           (read): add support for OptSubMenu
9759           (expand): remove extra separator at the end of expanded menu
9760
9761 2003-02-15  John Levon  <levon@movementarian.org>
9762
9763         * BufferView.C:
9764         * BufferView_pimpl.C:
9765         * bufferlist.h:
9766         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9767           inset code that had no actual effect. Remove unneeded status
9768           code.
9769
9770 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9771
9772         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9773           in preamble
9774
9775 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9776
9777         * text.C (drawLengthMarker): also draw an arrow marker for
9778           symbolic lengths (medskip...)
9779
9780 2003-02-14  John Levon  <levon@movementarian.org>
9781
9782         * tabular.h:
9783         * tabular.C: better method names
9784
9785 2003-02-14  John Levon  <levon@movementarian.org>
9786
9787         * BufferView_pimpl.C:
9788         * bufferlist.C:
9789         * buffer.C:
9790         * converter.C:
9791         * lyx_cb.C:
9792         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9793           it's a more accurate name. Remove some pointless uses.
9794
9795 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9796
9797         * text2.C (LyXText): change order of initilizers to shut off
9798           warnings
9799
9800 2003-02-14  John Levon  <levon@movementarian.org>
9801
9802         * buffer.C: use ParIterator for getParFromID()
9803
9804         * paragraph.h:
9805         * paragraph.C:
9806         * paragraph_pimpl.h:
9807         * paragraph_pimpl.C: remove unused getParFromID()
9808
9809 2003-02-14  John Levon  <levon@movementarian.org>
9810
9811         * buffer.C: remove some very old #if 0'd parse code
9812
9813 2003-02-13  John Levon  <levon@movementarian.org>
9814
9815         * text.h:
9816         * text.C:
9817         * text2.C: move hfillExpansion(), numberOfSeparators(),
9818           rowLast(), rowLastPrintable(), numberofHfills(),
9819           numberOfLabelHfills() ...
9820
9821         * lyxrow.h:
9822         * lyxrow.C: ... to member functions here.
9823
9824         * paragraph.h:
9825         * paragraph.C:
9826         * lyxtext.h:
9827         * text.C: remove LyXText::beginningOfMainBody(), and call
9828           p->beginningOfMainBody() directly. Move the check for
9829           LABEL_MANUAL into the latter.
9830
9831         * text.h:
9832         * text.C:
9833         * text2.C:
9834         * vspace.C:
9835         * BufferView.h:
9836         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9837
9838         * text.h:
9839         * text.C:
9840         * text2.C:
9841         * text3.C:
9842         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9843           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9844
9845 2003-02-13  John Levon  <levon@movementarian.org>
9846
9847         * CutAndPaste.C: remove debug
9848
9849 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9850
9851         * paragraph.C (asString): remove two unused variables
9852
9853         * lyxtextclass.C (readTitleType):
9854           (Read):
9855           (LyXTextClass): handle new members titletype_ and titlename_
9856
9857         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9858
9859 2003-02-09  John Levon  <levon@movementarian.org>
9860
9861         * buffer.h:
9862         * buffer.C: replace hand-coded list with a map for the dep clean
9863
9864 2003-02-08  John Levon  <levon@movementarian.org>
9865
9866         * LaTeX.C: consolidate code into showRunMessage() helper
9867
9868 2003-02-08  John Levon  <levon@movementarian.org>
9869
9870         * lyxfind.C:
9871         * lyxtext.h:
9872         * text2.C:
9873         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9874           and pass the size in explicitly
9875
9876         * BufferView_pimpl.h:
9877         * BufferView_pimpl.C:
9878         * BufferView.h:
9879         * BufferView.C: add getCurrentChange()
9880
9881         * BufferView_pimpl.h:
9882         * BufferView_pimpl.C: handle change lfuns
9883
9884         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9885           for changes. Mark pasted paragraphs as new.
9886
9887         * support/lyxtime.h:
9888         * support/lyxtime.C:
9889         * DepTable.C: abstract time_t as lyx::time_type
9890
9891         * LColor.h:
9892         * LColor.C: add colours for new text, deleted text, changebars
9893
9894         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9895           package use "usenames" option.
9896
9897         * commandtags.h:
9898         * lyxfunc.C:
9899         * LyXAction.C: add change lfuns
9900
9901         * Makefile.am:
9902         * author.h:
9903         * author.C: author handling
9904
9905         * buffer.h:
9906         * buffer.C: add a per-buffer author list, with first entry as
9907           current author. Handle new .lyx tokens for change tracking. Output
9908           author list to .lyx file. Output dvipost stuff to .tex preamble.
9909           Bump lyx format to 222.
9910
9911         * bufferlist.h:
9912         * bufferlist.C: add setCurrentAuthor() to reset current author details
9913           in all buffers.
9914
9915         * bufferparams.h:
9916         * bufferparams.C: add param for tracking
9917
9918         * bufferview_funcs.C: output change info in minibuffer
9919
9920         * Makefile.am:
9921         * changes.h:
9922         * changes.C: add change-tracking structure
9923
9924         * debug.h:
9925         * debug.C: add CHANGES debug flag
9926
9927         * lyxfind.h:
9928         * lyxfind.C: add code for finding the next change piece
9929
9930         * lyxrc.h:
9931         * lyxrc.C: add user_name and user_email
9932
9933         * lyxrow.h:
9934         * lyxrow.C: add a metric for the top of the text line
9935
9936         * lyxtext.h:
9937         * text.C: implement accept/rejectChange()
9938
9939         * lyxtext.h:
9940         * text.C: paint changebars. Paint new/deleted text in the chosen
9941         colours. Strike through deleted text.
9942
9943         * paragraph.h:
9944         * paragraph.C:
9945         * paragraph_pimpl.h:
9946         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9947           in the current change to the insert functions. Rework erase to
9948           mark text as deleted, adding an eraseIntern() and a range-based
9949           erase(). Implement per-paragraph change lookup and
9950           accept/reject.
9951
9952         * paragraph_funcs.C: Fixup paste for change tracking.
9953
9954         * tabular.C: mark added row/columns as new.
9955
9956         * text.C: fix rowLast() to never return -1. Don't allow
9957           spellchecking of deleted text. Track transpose changes. Don't
9958           allow paragraph break or merge where appropriate.
9959
9960         * text2.C: leave cursor at end of selection after a cut.
9961
9962 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9963
9964         * text.C (getLengthMarkerHeight):
9965         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9966         visible on screen too.
9967
9968 2003-02-07  John Levon  <levon@movementarian.org>
9969
9970         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9971
9972 2003-02-05  Angus Leeming  <leeming@lyx.org>
9973
9974         * lyxserver.C (read_ready): revert my patch of 11 September last year
9975         as it sends PC cpu through the roof. Presumably this means that
9976         the lyxserver will no longer run on an Alpha...
9977
9978 2003-01-30  Angus Leeming  <leeming@lyx.org>
9979
9980         * factory.C (createInset): create an InsetCommandParam of type "index"
9981         and use it to 'do the right thing'.
9982
9983         * text2.C (getStringToIndex): ensure that cursor position is always
9984         reset to the reset_cursor position.
9985
9986 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9987
9988         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9989         disabled.
9990
9991 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9992
9993         * bufferview.C:
9994         * lyxcb.C:
9995         * lyxfunc.C: Output messages with identical spelling, punctuation,
9996         and spaces
9997
9998 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9999
10000         * MenuBackend.C (expandFormats): List only viewable export formats
10001         in "View" menu
10002
10003         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10004         message
10005
10006         * lyxfunc.C (getStatus): Make sure that formats other than
10007         "fax" can also be disabled
10008
10009 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10010
10011         * text3.C (dispatch): put the lfuns that insert insets in 3
10012         groups, and call doInsertInset with appropriate arguments.
10013         (doInsertInset): new function, that creates an inset and inserts
10014         it according to some boolean parameters.
10015
10016 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10017
10018         * buffer.C (readFile): remember to pass on 'par' when calling
10019         readFile recursively.
10020
10021 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10022
10023         * MenuBackend.C (expandFormats): add "..." to import formats.
10024
10025 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10026
10027         * paragraph.C (asString): Remove XForms RTL hacks.
10028
10029 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10030         * buffer.C: fix typo
10031
10032 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10033
10034         * Makefile.am (LIBS): delete var
10035         (lyx_LDADD): add @LIBS@ here instead.
10036
10037 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10038
10039         * Clarify the meaning of "wheel mouse jump"
10040
10041 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10042
10043         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10044         tabular in a float
10045
10046 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10047
10048         * importer.C (Loaders): do not preallocate 3 elements in the
10049         vector, since one ends up with 6 elements otherwise
10050
10051 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10052
10053         * DepTable.C (write): write the file name as last element of the
10054         .dep file (because it may contain spaces)
10055         (read): read info in the right order
10056
10057 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10058
10059         * paragraph_pimpl.C (simpleTeXBlanks):
10060         (simpleTeXSpecialChars):
10061         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10062
10063         * tabular.C (latex): add some missing case statements. Reindent.
10064
10065         * MenuBackend.C (expandToc): remove unused variable.
10066
10067 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10068
10069         * LColor.C:
10070         * LaTeX.C:
10071         * LyXAction.C:
10072         * MenuBackend.C:
10073         * buffer.C:
10074         * exporter.C:
10075         * lyxfunc.C:
10076         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10077         and the like.
10078
10079 2003-01-05  John Levon  <levon@movementarian.org>
10080
10081         * BufferView.h:
10082         * BufferView.C: add getEncoding()
10083
10084         * kbsequence.h:
10085         * kbsequence.C: do not store last keypress
10086
10087         * lyxfunc.h:
10088         * lyxfunc.C: store last keypress here instead. Pass encoding
10089           to getISOEncoded()
10090
10091 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10092
10093         * lyx_main.C (init): remove annoying error message when following
10094         symbolic links (bug #780)
10095
10096 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10097
10098         * text.C (insertChar):
10099         * lyxrc.C (getDescription): remove extra spaces
10100
10101 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10102
10103         * lyxrc.C (getDescription): remove extra spaces
10104
10105 2002-12-20  John Levon  <levon@movementarian.org>
10106
10107         * text3.C: hack fix for page up/down across tall rows
10108
10109 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10110
10111         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10112         not been invoked
10113
10114 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10115
10116         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10117         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10118         thesaurus is not compiled in
10119
10120 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10121
10122         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10123
10124 2002-12-16  Angus Leeming  <leeming@lyx.org>
10125
10126         * lyxrc.[Ch]:
10127         * lyx_main.C (init): remove override_x_deadkeys stuff.
10128
10129 2002-12-12  John Levon  <levon@movementarian.org>
10130
10131         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10132           insert. Only remove shift modifier under strict
10133           circumstances.
10134
10135 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10136
10137         * MenuBackend.C (expandToc): fix crash.
10138
10139 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10140
10141         * MenuBackend.C (expandToc): gettext on float names.
10142
10143 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10144
10145         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10146         implement bool empty() [bug 490]
10147
10148 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10149
10150         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10151
10152 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10153
10154         * several files: ws changes
10155
10156 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10157
10158         * text2.C (setCounter): clean up a bit, use boost.format.
10159         (updateCounters): initialize par upon declaration.
10160
10161         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10162         if the layout exists. We do not just store the layout any more.
10163         (SwitchLayoutsBetweenClasses): use boost.format
10164
10165 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10166
10167         * converter.C (convert): if from and to files are the same, use a
10168         temporary files as intermediary
10169
10170 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10171
10172         * commandtags.h:
10173         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10174
10175 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10176
10177         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10178
10179 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10180
10181         * tabular.C (asciiPrintCell): use string(size, char) instead of
10182         explicit loop.
10183
10184         * sgml.C (openTag): fix order of arguments to string constructor
10185         (closeTag): ditto
10186
10187         * lyxfunc.C (dispatch): use boost.format
10188
10189         * lots of files: change "c" -> 'c'
10190
10191 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10192
10193         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10194
10195 2002-11-25  Angus Leeming  <leeming@lyx.org>
10196
10197         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10198
10199         * lyx_main.C (init): compile fix.
10200
10201 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10202
10203         * lyx_cb.C (start): boost.formatify
10204         do not include <iostream>
10205
10206         * lengthcommon.C: ws only
10207
10208         * boost-inst.C,BoostFormat.h: add more explict instantations
10209
10210 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10211
10212         * lots of files: handle USE_BOOST_FORMAT
10213
10214 2002-11-21  John Levon  <levon@movementarian.org>
10215
10216         * pspell.C: fix compile
10217
10218 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10219
10220         * lyxfunc.C (dispatch): use boost::format
10221         (open): ditto
10222         (doImport): ditto
10223
10224         * lyxfont.C (stateText): use boost::format
10225
10226         * lyx_main.C (LyX): use boost::format
10227         (init): ditto
10228         (queryUserLyXDir): ditto
10229         (readRcFile): ditto
10230         (parse_dbg): ditto
10231         (typedef boost::function): use the recommened syntax.
10232
10233         * importer.C (Import): use boost::format
10234
10235         * debug.C (showLevel): use boost::format
10236
10237         * converter.C (view): use boost::format
10238         (convert): ditto
10239         (move): ditto
10240         (scanLog): ditto
10241
10242         * bufferview_funcs.C (currentState): use boost::format
10243
10244         * bufferlist.C (emergencyWrite): use boost::format
10245
10246         * buffer.C (readLyXformat2): use boost::format
10247         (parseSingleLyXformat2Token): ditto
10248
10249         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10250
10251         * LaTeX.C (run): use boost::format
10252
10253         * Chktex.C (scanLogFile): use boost::format
10254
10255         * BufferView_pimpl.C (savePosition): use boost::format
10256         (restorePosition): ditto
10257         (MenuInsertLyXFile): ditto
10258
10259         * BoostFormat.h: help file for explicit instation.
10260
10261 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10262
10263         * tabular.C (latex): Support for block alignment in fixed width
10264         columns.
10265
10266 2002-11-17  John Levon  <levon@movementarian.org>
10267
10268         * BufferView_pimpl.C:
10269         * lyx_cb.C:
10270         * lyxfunc.C: split filedialog into open/save
10271
10272 2002-11-08  Juergen Vigna  <jug@sad.it>
10273
10274         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10275         by my last patch (hopefully).
10276
10277 2002-11-08  John Levon  <levon@movementarian.org>
10278
10279         * iterators.h:
10280         * iterators.C:
10281         * buffer.h:
10282         * buffer.C:
10283         * paragraph.h:
10284         * paragraph.C:
10285         * toc.h:
10286         * toc.C: ParConstIterator, and use it (from Lars)
10287
10288 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10289
10290         * lyxtextclass.[Ch]: revise and add doxygen comments
10291
10292 2002-11-07  John Levon  <levon@movementarian.org>
10293
10294         * text.C: fix progress value for spellchecker
10295
10296         * toc.C: fix navigate menu for insetwrap inside minipage
10297
10298         * paragraph_funcs.C: added FIXME for suspect code
10299
10300 2002-11-07  John Levon  <levon@movementarian.org>
10301
10302         * BufferView_pimpl.C: fix redrawing of insets
10303           on buffer switch
10304
10305 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10306
10307         * text2.C (updateCounters): fix bug 668
10308
10309 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10310
10311         * text3.C (dispatch): Do not make the buffer dirty when moving the
10312         cursor.
10313
10314 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10315
10316         * vc-backend.C: STRCONV
10317         (scanMaster): ditto
10318
10319         * text2.C (setCounter): STRCONV
10320
10321         * paragraph.C (asString): STRCONV
10322
10323         * lyxlength.C (asString): STRCONV
10324         (asLatexString): ditto
10325
10326         * lyxgluelength.C (asString): STRCONV
10327         (asLatexString): ditto
10328
10329         * lyxfunc.C (dispatch): STRCONV
10330         (open): ditto
10331
10332         * lyxfont.C (stateText): STRCONV
10333
10334         * importer.C (Import): STRCONV
10335
10336         * counters.C (labelItem): STRCONV
10337         (numberLabel): ditto
10338         (numberLabel): remove unused ostringstream o
10339
10340         * chset.C: STRCONV
10341         (loadFile): ditto
10342
10343         * bufferview_funcs.C (currentState): STRCONV
10344
10345         * buffer.C (readFile): STRCONV
10346         (asciiParagraph): ditto
10347         (makeLaTeXFile): ditto
10348
10349         * Spacing.C (writeEnvirBegin): STRCONV
10350
10351         * LaTeXFeatures.C (getLanguages): STRCONV
10352         (getPackages): ditto
10353         (getMacros): ditto
10354         (getBabelOptions): ditto
10355         (getTClassPreamble): ditto
10356         (getLyXSGMLEntities): ditto
10357         (getIncludedFiles): ditto
10358
10359         * LaTeX.C: STRCONV
10360         (run): ditto
10361         (scanAuxFile): ditto
10362         (deplog): ditto
10363
10364         * LString.h: add the STRCONV macros
10365
10366         * BufferView_pimpl.C (savePosition): STRCONV
10367         (restorePosition): ditto
10368         (MenuInsertLyXFile): ditto
10369
10370         * vc-backend.C (scanMaster): change from submatch[...] to
10371         submatch.str(...)
10372
10373         * funcrequest.C: include config.h
10374
10375         * factory.C: include config.h
10376
10377         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10378
10379         * box.C: include config.h
10380
10381         * LaTeX.C (scanAuxFile): change from submatch[...] to
10382         submatch.str(...)
10383         (deplog): ditto
10384
10385 2002-10-25  Angus Leeming  <leeming@lyx.org>
10386
10387         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10388
10389         * ispell.[Ch] (setError): new method.
10390         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10391         Use setError() insetead of goto END.
10392
10393         * lyx_cb.C (AutoSave): move out child process into new class
10394         AutoSaveBuffer.
10395
10396 2002-10-30  John Levon  <levon@movementarian.org>
10397
10398         * text3.C: make start appendix undoable
10399
10400 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10401
10402         * lyxlength.C (inPixels): Fix returned value.
10403
10404         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10405         environment.
10406
10407 2002-10-24  Angus Leeming  <leeming@lyx.org>
10408
10409         * lyxgluelength.h: no need to forward declare BufferParams
10410         or BufferView, so don't.
10411
10412 2002-10-21  John Levon  <levon@movementarian.org>
10413
10414         * BufferView.C: menuUndo ->undo, redo
10415
10416         * BufferView.h: document, remove dead, make some methods private
10417
10418         * paragraph_funcs.h:
10419         * paragraph_funcs.C:
10420         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10421
10422         * buffer.h:
10423         * buffer.C:
10424         * sgml.h:
10425         * sgml.C: move sgml open/close tag into sgml.C
10426
10427         * bufferview_funcs.h: unused prototype
10428
10429         * lyxfunc.h:
10430         * lyxfunc.C: remove unused
10431
10432         * lyxtext.h:
10433         * text.C: remove unused
10434
10435 2002-10-21  John Levon  <levon@movementarian.org>
10436
10437         * BufferView.h:
10438         * BufferView.C:
10439         * BufferView_pimpl.h:
10440         * BufferView_pimpl.C: fix mouse wheel handling based on
10441           patch from Darren Freeman
10442
10443 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10444
10445         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10446
10447 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10448
10449         * lyxlength.C (inPixels): Fix hanfling of negative length.
10450         Fix LyXLength::MU case.
10451
10452 2002-10-16  John Levon  <levon@movementarian.org>
10453
10454         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10455
10456 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10457
10458         * converter.C (view): add support for $$i (file name) and $$p
10459         (file path) for the viewer command. If $$i is not specified, then
10460         it is appended to the command (for compatibility with old syntax)
10461
10462 2002-10-14  Juergen Vigna  <jug@sad.it>
10463
10464         * undo_funcs.C (textHandleUndo): alter the order in which the
10465         new undopar is added to the LyXText, as we have to set first
10466         the right prev/next and then add it as otherwise the rebuild of
10467         LyXText is not correct. Also reset the cursor to the right paragraph,
10468         with this IMO we could remove the hack in "redoParagraphs()".
10469
10470 2002-10-09  Angus Leeming  <leeming@lyx.org>
10471
10472         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10473         to turn off an optimisation if a new inset is to be inserted.
10474
10475 2002-10-11 André Pönitz <poenitz@gmx.net>
10476
10477         * lyxtext.h: make some functions public to allow access
10478         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10479
10480 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10481
10482         * text3.C (dispatch): when changing layout, avoid an infinite loop
10483         [bug #652]
10484
10485 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10486
10487         * lyxrc.C (read): treat a viewer or converter command of "none" as
10488         if it were empty.
10489
10490         * MenuBackend.C (expandFormats): for an update, also allow the
10491         formats that are not viewable
10492
10493         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10494         script if it is newer than the lyxrc.defaults in user directory
10495
10496 2002-10-07 André Pönitz <poenitz@gmx.net>
10497
10498         * text.C: Vitaly Lipatov's small i18n fix
10499
10500 2002-09-25  Angus Leeming  <leeming@lyx.org>
10501
10502         * ispell.h: doxygen fix.
10503
10504 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10505
10506         * buffer.h (readFile): Add a new argument to the method, to allow
10507         reading of old-format templates.
10508
10509 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10510
10511         * toc.C (getTocList): Get TOC from InsetWrap.
10512
10513 2002-09-16  John Levon  <levon@movementarian.org>
10514
10515         * lyxfunc.C: check tabular for cut/copy too
10516
10517 2002-09-12  John Levon  <levon@movementarian.org>
10518
10519         * LyXAction.C: tidy
10520
10521         * factory.h:
10522         * factory.C: add header
10523
10524         * paragraph_funcs.h:
10525         * paragraph_funcs.C: cleanup
10526
10527 2002-09-11  John Levon  <levon@movementarian.org>
10528
10529         * PrinterParams.h: odd/even default to true
10530
10531 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10532
10533         * PrinterParams.h: update printer parameters for new xforms dialog
10534
10535 2002-09-11  Angus Leeming  <leeming@lyx.org>
10536
10537         * lyxserver.C (read_ready): re-write to make it more transparent
10538         and to make it work in coherent fashion under Tru64 Unix.
10539
10540 2002-09-11  André Pönitz <poenitz@gmx.net>
10541
10542         * commandtags.h:
10543         * LyXAction.C:
10544         * text3.C: implement LFUN_WORDSEL
10545
10546 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10547
10548         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10549         make floatlist_ a boost::shared_ptr<FloatList>
10550
10551         * lyxtextclass.C: include FloatList.h
10552         (LyXTextClass): initialize floatlist_
10553         (TextClassTags): add TC_NOFLOAT
10554         (Read): match "nofloat" to TC_NOFLOAT and use it.
10555         (readFloat): modify call to floatlist_
10556         (floats): ditto
10557         (floats): ditto
10558
10559         * FloatList.[Ch] (FloatList): remove commented out float
10560         initialization.
10561         (erase): new function
10562
10563 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10564
10565         * MenuBackend.C (expandToc): fix crash when there is no document
10566         open
10567
10568 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10569
10570         * many files: Add insetwrap.
10571
10572 2002-09-09  John Levon  <levon@movementarian.org>
10573
10574         * text2.C: remove confusing and awkward depth wraparound
10575
10576 2002-09-09  John Levon  <levon@movementarian.org>
10577
10578         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10579
10580         * buffer.h:
10581         * buffer.C: remove getIncludeonlyList()
10582
10583         * paragraph.C:
10584         * lyxfunc.C: remove headers
10585
10586 2002-09-09  Juergen Vigna  <jug@sad.it>
10587
10588         * text.C (getColumnNearX): fix form Michael this is most
10589         probably a cut&paste bug.
10590
10591 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10592
10593         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10594
10595         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10596         references, ws changes.
10597
10598         * text2.C (init): update counters after init
10599         (insertParagraph): no need to set counter on idividual paragraphs.
10600         (setCounter): access the counters object in the textclass object
10601         on in the buffer object.
10602         (updateCounters): ditto
10603
10604         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10605         shared_ptr<Counters> to avoid loading counters.h in all
10606         compilation units.
10607         (LyXTextClass): initialize ctrs_
10608         (TextClassTags): add TC_COUNTER, and ...
10609         (Read): use it here.
10610         (CounterTags): new tags
10611         (readCounter): new function
10612         (counters): new funtion
10613         (defaultLayoutName): return a const reference
10614
10615         * counters.C (Counters): remove contructor
10616         (newCounter): remove a couple of unneeded statements.
10617         (newCounter): simplify a bit.
10618         (numberLabel): some small formatting changes.
10619
10620         * buffer.[Ch]: remove all traces of counters, move the Counters
10621         object to the LyXTextClass.
10622
10623 2002-09-06  Alain Castera  <castera@in2p3.fr>
10624
10625         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10626         package to set the horizontal alignment on fixed width columns.
10627
10628         * lyx_sty.C:
10629         * lyx_sty.h: added tabularnewline macro def.
10630
10631         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10632
10633 2002-09-06  John Levon  <levon@movementarian.org>
10634
10635         * LyXAction.C: tooltips for sub/superscript
10636
10637         * MenuBackend.C: a bit more verbose
10638
10639         * lyxfunc.C: tiny clean
10640
10641         * undo_funcs.C: document undo_frozen
10642
10643 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10644
10645         * counters.C (Counters): add missing algorithm counter.
10646
10647         * text2.C (setCounter): lookup the counter with layouts latexname
10648         instead of by section number.
10649         (setCounter): use a hackish way to lookup the correct enum
10650         counter.
10651         a float name->type change
10652         reset enum couners with counter name directly instead of depth value.
10653
10654         * counters.C (Counters): remove the push_backs, change to use the
10655         float type not the float name.
10656         (labelItem): remove unused string, float name->type change
10657
10658         * counters.h: don't include vector, loose the enums and sects vectors
10659
10660 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10661
10662         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10663         (Read): add float->TC_FLOAT to textclassTags
10664         (Read): and handle it in the switch
10665         (readFloat): new function
10666
10667         * FloatList.C (FloatList): comment out the hardcoded float
10668         definitions.
10669
10670         * lyxlayout.h: ws change.
10671
10672 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10673
10674         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10675
10676 2002-09-03  Angus Leeming  <leeming@lyx.org>
10677
10678         * BufferView_pimpl.h: qualified name is not allowed in member
10679         declaration: WorkArea & Pimpl::workarea() const;
10680
10681         * factory.C: added using std::endl directive.
10682
10683         * text3.C: added using std::find and std::vector directives.
10684
10685 2002-08-29  André Pönitz <poenitz@gmx.net>
10686
10687         * lyxtext.h:
10688         * text2.C: remove unused member number_of_rows
10689
10690         * Makefile.am:
10691         * BufferView2.C: remove file, move contents to...
10692         * BufferView.C: ... here
10693
10694         * BufferView_pimpl.C:
10695         * factory.C: move more inset creation to factory
10696
10697         * vspace.C: avoid direct usage of LyXText, ws changes
10698
10699         * BufferView.[Ch]:
10700                 don't provide direct access to WorkArea, use two simple
10701                 acessors haveSelction() and workHeight() instead
10702
10703
10704 2002-08-29  John Levon  <levon@movementarian.org>
10705
10706         * BufferView_pimpl.C (dispatch): do not continue when
10707           no buffer
10708
10709 2002-08-28  André Pönitz <poenitz@gmx.net>
10710
10711         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10712
10713         * BufferView.h:
10714         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10715
10716 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10717
10718         * buffer.C: increment LYX_FORMAT to 221
10719
10720         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10721         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10722
10723         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10724
10725         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10726
10727 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10728
10729         * factory.C (createInset): use LyXTextClass::floats
10730
10731         * MenuBackend.C (expandFloatListInsert):
10732         (expandFloatInsert):
10733         (expandToc):
10734
10735         * text2.C (setCounter):
10736
10737         * LaTeXFeatures.C (useFloat):
10738         (getFloatDefinitions):
10739
10740         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10741
10742         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10743         floatlist_, with accessor floats().
10744
10745         * FloatList.h: remove global FloatList
10746
10747 2002-08-26  André Pönitz <poenitz@gmx.net>
10748
10749         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10750
10751         * BufferView.h:
10752         * BufferView2.C:
10753         * BufferView_pimpl.C:
10754         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10755
10756 2002-08-25  John Levon  <levon@movementarian.org>
10757
10758         * LyXAction.C: fix margin note description
10759
10760 2002-08-24  John Levon  <levon@movementarian.org>
10761
10762         * buffer.C:
10763         * bufferlist.C:
10764         * bufferview_funcs.C:
10765         * lyxfont.C:
10766         * undo_funcs.C: cleanups
10767
10768         * lyxfunc.C: disable CUT/COPY when no selection
10769
10770 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10771
10772         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10773         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10774
10775         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10776         Add backward compatibility to "mono", "gray" and "no".
10777
10778 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10779
10780         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10781         (and file_format >= 200).
10782
10783 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10784
10785         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10786
10787 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10788
10789         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10790
10791 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10792
10793         * BufferView_pimpl.C:
10794         * LyXAction.C:
10795         * buffer.C:
10796         * commandtags.h:
10797         * lyxfunc.C:
10798         * paragraph.[Ch]:
10799         * text2.C:
10800         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10801         inset and code to make it  work with the paragraph code. The inset
10802         can be anywhere in the paragraph, but will only do the expected
10803         thing in LaTeX if the layout file contains the parameter line
10804                         OptionalArgs    1
10805         (or more generally, a nonzero value) for that layout.
10806
10807 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10808
10809         * paragraph.h: remove the declaration of undefined counters class
10810         function.
10811
10812 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10813
10814         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10815         Dr. Richard Hawkins.
10816
10817 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10818
10819         * paragraph_funcs.h: remove some unneeded includes
10820
10821         * text.C (backspace): pasteParagraph now in global scipe
10822
10823         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10824         (pasteSelection): ditto
10825
10826         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10827         * paragraph_funcs.C (pasteParagraph): ... here
10828
10829 2002-08-20  André Pönitz <poenitz@gmx.net>
10830
10831         * commandtags.h: new LFUNs for swapping/copying table row/colums
10832
10833         * LyXAction.C:
10834         * lyxfunc.C: support for new lfuns
10835
10836 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10837
10838         * tabular.C:
10839         * buffer.[Ch]: remove NO_COMPABILITY stuff
10840
10841 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10842
10843         * boost.C (throw_exception): new file, with helper function for
10844         boost compiled without exceptions.
10845
10846         * paragraph.h:
10847         * lyxlength.C:
10848         * buffer.C:
10849         * ParameterStruct.h:
10850         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10851
10852         * bufferlist.C (emergencyWriteAll): use boost bind
10853
10854         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10855
10856         * text.C: include paragraph_funcs.h
10857         (breakParagraph): breakParagraph is now in global scope
10858
10859         * paragraph_funcs.[Ch]: new files
10860
10861         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10862         global scope
10863
10864         * buffer.C: include paragraph_funcs.h
10865         (insertStringAsLines): breakParagraph is now in global scope
10866
10867         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10868         paragraph_funcs.C
10869
10870         * CutAndPaste.C: include paragraph_funcs.h
10871         (cutSelection): breakParagraphConservative is now in global scope
10872         (pasteSelection): ditto
10873
10874         * buffer.h: declare oprator== and operator!= for
10875         Buffer::inset_iterator
10876
10877         * bufferlist.C (emergencyWrite): don't use fmt(...)
10878
10879         * text3.C: add using std::endl
10880
10881         * BufferView.C (moveCursorUpdate): remove default arg
10882
10883 2002-08-20  André Pönitz <poenitz@gmx.net>
10884
10885         * buffer.[Ch]: move inline functions to .C
10886
10887         * BufferView2.C:
10888         * BufferView_pimpl.C:
10889         * text.C:
10890         * buffer.[Ch]: use improved inset_iterator
10891
10892         * buffer.C:
10893         * paragraph.[Ch]: write one paragraph at a time
10894
10895 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10896
10897         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10898         style if style is not specified.
10899
10900 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10901
10902         * text2.C (setCounter): when searching for right label for a
10903         caption, make sure to recurse to parent insets (so that a caption
10904         in a minipage in a figure float works) (bug #568)
10905
10906 2002-08-20  André Pönitz <poenitz@gmx.net>
10907
10908         * text3.C: new file for LyXText::dispatch() and helpers
10909
10910         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10911
10912         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10913
10914 2002-08-19  André Pönitz <poenitz@gmx.net>
10915
10916         * lyxtext.h:
10917         * text.C: new LyXText::dispatch()
10918
10919         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10920
10921 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10922
10923         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10924
10925         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10926         Hebrew text.
10927
10928 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10929
10930         * Makefile.am: use $(variables) instead of @substitutions@
10931
10932 2002-08-15  André Pönitz <poenitz@gmx.net>
10933
10934         * lyxfunc.C:
10935         * BufferView_pimpl.C: streamlining mathed <-> outer world
10936         interaction
10937
10938         * commandtags.h:
10939         * LyXAction.C: remove unused LFUN_MATH
10940
10941 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10942
10943         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10944
10945 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10946
10947         * paragraph.C (Paragraph): reformat a bit
10948         (cutIntoMinibuffer): use builtin InsetList function instad of
10949         doing it manually.
10950         (getInset): ditto
10951
10952         * buffer.C: include boost/bind.hpp, add using std::for_each
10953         (writeFileAscii): use ParagraphList iterators
10954         (validate): use for_each for validate traversal of paragraphs
10955         (getBibkeyList): use ParagraphList iterators
10956         (resizeInsets): use for_each to resizeInsetsLyXText for all
10957         paragraphs.
10958         (getParFromID): use ParagraphList iterators
10959
10960         * BufferView2.C (lockInset): use paragraph list and iterators
10961
10962 2002-08-14  John Levon  <levon@movementarian.org>
10963
10964         * lyxserver.C: remove spurious xforms include
10965
10966 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10967
10968         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10969
10970 2002-08-13  André Pönitz <poenitz@gmx.net>
10971
10972         * LyXAction.[Ch]:
10973         * lyxfunc.C: further cleaning
10974
10975 2002-08-13  André Pönitz <poenitz@gmx.net>
10976
10977         * funcrequest.h: new constructor
10978
10979         * funcrequest.C: move stuff here from .h
10980
10981         * Makefile.am:
10982         * BufferView_pimpl.C:
10983         * LyXAction.C:
10984         * toc.C:
10985         * lyxfunc.C: subsequent changes
10986
10987         * lyxfunc.h: new view() member function
10988
10989         * lyxfunc.C: subsequent changes
10990
10991 2002-08-13  Angus Leeming  <leeming@lyx.org>
10992
10993         * BufferView2.C:
10994         * BufferView_pimpl.C:
10995         * buffer.C:
10996         * converter.C:
10997         * importer.C:
10998         * lyxfunc.C:
10999         * lyxvc.C:
11000         * toc.C:
11001         * vc-backend.C:
11002         changes due to the changed LyXView interface that now returns references
11003         to member variables not pointers.
11004
11005 2002-08-13  Angus Leeming  <leeming@lyx.org>
11006
11007         * WordLangTuple (word, lang_code): return references to strings,
11008         not strings.
11009
11010         * BufferView.h:
11011         * SpellBase.h:
11012         * lyxtext.h: forward-declare WordLangTuple.
11013
11014         * BufferView2.C:
11015         * ispell.C:
11016         * pspell.C:
11017         * text.C: #include "WordLangTuple.h".
11018
11019         * lyxtext.h:
11020         * text.C: (selectNextWordToSpellcheck): constify return type.
11021
11022 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11023
11024         * buffer.C:
11025         * buffer.h:
11026         * lyxtext.h:
11027         * paragraph.C:
11028         * paragraph_pimpl.h:
11029         * text.C:
11030         * text2.C:
11031         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11032         suggested by Angus.
11033         Made updateCounter always count from start of buffer, and removed
11034         second argument (par).
11035         Reverted floats number display to '#'. Perhaps I'll try again when the
11036         code base is sanitized a bit.
11037
11038 2002-08-12  Angus Leeming  <leeming@lyx.org>
11039
11040         * buffer.[Ch] (getLabelList): constify.
11041
11042 2002-08-07  André Pönitz <poenitz@gmx.net>
11043
11044         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11045
11046         * funcrequest.h: extension to keep mouse (x,y) position
11047
11048 2002-08-12  Juergen Vigna  <jug@sad.it>
11049
11050         * BufferView2.C (insertErrors): forbid undo when inserting error
11051         insets.
11052
11053         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11054
11055 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11056
11057         * ParagraphList.[Ch]: new files
11058
11059         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11060
11061         * BufferView2.C (lockInset): ParagraphList changes
11062         * toc.C: ditto
11063         * text2.C: ditto
11064         * bufferlist.C: ditto
11065         * buffer.h: ditto
11066         * buffer.C: ditto
11067
11068 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11069
11070         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11071         unused class variable counter_,
11072
11073         * paragraph.[Ch] (getFirstCounter): delete unused function
11074
11075         * counters.C: include LAssert.h
11076         (reset): add a new function with no arg, change other version to
11077         not have def. arg and to not allow empty arg.
11078
11079         * text2.C (setCounter): remove empty arg from call to Counters::reset
11080
11081 2002-08-11  John Levon  <levon@movementarian.org>
11082
11083         * Makefile.am: add WordLangTuple.h
11084
11085 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11086
11087         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11088         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11089
11090         * insets/insettext.C: InsetList changes
11091
11092         * graphics/GraphicsSupport.C (operator()): InsetList changes
11093
11094         * toc.C (getTocList): InsetList changes
11095
11096         * paragraph_pimpl.[Ch]: InsetList changes
11097
11098         * paragraph.[Ch]: InsetList changes
11099
11100         * buffer.C (inset_iterator): InsetList changes
11101         (setParagraph): ditto
11102         * buffer.h (inset_iterator): ditto
11103         * iterators.C (operator++): ditto
11104         * iterators.h: ditto
11105
11106         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11107
11108         * InsetList.[Ch]: new files, most InsetList handling moved out of
11109         paragraph.C.
11110
11111         * BufferView2.C (removeAutoInsets): InsetList changes
11112         (lockInset): ditto
11113         (ChangeInsets): ditto
11114
11115 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11116
11117         * paragraph_pimpl.h (empty): new function
11118
11119         * paragraph.[Ch] (empty): new function
11120
11121         * other files: use the new Paragraph::empty function
11122
11123 2002-08-09  John Levon  <levon@movementarian.org>
11124
11125         * lyxtext.h: remove unused refresh_height
11126
11127 2002-08-09  John Levon  <levon@movementarian.org>
11128
11129         * Makefile.am:
11130         * sgml.h:
11131         * sgml.C:
11132         * buffer.C:
11133         * paragraph.h:
11134         * paragraph.C: move sgml char escaping out of paragraph
11135
11136         * paragraph.h:
11137         * paragraph.C: remove id setter
11138
11139         * buffer.C:
11140         * paragraph.C:
11141         * paragraph_pimpl.C: remove dead tex_code_break_column
11142
11143         * bufferview_funcs.C: small cleanup
11144
11145         * lyxfunc.C: remove dead proto
11146
11147         * lyxtext.h: make some stuff private. Remove some dead stuff.
11148
11149         * lyxgluelength.C: make as[LyX]String() readable
11150
11151 2002-08-08  John Levon  <levon@movementarian.org>
11152
11153         * LyXAction.h:
11154         * LyXAction.C:
11155         * MenuBackend.C:
11156         * ToolbarDefaults.C:
11157         * lyxfunc.C:
11158         * lyxrc.C:
11159         * toc.C: lyxaction cleanup
11160
11161 2002-08-08  John Levon  <levon@movementarian.org>
11162
11163         * BufferView2.C: small cleanup
11164
11165         * lyxfind.h:
11166         * lyxfind.C: move unnecessary header into the .C
11167
11168 2002-08-08  John Levon  <levon@movementarian.org>
11169
11170         * funcrequest.h: just tedious nonsense
11171
11172         * lyx_main.h:
11173         * lyx_main.C: cleanups
11174
11175         * buffer.C:
11176         * vspace.C: remove dead header lyx_main.h
11177
11178 2002-08-07  Angus Leeming  <leeming@lyx.org>
11179
11180         * Paragraph.[Ch]:
11181         * paragraph_pimpl.h:
11182         Forward declare class Counters in paragraph.h by moving the ctrs member
11183         variable into Paragraph::Pimpl.
11184         (counters): new method, returning a reference to pimpl_->ctrs.
11185
11186         * text2.C: ensuing changes.
11187
11188 2002-08-07  John Levon  <levon@movementarian.org>
11189
11190         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11191
11192         * BufferView_pimpl.C: announce X selection on double/triple
11193           click
11194
11195         * lyx_main.C: use correct bool in batch dispatch
11196
11197         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11198
11199 2002-08-07  André Pönitz <poenitz@gmx.net>
11200
11201         * funcrequest.h: new class to wrap a kb_action and its argument
11202
11203         * BufferView.[Ch]:
11204         * BufferView_pimpl[Ch]:
11205         * LaTeX.C:
11206         * LyXAction.[Ch]:
11207         * lyxfunc.[Ch]:
11208         * lyxrc.C: subsequent changes
11209
11210
11211 2002-08-07  John Levon  <levon@movementarian.org>
11212
11213         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11214           document options change.
11215
11216 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11217
11218         * counters.[Ch]
11219         * text2.C
11220         * paragraph.[Ch]
11221         * makefile.am: move counters functionality over from
11222         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11223
11224 2002-08-06  John Levon  <levon@movementarian.org>
11225
11226         * WordLangTuple.h: new file for word + language code tuple
11227
11228         * SpellBase.h:
11229         * pspell.h:
11230         * pspell.C:
11231         * ispell.h:
11232         * ispell.C:
11233         * lyxtext.h:
11234         * text.C:
11235         * text2.C:
11236         * BufferView.h:
11237         * BufferView2.C: use WordLangTuple
11238
11239         * layout.h:
11240         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11241
11242 2002-08-06  John Levon  <levon@movementarian.org>
11243
11244         * lyx_main.C: fix cmdline batch handling
11245
11246 2002-08-06  André Pönitz <poenitz@gmx.net>
11247
11248         * lyxrc.C: set default for show_banner to true
11249
11250 2002-08-06  John Levon  <levon@movementarian.org>
11251
11252         * pspell.C: fix a crash, and allow new aspell to work
11253
11254 2002-08-06  John Levon  <levon@movementarian.org>
11255
11256         * lyxfunc.C:
11257         * kbmap.C: small cleanup
11258
11259         * vspace.h:
11260         * vspace.C: add const
11261
11262 2002-08-05  John Levon  <levon@movementarian.org>
11263
11264         * LyXAction.C: back to tabular-insert
11265
11266 2002-08-04  John Levon  <levon@movementarian.org>
11267
11268         * BufferView.h:
11269         * BufferView.C: cosmetic change
11270
11271         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11272
11273         * bufferlist.C:
11274         * buffer.h:
11275         * buffer.C:
11276         * lyxcb.h:
11277         * lyxcb.C:
11278         * lyxserver.C:
11279         * lyxvc.C:
11280         * vc-backend.C:
11281         * BufferView2.C: purge all "Lyx" not "LyX" strings
11282
11283         * lyxcursor.h:
11284         * lyxcursor.C: attempt to add some documentation
11285
11286         * lyxfunc.C:
11287         * commandtags.h:
11288         * LyXAction.C:
11289         * ToolbarDefaults.C:
11290         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11291           merge with LFUN_TABULAR_INSERT
11292
11293         * Makefile.am:
11294         * SpellBase.h:
11295         * ispell.h:
11296         * ispell.C:
11297         * pspell.h:
11298         * pspell.C: split up i/pspell implementations into separate
11299           files, many cleanups
11300
11301         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11302
11303         * text2.C: some cleanup
11304
11305         * lyxfunc.C: don't check for isp_command == "none" any more, it
11306           didn't make any sense
11307
11308 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11309
11310         * counters.[Ch]
11311         * text2.C
11312         * paragraph.[Ch]
11313         * makefile.am: move counters functionality over
11314         from text2.C/paragraph.[Ch] to counters.[Ch], and
11315         make proper C++.
11316 2002-08-02  John Levon  <levon@movementarian.org>
11317
11318         * buffer.C: s/lyxconvert/lyx2lyx/
11319
11320 2002-08-02  Angus Leeming  <leeming@lyx.org>
11321
11322         * lyxlex.C: revert John's change as it breaks reading of the user
11323         preamble.
11324
11325 2002-08-02  Angus Leeming  <leeming@lyx.org>
11326
11327         * importer.C (Import):
11328         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11329         changes due to LyXView::view() now returning a boost::shared_ptr.
11330
11331 2002-08-02  John Levon  <levon@movementarian.org>
11332
11333         * lyxlex.C: small cleanup
11334
11335 2002-08-02  John Levon  <levon@movementarian.org>
11336
11337         * text2.C (status): small cleanup, no logic change
11338
11339 2002-08-01  John Levon  <levon@movementarian.org>
11340
11341         * buffer.h:
11342         * buffer.C (writeFile): don't output alerts, caller
11343           handles this
11344
11345         * bufferlist.C:
11346         * lyx_cb.C: from above
11347
11348         * lyxfunc.C: allow to open non-existent files
11349
11350 2002-07-31  John Levon  <levon@movementarian.org>
11351
11352         * lyxserver.C: don't let incidental errors get
11353           in the way (errno)
11354
11355 2002-07-30  John Levon  <levon@movementarian.org>
11356
11357         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11358
11359 2002-07-30  John Levon  <levon@movementarian.org>
11360
11361         * lyxserver.h:
11362         * lyxserver.C: remove I/O callback too
11363
11364 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11365
11366         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11367         log.
11368
11369 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11370
11371         * many files: strip,frontStrip -> trim,ltrim,rtrim
11372
11373 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11374
11375         * PrinterParams.h: remove extern containsOnly, and include
11376         support/lstrings.h instead.
11377
11378         * LaTeX.C (scanAuxFile): modify because of strip changes
11379         (deplog): ditto
11380         * buffer.C (makeLaTeXFile): ditto
11381         * bufferparams.C (writeFile): ditt
11382         * lyxfont.C (stateText): ditto
11383         * lyxserver.C (read_ready): ditto
11384         * vc-backend.C (scanMaster): ditto
11385
11386         * BufferView_pimpl.h: ws changes
11387
11388         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11389
11390 2002-07-26  André Pönitz <poenitz@gmx.net>
11391
11392         * kb_sequence.C: remove unnedred usings
11393
11394 2002-07-26  Juergen Vigna  <jug@sad.it>
11395
11396         * lyxfind.C (LyXReplace): we have to check better if the returned
11397         text is not of theLockingInset()->getLockingInset().
11398
11399 2002-07-25  Juergen Vigna  <jug@sad.it>
11400
11401         * lyxfind.C (LyXReplace): don't replace if we don't get the
11402         right LyXText.
11403
11404         * undo_funcs.C (createUndo): remove debugging code.
11405
11406 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11407
11408         * buffer.C (parseSingleLyXformat2Token): Use default placement
11409         when reading old floats.
11410
11411         * FloatList.C (FloatList): Change the default placement of figure
11412         and tables to "tbp".
11413
11414 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11415
11416         * MenuBackend.C: using std::max
11417
11418 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11419
11420         * MenuBackend.C (expandToc):
11421         (expandToc2): code moved from xforms menu frontend. It is now
11422         generic and TOCs are transparent to menu frontends.
11423
11424 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * toc.C (getTocList): protect against buf=0
11427
11428         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11429         Menu as first parameter. Now, this calls itself recursively to
11430         expand a whole tree (this will be useful for TOC handling)
11431         (expandFloatInsert): remove 'wide' version of floats
11432
11433         * MenuBackend.h (submenuname): returns the name of the submenu.
11434         (submenu): returns the submenu itself, provided it has been
11435         created by MenuBackend::expand
11436
11437 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11440         insets which have noFontChange == true. (bug #172)
11441
11442 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * BufferView_pimpl.C: add connection objects and use them...
11445         (Pimpl): here.
11446
11447 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * MenuBackend.C (expandLastfiles):
11450         (expandDocuments):
11451         (expandFormats):
11452         (expandFloatListInsert):
11453         (expandFloatInsert):
11454         (expand): split expand in parts
11455
11456 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * lyx_gui.C: use lyx_gui::exit()
11459
11460 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * LyXAction.C: show the failing pseudo action
11463
11464 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11465
11466         * buffer.C (readFile): Run the lyxconvert script in order to read
11467         old files.
11468
11469 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * LyXAction.C:
11472         * commandtags.h:
11473         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11474
11475 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * LyXAction.C:
11478         * commandtags.h:
11479         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11480
11481 2002-07-22  Herbert Voss  <voss@lyx.org>
11482
11483         * lengthcommon.C:
11484         * lyxlength.[Ch]: add support for the vertical lengths
11485
11486 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * toc.[Ch]: std:: fixes
11489
11490 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11491
11492         * lyxrc.C: do not include lyx_main.h
11493
11494         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11495         for layouts
11496
11497         * lyxrc.C:
11498         * encoding.C:
11499         * bufferlist.C:
11500         * BufferView2.C: include "lyxlex.h"
11501
11502         * tabular.h:
11503         * bufferparams.h: do not #include "lyxlex.h"
11504
11505         * lyxtextclasslist.C (Add): remove method
11506         (classlist): renamed to classlist_
11507
11508         * paragraph_pimpl.C:
11509         * paragraph.C:
11510         * text2.C:
11511         * CutAndPaste.C:
11512         * bufferview_funcs.C:
11513         * bufferlist.C:
11514         * text.C:
11515         * LaTeXFeatures.C:
11516         * buffer.C:
11517         * toc.C (getTocList): use BufferParams::getLyXTextClass
11518
11519         * toc.C (getTocList): use InsetFloat::addToToc
11520
11521         * toc.[Ch]: new files, containing helper functions to handle table
11522         of contents
11523
11524         * lyxfunc.C (dispatch): no need to remove spaces around command
11525         given as a string
11526         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11527         first command of the sequence; it is not very clever, but I do not
11528         have a better idea, actually
11529
11530         * LyXAction.C (LookupFunc): make sure to remove space at the
11531         beginning and end of the command
11532
11533 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * MenuBackend.C (getMenubar): new method: return the menubar of
11536         this menu set
11537         (read): treat differently reading of menu and menubar (in
11538         particular, the menubar has no name now)
11539         (Menu::menubar): remove
11540
11541         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11542         saving is finished
11543
11544 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11545
11546         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11547         a bibitem inset in a RTL paragraph.
11548
11549 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11550
11551         * paragraph_pimpl.C: constify
11552
11553         * BufferView_pimpl.C:
11554         * LaTeX.C:
11555         * lyxfunc.C: fix dispatch in a nicer way
11556
11557 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11558
11559         * lyxfunc.C (dispatch):
11560         * BufferView_pimpl.C:
11561         * BufferView_pimpl.h:
11562         * BufferView.C:
11563         * BufferView.h: rename Dispatch() to dispatch()
11564
11565         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11566
11567         * lyxlayout.C (Read): honor DependsOn tag
11568
11569         * lyxlayout.[Ch] (depends_on): new method
11570
11571         * version.C.in: update lyx_docversion
11572
11573         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11574
11575         * paragraph.C (validate): remove from here...
11576         * paragraph_pimpl.C (validate): ... and move here
11577         (isTextAt): make it const
11578
11579         * buffer.C (getLists): ws cleanup
11580
11581 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11582
11583         * language.C (read): Use iso8859-1 encoding in latex_lang
11584         (this prevents LyX from crashing when using iso10646-1 encoding).
11585
11586 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11587
11588         * text2.C (toggleInset): if cursor is inside an inset, close the
11589         inset and leave cursor _after_ it
11590
11591 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * lyxfunc.C: move minibuffer completion handling out of here
11594
11595 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * BufferView_pimpl.C:
11598         * LaTeX.C: fix dispatch calls
11599
11600 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11601
11602         * text.C (drawChars): Fix Arabic text rendering.
11603
11604 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11605
11606         * LyXAction.C:
11607         * commandtags.h:
11608         * lyxfunc.C: remove message-push/pop
11609
11610         * lyxserver.C:
11611         * lyxfunc.h:
11612         * lyxfunc.C: rationalise some code by removing verboseDispatch
11613           in favour of a bool argument to dispatch()
11614
11615 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11616
11617         * lyx_main.C (init): make sure to read symlinks as absolute paths
11618
11619 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * lyxfunc.h:
11622         * lyxfunc.C: no need for commandshortcut to be a member
11623
11624 2002-07-15  André Pönitz <poenitz@gmx.net>
11625
11626         * converter.C: add support for $$s (scripts from lib/scripts dir)
11627         * lyx_main.C: white space
11628
11629 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * bufferlist.C:
11632         * lyxrc.h:
11633         * lyxrc.C: remove second exit confirmation
11634
11635 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * BufferView.h:
11638         * BufferView.C:
11639         * BufferView2.C:
11640         * BufferView_pimpl.h:
11641         * BufferView_pimpl.C:
11642         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11643
11644 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11645
11646         * MenuBackend.C (expand): add numeric shortcuts to document menu
11647
11648         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11649
11650 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11651
11652         * lyxfont.C (setLyXFamily):
11653         (setLyXSeries):
11654         (setLyXShape):
11655         (setLyXSize):
11656         (setLyXMisc):
11657         (lyxRead):
11658         * debug.C (value):
11659         * buffer.C (asciiParagraph): use ascii_lowercase
11660
11661 2002-07-15  Mike Fabian  <mfabian@suse.de>
11662
11663         * lyxlex_pimpl.C (search_kw):
11664         * lyxlex.C (getLongString):
11665         * converter.h (operator<):
11666         * converter.C (operator<):
11667         * buffer.C (parseSingleLyXformat2Token):
11668         (asciiParagraph):
11669         * ToolbarDefaults.C (read):
11670         * MenuBackend.C (checkShortcuts):
11671         (read):
11672         * LColor.C (getFromGUIName):
11673         (getFromLyXName): use the compare_ascii_no_case instead of
11674         compare_no_case, because in turkish, 'i' is not the lowercase
11675         version of 'I', and thus turkish locale breaks parsing of tags.
11676
11677 2002-07-16  Angus Leeming  <leeming@lyx.org>
11678
11679         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11680         now takes a Buffer const & argument.
11681
11682 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * BufferView.C (resize): check there's a buffer to resize
11685
11686 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11687
11688         * lyxfunc.C: remove dead code
11689
11690         * lyxserver.h:
11691         * lyxserver.C: use lyx_guii::set_read_callback
11692
11693 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11694
11695         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11696         an inset in a RTL paragraph.
11697
11698 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11699
11700         * lyxfunc.C: repaint after a font size update
11701
11702 2002-07-15  André Pönitz <poenitz@gmx.net>
11703
11704         * lyxlength.C: inBP should be able to return negative values
11705
11706 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * lyxfunc.C: use lyx_gui::update_fonts()
11709
11710 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * lyxfunc.C: use lyx_gui::update_color()
11713
11714 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * bufferlist.C:
11717         * lyxfunc.h:
11718         * lyxfunc.C:
11719         * lyxrc.h:
11720         * lyxrc.C: remove file->new asks for name option, and let
11721           buffer-new take an argument
11722
11723 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * BufferView_pimpl.C: remove unneeded extra repaint()
11726
11727 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * LyXAction.C: allow command-sequence with NoBuffer
11730
11731         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11732
11733 2002-07-10  Angus Leeming  <leeming@lyx.org>
11734
11735         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11736
11737 2002-07-09  Angus Leeming  <leeming@lyx.org>
11738
11739         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11740
11741 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * lengthcommon.h: whitespace
11744
11745         * lyxfunc.C: update scrollbar after goto paragraph
11746
11747         * lyxtext.h: factor out page break drawing, and fix it so
11748           page break/added space paints as selected nicely
11749
11750 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11751
11752         * BufferView_pimpl.C: add FIXMEs, clean up a little
11753
11754 2002-07-09  André Pönitz <poenitz@gmx.net>
11755
11756         * lyxfont.[Ch]: support for wasy symbols
11757
11758 2002-07-08  André Pönitz <poenitz@gmx.net>
11759
11760         * BufferView_pimpl.C: apply John's patch for #93.
11761
11762 2002-07-05  Angus Leeming  <leeming@lyx.org>
11763
11764         * BufferView_pimpl.C (buffer): generate previews if desired.
11765
11766         * LColor.h: add "preview" to the color enum.
11767
11768         * LColor.C (LColor): add a corresponding entry to the items array.
11769
11770         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11771         with this buffer.
11772
11773 2002-07-05  Angus Leeming  <leeming@lyx.org>
11774
11775         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11776         The body of the code is now in the method that is passed an ostream &
11777         rather than a file name.
11778         Pass an additional only_preamble parameter, useful for the forthcoming
11779         preview stuff.
11780
11781 2002-07-03  André Pönitz <poenitz@gmx.net>
11782
11783         * lyxfunc.C: simplify getStatus() a bit for math stuff
11784
11785 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11786
11787         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11788
11789 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * text.C (changeRegionCase): do not change case of all the
11792         document when region ends at paragraph end (bug #461)
11793
11794 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * paragraph.C (startTeXParParams):
11797         (endTeXParParams): add \protect when necessary
11798
11799 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11800
11801         * BufferView_pimpl.C (workAreaExpose): remove warning
11802
11803 2002-06-27  Angus Leeming  <leeming@lyx.org>
11804
11805         * Makefile.am: add lyxlayout_ptr_fwd.h.
11806
11807 2002-06-26  André Pönitz <poenitz@gmx.net>
11808
11809         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11810
11811 2002-06-25  Angus Leeming  <leeming@lyx.org>
11812
11813         * lyxfunc.C (dispatch): Comment out the call to
11814         grfx::GCache::changeDisplay. The method no longer exists now that the
11815         pixmap generation part of the graphics loader has been moved into
11816         InsetGraphics.
11817
11818 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11819
11820         * text2.C: layout as layout
11821
11822         * text.C: layout as layout
11823
11824         * tabular.C (OldFormatRead): layout as layout
11825
11826         * paragraph_pimpl.C (TeXDeeper): layout as layout
11827         (realizeFont): layout as layout
11828
11829         * paragraph.C (writeFile): layout as layout
11830         (validate): layout as layout
11831         (getFont): layout as layout
11832         (getLabelFont): layout as layout
11833         (getLayoutFont): layout as layout
11834         (breakParagraph): layout as layout
11835         (stripLeadingSpaces): layout as layout
11836         (getEndLabel): layout as layout
11837         (getMaxDepthAfter): layout as layout
11838         (applyLayout): layout as layout
11839         (TeXOnePar): layout as layout
11840         (simpleTeXOnePar): layout as layout
11841         (TeXEnvironment): layout as layout
11842         (layout): layout as layout
11843         (layout): layout as layout
11844
11845         * lyxtextclass.C (compare_name): new functor to work with
11846         shared_ptr, layout as layout
11847         (Read): layout as layout
11848         (hasLayout): layout as layout
11849         (operator): layout as layout
11850         (delete_layout): layout as layout
11851         (defaultLayout): layout as layout
11852
11853         * lyxlayout_ptr_fwd.h: new file
11854
11855         * lyxlayout.C (Read): layout as layout
11856
11857         * lyx_cb.C (MenuInsertLabel): layout as layout
11858
11859         * bufferlist.C (newFile): layout as layout
11860
11861         * buffer.C (readLyXformat2): layout as layout
11862         (parseSingleLyXformat2Token): layout as layout
11863         (insertStringAsLines): layout as layout
11864         (asciiParagraph): layout as layout
11865         (latexParagraphs): layout as layout
11866         (makeLinuxDocFile): layout as layout
11867         (simpleLinuxDocOnePar): layout as layout
11868         (makeDocBookFile): layout as layout
11869         (simpleDocBookOnePar): layout as layout
11870         (getLists): layout as layout
11871
11872         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11873
11874         * CutAndPaste.C (cutSelection): layout as layout
11875         (pasteSelection): layout as layout
11876         (SwitchLayoutsBetweenClasses): layout as layout
11877
11878         * BufferView_pimpl.C (Dispatch): layout as layout
11879         (smartQuote): layout as layout
11880
11881         * BufferView2.C (unlockInset): layout as layout
11882
11883 2002-06-24  André Pönitz <poenitz@gmx.net>
11884
11885         * lyxfunc.C: fix #487
11886
11887 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * lyxrc.h:
11890         * lyxrc.C:
11891         * lyxfunc.C: remove display_shortcuts, show_banner
11892
11893 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11894
11895         * Buffer_pimpl.C: oops, update on resize
11896
11897 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * buffer.C:
11900         * converter.C:
11901         * exporter.C:
11902         * lyxfunc.C:
11903         * BufferView.h:
11904         * BufferView.C: use repaint()
11905
11906         * BufferView_pimpl.h:
11907         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11908           as it's a clearer description. Remove superfluous
11909           redraws.
11910
11911 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * text.C: fix bug 488. Not ideal, but getting
11914           getWord() to work properly for the insets that
11915           matter is more difficult ...
11916
11917 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * BufferView_pimpl.C:
11920         * LyXAction.C:
11921         * commandtags.h:
11922         * lyxfunc.C: remove the six million index lyxfuncs to just
11923           one, and DTRT (bug 458)
11924
11925 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * BufferView.h:
11928         * BufferView.C:
11929         * BufferView_pimpl.h:
11930         * BufferView_pimpl.C: clean up resize() stuff,
11931           and unnecessary updateScreen()s
11932
11933 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * BufferView.h:
11936         * BufferView.C:
11937         * BufferView_pimpl.h:
11938         * BufferView_pimpl.C:
11939         * lyxfind.h:
11940         * lyxfind.C:
11941         * minibuffer.C: remove focus management of workarea,
11942           not needed. Use screen's greyOut()
11943
11944 2002-06-17  Herbert Voss  <voss@lyx.org>
11945
11946         * converter.C: (convert) do not post a message, when converting
11947         fails, let the calling function decide what to do in this case
11948
11949 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11950
11951         * lyxfunc.C: tidy up a little
11952
11953 2002-06-16    <alstrup@diku.dk>
11954
11955         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11956         Got rid of FORMS_H_LOCATION include. Now we are
11957         GUII.
11958
11959 2002-06-15  LyX Development team  <lyx@rilke>
11960
11961         * buffer.[Ch] (sgmlOpenTag):
11962         (sgmlCloseTag): Added support for avoiding pernicious mixed
11963         content. Return number of lines written.
11964
11965         (makeLinuxDocFile):
11966         (makeDocBookFile): Fixed calls to sgml*Tag.
11967         Simple white space clean.
11968
11969         (simpleDocBookOnePar): Simple white space clean.
11970
11971         * tabular.[Ch] (docBook): Renamed to docbook and got another
11972         argument to related with the pernicious mixed content.
11973
11974         (docbookRow): Fixed calls for docbook inset method.
11975
11976 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11977
11978         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11979         so it's X11 independent.
11980
11981         * kb*.[Ch]: ditto.
11982
11983         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11984
11985 2002-06-15  Lyx Development team  <lyx@electronia>
11986
11987         * intl.h: Renamed getTrans to getTransManager.
11988
11989 2002-06-14  Angus Leeming  <leeming@lyx.org>
11990
11991         * Makefile.am: nuke forgotten stl_string_fwd.h.
11992
11993 2002-06-12  Angus Leeming  <leeming@lyx.org>
11994
11995         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11996
11997 2002-06-13  Angus Leeming  <leeming@lyx.org>
11998
11999         * LaTeX.C:
12000         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12001
12002 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12003
12004         * kbmap.C (getiso): add support for cyrillic and greek
12005
12006 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * BufferView.h:
12009         * BufferView.C:
12010         * BufferView_pimpl.h:
12011         * BufferView_pimpl.C: move bogus scrolling logic
12012           to xforms
12013
12014 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * lyxfunc.C:
12017         * BufferView_pimpl.C: view->resize() change
12018
12019 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12020
12021         * BufferView_pimpl.C: topCursorVisible
12022           prototype change
12023
12024 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * Makefile.am:
12027         * lyx_gui.h:
12028         * lyx_gui.C: move to frontends/
12029
12030         * main.C:
12031         * lyx_main.h:
12032         * lyx_main.C: changes from above
12033
12034 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * intl.C:
12037         * intl.h:
12038         * kbmap.C:
12039         * kbsequence.C:
12040         * lyx_cb.C:
12041         * lyx_main.C: minor tidy
12042
12043 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12044
12045         * BufferView_pimpl.h:
12046         * BufferView_pimpl.C:
12047         * BufferView.h:
12048         * BufferView.C: make painter() const,
12049           remove dead code
12050
12051         * BufferView2.C: use screen() accessor
12052
12053         * lyx_main.h:
12054         * lyx_main.C: some minor cleanup
12055
12056 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * BufferView_pimpl.h:
12059         * BufferView_pimpl.C: remove enter/leaveView,
12060           use workHeight()
12061
12062 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * BufferView.h:
12065         * BufferView.C:
12066         * BufferView2.C:
12067         * BufferView_pimpl.h:
12068         * BufferView_pimpl.C: only construct screen once,
12069           rename
12070
12071         * lyxrc.C: remove pointless comment
12072
12073 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * BufferView.h:
12076         * BufferView.C: remove active() and belowMouse()
12077
12078         * BufferView_pimpl.h:
12079         * BufferView_pimpl.C: use workarea() not workarea_,
12080           and make it use a scoped_ptr instead
12081
12082 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * lyx_gui.C: add debug message on BadWindow
12085
12086 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * sp_spell.C: fdopen is not part of the C++ standard.
12089
12090         * paragraph.C (InsetIterator): use >= instead of ==
12091
12092 2002-06-07  Angus Leeming  <leeming@lyx.org>
12093
12094         Fixes needed to compile with Compaq cxx 6.5.
12095         * BufferView_pimpl.C:
12096         * DepTable.C:
12097         * buffer.C:
12098         * converter.C:
12099         * encoding.C:
12100         * lyx_gui.C:
12101         * lyx_main.C:
12102         * lyxtextclasslist.C:
12103         * minibuffer.C:
12104         * sp_spell.C:
12105         * tabular_funcs.C:
12106         * vc-backend.C:
12107         all c-library variables have been moved into namespace std. Wrap
12108         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12109
12110         * lyxlength.C:
12111         * tabular-old.C:
12112         * tabular.C:
12113         Add a using std::abs declaration.
12114
12115         * kbmap.h (modifier_pair):
12116         * paragraph.h (InsetTable, InsetList):
12117         * lyxfont.h (FontBits):
12118         type definition made public.
12119
12120         * bufferlist.C (emergencyWriteAll): the compiler complains that
12121         there is more than one possible lyx::class_fun template to choose from.
12122         I re-named the void specialisation as lyx::void_class_fun.
12123
12124         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12125
12126         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12127         the compiler is is unable to find tostr in write_attribute.
12128
12129 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12130
12131         * buffer.C (sgmlError): hide #warning
12132
12133 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12134
12135         * xtl/*: get rid of xtl, which is not in use anyway
12136
12137         * LyXAction.C (init):
12138         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12139         were unimplemented xtl experimentation
12140
12141 2002-06-04  André Pönitz <poenitz@gmx.net>
12142
12143         * lyxfunc.C: disable array operation on simple formulae
12144
12145 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12146
12147         * converter.C: constify a bit
12148
12149 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12150
12151         * lyx_gui.C: check xforms version correctly
12152
12153 2002-04-30  Herbert Voss  <voss@lyx.org>
12154
12155         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12156         "keep" option
12157
12158 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12161           attempt to register it with a VCS)
12162
12163 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * lyx_main.C (init): honor variables LYX_DIR_13x and
12166         LYX_USERDIR_13x
12167
12168 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12169
12170         * buffer.h:
12171         * buffer.C:
12172         * lyx_main.C: fix a crash on bad command line,
12173           and give a useful exit status on error
12174
12175         * lyxfunc.C (doImport): allow -i lyx to work
12176
12177 2002-03-30  André Pönitz <poenitz@gmx.net>
12178
12179         * lyxfunc.C: mathed font changes
12180
12181 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * LaTeX.C:
12184         * importer.h:
12185         * importer.C:
12186         * lyx_sty.h:
12187         * lyx_sty.C:
12188         * lyxlex.C:
12189         * lyxrow.h:
12190         * lyxtext.h:
12191         * paragraph.h:
12192         * paragraph.C:
12193         * texrow.h:
12194         * texrow.C:
12195         * text.C:
12196         * trans_mgr.h: srcdocs, and some minor cleanups
12197
12198 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12199
12200         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12201         call getFont all the time)
12202
12203 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12204
12205         * switch from SigC signals to boost::signals
12206
12207 2002-05-29  André Pönitz <poenitz@gmx.net>
12208
12209         * paragraph_pimpl.C (getChar): don't call size() too often...
12210
12211 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12212
12213         * paragraph_pimpl.C (insertChar): do not try to update tables when
12214         appending (pos == size())
12215
12216         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12217         in order to reduce drastically the number of comparisons needed to
12218         parse a large document
12219
12220 2002-05-29  André Pönitz <poenitz@gmx.net>
12221
12222         * text.C:
12223         * text2.C:
12224         * lyxtextclass.C:
12225         * sp_pspell.h:
12226         * textclasslist.[Ch]:
12227         * sp_ispell.h: whitespace change
12228
12229 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12230
12231         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12232         lyxaction directly now.
12233
12234 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * trans.C:
12237         * lyxfont.C:
12238         * lyxvc.C: remove unused headers
12239
12240 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * Makefile.am:
12243         * buffer.h:
12244         * undostack.h:
12245         * undostack.C:
12246         * undo_funcs.h:
12247         * undo_funcs.C: some cleanups. Use shared_ptr
12248           and a template for the undo stacks.
12249
12250 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12251
12252         * BufferView_pimpl.h:
12253         * BufferView_pimpl.C:
12254         * kbmap.h:
12255         * kbmap.C:
12256         * kbsequence.h:
12257         * kbsequence.C:
12258         * lyxfunc.h:
12259         * lyxfunc.C:
12260         * text2.C: use key_state/mouse_state
12261
12262 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12263
12264         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12265         and LSubstring
12266
12267         * chset.C: change include order
12268         (loadFile): use boost regex and get rid of LRegex and LSubstring
12269
12270         * Makefile.am (BOOST_LIBS): new variable
12271         (lyx_LDADD): use it
12272
12273         * LaTeX.C: change include order.
12274         (scanAuxFile): use boost regex and get rid of LRegex and
12275         LSubstring
12276         (deplog): ditto
12277
12278 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * ColorHandler.h:
12281         * ColorHandler.C:
12282         * FontInfo.h:
12283         * FontInfo.C: moved to frontends/xforms/
12284
12285         * FontLoader.h:
12286         * FontLoader.C: moved into frontends for GUIIzation
12287
12288         * Makefile.am:
12289         * lyx_gui.C:
12290         * lyxfont.C:
12291         * lyxfunc.C: changes from above
12292
12293 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * LColor.C: remove spurious X include
12296
12297         * BufferView_pimpl.C:
12298         * Makefile.am:
12299         * font.h:
12300         * font.C:
12301         * text.C:
12302         * text2.C: move font metrics to frontends/
12303
12304 2002-05-24  Juergen Vigna  <jug@sad.it>
12305
12306         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12307         setting the undo_cursor.
12308
12309         * ParagraphParameters.h: include local includes first.
12310
12311 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12312
12313         * BufferView_pimpl.C:
12314         * BufferView_pimpl.h:
12315         * Makefile.am:
12316         * WorkArea.h:
12317         * WorkArea.C:
12318         * screen.C: move WorkArea into frontends/
12319
12320         * lyxscreen.h:
12321         * screen.C:
12322         * text.C:
12323         * BufferView.C:
12324         * BufferView2.C: move LyXScreen into frontends/
12325
12326         * lyxlookup.h:
12327         * lyxlookup.C:
12328         * lyx_gui.C: move lyxlookup into frontends/xforms/
12329
12330 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * BufferView2.C:
12333         * BufferView_pimpl.C:
12334         * FontLoader.C:
12335         * LyXView.h:
12336         * LyXView.C:
12337         * Makefile.am:
12338         * WorkArea.C:
12339         * XFormsView.h:
12340         * XFormsView.C:
12341         * buffer.C:
12342         * bufferlist.C:
12343         * bufferview_funcs.C:
12344         * converter.C:
12345         * importer.C:
12346         * lyx_cb.C:
12347         * lyx_gui.C:
12348         * lyx_main.C:
12349         * lyx_find.C:
12350         * lyxfunc.C:
12351         * lyxvc.C:
12352         * minibuffer.C:
12353         * text.C:
12354         * text2.C:
12355         * trans.C:
12356         * vc-backend.C: move LyX/XFormsView into frontends/
12357
12358 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * Makefile.am:
12361         * PainterBase.C:
12362         * PainterBase.h:
12363         * Painter.C:
12364         * Painter.h:
12365         * WorkArea.C:
12366         * WorkArea.h:
12367         * screen.C:
12368         * tabular.C:
12369         * text.C:
12370         * text2.C: move Painter to frontends/
12371
12372 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12373
12374         * buffer.C: comment out some some code that depend upon lyx_format
12375         < 220
12376
12377         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12378         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12379
12380         * buffer.h (NO_COMPABILITY): turn off compability
12381
12382         * ColorHandler.C: include scoped_array.hpp
12383
12384         * font.C: Use more specific smart_ptr header.
12385         * Painter.C: ditto
12386         * gettext.C: ditto
12387         * ShareContainer.h: ditto
12388         * lyx_main.h: ditto
12389         * kbmap.h: ditto
12390         * FontInfo.h: ditto
12391         * BufferView_pimpl.h: ditto
12392         * ColorHandler.h: ditto
12393
12394         * kbmap.C (defkey): change call to shared_ptr::reset
12395
12396 2002-05-21  Juergen Vigna  <jug@sad.it>
12397
12398         * buffer.C (insertErtContents): fix to insert ert asis if it is
12399         non empty. Skip it completely if it contains only whitespaces.
12400
12401 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12402
12403         * BufferView_pimpl.C:
12404         * BufferView2.C: clear selection on paste (bug 393)
12405
12406 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12407
12408         * DepTable.C: include ctime
12409
12410 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12411
12412         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12413
12414 2002-05-14  Juergen Vigna  <jug@sad.it>
12415
12416         * text.C (breakParagraph): fixed function to honor the keepempty
12417         layout in the right maner and also to permit the right breaking
12418         algorithm on empty or non empyt keepempty paragraphs.
12419
12420         * paragraph.C (breakParagraph): we have to check also if the par
12421         is really empty (!size()) for isempty otherwise we do the wrong
12422         paragraph break.
12423
12424 2002-05-10  Juergen Vigna  <jug@sad.it>
12425
12426         * buffer.[Ch] : The following are only changes to the ert
12427         compatibility read reading old LaTeX layout and font stuff and
12428         convert it to ERTInsets.
12429
12430         * buffer.h: added isErtInset().
12431
12432         * buffer.C (struct ErtComp): add a fromlayout bool to check
12433         if we're inside a LaTeX layout.
12434         (isErtInset): new helper function.
12435         (insertErtContents): look for other ert insets before this one
12436         and insert the contents there, so that we don't have subsequent
12437         ERT insets with nothing between them. This way we create only one
12438         inset with multiple paragraphs. Also check if we don't insert only
12439         spaces ' ' as they are ignored anyway afterwards in the .tex file
12440         so if we have only spaces we will ignore this latex part in the
12441         new file.
12442         (parseSingleLyXformat2Token \\layout): better compatibility when
12443         reading layout-latex stuff.
12444         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12445         language tag.
12446         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12447         stuff after reading the inset only get the information back from
12448         the stack.
12449
12450 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12451
12452         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12453
12454         * LaTeXFeatures.C (getBabelOptions): New method.
12455
12456 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * BufferView_pimpl.C (Dispatch): work around missing argument for
12459         'layout'
12460
12461 2002-05-08  Juergen Vigna  <jug@sad.it>
12462
12463         * text.C (leftMargin): handle paragraph leftindent.
12464
12465         * paragraph.C (writeFile): write the new \\leftindent tag.
12466         (validate): handle leftindent code.
12467         (TeXEnvironment): handle paragraphleftindent code again.
12468
12469         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12470
12471         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12472         for paragrap_extra indent code and new token \\leftindent.
12473         (latexParagraphs): handle the leftindent as environment.
12474
12475         * ParameterStruct.h: added leftindent support.
12476
12477         * ParagraphParameters.C (leftIndent): added support functions for
12478         the paragraph left indent.
12479
12480         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12481         more appropriate.
12482
12483 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12484
12485         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12486         inside insetERT.
12487
12488         * text.C (computeBidiTables): No bidi in insetERT.
12489
12490         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12491         in RTL documents.
12492
12493 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12494
12495         * version.C.in: pre 5
12496
12497 2002-05-02  José Matos  <jamatos@fep.up.pt>
12498         * buffer.C (makeDocBookFile): white space changes, add newline to
12499         command styles.
12500         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12501
12502         * tabular.C (docBook): fix typo.
12503
12504 2002-05-03  Juergen Vigna  <jug@sad.it>
12505
12506         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12507         change in LyXText as we can not be sure it was not freed.
12508         (drawOneRow): remove unused code.
12509
12510         * text.C (drawInset): redo the calculation of the need_break_row as
12511         it could have a row which was already freed.
12512         (draw): look at the return value of drawInset and return false if
12513         it also returned false.
12514         (paintRowText): look at the return value of draw and return false if
12515         it also returned false.
12516
12517         * lyxtext.h: added bool return type to drawInset() and draw() so that
12518         if we have a change in the row so that the rowbreak has to be redone
12519         we abort drawing as it will be called again.
12520
12521 2002-05-02  Juergen Vigna  <jug@sad.it>
12522
12523         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12524         a change in the maintext also if we're inside an inset.
12525         (Dispatch): set the cursor again after a break line and after the
12526         screen has been updated as it could be we're in a different row.
12527
12528         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12529         to set the cursor behind the pargraph with > size().
12530         (setCursor): check also for the same paragraph when checking where
12531         to put the cursor if we have a NFR inset.
12532
12533         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12534         parts of layout read further up as it still was in the wrong
12535         position.
12536
12537 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * screen.C (drawFromTo): change sine fullRebreak always return
12540         true.
12541
12542         * buffer.C (parseSingleLyXformat2Token): reindent some
12543
12544         * BufferView_pimpl.C (update): change since fullRebreak always
12545         return true.
12546         (Dispatch): git rid of the last hardcoded "Standard"s.
12547
12548 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * text2.[Ch] (fullRebreak): make it return void now that we always
12551         returned true.
12552
12553 2002-04-30  Juergen Vigna  <jug@sad.it>
12554
12555         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12556         ert compatibility check for "latex" layout.
12557
12558 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12559
12560         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12561         minipages: use col% instead of p%, and also use the current font.
12562         (makeLaTeXFile): Fix use babel condition.
12563         (parseSingleLyXformat2Token): Correct font when reading old floats.
12564
12565 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12566
12567         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12568         inserting list of floats.
12569
12570 2002-04-25  Herbert Voss  <voss@lyx.org>
12571
12572         * MenuBackend.C (expand): don't add the graphics extensions to the
12573         export menu
12574
12575 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12576
12577         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12578         non-existing layout, do not complain if it was the default layout
12579         of the original class (bug #342)
12580
12581 2002-04-24  Juergen Vigna  <jug@sad.it>
12582
12583         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12584         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12585
12586 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12587
12588         * buffer.C (getBibkeyList): If using \bibliography, return the
12589         option field with the reference itself. Enables us to provide natbib
12590         support when using \bibliography.
12591
12592 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12593
12594         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12595
12596         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12597         natbib is provided by the LaTeX class.
12598
12599 2002-04-23  Juergen Vigna  <jug@sad.it>
12600
12601         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12602         Wakeup functions.
12603
12604         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12605
12606 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12607
12608         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12609
12610         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12611         ensuremath around textordmasculine, textordfeminine and
12612         textdegree.
12613
12614 2002-04-19  Juergen Vigna  <jug@sad.it>
12615
12616         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12617         reinitializing the buffer otherwise row-dimensions may be wrong.
12618         (update): reset also the selection cursors if they do exits otherwise
12619         their x/y positions may be wrong.
12620
12621         * text2.C (cursorDown): don't enter the inset if we came from a row
12622         above and are one row over the inset.
12623
12624         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12625         really leaving an inset.
12626
12627 2002-04-18  Juergen Vigna  <jug@sad.it>
12628
12629         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12630         of the selected paragraph does not have the selected layout also if
12631         the last one had!
12632
12633         * text2.C (setLayout): fixed bug which did not change last selected
12634         paragraph.
12635
12636         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12637         changed the read and substituted \\end_float with \\end_inset!
12638
12639         * BufferView_pimpl.C (cursorPrevious):
12640         (cursorNext): fixed to make it work with rows heigher than the work
12641         area without moving the cursor only the draw of the row.
12642         (workAreaMotionNotify): fix jumping over high rows.
12643
12644 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12645
12646         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12647         Ressler.
12648
12649 2002-04-16  Juergen Vigna  <jug@sad.it>
12650
12651         * text2.C (setCursor): set also the irow().
12652         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12653         (cursorUp):
12654         (cursorDown): support for locking an inset if the x_fix value goes
12655         inside it. That way I can transverse insets too with cursor up/down.
12656
12657         * lyxrow.h: added irow helper function same as other (i) functions.
12658
12659         * BufferView_pimpl.C (cursorPrevious):
12660         (cursorNext): fixed for insets!
12661
12662 2002-04-15  Juergen Vigna  <jug@sad.it>
12663
12664         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12665         position otherwise it is wrong in some cases.
12666
12667         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12668         inside the inset before the call.
12669
12670 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12671
12672         * buffer.[Ch] (getBibkeyList): make it const.
12673
12674 2002-04-12  Juergen Vigna  <jug@sad.it>
12675
12676         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12677
12678         * text2.C (getCursorX): new helper function
12679         (setCursor): compute also ix_
12680         (setCursorFromCoordinates): set also ix.
12681
12682         * lyxcursor.h: added ix_ and helper functions.
12683
12684         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12685
12686         * buffer.C (insertStringAsLines): dont break paragraph if the this
12687         paragraph is inside an inset which does not permit it!
12688
12689         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12690         also with no chars on this paragraph.
12691         (paintRowText): only paint stuff if it's inside the workarea!
12692
12693         * paragraph.C (breakParagraph): honor keepempty flag and break the
12694         paragraph always below not above.
12695
12696         * BufferView2.C (unlockInset): update the paragraph layout on inset
12697         unlock as we changed paragraph in such a case.
12698
12699         * lyxfind.C (LyXFind): clear the former selection if not found!
12700
12701         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12702         again called in insertChar().
12703
12704         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12705         an inset which uses the whole row!
12706         (rightMargin): ditto.
12707         (insertChar): force a rebreak if we inserted an inset!
12708
12709 2002-03-28  Herbert Voss  <voss@lyx.org>
12710
12711         * lyxlength.[Ch]: add inBP() to get the right PS-point
12712         units (BigPoint). With inPixels we have rounding errors
12713
12714 2002-04-11  Juergen Vigna  <jug@sad.it>
12715
12716         * text2.C (setCursorFromCoordinates): set iy to the right value.
12717         (setCursor): add check if row->previous exists!
12718
12719         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12720         an old float_type as this was the case in the old code!
12721
12722         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12723
12724         * BufferView2.C (showLockedInsetCursor): use iy
12725         (fitLockedInsetCursor): ditto
12726
12727         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12728         locked insets as there we have the right value now.
12729
12730         * lyxcursor.C: added iy_ variable and iy functions to set to the
12731         baseline of cursor-y of the locked inset.
12732
12733         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12734         (setCursor): fixed for insets which need a full row.
12735
12736         * text.C (rowLastPrintable): don't ignore the last space when before
12737         an inset which needs a full row.
12738         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12739         as last character of a row when before a inset which needs a full row.
12740
12741 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12742
12743         * version.C.in: update date
12744
12745         * text2.C (fullRebreak): try to always return true and see what
12746         happens...
12747
12748 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * MenuBackend.C (expand): use Floating::listName
12751
12752         * FloatList.C (FloatList): add listName argument to the built-in
12753         floats
12754
12755         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12756         text associated with the float.
12757
12758 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12759
12760         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12761
12762 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * ShareContainer.h: add a couple of missing typenames.
12765
12766 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12767
12768         * lyxrc.C (getDescription): use _() correctly rather than N_().
12769
12770 2002-03-28  Herbert Voss  <voss@lyx.org>
12771
12772         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12773         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12774
12775 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12776
12777         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12778         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12779
12780 2002-03-29  Juergen Vigna  <jug@sad.it>
12781
12782         * lyxfunc.C (dispatch): add a missing fitCursor call.
12783
12784         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12785         it was scrolled by a cursor move, so return the bool status.
12786
12787         * BufferView.C (fitCursor): return the bool flag also to the outside
12788         world as this is needed.
12789
12790         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12791
12792         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12793         call the edit() as it is not needed (and wrong) IMO.
12794         (workAreaButtonPress): set the screen_first variable before evt.
12795         unlock the inset as this may change screen_first and then we have
12796         a wrong y position for the click!
12797
12798 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12799
12800         * MenuBackend.C (expand): another translation that I missed
12801
12802 2002-03-28  Juergen Vigna  <jug@sad.it>
12803
12804         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12805
12806         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12807
12808 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12809
12810         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12811
12812         * MenuBackend.C (expand): fix export/view/update when there is no
12813         document open.
12814
12815 2002-03-27  Herbert Voss  <voss@lyx.org>
12816
12817         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12818         and text%
12819
12820 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12821
12822         * bufferview_funcs.C (currentState): only show paragraph number
12823         for is DEVEL_VERSION is set.
12824
12825         * lyxfunc.C (dispatch): put warning in INFO channel
12826
12827         * MenuBackend.C (expand): translate the name of floats
12828
12829         * FloatList.C (FloatList): mark the float names for translation
12830
12831         * converter.C (convert): use LibScriptSearch
12832
12833 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12834
12835         * MenuBackend.C (defaults): fix default menu (we might as well get
12836         rid of it...)
12837
12838 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12841         directory.
12842
12843 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * lyxvc.C: reorder includes.
12846
12847 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12848
12849         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12850           properly
12851
12852 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * CutAndPaste.C: change layouts earlier on paste
12855           to avoid crashing when calling getFont()
12856
12857 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12858
12859         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12860         irritating #error.
12861
12862 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12863
12864         * WorkArea.C: remove 'Pending' debug message.
12865
12866         * most files: ws cleanup
12867
12868         * buffer.[Ch]: ws changes
12869
12870         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12871
12872 2002-03-21  Juergen Vigna  <jug@sad.it>
12873
12874         * tabular.C (SetMultiColumn): collapse also the contents of the
12875         cells and set the last border right. Added a Buffer const * param.
12876
12877 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12880         linking or not.
12881
12882 2002-03-19  Juergen Vigna  <jug@sad.it>
12883
12884         * text2.C (clearSelection): reset also xsel_cache.
12885
12886         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12887         where it needs to be called (John tells us to do so too :)
12888         (selectionLost): reset sel_cache.
12889
12890         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12891
12892 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12893
12894         * text2.C (setCursorIntern): put debuging code in INSETS channel
12895
12896 2002-03-19  André Pönitz <poenitz@gmx.net>
12897
12898         * lyxfunc.C: tiny whitespace change
12899
12900 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12901
12902         * ToolbarDefaults.C (init):
12903         * LyXAction.C (init):
12904         * commandtags.h:
12905         * BufferView_pimpl.C (Dispatch):
12906         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12907
12908 2002-03-19  Allan Rae  <rae@lyx.org>
12909
12910         * exporter.C (Export): removeAutoInsets before doing anything else.
12911         While I've just introduced a dependency on BufferView this really is
12912         the best place to clean the buffer otherwise you need to cleanup in
12913         a dozen places before calling export or cleanup in a dozen functions
12914         that export calls.
12915
12916         * converter.C (runLaTeX):
12917         (scanLog): Better handling of removeAutoInsets and screen updates.
12918
12919         * lyxfunc.C (dispatch): small whitespace changes
12920
12921 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12922
12923         * WorkArea.C (C_WorkAreaEvent): return a value.
12924         (event_cb): return 1 if we handled the event, 0 otherwise.
12925
12926         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12927
12928 2002-03-18  Juergen Vigna  <jug@sad.it>
12929
12930         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12931         (GetAdditionalWidth): ditto.
12932         (RightLine): ditto.
12933         (LeftLine): ditto.
12934
12935         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12936         inset if we're there actually (probably not used right now but this
12937         is the direction to go for unifying code).
12938         (paste): disable code to clear the selection.
12939
12940         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12941         inside an InsetText and move the check further up as it is in the
12942         wrong place.
12943
12944         * text2.C (pasteSelection): set a selection over the pasted text.
12945
12946 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12947
12948         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12949         and libgraphics to build on Cygwin.
12950
12951 2002-03-15  Juergen Vigna  <jug@sad.it>
12952
12953         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12954         inserting an Inset into the paragraph. I know this is not the best
12955         fix but we already use current_view in CutAndPaste so we will remove
12956         all of it's using at the same time.
12957
12958         * buffer.C (sgmlError): deactivated function till it is rewritten in
12959         the right mode, now it can create problems.
12960
12961         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12962         before accessing it.
12963
12964 2002-03-14  Juergen Vigna  <jug@sad.it>
12965
12966         * undo_funcs.C (textHandleUndo): do the right thing when updating
12967         the inset after the undo/redo.
12968
12969         * text2.C (setCursor): just some testcode for #44 not ready yet.
12970
12971         * undo_funcs.C (textHandleUndo): set the next() and previous()
12972         pointers of the paragraph to 0 before deleting otherwise we have
12973         problems with the Paragraph::[destructor].
12974
12975         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12976         on a paragraph insertion.
12977
12978 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * buffer.C (asciiParagraph): use += operator for char append to
12981         string.
12982
12983         * paragraph.C (getFontSettings): compare >= not just >
12984         (highestFontInRange): ditto
12985         (setFont): ditto
12986
12987 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12988
12989         * paragraph.C: change several algorithm to be more appripriate for
12990         the problem domain. This is lookip in FontList and in the InsetList.
12991
12992 2002-03-13  André Pönitz <poenitz@gmx.net>
12993
12994         * commandtags.h:
12995         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12996
12997 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12998
12999         * commandtags.h:
13000         * LyXAction.C:
13001         * lyxfunc.C:
13002         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13003
13004 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13005
13006         * Painter.C (display): anon helper function, adjust code for this
13007         change.
13008         (pixmap): remove function.
13009
13010         * Painter.h: remove private display variable.
13011
13012         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13013
13014 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13015
13016         * WorkArea.[Ch]: remove figinset_canvas cruft.
13017
13018 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * lyxtextclass.C (operator): add one item cache optimization.
13021
13022         * bufferlist.h: doxy changes
13023
13024         * bufferlist.C: ws changes
13025
13026         * DepTable.[Ch] (ext_exist): place const in the right spot.
13027
13028         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13029         call resizeInsets.
13030         (workAreaExpose): call resizeInsets when the with BufferView changes.
13031         (Dispatch): adjust for protectedBlank removal
13032         (specialChar): call updateInset if the insert went ok.
13033
13034         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13035         specialChar instead.
13036
13037         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13038
13039         * BufferView.h: doxy change
13040
13041         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13042
13043         * lyxtextclass.C (operator[]): remove non-const version
13044         (defaultLayout): remove non-const version
13045
13046 2002-03-12  Juergen Vigna  <jug@sad.it>
13047
13048         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13049         did resize the LyXText too.
13050
13051         * buffer.C (readLyXformat2): set layout information on newly allocated
13052         paragraphs.
13053
13054         * tabular.C (OldFormatRead): set layout information on the paragraph.
13055
13056 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13057
13058         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13059
13060 2002-03-11  Juergen Vigna  <jug@sad.it>
13061
13062         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13063         plainly wrong.
13064         (resizeCurrentBuffer): force also the insets to resize themselfes.
13065         (moveCursorUpdate): fixed up for InsetText.
13066
13067 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13068
13069         * commandtags.h:
13070         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13071         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13072         value of Dialogs::tooltipsEnabled().
13073         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13074
13075 2002-03-08  Juergen Vigna  <jug@sad.it>
13076
13077         * BufferView_pimpl.C (updateInset): update inset inside inset also
13078         if it isn't inside theLockingInset().
13079
13080 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13081
13082         * buffer.C (asciiParagraph): redo some of the word and line length
13083         handling.
13084         (getLists): look for Caption instead of caption.
13085
13086 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13087
13088         * buffer.C (Buffer): initialize niceFile to true
13089         (makeLaTeXFile):
13090         (makeLinuxDocFile):
13091         (makeDocBookFile): make sure niceFile is true on exit
13092
13093 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13094
13095         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13096
13097 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13098
13099         * LyXSendto.C: remove.
13100         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13101         * lyx_gui.C: remove now-redundant comment.
13102         * ColorHandler.h: remove forward declaration of class WorkArea.
13103         * lyxfunc.C: remove #include "WorkArea.h".
13104
13105 2002-03-07  Juergen Vigna  <jug@sad.it>
13106
13107         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13108         got moved away with the DEPM and also set the inset_owner always
13109         right which before could have been omitted.
13110
13111 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13112
13113         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13114         wanted layout is not found.
13115
13116 2002-03-07  Juergen Vigna  <jug@sad.it>
13117
13118         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13119
13120 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13121
13122         * paragraph.C (breakParagraph): use default layout not layout of
13123         prev paragraph.
13124         (Paragraph): clear ParagraphParameters.
13125
13126 2002-03-06  Juergen Vigna  <jug@sad.it>
13127
13128         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13129         otherwise it would not be a valid lenght. Fixed a special case in
13130         the minipage compatibility read where we end the document with a
13131         minipage.
13132
13133         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13134         was set as it could be 0 for InsetTexts first entry.
13135
13136 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * paragraph.C (writeFile): if layout is empty write out
13139         defaultLayoutName().
13140
13141         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13142         file without named layout we set layout to defaultLayoutName().
13143
13144 2002-03-06  Juergen Vigna  <jug@sad.it>
13145
13146         * CutAndPaste.C (copySelection): set layout for new paragraph.
13147
13148         * text.C (prepareToPrint): leave ERT inset left aligned
13149         (leftMargin): don't indent paragraphs inside ERT insets
13150
13151 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13152
13153         * paragraph.C (breakParagraph): dont call clear do the work manually
13154
13155         * paragraph.[Ch] (clear): remove function
13156
13157 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13158
13159         * paragraph.C (Paragraph): dont call clear, the work has already
13160         been done.
13161
13162         * lyxtextclass.C (operator): assert if n is empty
13163
13164         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13165         work manually instead.
13166
13167 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * BufferView_pimpl.C: protect selectionLost against text == 0
13170
13171 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13172
13173         * text.C (breakParagraph): fix a setting layout to '0' problem.
13174
13175 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13176
13177         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13178         final location of file, for the included files, and graphics.
13179
13180 2002-03-05  Juergen Vigna  <jug@sad.it>
13181
13182         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13183
13184 2002-03-04  Juergen Vigna  <jug@sad.it>
13185
13186         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13187
13188         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13189         last column of multicolumn cells.
13190         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13191
13192 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13193
13194         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13195         file if it doesn't go to a temporary file.
13196
13197         * buffer.C (sgmlOpenTag):
13198         (sgmlCloseTag):  remove extra newline insertion.
13199
13200 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13201
13202         * text.C (getRowNearY): comment out debug msg
13203
13204 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13205
13206         * text2.C: first -> first_y
13207
13208         * text.C (getRowNearY): add some attemts at a possible
13209         optimization, not working.
13210
13211         * tabular.[Ch]: add BufferParams to several function so that newly
13212         created paragraph can be initialized to he default layotu for the
13213         buffers textclass.
13214
13215         * tabular-old.C (ReadOld): add buf->params to call of Init
13216
13217         * screen.C: rename text->first to text->first_y
13218
13219         * paragraph.C (breakParagraph): always set layout in the broken
13220         paragraph
13221
13222         * lyxtextclass.C (Read): remove lowercase
13223         (hasLayout): ditto
13224         (operator): ditto
13225         (delete_layout): ditto
13226
13227         * lyxtext.h: rename first -> first_y
13228
13229         * lyxlayout.C (Read): remove lowercase
13230         (name): ditto
13231         (setName): ditto
13232         (obsoleted_by): ditto
13233
13234         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13235
13236         * buffer.C (insertErtContents): add params are to InsetERT
13237         (parseSingleLyXformat2Token): add code to check if a paragraphs
13238         layout really exist.
13239         (parseSingleLyXformat2Token): add params to several inset
13240         constructors
13241         (asciiParagraph): remove lowercase, do the layout comparisons with
13242         no_case
13243
13244         * BufferView_pimpl.C (cursorNext): first -> first_y
13245         (resizeCurrentBuffer): first -> first_y
13246         (updateScrollbar): first -> first_y
13247         (scrollCB): first -> first_y
13248         (workAreaMotionNotify): first -> first_y
13249         (workAreaButtonPress): first -> first_y
13250         (checkInsetHit): first -> first_y
13251         (cursorPrevious): first -> first_y
13252         (cursorNext): first -> first_y
13253         (Dispatch): add buffer_->params to severl inset contructors
13254
13255 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13256
13257         * lyxlayout.C (Read): remove some debug info that I forgot.
13258
13259         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13260         clean up the code slightly.
13261         (makeLinuxDocFile): ditto
13262         (makeDocBookFile): ditto
13263
13264         * text2.C: layout as string
13265
13266         * text.C: layout as string
13267
13268         * paragraph_pimpl.C: layout as string
13269
13270         * paragraph.[Ch]: layout as string
13271
13272         * lyxtextclasslist.[Ch]: layout as string
13273
13274         * lyxtextclass.[Ch]: layout as string
13275
13276         * lyxtext.h: layout as string
13277
13278         * lyxlayout.[Ch]: layout as string
13279
13280         * lyx_cb.C: layout as string
13281
13282         * bufferview_funcs.C: layout as string
13283
13284         * bufferparams.C: layout as string
13285
13286         * buffer.C: layout as string
13287
13288         * LyXView.[Ch]: layout as string
13289
13290         * LaTeXFeatures.[Ch]: layout as string
13291
13292         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13293
13294         * BufferView_pimpl.C: change current_layout to string, remove
13295         lyx::layout_type.
13296         (Dispatch):
13297         (smartQuote):
13298         (insertInset):
13299         (workAreaButtonRelease): layout as string
13300
13301         * BufferView2.C (unlockInset): adjust
13302
13303         * vspace.C (asLatexCommand): use an explict temp variable.
13304
13305 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13306
13307         * Makefile.am: use FRONTEND_*
13308
13309 2002-03-01  Juergen Vigna  <jug@sad.it>
13310
13311         * tabular.C (SetWidthOfMulticolCell): changed to something better
13312         I hope but still work in progress.
13313         (recalculateMulticolumnsOfColumn): renamed function from
13314         recalculateMulticolCells as it is more appropriate now.
13315         (SetWidthOfCell): calculate multicols better.
13316
13317 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13318
13319         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13320
13321         * lyxfunc.C (processKeySym): print sequence also if it is
13322         `deleted' (complete)
13323
13324         * kbsequence.C (print): print sequence even if it is deleted
13325         (complete would be a better word, actually).
13326
13327         * lyxfunc.C (dispatch): print complete options after a prefix key
13328
13329         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13330
13331 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13332
13333         * text2.C (setCharFont): eliminate setCharFont code duplication.
13334
13335 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13336
13337         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13338         LFUN_TABULAR_FEATURE (bug #177)
13339
13340 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13341
13342         * Makefile.am: remove figure.h
13343
13344 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13345
13346         * Bufferview_pimpl.C:
13347         * CutAndPasteC:
13348         * LaTeX.C:
13349         * LyXSendto.C:
13350         * buffer.C:
13351         * bufferlist.C:
13352         * converter.C:
13353         * language.C:
13354         * lyxfunc.C:
13355         * lyxvc.C:
13356         * paragraph.C:
13357         * text.C:
13358         * text2.C: remove #include "lyx_gui_misc.h".
13359
13360         * LaTeX.C: added #include <cstdio>
13361
13362 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13365         that the paragraph following this one can have.
13366
13367         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13368
13369         * vspace.C (asLatexCommand): fix bogus gcc warning
13370
13371         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13372
13373 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13374
13375         * text2.C (setLayout): get rid of redundant code
13376
13377 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13378
13379         * text2.C (incDepth): make sure depth cannot be increased beyond
13380         reasonable values.
13381
13382 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13383
13384         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13385         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13386
13387         * PainterBase.h (image):
13388         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13389         a LyXImage const *.
13390
13391 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * BufferView.C:
13394         * BufferView.h:
13395         * BufferView_pimpl.C:
13396         * BufferView_pimpl.h:
13397         * LaTeXFeatures.C:
13398         * LyXAction.C:
13399         * LyXView.C:
13400         * Makefile.am:
13401         * UpdateList.h:
13402         * UpdateList.C:
13403         * buffer.C:
13404         * figure.h:
13405         * figureForm.C:
13406         * figureForm.h:
13407         * figure_form.C:
13408         * figure_form.h:
13409         * lyx_cb.C:
13410         * lyx_gui.C:
13411         * lyx_gui_misc.C:
13412         * lyxfunc.C:
13413         * sp_base.h:
13414         * sp_ispell.h:
13415         * sp_pspell.h:
13416         * sp_spell.C: remove fig inset, and the crap house of
13417           cards that follows it
13418
13419 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13420
13421         * Makefile.am:
13422         * lyxserver.C:
13423         * os2_defines.h:
13424         * os2_errortable.h:
13425         * nt_defines.h: move .h into support/
13426
13427         * vms_defines.h: remove
13428
13429         * WorkArea.C: add space in debug output
13430
13431         * text2.C:
13432         * paragraph.C:
13433         * buffer.C: add WITH_WARNINGS
13434
13435         * vc-backend.h:
13436         * vc-backend.C:
13437         * bufferlist.C: s/retrive/retrieve/, add docs
13438
13439         * vspace.h:
13440         * vspace.C:
13441         * kbmap.h:
13442         * lyxlength.h:
13443         * lyxgluelength.h:
13444         * length_common.h:
13445         * chset.h:
13446         * chset.C: add docs
13447
13448         * lyxgui.C: add ID to X error handler
13449
13450         * lyxtestclass.c: fix typo
13451
13452 2002-02-26  Juergen Vigna  <jug@sad.it>
13453
13454         * tabular_funcs.C (write_attribute): changed so that some default
13455         attributes are not written at all.
13456         (getTokenValue): set default values before trying to read the
13457         value so we have the return value always set as default if we don't
13458         find the token we search for.
13459
13460         * tabular.C (Write): write bools as bools not as strings!
13461
13462 2002-02-22  Juergen Vigna  <jug@sad.it>
13463
13464         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13465         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13466
13467         * text.C (leftMargin): don't add an indent for paragraphs inside
13468         tabular cells (fix #208).
13469
13470 2002-02-21  José Matos  <jamatos@fep.up.pt>
13471
13472         * tabular.C (docBook): fixed support for long tables.
13473
13474 2002-02-20  Juergen Vigna  <jug@sad.it>
13475
13476         * text2.C (getFont): get the drawing font of the Inset if this
13477         paragraph is inside an inset (only important for InsetERT for now).
13478
13479         * buffer.C (insertErtContents): use new lanugage params in ERT
13480         constructor.
13481
13482         * CutAndPaste.C: commenting out seemingly uneeded code.
13483
13484 2002-02-19  Allan Rae  <rae@lyx.org>
13485
13486         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13487         Iterators might be simple to use but they also get invalidated.
13488         (removeAutoInsets): renamed saved cursor tracking variables and added
13489         some comments to clarify what everything does.
13490
13491 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * Chktex.C:
13494         * LaTeX.C:
13495         * LyXSendto.C:
13496         * converter.C:
13497         * lyx_cb.C:
13498         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13499         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13500
13501         * lyxfunc.C:
13502         * vc-backend.h: remove #include "support/syscall.h"
13503
13504         * LaTeX.C:
13505         * LyXSendto.C:
13506         * converter.C: rearrange #includes in Lars' approved fashion.
13507
13508         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13509         forward declare class Timeout in the header file.
13510
13511         * XFormsView.C: changes due to the above.
13512
13513         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13514         similar to LyXView.
13515
13516         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13517         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13518
13519 2002-02-18  José Matos  <jamatos@fep.up.pt>
13520
13521         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13522         insets contents.
13523
13524 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13525
13526         * a lot of small ws changes
13527         * add a lot of using std::XXX
13528         * use std construcs some places where approp.
13529         * use some exisint stuff from lyxfunctional where approp.
13530         * Make file changes to use partial linking (lets test this now...)
13531
13532 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13533
13534         * Chktex.C:
13535         * buffer.C:
13536         remove #include "support/syscontr.h" as it's redundant. Always has been.
13537
13538         * Chktex.C:
13539         * LaTeX.C:
13540         * LyXSendto.C:
13541         * converter.C:
13542         * lyx_cb.C:
13543         * vc-backend.C:
13544         change Systemcalls::System to Systemcalls::Wait and
13545         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13546         No change of functionality, just reflects the stripped down Systemcalls
13547         class.
13548
13549 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13550
13551         * debug.[Ch]: add a GRAPHICS type to the enum.
13552
13553 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13554
13555         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13556
13557         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13558         there is an inset.
13559
13560 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13561
13562         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13563         match the changes below.
13564
13565         * text2.C (toggleInset): if there is not editable inset at cursor
13566         position, try to see if cursor is _inside_ a collapsable inset
13567         and close it.
13568
13569 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13570
13571         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13572         document menu has a nice checkbox
13573
13574 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13575
13576         * lyxlength.C (asLatexString): change PW to output as percent of
13577         \textwidth.
13578
13579         * lengthcommon.C: change '%' to 't%'
13580
13581         * lyxfunc.C (dispatch): a few comments from Martin
13582
13583 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * WorkArea.h:
13586         * WorkArea.C:
13587         * BufferView_pimpl.h:
13588         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13589           the X selection.
13590
13591 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13592
13593         * vspace.C (inPixels): fix compiler warning
13594
13595 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13596
13597         * lyxfunc.C (getStatus): fix status message for disabled commands.
13598
13599 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13600
13601         * BufferView_pimpl.C: fix crash on close buffer
13602         during selection (#227)
13603
13604 2002-01-27  Herbert Voss  <voss@lyx.org>
13605
13606         * buffer.C: link old Figure to new graphic inset
13607
13608 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13609
13610         * FontLoader.C (getFontinfo): Change the latex font names in order
13611         to match the names of type1inst.
13612
13613 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13614
13615         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13616
13617         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13618         (extchanged): ditto
13619         (ext_exist): ditto
13620         (remove_files_with_extension): ditto
13621         (remove_file): ditto
13622         (write): ditto
13623
13624         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13625         document is smaller than the work area height. Do not initialize
13626         static variables to 0.
13627
13628 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13629
13630         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13631
13632         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13633         LFUN_LAYOUT_PARAGRAPHS.
13634
13635         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13636         tabular. It is possible to provide a possible cell, which will
13637         typically be the actcell from the corresponding insettabular
13638
13639         * lyxfunc.C (getStatus): small cleanup; disable
13640         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13641         true
13642
13643 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13644
13645         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13646
13647         * paragraph.C (startTeXParParams):
13648         (endTeXParParams): new methods. The LaTeX code to
13649         start/end paragraph formatting
13650         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13651         empty (fixes bug #200)
13652
13653         * vspace.C (inPixels): adapt to the change below
13654         (inPixels): [later] more cleanups (remove unused variables)
13655
13656         * lyxlength.C (inPixels): change to use a width and a height as
13657         parameter.
13658
13659 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13660
13661         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13662         Replaced with \paperwidth
13663
13664         * DepTable.C (insert): add std:: qualifier
13665
13666 2002-01-18  Allan Rae  <rae@lyx.org>
13667
13668         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13669         updated also?
13670
13671         * text.C (drawInset): Turned out I didn't know enough about how
13672         rebreaking worked.  This fixes most of the redraw problems.  I see
13673         an occasional cursor trail when a line is broken now and the cursor
13674         placement can seem out by a few pixels also after a rebreak.
13675
13676 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13677
13678         * buffer.C (parseSingleLyXformat2Token): update because minipage
13679         width is now a LyXLength
13680
13681         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13682
13683         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13684         math insets
13685
13686 2002-01-17  Juergen Vigna  <jug@sad.it>
13687
13688         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13689
13690         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13691         is set correctly and the inset is updated correctly.
13692
13693 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13694
13695         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13696         the beginning of the loop.
13697
13698 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13699
13700         * lyxrc.C: improve help for use_scalable_fonts
13701
13702 2002-01-17  Allan Rae  <rae@lyx.org>
13703
13704         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13705
13706 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13707
13708         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13709         make sure to set their inset_owner to the right value (bug #171)
13710
13711 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13712
13713         * DepTable.h
13714         * DepTable.C: Implement mtime checking to reduce time spent doing
13715         CRCs.
13716
13717 2002-01-16  Juergen Vigna  <jug@sad.it>
13718
13719         * tabular.C (GetAdditionalHeight): one of error fixed.
13720
13721         * lyxrc.C (output): small fix in writing use_pspell.
13722
13723 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * sp_base.h: #include LString.h
13726
13727 2002-01-16  Allan Rae  <rae@lyx.org>
13728
13729         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13730         Can someone check this please?
13731
13732         * text.C (drawInset): It was possible that p.row would be removed by
13733         breakAgainOneRow upsetting a few other settings.  There may be another
13734         small tweak possible by setting need_break_row = 0 when p.row has been
13735         removed but I don't know enough about the logic here.
13736
13737 2002-01-15  Allan Rae  <rae@lyx.org>
13738
13739         * text.C (insertChar): removed conditional truism.
13740
13741         * BufferView2.C (removeAutoInsets): More tweaks.
13742         cur_par_prev could be a stray pointer.  Check for trailing empty line
13743         in case last line was cur_par and only had an error inset on it.
13744
13745 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13746
13747         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13748         absolute
13749
13750         * vc-backend.C (most methods):
13751         * exporter.C (Export):
13752         * converter.C (convert):
13753         (runLaTeX):
13754         * LyXSendto.C (SendtoApplyCB):
13755         * lyxfunc.C (dispatch):
13756         (menuNew):
13757         (open):
13758         (doImport):
13759         * lyx_cb.C (AutoSave):
13760         (InsertAsciiFile):
13761         * BufferView_pimpl.C (MenuInsertLyXFile):
13762         * buffer.C (runChktex): use Buffer::filePath().
13763
13764         * buffer.h: rename filename to filename_; rename filepath to
13765         filepath_ and make it private
13766         (filePath): new method
13767
13768         * buffer.C (writeFile): use fileName()
13769         (getLatexName):
13770
13771         * lyx_main.C (init): fix starting  of LyX when the binary is a
13772         link from so,ewhere else.
13773
13774         * minibuffer.C: include <cctype> for isprint
13775
13776 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13777
13778         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13779         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13780         name clash with InsetCollapsable's width function.
13781
13782 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * lastfiles.C: include <iterator>
13785
13786 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13787
13788         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13789         std::count.
13790
13791         * buffer.C (makeLaTeXFile): ditto.
13792         Also make loop operation more transparent.
13793
13794 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13795
13796         * ToolbarDefaults.C: remove trailing comma closing namespace.
13797
13798         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13799
13800         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13801         as in WorkArea.
13802
13803         * trans.C (Load): comment out unused variable, allowed.
13804
13805 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13806
13807         * minibuffer.[Ch] (append_char): new method to recieve input from the
13808         drop-down completion browser. If a key was pressed, then recieve this
13809         char and append it to the existing string.
13810         (peek_event): modify the positioning data passed to the completion
13811         browser so that it can be placed above the minibuffer rather than below.
13812 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13813
13814         * LyXAction.C (init): alloe error-next for readonly documents.
13815
13816         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13817         count.
13818
13819 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13820
13821         * bufferlist.C (readFile): create the buffer _after_ checking that
13822         the file exists.
13823
13824         * lyxfunc.C (verboseDispatch): fix handling of arguments
13825
13826         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13827
13828         * lyxrc.C: use string::erase() instead of initializing to "".
13829
13830
13831 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13832
13833         * BufferView_pimpl.h:
13834         * BufferView_pimpl.C:
13835         * WorkArea.h:
13836         * WorkArea.C:
13837         * text2.C: tell X when we have made a selection for copying
13838
13839 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13840
13841         * BufferView_pimpl.C (MenuInsertLyXFile):
13842         * lyxfunc.C (menuNew):
13843         (open):
13844         (doImport): add shortcuts to directory buttons
13845
13846         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13847         open a float)
13848
13849         * lyxfunc.C (setStatusMessage):
13850         (getStatusMessage): new methods
13851         (getStatus):use setStatusMessage instead of setErrorMessage
13852         (dispatch): when function is disabled, set error message here
13853         [instead of in getStatus previously]
13854
13855         * BufferView_pimpl.C (workAreaButtonRelease): update
13856         toolbar/menubar here too.
13857
13858 2002-01-13  Allan Rae  <rae@lyx.org>
13859
13860         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13861         Now seems indestructible.  Remaining task is to audit all other
13862         code affected by deleteEmptyParagraphMechanism.  One small quirk
13863         left is that an empty document with an error in the preamble can
13864         be made to report an error but no error box appears.  I don't know
13865         where it goes.
13866         (removeAutoInsets): Improved comments.
13867
13868 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13869
13870         * Thesaurus.h:
13871         * Thesaurus.C: update for Aiksaurus 0.14
13872
13873 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13874
13875         * text2.C (firstParagraph): removed member function, all uses
13876         replaces with ownerParagraph
13877         (redoParagraphs): here
13878         (updateInset): here
13879         (toggleAppendix): here
13880         * BufferView2.C (insertErrors): here
13881         (setCursorFromRow): here
13882
13883 2002-01-13  Allan Rae  <rae@lyx.org>
13884
13885         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13886         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13887         There is still a way to segfault this although you may have to do this
13888         multiple times: Have an InsetERT with an unknown command in it.
13889         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13890         <down-arrow>, <Enter> again, View->DVI, BANG!
13891
13892         * text2.C (setCursor):
13893         (deleteEmptyParagraphMechanism):
13894         * lyxtext.h (setCursor):
13895         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13896         Making use of the return value may help fix other bugs.
13897
13898 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13899
13900         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13901
13902         * LyXView.C (updateMenubar): call MenuBar::update here
13903         (updateToolbar): but not here
13904         (showState): do not update toolbar/menubar
13905
13906         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13907         should need to care about that.
13908
13909         * lyxfunc.C (verboseDispatch): simplify a bit
13910         (getStatus): have a version which takes a pseudoaction, and
13911         another which requires a (kb_action,string).
13912
13913         * LyXAction.C (retrieveActionArg): make it work also when action
13914         is not a pseudo-action.
13915         (getActionName): simplify a bit
13916         (helpText):
13917
13918 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13919
13920         * lyxfunc.C (verboseDispatch): new families of methods with
13921         several ways to specify a command and a bool to indicate whether
13922         the command name and shortcut should be displayed in minibuffer
13923         (eventually, we could extend that to a finer bitmask like
13924         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13925         (dispatch): the pristine dispatch command which just, well,
13926         dispatchs! Note it still sets its result to minibuffer; I'm not
13927         sure we want that.
13928
13929         * lyxfunc.h: remove setHintMessage
13930
13931         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13932
13933 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13934
13935         * BufferView_pimpl.C (specialChar): delete new inset if we have
13936         not been able to insert it.
13937
13938         * kbmap.C: revert to using int instead of kb_action, since all we
13939         are dealing with is pseudo-actions.
13940
13941         * LyXAction.C (searchActionArg): change to return int instead of
13942         kb_action, since the result is a pseudoaction.
13943
13944 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13945
13946         * buffer.C (insertErtContents): Fix (partially) the font bug.
13947
13948 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13949
13950         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13951         as the other one is broken on my machine!
13952
13953 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13954
13955         * commandtags.h:
13956         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13957
13958 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13959
13960         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13961         reflect their actual use. Provide compatibility code for older lyxrc
13962         files.
13963
13964         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13965         FL_NORMAL_STYLE.
13966         change names of popup font variables in line with the changes to lyxrc.C
13967
13968 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13969
13970         * buffer.C (asciiParagraph): avoid outputing a word twice after
13971         an inset.
13972
13973         * lyxrc.C (getDescription): document that document_path and
13974         template_path can be empty.
13975
13976 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13977
13978         * LaTeXFeatures.C (getMacros):
13979         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13980
13981         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13982
13983         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13984         getPackages.
13985         (getPackages): rename feature "floats" to "float". Use an array to
13986         iterate over 'simple' features (i.e. just a \usepackage). Add
13987         handling of "amsmath" (renamed from "amsstyle").
13988
13989 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13990
13991         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13992         features list.
13993
13994 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13995
13996         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13997         FuncStaus::FuncStatus & FuncStaus::some_method().
13998
13999 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14000
14001         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14002         of the func_satus stuff. Edited and massaged in various ways by
14003         JMarc.
14004
14005         * lyxfunc.C (getStatus): use FuncStatus
14006
14007 2002-01-08  Juergen Vigna  <jug@sad.it>
14008
14009         * text.C (nextBreakPoint): use function Inset::isChar().
14010
14011         * paragraph.C (TeXOnePar): use function
14012         Inset::forceDefaultParagraphs.
14013
14014         * buffer.C (latexParagraphs): use function
14015         Inset::forceDefaultParagraphs.
14016
14017 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14018
14019         * lyx_gui.C (init): set the style of the menu popups to
14020         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14021
14022 2002-01-07  Juergen Vigna  <jug@sad.it>
14023
14024         * text.C (setHeightOfRow): small fix
14025         (prepareToPrint): don't look at alignment if we don't have the place
14026         for doing it.
14027
14028 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14029
14030         * box.C: New file. Move the Box methods and functions out of box.h,
14031         following Lars' suggestion.
14032
14033 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14034
14035         * box.h: #include "support/LOstream.h", needed for inlined function.
14036
14037         * lyxtextclass.C:
14038         * lyxtextclasslist.C: added some using std declarations.
14039
14040 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14041
14042         * box.h: make signed dimensions to allow insets wider than
14043           the screen (bug #162)
14044
14045         * BufferView_pimpl.C: add some insetHit debug
14046
14047 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14048
14049         * vc-backend.C: add FIXME
14050
14051 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14052
14053         * lyxfunc.C (getStatus): enable code for showing math font status
14054         in toolbar/menu.
14055
14056 2002-01-07  Juergen Vigna  <jug@sad.it>
14057
14058         * text.C (nextBreakPoint): removed debug output not needed anymore.
14059
14060 2002-01-06  Juergen Vigna  <jug@sad.it>
14061
14062         * text.C (nextBreakPoint): fixed up this function we had this bug
14063         since ever but now hopefully we break row better.
14064         (insertChar): we have to check if an inset is the next char as it
14065         could now happen that a large inset is causing a break.
14066
14067 2002-01-05  Juergen Vigna  <jug@sad.it>
14068
14069         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14070         if it doesn't like to be drawed.
14071
14072 2002-01-04  Juergen Vigna  <jug@sad.it>
14073
14074         * BufferView2.C (lockInset): forgot to set a cursor.
14075
14076         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14077
14078 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14079
14080         * FormMathsPanel.C:
14081         * FormMathsPanel.h
14082         * MathsSymbols.C:
14083         * form_maths_panel.C:
14084         * form_maths_panel.h:
14085         * form_maths_panel.fd: implemented sub- and super- buttons in math
14086         panel.
14087
14088         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14089         (or ^ space) to be used as in TeX (req'd by Andr�.
14090
14091         * lyxfunc.C: Allow ^ and _ again to be used both as
14092         super/subscript (mathed) and as themselves (in text).
14093
14094 2002-01-03  Allan Rae  <rae@lyx.org>
14095
14096         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14097         "LyX" or the filename of the current buffer if it has one.  This is a
14098         modified form of John Levon's patch.
14099
14100         * XFormsView.C (setWindowTitle): also set icon title.
14101
14102         * LyXView.h (setWindowTitle): signature changed.
14103         * XFormsView.h (setWindowTitle): ditto.
14104
14105 2002-01-02  Juergen Vigna  <jug@sad.it>
14106
14107         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14108
14109 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14110
14111         * screen.C (topCursorVisible): introduce a temp var for
14112         text->cursor.row(), handle the case where this row is null. (kindo
14113         hachish)
14114
14115         * text2.C (setCursor): add a couple of asserts.
14116
14117         * paragraph.h (inset_iterator): add -> operator
14118
14119         * paragraph.[Ch] (autoDeleteInsets): remove member function
14120
14121         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14122         cursor pos correctly and handle inset deletion by itself.
14123         (insertErrors): move iterator declaration out of for expression
14124
14125         * lyxtextclass.C: add <algorithm>
14126
14127         * Makefile.am: added the new files to sources, removed layout.C
14128
14129         * layout.C: removed file
14130
14131         * layout.h: remove LYX_DUMMY_LAYOUT
14132
14133         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14134         layout.
14135
14136         * lyxlayout.[Ch]:
14137         * lyxtextclass.[Ch]:
14138         * lyxtextclasslist.[Ch]: new files
14139
14140         * include order changes to a lot of files, also changes because of
14141         the six new files.
14142
14143 2001-12-27  Juergen Vigna  <jug@sad.it>
14144
14145         * buffer.C (asciiParagraph): more fixes.
14146
14147         * tabular.C (ascii): make ascii export support export of only the
14148         data separated by a column-delimiter.
14149         (ascii): better support for ascii export.
14150
14151         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14152
14153 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14154
14155         * tabular_funcs.C: use a "using std::getline" instead of the
14156         previous fix from Angus (necessary for cxx + lyxstring)
14157
14158 2001-12-24  Juergen Vigna  <jug@sad.it>
14159
14160         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14161
14162         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14163         problems. First check a minipage also if we have some ert-contents
14164         (not only on par->size(), second set the right depth of the paragraph
14165         on the relink to the root-paragraph-list!
14166
14167         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14168         which then did not anymore update the main paragraphs on undo/redo!
14169
14170 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14171
14172         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14173         code. Support all font-changing funcs (even those which are not in
14174         menu currently). Support for reporting font settings in
14175         mathed (disabled until Andre provides a function on mathed's side).
14176
14177         * func_status.h (toggle): small helper function to set toggle
14178         state on a flag.
14179
14180 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14181
14182         * tabular_funcs.C: getline -> std::getline
14183
14184 2001-12-21  Juergen Vigna  <jug@sad.it>
14185
14186         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14187         accessed and could be 0 (I couldn't generate this but it seems
14188         Michael could!).
14189
14190 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14191
14192         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14193         * tabular_funcs.h: here and include iosfwd
14194
14195 2001-12-20  Juergen Vigna  <jug@sad.it>
14196
14197         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14198         inside inset but undo_par was.
14199
14200 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14201
14202         * Thesaurus.C: always include <config.h> in sources.
14203
14204         * Painter.h:
14205         * lyxlookup.h:
14206         * box.h: do not include <config.h> in header files
14207
14208         * text.C (paintLastRow): remove unused variable
14209
14210         * text.C (transformChar):
14211         (insertChar):
14212         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14213
14214         * Painter.C (text):
14215         * font.C (width): rewrite to use uppercase() instead of
14216         islower/toupper.
14217
14218         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14219
14220 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * lyxfind.C: clean up of find failure position change
14223
14224 2001-12-20  Juergen Vigna  <jug@sad.it>
14225
14226         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14227
14228         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14229         (TeXRow): added to LaTeX a single tabular row.
14230         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14231         (Latex): simplified and finally good LT-h/f support.
14232         (various_functions): just small adaptions for LT-h/f support.
14233
14234         * tabular_funcs.[hC]: added and moved here all not classfunctions
14235         of LyXTabular.
14236
14237 2001-12-19  Juergen Vigna  <jug@sad.it>
14238
14239         * tabular.[Ch]: better support for longtabular options (not finished
14240         yet!)
14241
14242 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14243
14244         * text.C (paintLastRow): use the label font instead of the font of
14245         the last character to compute the size of *_BOX. This makes more
14246         sense and avoids a crash with empty paragraphs.
14247         Use Painter::rectangle to draw EMPTY_BOX.
14248
14249 2001-12-19  Juergen Vigna  <jug@sad.it>
14250
14251         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14252         the paragraphs if the replaced paragraph is not the first one!
14253         Tried to delete not used paragraphs but does not work yet so for
14254         now it's inside #ifdef's and by default off!
14255
14256 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14257
14258         * MenuBackend.C: include "lyx_main.h" instead of declaring
14259         lastfiles (actually was declared as LastFiles* instead of a
14260         scoped_ptr).
14261
14262 2001-12-17  Juergen Vigna  <jug@sad.it>
14263
14264         * tabular.C (AppendColumn): applied John's fix
14265
14266 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14267
14268         * BufferView.h:
14269         * BufferView.C:
14270         * BufferView_pimpl.h:
14271         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14272
14273         * Makefile.am:
14274         * box.h: new start of class for above
14275
14276         * lyxfunc.C: ignore space-only minibuffer dispatches.
14277           Show the command name when it doesn't exist
14278
14279         * minibuffer.C: don't add empty lines to the history
14280
14281         * minibuffer.C: add a space on dropdown completion
14282
14283 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14284
14285         * text.C: fix line above/below drawing in insets
14286
14287 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14288
14289         * lyxlength.C (LyXLength): Initialize private variables.
14290
14291 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14292
14293         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14294         when inserting error insets.
14295
14296 2001-12-13  Juergen Vigna  <jug@sad.it>
14297
14298         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14299         actually sometimes the before-paragraph.
14300         (setUndo): don't clear the redostack if we're not actually undoing!
14301
14302 2001-12-06  Juergen Vigna  <jug@sad.it>
14303
14304         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14305         and fixed redoing of main paragraph, so we can use it now ;)
14306
14307         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14308
14309 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14310
14311         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14312         Juergen's request
14313
14314 2001-12-13  André Pönitz <poenitz@gmx.net>
14315
14316         * undostack.[Ch]:
14317         * undo_func.C: minor cleanup
14318
14319 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14320
14321         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14322         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14323         font in urw-fonts package which is marked as -urw-fontspecific and
14324         does not work (incidentally, changing the encoding in the
14325         fonts.dir of this package to -adobe-fontspecific fixes the
14326         problem).
14327
14328         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14329         is a crash when undoing first paragraph (Juergen, please take a
14330         look). THis does not mean the undo fix is wrong, just that it
14331         uncovers problems.
14332
14333         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14334         the (Paragraph*) version when needed instead of duplicating the
14335         code.
14336
14337         * text.C (workWidth): use Inset::parOwner to find out where the
14338         inset has been inserted. This is a huge performance gain for large
14339         documents with lots of insets. If Inset::parOwner is not set, fall
14340         back on the brute force method
14341
14342         * paragraph_pimpl.C (insertInset):
14343         * paragraph.C (Paragraph):
14344         (cutIntoMinibuffer): set parOwner of insets when
14345         inserting/removing them
14346
14347         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14348
14349 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14350
14351         * commandtags.h:
14352         * LyXAction.C:
14353         * lyx_main.C:
14354         * lyxfunc.C:
14355         * mathed/formulabase.C:
14356         * mathed/math_cursor.[Ch]:
14357         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14358
14359
14360 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14361
14362         * lyxlength.[Ch] (operator!=): new function
14363
14364 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14365
14366         * text.C (workWidth): use Inset::parOwner to find out where the
14367         inset has been inserted. This is a huge performance gain for large
14368         documents with lots of insets. If Inset::parOwner is not set, fall
14369         back on the brute force method
14370
14371         * paragraph_pimpl.C (insertInset):
14372         * paragraph.C (Paragraph):
14373         (cutIntoMinibuffer): set parOwner of insets when
14374         inserting/removing them
14375
14376         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14377
14378 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14379
14380         * tabular-old.C (getTokenValue):
14381         * tabular.C (getTokenValue):
14382         (write_attribute): new versions for LyXLength
14383         (everywhere): adjust the use of widths
14384
14385         * tabular.h: change the type of widths from string to LyXLength
14386
14387 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14388
14389         * paragraph.C: fixed missing line number count when exporting
14390         Environments to LaTeX file
14391
14392         * buffer.C: added informational message for checking line numbers.
14393
14394 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14395
14396         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14397         paragraph, do the 'double space' part, but not the 'empty
14398         paragraph' one.
14399
14400         * text.C (workWidth): small optimization
14401         (getLengthMarkerHeight): use minimal size for negative lengths.
14402
14403 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14404
14405         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14406
14407         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14408
14409 2001-12-11  André Pönitz <poenitz@gmx.net>
14410
14411         * FontLoader.C:
14412         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14413
14414 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14415
14416         * text2.C: keep selection on a setFont()
14417
14418 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14419
14420         * lyx_cb.C: another bv->text misuse, from insert label
14421
14422 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14423
14424         * kbsequence.h:
14425         * kbsequence.C: re-instate nmodifier mask
14426
14427 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14428
14429         * lyx_main.h: make lyxGUI private.
14430
14431 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14432
14433         * lyxfind.C: place the cursor correctly on failed search
14434
14435 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14436
14437         * text.C (getLengthMarkerHeight): for small heights, the arrows
14438         are not always on top/bottom of the text
14439         (drawLengthMarker): smaller arrows; take the left margin in
14440         account; draw also vfills.
14441         (paintFirstRow):
14442         (paintLastRow): remove special code for vfill and standard spaces,
14443         since everything is handled in drawLengthMarker now.
14444
14445 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14446
14447         * buffer.C (insertErtContents): try to handle font and language
14448         interaction a bit better.g
14449
14450         * ColorHandler.C (updateColor): change the hash to cover the whole
14451         LColor enum, ws cleanup
14452         (getGCLinepars): ditto
14453         (getGCLinepars): only lookup in the linecache once.
14454
14455 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14456
14457         * iterators.C (operator++): Make the iterator more robust
14458
14459         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14460         (John's patch)
14461         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14462
14463 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14464
14465         * lyxtext.h:
14466         * text.C: better added space drawing
14467
14468 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14469
14470         * LyXView.C:
14471         * BufferView2.C: fix layout combo update on inset unlock
14472
14473 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14474
14475         * Makefile.am: don't compile unused files
14476
14477 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14478
14479         * lyxfunc.C:
14480         * commandtags.h:
14481         * LyXAction.C: remove old LFUN_LAYOUTNO
14482
14483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14484
14485         * paragraph_pimpl.h:
14486         * paragraph_pimpl.C: isTextAt() doesn't need font param
14487
14488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14489
14490         * lyxlex.h:
14491         * lyxlex.C: little cleanup
14492
14493 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14494
14495         * BufferView_pimpl.C: fix insertAscii for insets
14496
14497 2001-12-05  Juergen Vigna  <jug@sad.it>
14498
14499         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14500         set the right font on the "multi" paragraph paste!
14501
14502 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14503
14504         * trans_decl.h:
14505         * trans_mgr.[Ch]:
14506         * trans.[Ch]:
14507         * lyxgluelength.C:
14508         * lyxlength.C: remove out-commented code.
14509
14510         * BufferView_pimpl:
14511         * CutAndPaste.C:
14512         * DepTable.C:
14513         * buffer.C:
14514         * chset.C:
14515         * lastfiles.C:
14516         * lyxlex.C:
14517         * lyxlex_pimpl.C:
14518         * lyxserver.C:
14519         * screen.C:
14520         * tabular-old.C:
14521         * tabular.C:
14522         * text.C:
14523         * trans_mgr.C:
14524         * vc-backend.C: change "while(" to "while ("
14525
14526         * lyxlength.[Ch]: add zero function to check if length is zero or
14527         not
14528         * lyxgluelength.C: use it
14529
14530 2001-12-05  Allan Rae  <rae@lyx.org>
14531
14532         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14533         Works for 2.95.3, from what I understand of Garst's reports this should
14534         work for other g++ versions.  We're screwed if the abs(int) definition
14535         changed between bugfix releases of gcc.
14536
14537 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14538
14539         * text.C: fix chapter label offset !
14540
14541 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14542
14543         * lyxtext.h:
14544         * text.C: fix hfill at end of line, clean up
14545
14546 2001-12-04  Juergen Vigna  <jug@sad.it>
14547
14548         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14549         that we force an update of the inset and it's owners if neccessary.
14550
14551 2001-12-03  Juergen Vigna  <jug@sad.it>
14552
14553         * text.C (rowLast): simplified code
14554
14555 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14556
14557         * lyxfunc.C: fix show options on timeout
14558
14559 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14560
14561         * screen.C (topCursorVisible): scroll half a page when the cursor
14562         reached top of bottom of screen
14563
14564 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14565
14566         * minibuffer.C: deactivate on loss of focus
14567
14568 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14569
14570         * vspace.[Ch] (operator!=): add operator.
14571
14572 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14573
14574         * BufferView_pimpl.C: refuse to open an inset when
14575         there's a selection.
14576
14577 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14578
14579         * BufferView_pimpl.C: allow to click on RHS of full row insets
14580
14581 2001-11-30  Juergen Vigna  <jug@sad.it>
14582
14583         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14584         insets for undo reasons.
14585
14586 2001-11-28  André Pönitz <poenitz@gmx.net>
14587
14588         * vspace.[Ch]: cosmetical changes
14589
14590 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * LyXAction.h:
14593         * LyXAction.C:
14594         * lyxfunc.h:
14595         * lyxfunc.C:
14596         * kbmap.h:
14597         * kbmap.C:
14598         * lyxrc.C:
14599         * kbsequence.h:
14600         * kbsequence.C: part re-write of old kb code
14601
14602         * Painter.C:
14603         * WorkArea.C: remove Lgb_bug_find_hack
14604
14605 2001-11-30  José Matos <jamatos@fep.up.pt>
14606
14607         * buffer.C (makeDocBookFile): add a comment to point a hack.
14608         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14609         Fixed a double write of labels.
14610
14611 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14612
14613         * LaTeX.C:
14614         * LaTeX.h Fixed bug in LaTeX class where it would not
14615         re-run latex if no depfiles were changed, but the .dvi was removed.
14616
14617 2001-11-28  André Pönitz <poenitz@gmx.net>
14618
14619         * all the files from the change on 2001/11/26:
14620         use lyx::layout_type instead of LyXTextClass::size_type
14621         use lyx::textclass_type instead of LyXTextClassList::size_type
14622
14623 2001-11-29  Juergen Vigna  <jug@sad.it>
14624
14625         * text.C: added support for paragraph::isFreeSpacing()
14626
14627         * buffer.C: same as above
14628
14629         * paragraph.h: inserted isFreeSpacing() function to enable
14630         FreeSpacing inside InsetERT.
14631
14632         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14633         of the paragraph's in the cut/copy buffer to 0!
14634
14635         * text2.C (removeRow): remove the assert as it can!
14636
14637         * lyxtext.h: added helper function firstRow returning firstrow and
14638         made firstrow private again.
14639
14640         * BufferView2.C (lockInset): don't relock if we're already locked!
14641
14642         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14643         the only paragraph.
14644         (removeRow): added Assert::(firstrow)
14645
14646         * debug.C: forgot to add INSETTEXT here.
14647
14648 2001-11-28  Juergen Vigna  <jug@sad.it>
14649
14650         * sp_spell.C (initialize): changed error text to more general
14651         spellchecker command use (not only ispell!)
14652
14653         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14654
14655         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14656
14657 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * vspace.C: initialise lyxgluelength on failure
14660
14661 2001-11-28  Allan Rae  <rae@lyx.org>
14662
14663         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14664         declaration & definition that looks like a function declaration.
14665
14666 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14667
14668         * BufferView2.C (copy):
14669         (copyEnvironment): do not clear the selection when doing a copy.
14670
14671         * text.C (paintFirstRow): compilation fix
14672
14673 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14674
14675         * tabular.C (Latex): correct line count when writing latex.
14676
14677 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14678
14679         * paragraph_pimpl.h:
14680         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14681           bug a bit
14682
14683 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14684
14685         * text.C:
14686         * LColor.h:
14687         * LColor.C: change vfillline->added_space
14688
14689         * text.C: add markers and text for added space
14690
14691         * vspace.C: fix comment
14692
14693 2001-11-28  André Pönitz <poenitz@gmx.net>
14694
14695         * paragraph.C: whitespace changes
14696         * all the other files from the change on 2001/11/26:
14697         change *::pos_type into lyx::pos_type
14698
14699 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14700
14701         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14702         language of the document when inserting error insets.
14703
14704 2001-11-26  André Pönitz <poenitz@gmx.net>
14705
14706         * BufferView_pimpl.[Ch]:
14707         *       CutAndPaste.C:
14708         * buffer.[Ch]:
14709         * lyxcursor.[Ch]:
14710         * lyxfind.C:
14711         * lyxfunc.C:
14712         * lyxrow.[Ch]:
14713         * paragraph.[Ch]:
14714         * paragraph_pimpl.[Ch]:
14715         * sp_spell.C:
14716         * text.C:
14717         * text2.C: reduce header dependencies, introduce type for positions
14718
14719 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * <various>: change to use Alert.h
14722
14723 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14724
14725         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14726         when encountering an unknown token.
14727         (readLyXformat2): Show an error message if there were unknown tokens.
14728
14729 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14730
14731         * BufferView2.C:
14732         * BufferView_pimpl.C:
14733         * buffer.C:
14734         * paragraph.h:
14735         * text.C:
14736         * text2.C: use par->isInset()
14737
14738 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14739
14740         * paragraph_pimpl.h:
14741         * paragraph_pimpl.C: cleanup
14742
14743 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * text2.C (removeRow):
14746         * text.C (setHeightOfRow): remove useless (and costly) call to
14747         getRow.
14748
14749 2001-11-20  Allan Rae  <rae@lyx.org>
14750
14751         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14752         Now need Inset*::checkInsertChar() to return true for appropriate
14753         cases so that the characters in the minibuffer will actually be
14754         inserted.
14755
14756 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14757
14758         * text.C: change the order of the includes.
14759         (workWidth): initialize it at once.
14760         (workWidth): make maxw unsigned
14761         (setHeightOfRow): remove unused variable (inset)
14762         (selectSelectedWord): remove unused variable (inset)
14763         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14764
14765 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14766
14767         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14768         server is not running.
14769         (openConnection):
14770         (closeConnection): add debug info when server is disabled.
14771
14772         * ColorHandler.C (getGCForeground): send debug message to GUI
14773         channel.
14774
14775         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14776
14777         * kbmap.C (bind): modify because return conventions of
14778         kb_sequence::parse have changed.
14779
14780         * kbsequence.C (parse): only ignore spaces and not any stupid
14781         control character. This avoids tests like s[i] <= ' ', which are
14782         guaranteed to fail with 8bit characters and signed chars.
14783         Change return code to string::npos when there have been no error
14784         (0 was a bad idea when error is at first character)
14785
14786 2001-11-14  José Matos  <jamatos@fep.up.pt>
14787
14788         * buffer.h:
14789         * buffer.C (simpleDocBookOnePar): removed unused argument.
14790
14791 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14792
14793         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14794         insets which are part of a word. Paragraph::isLetter takes care of
14795         that now. Use Paragraph::isInset to identify insets.
14796         (selectSelectedWord): do not test for hyphenation break.
14797
14798         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14799         that protected spaces are considered as spaces.
14800
14801         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14802         Inset::isLetter.
14803
14804 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14805
14806         * lyxserver.h:
14807         * lyxserver.C: fix it. and small cleanup.
14808
14809 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14810
14811         * BufferView_pimpl.C: use inline helpers
14812
14813         * LaTeXFeatures.h:
14814         * LaTeXFeatures.C: fix typos
14815
14816         * Spacing.h:
14817         * Spacing.C: move spacing_string into class
14818
14819         * ToolbarDefaults.C: move stuff into namespace anon
14820
14821         * layout.h: update enum
14822
14823         * lyxfunc.C: use better debug
14824
14825         * minibuffer.h: fix typo
14826
14827         * debug.h:
14828         * debug.C:
14829         * WorkArea.C: add and use Debug::WORKAREA
14830
14831         * lyxtext.h:
14832         * text.C:
14833         * text2.C: code re-organisation, inline helpers
14834
14835 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14836
14837         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14838         std::vector.empty().
14839
14840 2001-11-09  Allan Rae  <rae@lyx.org>
14841
14842         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14843         '\n's after tables.  Tabular and ERT inset work now makes this no
14844         longer necessary.
14845
14846 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14847
14848         * minibuffer.h:
14849         * minibuffer.C: fix crash, improve drop-down completion
14850
14851 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14852
14853         * lyxserver.h:
14854         * lyxserver.C: invalidate fd's when doing endPipe()
14855
14856 2001-11-08  José Matos  <jamatos@fep.up.pt>
14857
14858         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14859         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14860
14861         * paragraph.h:
14862         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14863
14864 2001-11-07  José Matos  <jamatos@fep.up.pt>
14865
14866         * buffer.h:
14867         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14868         const qualifier.
14869
14870         * buffer.C (sgmlOpenTag):
14871         * buffer.C (sgmlCloseTag): removed debug info.
14872
14873         * buffer.h (sgmlOpenTag):
14874         * buffer.h (sgmlCloseTag): made public.
14875
14876 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14877
14878         * buffer.C (saveParamsAsDefaults):
14879         * lyx_cb.C (MenuLayoutSave): remove
14880
14881         * LyXAction.C (init):
14882         * commandtags.h:
14883         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14884
14885 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14886
14887         * buffer.C (setPaperStuff): removed from here...
14888
14889         * bufferparams.C (setPaperStuff): ... and moved there.
14890
14891 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14892
14893         * minibuffer.h:
14894         * minibuffer.C:
14895         * XFormsView.C: add support for drop-down completion
14896
14897 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14898
14899         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14900         commands.
14901
14902 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14903
14904         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14905         disabled.
14906
14907 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * lyx_main.C: change ref to known bugs
14910
14911 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14912
14913         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14914         to work around older babel problems.
14915
14916 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14917
14918         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14919
14920 2001-10-24  Juergen Vigna  <jug@sad.it>
14921
14922         * tabular-old.C (ReadOld): below variable changes reflected.
14923
14924         * tabular.[Ch]: added ltType struct for longtable header/footer
14925         defines and changed all instances where they are used. Added
14926         future support for double top/bottom rows.
14927
14928 2001-10-24  José Matos  <jamatos@fep.up.pt>
14929
14930         * buffer.h (docbookHandleCaption):
14931         * buffer.C (docbookHandleCaption): removed unused function.
14932         (makeDocBookFile): moved docbook supported version to v4.1.
14933
14934 2001-10-24  José Matos  <jamatos@fep.up.pt>
14935
14936         * tabular.h:
14937         * tabular.C (docbookRow): new function to export docbook code of a row.
14938         (DocBook): now honors the longtable flags.
14939
14940 2001-10-23  José Matos  <jamatos@fep.up.pt>
14941
14942         * LaTeXFeatures.h:
14943         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14944         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14945
14946         * buffer.C (makeLinuxDocFile):
14947         (makeDocBookFile): reworked the preamble, more clean, and with
14948         support for lyx defined entities. Changed the document declaration
14949         to be more XML friendly.
14950
14951         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14952         if we need to output XML that should be done with a filter.
14953
14954 2001-10-22  Juergen Vigna  <jug@sad.it>
14955
14956         * sp_pspell.h (class PSpell): add alive function needed in the
14957         controller to see if the spellchecker could be started.
14958
14959 2001-10-22  Juergen Vigna  <jug@sad.it>
14960
14961         * buffer.C (insertStringAsLines): modify the font for inserting
14962         chars in certain conditions by calling checkInsertChar(font).
14963
14964 2001-10-19  Juergen Vigna  <jug@sad.it>
14965
14966         * text.C (workWidth): use getRow instead of wrong algorithm.
14967         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14968
14969 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * lyxserver.h:
14972         * lyxserver.C:
14973         * lyx_main.h:
14974         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14975
14976 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14977
14978         * text.C (workWidth): do not search for the exact row when
14979         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14980         optimization for big documents.
14981
14982 2001-10-18  Juergen Vigna  <jug@sad.it>
14983
14984         * text.C (workWidth): new function with added Inset * parameter.
14985
14986 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14989
14990         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14991         change return type of getColumnNearX.
14992
14993
14994         * text.C (changeRegionCase): use uppercase/lowercase instead of
14995         toupper/tolower.
14996         (leftMargin):
14997         (rightMargin): simplify code by factoring out the uses of
14998         textclasslist.
14999         (labelFill):
15000         (numberOfHfills):
15001         (setHeightOfRow):
15002         (appendParagraph): use Paragraph::size_type
15003
15004 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15005
15006         * vspace.C (asLatexString): add a missing break
15007
15008 2001-10-15  Herbert Voss  <voss@perce.de>
15009
15010         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15011
15012 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15013
15014         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15015         is not available.
15016
15017 2001-10-10  André Pönitz <poenitz@gmx.net>
15018
15019         * lyxfunc.C: removed greek_kb_flag.
15020
15021 2001-10-10  Herbert Voss  <voss@perce.de>
15022
15023         * lyx_main.C: delete global string help_lyxdir.
15024
15025 2001-10-09  Herbert Voss  <voss@perce.de>
15026
15027         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15028
15029         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15030
15031         * lyx_main.C: added global string help_lyxdir.
15032
15033         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15034
15035 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15036
15037         * lyxrc.C (set_font_norm_type): support iso8859-4
15038
15039 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15040
15041         * LaTeX.C (deplog): add another regex for MikTeX
15042
15043 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15044
15045         * lyxrc.C (set_font_norm_type): support iso8859-3
15046
15047 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15048
15049         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15050
15051         * LaTeXFeatures.C: remove special case of french and index
15052
15053         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15054         before \begin{document}). This solves several incompatibilities.
15055
15056 2001-10-03  Garst Reese  <reese@isn.net>
15057
15058         * lyx_cb.C: change CheckTex error msg.
15059
15060 2001-10-03  José Matos  <jamatos@fep.up.pt>
15061
15062         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15063
15064 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15065
15066         * .cvsignore: update
15067
15068         * lyx_main.C (commandLineVersionInfo): use new style version info.
15069
15070         * buffer.C (writeFile):
15071         (makeLaTeXFile):
15072         (makeLinuxDocFile):
15073         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15074
15075         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15076
15077         * version.h: update to use stuff in version.C
15078
15079         * version.C.in: new file. Contains version information determined
15080         at compile time. This is a merging of version.h and
15081         version_info.h.in.
15082
15083 2001-10-03  Juergen Vigna  <jug@sad.it>
15084
15085         * BufferView_pimpl.C (update): don't change "dirty" status in
15086         updateInset call.
15087
15088 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15089
15090         * WorkArea.C (c-tor): re-position version string slightly.
15091
15092 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15093
15094         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15095         revert to previous code.
15096
15097         WorkArea.[Ch]: (show, destroySplash): methods removed.
15098
15099         WorkArea.C: rework code so that it's an amalgam of the codes before and
15100         after the splash screen was moved to WorkArea.
15101
15102 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15103
15104         * lyxrc.C (read):
15105         * vspace.C (inPixels):
15106         (lyx_advance):
15107         * kbmap.C (bind):
15108         * buffer.C (insertStringAsLines):
15109         (asciiParagraph): fix types to be large enough
15110
15111         * lyxlex_pimpl.h: change member status from short to int
15112
15113         * layout.h: fix type of endlabeltype
15114
15115         * kbmap.C (bind):
15116         * kbsequence.C (parse): change return type to string::size_type
15117
15118         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15119         variable
15120
15121         * Bullet.C (bulletSize):
15122         (bulletEntry): do not use short ints as parameters
15123
15124         * BufferView2.C (insertLyXFile): change a char to an int.
15125
15126         * WorkArea.C (WorkArea): remove unneeded floats in computation
15127
15128 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15129
15130         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15131
15132         * paragraph.C (asString): Do not ignore newline/hfill chars when
15133         copying to the clipboard.
15134
15135 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15136
15137         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15138         after a multi-line inset.
15139
15140 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15141
15142         * paragraph.C (validate): Set NeedLyXFootnoteCode
15143
15144 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15145
15146         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15147         and decrease-error to decrease.
15148
15149 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15152         it more readable (should be equivalent)
15153
15154 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15155
15156         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15157
15158 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15159
15160         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15161         of a cursor (row, etc.) after a character has been deleted
15162         (deleteEmptyParagraphMechanism): call the method above on _all_
15163         cursors held by the LyXText when a double space has been
15164         detected/deleted.
15165
15166 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15167
15168         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15169         pixmap.
15170         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15171
15172         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15173         background. Use greyOut() and the new show() methods to toggle between
15174         the foreground and background. Add code to remove the splash after
15175         its initial showing.
15176
15177         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15178         (create_forms): no longer call Dialogs::showSplash.
15179
15180 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15181
15182         * .cvsignore: add version_info.h
15183
15184 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15185
15186         * version_info.h.in: new file
15187
15188         * Makefile.am: add version_info.h.in
15189
15190         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15191         version_info.h instead of VERSION_INFO
15192
15193 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15194
15195         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15196         The ERT inset now returns string().
15197
15198 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15199
15200         * lyxtext.h, text.C (selectNextWord): renamed as
15201         selectNextWordToSpellcheck.
15202
15203         * text.C (selectNextWordToSpellcheck): Modified to not select
15204         words inside an ERT inset.
15205
15206 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15207
15208         * lyx_cb.C (MenuLayoutSave): change a bit the question
15209
15210         * sp_base.h: include <sys/types.h>
15211
15212 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15213
15214         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15215
15216 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15217
15218         * several files: fix typos in user-visible strings
15219
15220 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15221
15222         * text2.C (pasteSelection): do not set the selection, since it
15223         will be cleared later. Actually, the intent was to fix the way the
15224         selection was set, but I figured rmoving the code was just as good.
15225
15226 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15227
15228         * FontLoader.C (available): Check if font is available without
15229         loading the font.
15230
15231 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15232
15233         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15234
15235 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15236
15237         * lyxrc.[Ch]: added display_graphics variable and associated code.
15238
15239 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15240
15241         * bufferparams.C (hasClassDefaults): new method. Returns true if
15242         the buffer parameters correspond to known class defaults
15243
15244 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15245
15246         * XFormsView.C (show): set minimum size to the main window.
15247
15248 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15249
15250         * text2.C (copySelection):
15251         (cutSelection):
15252         * lyxfind.C (LyXReplace):
15253         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15254         LyXText::selectionAsString.
15255
15256         * paragraph.C (asString): add "label" argument to the second form
15257
15258         * text2.C (selectionAsString): add "label" argument and pass it to
15259         Paragraph::asString.
15260
15261 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * lyx_main.C (commandLineHelp): remove version information
15264
15265 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15266
15267         * lyx_main.C: add -version commandline option
15268
15269 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15270
15271         * paragraph.h: make the optional constructor arg required instead.
15272         some modifications to other files because of this.
15273
15274         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15275
15276         * lyxserver.C (C_LyXComm_callback): make it static
15277
15278         * lyx_main.C (error_handler): make it static
15279
15280         * lyx_gui.C (LyX_XErrHandler): make it static
15281
15282         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15283
15284         * WorkArea.C: make the extern "C" methods static.
15285
15286         * Makefile.am (lyx_LDADD): simplify
15287
15288 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15289
15290         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15291         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15292
15293         * LyXAction.C (init):
15294         * lyxfunc.C (dispatch): associated code removal.
15295
15296 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15297
15298         * lyxfont.h (isSymbolFont): shut off warning
15299
15300         * text.C (setHeightOfRow):
15301         (getVisibleRow): fix crash with empty paragraphs which have a
15302         bottom line
15303
15304 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15305
15306         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15307         code.
15308
15309 2001-09-04  José Matos  <jamatos@fep.up.pt>
15310         * buffer.C
15311         * buffer.h
15312         * tabular.C (docbook): rename docBook method to docbook.
15313
15314 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15315
15316         * Makefile.am: add dependencies to main.o.
15317
15318 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15319
15320         * FontLoader.C (available): Return false if !lyxrc.use_gui
15321
15322 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15323
15324         * FontInfo.C (query):
15325         * converter.C (view):
15326         * importer.C (Import):
15327         * exporter.C (Export): Can not -> cannot.
15328
15329 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15330
15331         * BufferView_pimpl.C: allow to create index inset even if
15332           string is empty
15333
15334 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15335
15336         * buffer.C (getLists): replace boost::tie code with an explicit pair
15337         as boost::tie can break some compilers.
15338
15339         * iterators.h: Added a std:: declaration to the return type of
15340         ParIterator::size.
15341
15342 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15343
15344         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15345           case.
15346
15347 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15348
15349         * iterators.[Ch]: New files. Provide paragraph iterators.
15350
15351         * buffer.C (changeLanguage): Use paragraph iterators.
15352         (isMultiLingual): ditto
15353
15354         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15355
15356 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15357
15358         * FontLoader.C: Support for cmr font.
15359
15360 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15361
15362         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15363         (available): New method.
15364
15365         * FontInfo.C (getFontname): Use scalable fonts even when
15366         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15367         found.
15368
15369 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15370
15371         * converter.C (Formats::view): reverted! Incorrect fix.
15372
15373 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15374
15375         * converter.C (Formats::view): only output the -paper option
15376         if the dvi viewer is xdvi, thereby fixing bug #233429.
15377
15378 2001-08-23  Herbert Voss  <voss@perce>
15379
15380         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15381
15382 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15383
15384         * Spacing.h (Spacing): Set space to Default on in the default
15385         constructor.
15386
15387 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15388
15389         * vc-backend.h (RCS::versionString): add RCS to version
15390         (CVS::versionString): add CVS to version
15391
15392         * vc-backend.C (scanMaster): do not add CVS to version.
15393         (scanMaster): do not add RCS to version
15394
15395         * lyxvc.C (versionString): new method
15396
15397         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15398
15399 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15400
15401         * Spacing.C (set): initialize fval
15402
15403 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15404
15405         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15406         " or \.
15407
15408 2001-08-16  Juergen Vigna  <jug@sad.it>
15409
15410         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15411
15412 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15413
15414         * BufferView_pimpl.C:
15415         * figureForm.C:
15416         * lyxtext.h:
15417         * text2.C: setParagraph takes linespacing now
15418
15419 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15420
15421         * LyxAction.C: add internal LFUN_CITATION_INSERT
15422
15423         * LyXView.C: actually apply fix
15424
15425         * bufferlist.C: fix open non-existent file
15426
15427         * lyxfind.C: fix indentation
15428
15429         * lyxfunc.C: remove unneeded assert, fix typo
15430
15431 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15432
15433         * MenuBackend.C: use "Floatname List"
15434
15435 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15436
15437         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15438         when converting LaTeX layout to insetERT.
15439         Generate a non-collapsed float when reading old float
15440
15441 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15442
15443         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15444         ERT insets.
15445
15446 2001-08-13  Juergen Vigna  <jug@sad.it>
15447
15448         * text.C (fill): return 0 instead of 20 as this seems to be the more
15449         correct value.
15450
15451 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15452
15453         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15454         lyxrc.font_norm.
15455
15456 2001-08-13  Juergen Vigna  <jug@sad.it>
15457
15458         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15459         casesensitive off.
15460         (SearchBackward): comment out the unlocking of the inset_owner this
15461         should not be needed!
15462
15463 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15464
15465         * Many files: Remove inherit_language, and add latex_language
15466
15467         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15468         collapsible insets.
15469
15470 2001-08-10  Juergen Vigna  <jug@sad.it>
15471
15472         * text.C (prepareToPrint): fixed hfill-width in draw!
15473
15474         * BufferView2.C (selectLastWord): save the selection cursor as this
15475         now is cleared in the function LyXText::clearSelection!
15476
15477 2001-08-08  Juergen Vigna  <jug@sad.it>
15478
15479         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15480         BACKSPACE type functions.
15481
15482         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15483         is only cutted from the document but not put in the cut-buffer, where
15484         still the old stuff should be.
15485
15486         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15487
15488         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15489
15490         * tabular.C (SetWidthOfCell): fixed special case where the width
15491         was not updated!
15492         (LeftLine): handle '|' in align_special.
15493         (RightLine): ditto
15494         (LeftAlreadyDrawed): ditto
15495         (SetWidthOfCell): ditto
15496
15497 2001-08-07  Juergen Vigna  <jug@sad.it>
15498
15499         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15500
15501 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15502
15503         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15504         * lyxlex.[hC]: ditto
15505
15506 2001-08-06  Juergen Vigna  <jug@sad.it>
15507
15508         * text.C (getVisibleRow): fix up row clearing a bit.
15509
15510 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * minibuffer.C: make sure the X server sees the changes in the input.
15513
15514 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15515
15516         * paragraph.C (getFont): split into...
15517         (getLabelFont): this
15518         (getLayoutFont): and this
15519         * paragraph_pimpl.C (realizeFont): calling this
15520
15521         * text2.C (getFont): split into...
15522         (getLayoutFont): this
15523         (getLabelFont): and this
15524         (realizeFont): all three calling this
15525
15526         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15527         files where used.
15528
15529 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15532
15533 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15534
15535         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15536         layouts from the Quote inset insertion.
15537
15538 2001-08-03  Juergen Vigna  <jug@sad.it>
15539
15540         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15541
15542         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15543         only if status not is already CHANGED_IN_DRAW (second level).
15544
15545         * text.C (draw): don't set the need_break_row when inside an
15546         InsetText LyXText.
15547
15548 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15549
15550         * buffer.C (parseSingleLyXformat2Token): handle more latex
15551         conversion cases.
15552
15553         * bufferview_funcs.[hC]: change function names to
15554         begin with small char, adjust other files.
15555
15556 2001-08-02  André Pönitz <poenitz@gmx.net>
15557
15558         * lyxfunc.C:
15559         BufferView_pimpl.C: remove broken special code for math-greek
15560
15561 2001-08-02  Juergen Vigna  <jug@sad.it>
15562
15563         * BufferView_pimpl.C (update): redone this function so that we
15564         update the text again if there was a CHANGE_IN_DRAW.
15565
15566         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15567         (drawFromTo): added a new internal bool which is used by draw() and
15568         redraw() function.
15569         (general): some cursor drawing problems fixed.
15570
15571 2001-08-01  Juergen Vigna  <jug@sad.it>
15572
15573         * lyxfind.C (LyXFind): fixed
15574         (SearchForward): ditto
15575         (SearchBackward): ditto
15576
15577         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15578         spurius drawing of the cursor in the main area.
15579
15580         * text2.C (status): small fix which could lead to a segfault!
15581         (clearSelection): remove unneeded BufferView param.
15582
15583 2001-08-01  André Pönitz <poenitz@gmx.net>
15584
15585         * lyxfunc.C: small change due to changed mathed interface
15586
15587 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15588
15589         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15590
15591 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15592
15593         * lyxfunc.c: fail gracefully if file doesn't exist
15594
15595         * LyXSendto.C:
15596         * buffer.C:
15597         * lyxfunc.C:
15598         * BufferView_pimpl.C: IsDirWriteable() proto changed
15599
15600         * LyXView.C: fix updateWindowTitle() to store the last title
15601
15602 2001-07-31  Juergen Vigna  <jug@sad.it>
15603
15604         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15605         the font (wrong since using of Paragraph::highestFontInRange).
15606
15607         * paragraph.C (highestFontInRange): added a default_size parameter.
15608
15609         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15610         (setHeightOfRow): reformat
15611
15612 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15613
15614         * converter.[hC] + affected files: move to (inital-char)lowercase
15615         function names.
15616
15617         * ParagraphParameters.C (ParagraphParameters): remove commented code
15618
15619         * PainterBase.[Ch]: remove commented code
15620
15621         * LaTeXFeatures.h: add "bool floats" for float.sty
15622
15623         * LaTeXFeatures.C (LaTeXFeatures): init floats
15624         (require): handle float
15625         (getPackages): do it with floats
15626
15627 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15628
15629         * BufferView_pimpl.C (Dispatch): improve handling of
15630         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15631
15632         * commandtags.h: #include lyxfont.h here temporarily to avoid
15633         keybinding bug.
15634
15635         * bufferlist.h: include LString.h here.
15636
15637 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15638
15639         * text2.C (getStringToIndex): new method.
15640
15641 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15642
15643         * *: Reduced header file dependencies all over.
15644
15645 2001-07-30  Baruch Even  <baruch@lyx.org>
15646
15647         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15648
15649 2001-07-29  Baruch Even  <baruch@lyx.org>
15650
15651         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15652
15653 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15654
15655         * ParameterStruct.h (endif): add a default constructor to make
15656         sure that all variables is initialized.
15657
15658         * ParagraphParameters.C (ParagraphParameters): adjust
15659
15660 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15663         index; also, check that there is something to index, and that it
15664         does not span over several paragraphs.
15665         (doubleClick): use WHOLE_WORD_STRICT for double click.
15666
15667         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15668
15669         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15670         scheme.
15671
15672 2001-07-26  Baruch Even  <baruch@lyx.org>
15673
15674         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15675         an InsetFig figure, backwards compatible reading of old figure code.
15676
15677 2001-07-27  Juergen Vigna  <jug@sad.it>
15678
15679         * text2.C: font.realize function adaption.
15680
15681         * text.C (draw): add a warnings lyxerr text if needed.
15682
15683         * layout.C: font.realize function adaption.
15684
15685         * language.C: add inherit_language and implement it's handlings
15686
15687         * bufferview_funcs.C (StyleReset): remove language parameter from
15688         font creation (should be language_inherit now).
15689
15690         * bufferparams.C (writeFile): handle ignore_language.
15691
15692         * paragraph.C (getFontSettings): the language has to be resolved
15693         otherwise we have problems in LyXFont!
15694
15695         * lyxfont.C (lyxWriteChanges): added document_language parameter
15696         (update): removed unneeded language parameter
15697
15698         * paragraph.C (validate): fixed wrong output of color-package when
15699         using interface colors for certain fonts in certain environments,
15700         which should not seen as that on the final output.
15701
15702 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15703
15704         * BufferView_pimpl.C:
15705         * Thesaurus.h:
15706         * Thesaurus.C:
15707         * Makefile.am:
15708         * commandtags.h:
15709         * LyXAction.C: add thesaurus support
15710
15711         * lyxfind.h:
15712         * lyxfind.C: add "once" parameter, for thesaurus, to not
15713           move to the next match
15714
15715 2001-07-26  Juergen Vigna  <jug@sad.it>
15716
15717         * lyxfont.C (realize): honor ignore_language too!
15718         (resolved): ditto.
15719
15720         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15721
15722         * text.C (draw): one place more for ignore_language to not draw
15723         itself!
15724
15725 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15726
15727         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15728
15729 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15730
15731         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15732         the minipage conversion problem.
15733
15734 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15735
15736         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15737         insert an inset.
15738
15739 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15740
15741         * BufferView.h: don't forward declare WorkArea
15742
15743         * BufferView.C: don't include WorkArea.h
15744
15745 2001-07-25  André Pönitz <poenitz@gmx.net>
15746
15747         * commandtags.h:
15748         * LyXAction.C:
15749         * lyxfunc.C:  new LFUN 'math-space'
15750
15751         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15752
15753 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15754
15755         * text2.C (toggleInset): call open/close
15756
15757 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15758
15759         * lyxfunc.C (dispatch): add debug for the disabled case
15760
15761         * font.C (buttonText): make similar to rectText
15762
15763         * buffer.C (readInset): comment out parsing of insetlist and
15764         insttheorem
15765
15766         * PainterBase.C (rectText): small correction
15767
15768         * BufferView_pimpl.C: comment out insettheorem and insetlist
15769         * LyXAction.C: ditto
15770         * commandtags.h: ditto
15771
15772 2001-07-24  Juergen Vigna  <jug@sad.it>
15773
15774         * text.C (draw): honor the ignore_language.
15775
15776         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15777
15778 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15779
15780         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15781         char inset.
15782
15783 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15784
15785         * lyxtext.h: remove unused (and unimplemented) methods
15786
15787 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15788
15789         * text.C (getVisibleRow): honor background color
15790
15791         * PainterBase.h:
15792         * Painter.h: remove default color argument for fillRectangle
15793
15794         * text.C (backgroundColor): new method
15795
15796 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15797
15798         * text.C (getVisibleRow): adjust
15799
15800         * font.[Ch] (rectText): new method, metrics
15801         (buttonText): new method, metrics
15802
15803         * PainterBase.[hC]: make rectText and buttonText always draw and take
15804         fewer paramteres.
15805
15806 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15807
15808         * ToolbarDefaults.C (read):
15809         * MenuBackend.C (read): allow escaping in all strings
15810
15811         * BufferView_pimpl.C (insertAndEditInset): new method.
15812         (Dispatch): use insertAndEditInset whenever appropriate.
15813
15814         * BufferView_pimpl.C (insertNote): removed
15815
15816         * BufferView_pimpl.C (smartQuote): new method, moved from
15817         BufferView; if an insetquote cannot be inserted, insert a '"'
15818         character instead.
15819
15820         * BufferView2.C: remove insertCorrectQuote();
15821
15822         * lyxfunc.C (getStatus): Add support for all remaingin
15823         inset-insert lfuns.
15824
15825         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15826
15827         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15828         command (necessary to pass " as parameter of self-insert.
15829
15830         * text.C (selectWordWhenUnderCursor):
15831         (selectWord): add word_location parameter
15832         (selectWordWhenUnderCursor): same + remove special code for word
15833         boundary.
15834         (selectNextWord): use kind() to guess type of insetspecialchar,
15835         not latex().
15836
15837         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15838         (insertErtContents): create ert insets as collapsed.
15839         (readInset): better compatibility code for Info inset.
15840
15841 2001-07-20  Juergen Vigna  <jug@sad.it>
15842
15843         * lyxfunc.C (dispatch): use always LyXFind now!
15844
15845         * text2.C (init): add a reinit flag so that the LyXText can be
15846         reinited instead of deleted and reallocated (used in InsetText).
15847
15848         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15849
15850         * text.C: ditto
15851
15852         * text2.C: ditto
15853
15854 2001-07-18  Juergen Vigna  <jug@sad.it>
15855
15856         * text.C (selectNextWord): handle insets inside inset by calling
15857         always the bv->text functions so that we can go up the_locking_inset!
15858
15859         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15860         in strange locations when inside an inset!
15861
15862         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15863         handling to include insets.
15864
15865         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15866
15867 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15868
15869         * LyXAction.C (init):
15870         * commandtags.h:
15871         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15872         LIGATURE_BREAK, since the name is so stupid.
15873
15874 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15875
15876         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15877         InsetInfos.
15878
15879         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15880
15881         * sp_form.[Ch]: remove.
15882
15883         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15884
15885         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15886         InsetInfo.
15887
15888         * src/buffer.C (readInset): ditto.
15889
15890 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15891
15892         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15893         menuSeparator(), endOfSentenceDot(), ldots() and
15894         hyphenationPoint(), which are therefore removed.
15895         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15896
15897         * LyXAction.C (init):
15898         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15899
15900         * paragraph.C (getWord): removed.
15901
15902         * BufferView_pimpl.C (Dispatch): use last word or selection for
15903         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15904
15905         * lyx_main.C (queryUserLyXDir): do not ask before creating
15906         user_dir, except if it has been named explicitely.
15907
15908 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15909
15910         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15911         a document of zero size.
15912
15913 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15914
15915         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15916         approriately in the c-tor and in require().
15917         (getPackages): output the appropriate LaTeX for natbib support.
15918
15919         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15920         variables "use_natbib" and "use_numerical_citations" when reading the
15921         LyX file.
15922         (readInset): read the various natbib cite commands.
15923         (validate): white-space change.
15924
15925         * bufferparams.[Ch]: new variables "bool use_natbib" and
15926         "bool use_numerical_citations".
15927         (writeFile): output them in the LyX file.
15928
15929 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15930
15931         * lyxfunc.C (getStatus): add support for all the inset insertion
15932         commands.
15933
15934         * text2.C (insertInset):
15935         * paragraph.C (insetAllowed):
15936         * BufferView_pimpl.C (insertInset): update to take in account the
15937         renaming of insertInsetAllowed
15938
15939         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15940
15941         * text2.C (getInset): new method. returns inset at cursor position.
15942
15943         * BufferView_pimpl.C (Dispatch): changes because of this.
15944
15945         * LyXAction.C (init): rename open-stuff to inset-toggle.
15946
15947         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15948
15949         * text2.C (toggleInset): renamed from openStuff; use
15950         Inset::open().
15951
15952 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15953
15954         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15955
15956         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15957
15958 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15959
15960         * buffer.C (readLyXformat2): Add filename to the error dialog
15961
15962 2001-07-18  Juergen Vigna  <jug@sad.it>
15963
15964         * tabular.C (GetCellNumber): put an assert here instead of the check!
15965
15966 2001-07-17  Juergen Vigna  <jug@sad.it>
15967
15968         * BufferView_pimpl.C (toggleSelection): adapted too.
15969
15970         * text.C (selectNextWord): adapted for use with insets.
15971         (selectSelectedWord): ditto
15972
15973 2001-07-17  Juergen Vigna  <jug@sad.it>
15974
15975         * sp_spell.C (PSpell): fix initialitation order.
15976
15977 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15978
15979         * paragraph.C: spacing
15980
15981 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15982
15983         * sp_spell.C: repair language selection for pspell
15984
15985 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15986
15987         * lyxfunc.h: change more methods to begin with lower char.
15988
15989 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15990
15991         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15992         for unknown layouts.
15993
15994 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15995
15996         * buffer.C (readLyXformat2): Generate an error dialog if there are
15997         unknown layouts.
15998
15999 2001-07-16  Juergen Vigna  <jug@sad.it>
16000
16001         * sp_spell.C: always compile ISpell part.
16002
16003         * lyxrc.C: added use_pspell entry and it's handling.
16004
16005 2001-07-13  Juergen Vigna  <jug@sad.it>
16006
16007         * sp_spell.C: removed double includes.
16008
16009 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16010
16011         Consistent use of Lsstream.h:
16012         * Lsstream.h: added using std::stringstream for consistencies sake.
16013
16014         * buffer.C: removed using std::stringstream
16015
16016         * lyxfont.C (stateText):
16017         * paragraph.C (asString):
16018         * text.C (selectNextWord, selectSelectedWord):
16019         * text2.C (setCounter):
16020         * vspace.C (asString, asLatexString):
16021         std::ostringstream -> ostringstream.
16022
16023 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16024
16025         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16026         * commandtags.h: add LFUN_HELP_ABOUTLYX
16027         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16028
16029 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16030
16031         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16032         cursorToggle()
16033         * lyx_gui_misc.C: remove spellchecker
16034         * lyxfunc.C: showSpellchecker
16035         * sp_base.h: added
16036         * sp_ispell.h: added
16037         * sp_pspell.h: added
16038         * sp_spell.C: added
16039         * sp_form.[Ch]: removed
16040         * spellchecker.[Ch]: removed
16041
16042 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16043
16044         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16045         is set.
16046         (simpleTeXSpecialChars): Simply print the input character without
16047         any special translation if pass_thru is set.
16048
16049         * layout.h: Added bool pass_thru to layout class for being able to
16050         implement pass through of a paragraph for Literate Programming.
16051
16052         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16053         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16054         * layout.C (Read): add "passthru" to list of layout tags and add
16055         code to set the pass_thru boolean when it is read.
16056
16057 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16058
16059         * trans_decl.h: remove allowed from KmodInfo
16060
16061         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16062         remove allowed code
16063         (Load): adjust
16064
16065         * paragraph_pimpl.C (erase): use boost::prior
16066
16067         * Painter.C (text): use data() instead of c_str() when length is
16068         also provided.
16069         * WorkArea.C (putClipboard): ditto
16070         * font.h (width): ditto
16071
16072         * BufferView2.C: use it-> instead of (*it). for iterators
16073         * texrow.C: ditto
16074         * paragraph_pimpl.C: ditto
16075         * paragraph.C: ditto
16076         * minibuffer.C: ditto
16077         * language.C: ditto
16078         * kbmap.C: ditto
16079         * encoding.C: ditto
16080         * counters.C: ditto
16081         * converter.C: ditto
16082         * chset.C: ditto
16083         * Variables.C: ditto
16084         * TextCache.C: ditto
16085         * MenuBackend.C: ditto
16086         * LyXAction.C: ditto
16087         * LColor.C: ditto
16088         * FloatList.C: ditto
16089         * DepTable.C: ditto
16090         * ColorHandler.C (LyXColorHandler): ditto
16091
16092 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16093
16094         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16095
16096         * text2.C (openStuff): reintroduce this method (which had been
16097         nuked in NEW_INSETS frenzy).
16098
16099         * lyxfunc.C (Dispatch): when an action has not been handled, use
16100         its name in the error message, not its number.
16101
16102         * paragraph.C (inInset): change method name to begin with lowercase.
16103
16104         * undo_funcs.C:
16105         * text2.C: updates because of this.
16106
16107 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16108
16109         * ToolbarDefaults.C (add): add spaces in error message
16110
16111 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16112
16113         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16114         (readLyXformat2): rename return_par to first_par, use lyxlex's
16115         pushToken and remove the manual push handling.
16116         (parseSingleLyXformat2Token): add another ert comp. variable:
16117         in_tabular, rename return_par to first_par. handle newlines better
16118
16119 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16120
16121         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16122
16123 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16124
16125         * text2.C (getParFromID): removed
16126
16127         * buffer.C (getParFromID): new method moved form lyxtext.
16128         * BufferView2.C (insertErrors): adjust
16129         (setCursorFromRow): adjust
16130         * BufferView_pimpl.C (restorePosition): adjust
16131         * lyxfunc.C (Dispatch): adjust
16132         * undo_funcs.C (textUndo): adjust
16133         (textRedo): adjust
16134         (textHandleUndo): adjust
16135         (textHandleUndo): adjust
16136
16137 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16138
16139         * buffer.C: up' the LYX_FORMAT
16140
16141         * lyxfont.h: turn NO_LATEX on as default
16142
16143         * buffer.C (insertErtContents): new methods of tex style compability.
16144         (parseSingleLyXformat2Token): use it several places.
16145         * tabular.C (OldFormatRead): and here
16146
16147 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16148
16149         * text2.C: remove some commented code.
16150         reindent file.
16151
16152         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16153         * trans.C: changes because of the above.
16154
16155 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16156
16157         * text2.C (setCounter): Fix counters bug with bibliography layout.
16158
16159 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16160
16161         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16162         own member functions
16163         (simpleTeXSpecialChars): ditto
16164
16165 2001-07-06  Juergen Vigna  <jug@sad.it>
16166
16167         * a lot of files: changed the access to LyXText::status and the
16168         call of undo-functions.
16169
16170         * undo.[Ch]: added a inset_id to the undo informations.
16171
16172         * undo_funcs.[Ch]: added and moved here all undo functions.
16173
16174         * lyxtext.h: give the status enum a weight, made status_ a private
16175         variable and made accessor functions for it, removed the whole bunch
16176         of undo-functions as they are now in their own file, make some
16177         functions publically available. Added function ownerParagraph with
16178         int parameter.
16179
16180         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16181         made InInset() a const function, added getParFromID() function.
16182
16183         * buffer.[Ch]: added const version for inset_iterator functions,
16184         added getInsetFromID() function.
16185
16186         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16187         changed undo functions for new version.
16188
16189 2001-07-05  Juergen Vigna  <jug@sad.it>
16190
16191         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16192         unknow mechanism does not call the proper constructor but only this
16193         one also if I request the other!?
16194
16195 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16196
16197         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16198
16199         * text2.C (LyXText): use initialization lists.
16200
16201         * lyxtext.h (Selection): initialize set_ and mark_
16202         (init): remove method
16203
16204 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16205
16206         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16207
16208 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16209
16210         * screen.[Ch]: change method names to begin with lowercase
16211
16212         * BufferView_pimpl.C (updateScrollbar): simplify further and
16213         hopefully make it a bit faster.
16214
16215 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16216
16217         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16218         calling directly xforms functions.
16219
16220         * Painter.C (Painter):
16221         * lyx_cb.C (MenuWrite):
16222         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16223         fl_display.
16224
16225         * lyx_gui.C: remove bogus guiruntime extern declaration.
16226
16227 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16228
16229         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16230         in NEW_INSETS
16231         (redoDrawingOfParagraph): ditto
16232         (redoParagraphs): ditto
16233         (cutSelection): don't create a object for CutAndPaste use the
16234         static method directly
16235         (pasteSelection): ditto
16236
16237         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16238         LyXview (+ rename)
16239
16240 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16241
16242         * modifications to some other files because of this.
16243
16244         * Makefile.am (lyx_SOURCES): add XFormsView
16245
16246         * XFormsView.[Ch]: new files
16247
16248         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16249         the main window. Move the gui dependent stuff to XFormsView
16250
16251 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16252
16253         * tabular.C (GetCellInset): update cur_cell also in the row/col
16254         version of this function.
16255
16256         * lyxfunc.C: no need to include figure_form.h here.
16257
16258         * FontLoader.h:
16259         * lyxfunc.h:
16260         * lyxscreen.h:
16261         * text2.C:
16262         * lyxvc.C: no need to include forms.h here.
16263
16264 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16265
16266         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16267
16268         * lyxfunc.C (Dispatch):
16269         * Spacing.C (set):
16270         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16271         constructor argument.
16272
16273 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16274
16275         * paragraph.C (Paragraph): dont't clear, and just set layout.
16276         (makeSameLayout): use params's copy contructor.
16277
16278         * ParagraphParameters.[Ch] (makeSame): delete method
16279
16280 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16281
16282         * Variables.[Ch]: fix indentation, rename set to isSet
16283
16284 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16285
16286         * lyxfunc.C (Dispatch): fix typo
16287
16288 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16289
16290         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16291         upper_bound.
16292
16293         * bufferlist.C: include assert.h for emergencyWrite().
16294
16295 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16296
16297         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16298           give up at last (bug #425202) !
16299
16300 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16301
16302         * lyx_gui_misc.C:
16303         * sp_form.h:
16304         * sp_form.C:
16305         * spellchecker.h:
16306         * spellchecker.C: strip spellchecker options and bring up
16307           preferences tab instead
16308
16309 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16310
16311         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16312         the istringstream constructor
16313
16314 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16315
16316         * paragraph.C (getLayout): fix return value
16317
16318         * paragraph.h: do not declare getLayout as inline.
16319
16320         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16321
16322 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16323
16324         * lyxcursor.h (operator<): new func
16325         (operator>): new func
16326         (operator>=): new func
16327         (operator<=): new func
16328
16329         * text.C (changeCase): use selection.start and selection.end
16330         (changeRegionCase): require from to be <= to. Require par to be a
16331         valid paragraph.
16332
16333         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16334
16335 2001-06-27  Juergen Vigna  <jug@sad.it>
16336
16337         * text.C (cursorLeftOneWord): changed to return the cursor and added
16338         overlay with BufferView * parameter which calls this one.
16339         (getWord): added
16340         (selectWord): use new getWord function.
16341         (changeCase): renamed from changeWordCase as and extended to work
16342         also on selections.
16343
16344         * lyxtext.h: added enum word_location
16345
16346         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16347         changeCase as this operates now also on selections.
16348
16349 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16350
16351         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16352
16353         * many files: send debug output to Debug::INFO instead of
16354         Debug::ANY.
16355
16356         * converter.C (View):
16357         (Convert):
16358         (Move): send debug output to Debug::FILES instead of console.
16359
16360 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16361
16362         * lyxfunc.C (getStatus): use func_status
16363
16364         * func_status.h: new header, describing the results of
16365         LyXFunc::getStatus;
16366
16367         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16368         LFUN_MATH_HALIGN.
16369
16370 2001-06-25  The LyX Project  <jug@sad.it>
16371
16372         * buffer.C (sgmlOpenTag):
16373         (sgmlCloseTag):
16374         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16375
16376 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16377
16378         * text2.C: remove some dead code
16379
16380         * tabular.C (GetCellInset): store the last cell checked (gotten)
16381
16382         * tabular.h: add the helper for the speedup
16383
16384         * lyxtext.h: remove some dead code
16385
16386 2001-06-26  The LyX Project  <Asger>
16387
16388         * paragraph.C: Change export to LaTeX of alignment to
16389         \begin{center} and family for better roundtrip work with reLyX.
16390
16391         * Tune the math drawing a bit.
16392
16393 2001-06-25  The LyX Project  <Asger>
16394
16395         * LColor.C (LColor): New color for math background. New color
16396         for buttons.
16397
16398 2001-06-25  The LyX Project  <jug@sad.it>
16399
16400         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16401
16402         * lyxfunc.C (Open):
16403         * bufferlist.C (newFile): do not restrict to files ending with
16404         .lyx
16405
16406         * BufferView_pimpl.C (MenuInsertLyXFile):
16407
16408 2001-06-24  The LyX Project  <jug@sad.it>
16409
16410         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16411         of compare_no_case
16412
16413 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * lyxtext.h: rename most methods to begin with a small char.
16416         Lots of changes because of this.
16417
16418         * paragraph.C (Paragraph): do not call fitToSize
16419         (erase): call Pimpl::erase
16420         (insertChar): call Pimpl::insertChar
16421         (insertInset): call Pipl::insertInset
16422         (breakParagraph): do not call fitToSize
16423         (breakParagraphConservative): do not call fitToSize
16424         (fitToSize): remove method
16425
16426         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16427
16428 2001-06-24  The LyX Project  <Asger>
16429
16430         * Fix Qt compilation^2
16431
16432 2001-06-24  The LyX Project  <jug@sad.it>
16433
16434         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16435         depthHook(getDepth()-1).
16436
16437         * paragraph.h:
16438         * ParagraphParameters.h:
16439         * ParameterStruct.h: change type of depth to unsigned int ==
16440         depth_type. Many adaptations to other files before of that.
16441
16442 2001-06-24  The LyX Project  <Asger>
16443
16444         * Fix Qt compilation.
16445
16446 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16447
16448         * paragraph.h: renamed several methods to begin with small letter.
16449         several changes to many parts of the code because of this.
16450
16451 2001-06-23  The LyX Project  <jug@sad.it>
16452
16453         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16454         rewritten to discard all double spaces when KeepEmpty is off
16455         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16456         to only handle newlines but not fiddle with spaces and friends.
16457
16458         * lyxfunc.C (MenuNew): when doing 'new from template', use
16459         template_path as default directory
16460
16461 2001-06-23  The LyX Project  <Asger>
16462
16463         * Clean-up of header file includes all over
16464         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16465
16466 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16467
16468         * paragraph.h: renamed from lyxparagraph.h
16469
16470 2001-06-23  Asger  <lyx@violet.home.sad.it>
16471
16472         * Buffer.h: Removed Buffer::resize
16473         * BufferList.h: Removed BufferList::resize
16474         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16475         the document lazily when we change the width, or the font settings.
16476
16477 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16478
16479         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16480
16481 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16482
16483         * buffer.h: remove out of date comment
16484
16485 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16486
16487         * lyxscreen.h:
16488         * screen.C: fix "theoretical" GC leak
16489
16490 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16491
16492         * LaTeX.C (scanAuxFile):
16493         (deplog): remove trailing \r when reading stream (useful under
16494         win32)
16495
16496 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16497
16498         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16499         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16500         and BufferView::theLockingInset(Inset*), so should use them and not
16501         access bv_->text->the_locking_inset directly.
16502
16503         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16504
16505 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16506
16507         * Makefile.am:
16508         * tex-defs.h: remove old unused file
16509
16510 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16511
16512         * BufferView_pimpl.C: fix typo, remove minibuffer message
16513           when buffer has loaded
16514
16515 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16516
16517         * lyxfunc.C (Dispatch): use stringstream
16518         (MenuNew): use stringstream
16519         (Open): use stringstream
16520
16521         * importer.C (Import): use stringstream
16522
16523         * bufferview_funcs.C (CurrentState): use stringstream
16524
16525         * LaTeX.C (run): use stringstream
16526
16527         * BufferView_pimpl.C (savePosition): use stringstream
16528         (restorePosition): use stringstream
16529         (MenuInsertLyXFile): use stringstream
16530
16531 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16532
16533         * BufferView.C:
16534         * Bullet.C:
16535         * ColorHandler.C:
16536         * FontInfo.C:
16537         * FontLoader.C:
16538         * LColor.C:
16539         * LaTeXFeatures.C:
16540         * Painter.C:
16541         * gettext.C:
16542         * lyx_gui_misc.C:
16543         * lyxserver.C:
16544         * vspace.C: removed // -*- C++ -*- as first line.
16545
16546         * lyxfind.h:
16547         * version.h: added // -*- C++ -*- as first line.
16548
16549 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16550
16551         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16552
16553         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16554         of string
16555
16556 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16557
16558         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16559         of floats.
16560
16561 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16562
16563         * gettext.C: include LString.h even when --disable-nls is on.
16564
16565 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16566
16567         * converter.h (Get): changed argument type from int to
16568         FormatList::size_type to avoid unnecessary conversion.
16569
16570         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16571         before using it.
16572
16573 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16574
16575         * gettext.h: include LString.h even when --disable-nls is on.
16576
16577 2001-06-07  Juergen Vigna  <jug@sad.it>
16578
16579         * text.C (BreakAgain): subst spaces with tabs.
16580
16581         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16582         (resizeInsetsLyXText): set force on resizeLyXText.
16583
16584 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16585
16586         * gettext.h (gettext_init):
16587         (locale_init): use a real definition instead of a macro
16588
16589 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16590
16591         * Bufferview_pimpl.C:
16592         * LColor.h:
16593         * LColor.C: further lcolor tidies
16594
16595 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16596
16597         * BufferView_pimpl.C (updateScrollbar): simplify.
16598
16599         * BufferView2.C: don't include insets/insetinfo.h, change
16600         prototype for insertInset and call the Pimpl version. let
16601         updateInset call Pimpl version.
16602
16603         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16604         gotoInset to BufferView::Pimpl
16605
16606 2001-06-01  Juergen Vigna  <jug@sad.it>
16607
16608         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16609         inside a LockingInset (is the update needed at all?).
16610
16611 2001-05-31  Juergen Vigna  <jug@sad.it>
16612
16613         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16614         here not the old one otherwise how should we compare it afterwards
16615         if it's the same!
16616
16617 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16618
16619         * lyxfont.C:
16620         * tabular.C:
16621         * tabular-old.C:
16622         * FontInfo.C: bring C functions into global namespace when
16623         necessary
16624
16625 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16626
16627         * LString.h: make sure config.h has been loaded before LString.h.
16628
16629         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16630         (one for each char read by EatLine!).
16631
16632         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16633         variables.
16634
16635 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16636
16637         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16638         to the same as the par we break from
16639
16640 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16641
16642         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16643
16644         * MenuBackend.C (expand): also create menu entries for wide
16645         versions of the floats.
16646
16647         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16648
16649         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16650
16651         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16652         frontends/Makefile.am
16653
16654         * text2.C: adjust
16655         * text.C: adjust
16656
16657
16658         * tabular.C (getTokenValue): add std::
16659
16660         * tabular-old.C (getTokenValue): add std::
16661         (getTokenValue): ditto
16662         (getTokenValue): ditto
16663
16664         * screen.C (ToggleSelection): adjust
16665
16666         * lyxtext.h: put selection cursors inside a Selection struct.
16667
16668         * lyxfunc.C (moveCursorUpdate): adjust
16669
16670         * lyxfont.C (latexWriteStartChanges): add std::
16671
16672         * lyxfind.C: adjust
16673
16674         * font.h: delete with(char const *, LyXFont const &)
16675
16676         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16677
16678         * FontInfo.C (getFontname): add std::
16679
16680         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16681         (workAreaButtonPress): adjust
16682         (tripleClick): adjust
16683         (update): adjust
16684         (moveCursorUpdate): adjust
16685         (Dispatch): adjust
16686
16687         * BufferView2.C (gotoInset): adjust
16688
16689 2001-05-30  Juergen Vigna  <jug@sad.it>
16690
16691         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16692         to check pspell I add this as default as I now have new pspell
16693         libraries and they seem to use this.
16694
16695 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16696
16697         * text2.C (CutSelection): make the cursor valid before the call to
16698         ClearSelection.
16699
16700 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16701
16702         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16703         relied on 0 terminated strings and other horrors. Bug found due to
16704         the new assert in lyxstring!
16705
16706         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16707         KP_ keys.
16708
16709 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16710
16711         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16712         to latinkeys.bind.
16713
16714         * lyxfunc.C (processKeySym): change method of getting to the
16715         self-insert char.
16716
16717         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16718         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16719         * BufferView_pimpl.[Ch]: here as private methods.
16720
16721 2001-05-28  Juergen Vigna  <jug@sad.it>
16722
16723         * text.C (SetHeightOfRow): added the update() call again as it is
16724         needed to initialize inset dimensions!
16725
16726 2001-05-16  Juergen Vigna  <jug@sad.it>
16727
16728         * text2.C (SetCharFont): Add new function with BufferView * and
16729         bool toggleall parameters for setting insets internal fonts.
16730         (SetFont): Freeze the undo as we may change fonts in Insets and
16731         all this change should be inside only one Undo!
16732
16733         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16734         setting font's in insets as for them we have the SetFont function!
16735
16736 2001-05-15  Juergen Vigna  <jug@sad.it>
16737
16738         * text2.C (ClearSelection): to be sure we REALLY don't have any
16739         selection anymore!
16740
16741         * tabular.C (TeXCellPreamble): fixed the left border problem for
16742         multicolumn cells.
16743
16744 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16745
16746         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16747         dependancy file
16748
16749 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16750
16751         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16752         LFUN_BREAKPARAGRAPH.
16753
16754         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16755         help test to "internal only", similar for LFUN_INSERT_URL
16756
16757         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16758         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16759         auto_region_delete and deadkeys.
16760
16761 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16762
16763         * LColor.h:
16764         * LColor.C: remove some dead entries, tidy a little
16765
16766 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16767
16768         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16769         commented code.
16770         (Dispatch): implement LFUN_ESCAPE
16771
16772         * commandtags.h: add LFUN_ESCAPE
16773
16774         * LyXAction.C (init): add entry for LFUN_ESCAPE
16775
16776         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16777         Remove commented code.
16778         (insertNote): moved here
16779         (open_new_inset): moved here
16780
16781         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16782         BufferView_pimpl
16783
16784 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16785
16786         * kbmap.C (findbinding): clean it up and make it work correctly.
16787
16788         * lyx_main.C (init): do not pass argc and argv as parameters
16789
16790 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16791
16792         * buffer.C: fix path for OS/2 & Win32
16793
16794         * lyx_gui.C:
16795         * lyx_main:
16796         * lyx_main.C: Added os:: class.
16797
16798         * os2_defines.h: update
16799
16800 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16801
16802         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16803         better by trying again with reduced state.
16804
16805 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16806
16807         * lyxrc.C (read): print error about invalid key sequence only when
16808         debugging (because not all latinX keysyms are known to some X
16809         servers)
16810
16811         * kbsequence.C (getiso): add a few std:: qualifiers
16812         (getiso): comment out extra return statement.
16813
16814 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16815
16816         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16817         handling.
16818         (Dispatch): enhance the accent inset a bit. (not perfect)
16819
16820 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16821
16822         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16823
16824 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16825
16826         * bufferlist.C (emergencyWrite): fix assert() call
16827
16828 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16829
16830         * text.C (InsertChar): Added trivial patch to only send the "you
16831         can not do multiple spaces this way" message once during a
16832         session.
16833
16834 2001-05-08  Baruch Even  <baruch@lyx.org>
16835
16836         * Makefile.am: Changed order of libraries to get LyX to link properly
16837         with the gnome frontend.
16838
16839 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16840
16841         * LaTeXFeatures.h: add a std:: qualifier
16842
16843 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16844
16845         * paragraph.C (String): use stringstream
16846
16847 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16848
16849         * paragraph.C (writeFile): remove footflag arg
16850
16851         * buffer.C (makeLaTeXFile): use stringstream
16852         (latexParagraphs): remove footnot gurba
16853
16854         * LaTeXFeatures.C (getPackages): use stringstream
16855         (getMacros): likewise
16856         (getTClassPreamble): likewise
16857         (getFloatDefinitions): new method
16858
16859         * paragraph.C (writeFile): reindent
16860         (Erase): reindent
16861
16862         * WorkArea.h: revert the xpos + etc changes.
16863
16864         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16865
16866         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16867
16868         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16869         (pasteSelection): likewise
16870         * text2.C (CreateUndo): likewise
16871
16872 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16873
16874         * minibuffer.C (peek_event): temporarily reduce the functionality
16875         of the minibuffer (to allow args on lfuns)
16876
16877         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16878         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16879
16880         * buffer.C (readInset): add compability reading of old float
16881         lists, add reading of new style float list.
16882         (readInset): avoid reevaluation of inscmd.getCmdName()
16883         (getLists): reindent
16884
16885         * MenuBackend.C (MenuItem): implement parsing of
16886         md_floatlistinsert and md_floatinsert.
16887         (expand::LastFiles): move initalizaton of iterators out of loop,
16888         avoid reevaluation.
16889         (expand::Documents): introduce typdedef vector<string> Strings,
16890         and use it.
16891         (expand::ExportFormats): introduce typedef vector<Format const *>
16892         Formats, and use it.
16893         (expand): implement FloatListInsert and FloatInsert.
16894
16895         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16896         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16897         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16898
16899         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16900         handling.
16901         (Dispatch::LFUN_FLOAT_LIST): implement
16902
16903 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16904
16905         * LaTeX.C (run): Fix problem with --export code.
16906
16907 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16908
16909         * BufferView.[Ch] (workarea): removed.
16910         (getClipboard) new method; wrapper for workarea()->getClipboard()
16911
16912         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16913         bug.
16914
16915         * WorkArea.h (width, height, xpos, ypos): These methods all
16916         returned the dimensions of the work_area sub-area of WorkArea,
16917         resulting in a position error if the WorkArea were resized. Now
16918         return the dimensions of the entire WorkArea.
16919
16920         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16921
16922 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16923
16924         * LaTeX.C (deplog): correct the syntax of regex reg1
16925
16926 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16927
16928         * undo.C: remove !NEW_INSETS cruft
16929
16930 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16931
16932         * text2.C: remove !NEW_INSETS cruft
16933
16934         * text.C: remove !NEW_INSETS cruft
16935
16936         * tabular.C: remove !NEW_INSETS cruft
16937
16938         * spellchecker.C: remove !NEW_INSETS cruft
16939
16940         * lyxtext.h: remove !NEW_INSETS cruft
16941
16942         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16943
16944         * lyxfunc.C: remove !NEW_INSETS cruft
16945
16946         * lyxfind.C: remove !NEW_INSETS cruft
16947
16948         * lyx_cb.C: remove !NEW_INSETS cruft
16949
16950         * figureForm.C: remove  !NEW_INSETS cruft
16951
16952         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16953
16954         * buffer.[Ch]: remove !NEW_INSETS cruft
16955
16956         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16957
16958         * CutAndPaste.C: remove !NEW_INSETS cruft
16959
16960         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16961
16962         * BufferView2.C: remove !NEW_INSETS cruft
16963
16964         * BufferView.h: remove !NEW_INSETS cruft
16965
16966 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16967
16968         * Lsstream.h: include LString.h before the sstream headers to
16969         fix problem with gcc 2.95.3 and lyxstring
16970
16971 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16972
16973         * lyx_main.C: add using directives when needed for C functions
16974         declared in std:: namespace.
16975
16976 2001-04-27  Juergen Vigna  <jug@sad.it>
16977
16978         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16979         (SetHeightOfRow): comment out the update call should not be needed!
16980
16981 2001-04-13  Juergen Vigna  <jug@sad.it>
16982
16983         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16984         (LyXTabular): tried to minimize operator= operations (and realized
16985         hopfully Lars wish).
16986
16987 2001-04-27  Juergen Vigna  <jug@sad.it>
16988
16989         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16990
16991 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16992
16993         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16994
16995         * buffer.C (readInset): hack to make listof algorithm work
16996
16997         * BufferView_pimpl.C: hack to make listof algorithm work
16998
16999 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17000
17001         * LyXAction.C: removed all !NEW_INSETS cruft
17002         (init): moved lfun_item in method
17003
17004         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17005
17006 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17007
17008         * BufferView2.C (theLockingInset): white space.
17009
17010 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17011
17012         * minibuffer.C: include <iostream>
17013
17014         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17015
17016         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17017
17018         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17019
17020         * text.[Ch] (TransposeChars): new method
17021
17022 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17023
17024         * call message directly through LyXView instead of through LyXFunc
17025         * BufferView2.C: adjust
17026         * BufferView_pimpl.C: adjust
17027         * FontLoader.C: adjust
17028         * buffer.C: adjust
17029         * bufferview_funcs.C: adjust
17030         * converter.C: adjust
17031         * figureForm.C: adjust
17032         * importer.C: adjust
17033         * lyx_cb.C: adjust
17034         * lyx_gui_misc.C: adjust
17035         * lyxfunc.C: adjust
17036         * lyxvc.C: adjust
17037         * text2.C: adjust
17038         + more files in subdirs
17039
17040         * lyxparagraph.h (size): move up int file
17041         (GetLayout): ditto
17042
17043         * adjust all uses of Assert to lyx::Assert.
17044
17045         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17046         lyxfunctional in namespace lyx
17047         * layout.C (hasLayout): ditto
17048         (GetLayout): ditto
17049         (GetLayout): ditto
17050         (delete_layout): ditto
17051         (NumberOfClass): ditto
17052         * converter.C (GetFormat): ditto
17053         (GetNumber): ditto
17054         (Add): ditto
17055         (Delete): ditto
17056         (SetViewer): ditto
17057         * bufferlist.C (getFileNames): ditto
17058         (emergencyWriteAll): ditto
17059         (exists): ditto
17060         (getBuffer): ditto
17061         * MenuBackend.C (hasSubmenu): ditto
17062         (hasMenu): ditto
17063         (getMenu): ditto
17064         * BufferView_pimpl.C (getInsetByCode): ditto
17065
17066 2001-04-18  Juergen Vigna  <jug@sad.it>
17067
17068         * vspace.C (asLatexString): fixed the 100% problem.
17069
17070 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17071
17072         * lyxfunc.C (Dispatch):
17073         * minibuffer.C:
17074         * minibuffer.h: add a few std:: qualifiers
17075
17076 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17077
17078         * minibuffer.[Ch]: reimplement so that commands is initiated and
17079         run from lyxfunc, simplified som handling, and made the completion
17080         and history code for complete. wip.
17081
17082         * lyxfunc.C (processKeySym): call message
17083         (miniDispatch): new temporary method
17084         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17085         (LFUN_MESSAGE): implement
17086         (LFUN_MESSAGE_PUSH): implement
17087         (LFUN_MESSAGE_POP): implement
17088         (initMiniBuffer): the initial/defualt minibuffer message.
17089
17090         * lyxfont.[Ch]: inline some more getters
17091
17092         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17093
17094         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17095
17096         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17097         (AutoSave): use LFUN_MESSAGE
17098         (Reconfigure): ditto
17099
17100         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17101
17102         * figureForm.C: use LFUN_MESSAGE
17103
17104         * converter.C (runLaTeX): use LFUN_MESSAGE
17105
17106         * bufferview_funcs.C: use LFUN_MESSAGE
17107         (Melt): ditto
17108         (changeDepth): ditto
17109
17110         * bufferparams.h: use boost::
17111
17112         * bufferlist.h: inherit privately from noncopyable
17113
17114         * bufferlist.C (loadLyXFile): remove some commented code.
17115
17116         * buffer.C (runChktex): use LFUN_MESSAGE
17117
17118         * ShareContainer.h: inherit privately from noncopyable
17119
17120         * ParagraphParameters.[hC] (depth): inline it.
17121
17122         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17123         methods.
17124         (message): new method
17125         (messagePush): ditto
17126         (messagePop): ditto
17127         (show): init minibuffer
17128         (showState): direct call
17129
17130         * LaTeX.[Ch]: inherit privately from noncopyable
17131         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17132         instead of WriteStatus.
17133
17134         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17135
17136         * BufferView_pimpl.C (buffer): don't init minibuffer
17137         (workAreaButtonPress): use LFUN_MESSAGE
17138         (workAreaButtonRelease): ditto
17139         (savePosition): ditto
17140         (restorePosition): ditto
17141         (MenuInsertLyXFile): ditto
17142         (workAreaExpose): don't init minibuffer
17143         (update): remove commented code, simplify
17144
17145         * BufferView2.C (openStuff): use LFUN_MESSAGE
17146         (toggleFloat): ditto
17147         (menuUndo): ditto
17148         (menuRedo): ditto
17149         (copyEnvironment): ditto
17150         (pasteEnvironment): ditto
17151         (copy): ditto
17152         (cut): ditto
17153         (paste): ditto
17154         (gotoInset): ditto
17155         (updateInset): remove some commented code
17156
17157         * lastfiles.h: inherit privately from noncopyable
17158         * layout.h: ditto
17159         * lyx_gui.h: ditto
17160         * lyx_main.h: ditto
17161         * lyxlex.h: ditto
17162         * lyxlex_pimpl.h: ditto
17163
17164         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17165         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17166         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17167
17168         * LyXAction.h: inherit privately from noncopyable, add methods
17169         func_begin, func_end, returning iterators to the func map.
17170
17171         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17172         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17173         (func_begin): new method
17174         (func_end): new method
17175
17176         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17177         and not)
17178         (copySelection): ditto
17179         (pasteSelection): ditto
17180
17181         * BufferView.C: whitespace change
17182         * BufferView.h: inherit privately from noncopyable
17183
17184 2001-04-16  Allan Rae  <rae@lyx.org>
17185
17186         * tabular-old.C (l_getline):
17187         * spellchecker.C (sc_check_word):
17188         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17189         an unrecognised preprocessor directive.  So ensure they're wrapped.
17190
17191 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17192
17193         * src/exporter.C (Export): Give an error message when path to file
17194         contains spaces.
17195
17196 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17197
17198         * LaTeX.C (deplog): Always check that foundfile exists.
17199
17200 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17201
17202         * lyx_main.h:
17203         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17204
17205 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17206
17207         * tabular.[Ch] (getLabelList): implement new method
17208
17209         * minibuffer.h: comment ouf setTiimer
17210
17211         * minibuffer.C (ExecutingCB): constify res
17212         (peek_event): constify s
17213         (Set): constify ntext
17214         (Init): constify nicename
17215
17216         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17217
17218         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17219         (savePosition): use two params to Minibuffer::Set
17220         (restorePosition): ditto
17221
17222 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17223
17224         * lyx_main.C: include language.h
17225
17226         * Makefile.am (lyx_main.o): add language.h
17227
17228 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17229
17230         * exporter.C:
17231         * paragraph.C:
17232         * screen.C:
17233         * tabular.C:
17234         * CutAndPaste.C: include gettext.h
17235
17236         * lyxfont.h: remove old hack with ON and OFF.
17237
17238         * lyxparagraph.h:
17239         * lyxfont.h: do not include language.h...
17240
17241         * BufferView2.C:
17242         * LaTeXFeatures.C:
17243         * Painter.C:
17244         * bufferview_funcs.C:
17245         * font.C:
17246         * lyxfont.C:
17247         * text.C:
17248         * text2.C:
17249         * trans_mgr.C:
17250         * paragraph.C: ... but do it here instead
17251
17252 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17253
17254         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17255
17256         * tabular.C: small reformat
17257
17258         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17259         NEW_INSETS version
17260         (GetChar): ditto
17261         (BreakParagraph): ditto
17262         (SetOnlyLayout): ditto
17263         (SetLayout): ditto
17264
17265         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17266         with one arg less.
17267
17268         * lastfiles.C: removed most using decl, add std:: where needed
17269
17270         * buffer.C: ws changes
17271
17272         * MenuBackend.C (class compare_format): put into anon namespace
17273         (expand): constify label, names, action, action2
17274         (expand):
17275
17276         * text.C (SingleWidth): constify font
17277         (IsBoundary): constify rtl2
17278         (GetVisibleRow): constify ww
17279
17280         * LaTeX.C (deplog): constify logfile
17281
17282         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17283         start_x, end_x
17284         (workAreaExpose): constify widthChange, heightChange
17285
17286         * lyxrow.C (par): moved
17287         (height): moved
17288         (next): moved
17289         * lyxrow.h: as inlines here
17290
17291         * lyxfont.h (shape): moved from lyxfont.C
17292         (emph): moved from lyxfont.C
17293
17294         * lyxfont.C (LyXFont): use initialization list for all
17295         constructors
17296         (shape): move to lyxfont.h as inline
17297         (emph): move to lyxfont.h as inline
17298
17299
17300 2001-04-04  Juergen Vigna  <jug@sad.it>
17301
17302         * vspace.C: had to include stdio.h for use of sscanf
17303
17304 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17305
17306         * BufferView.h:
17307         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17308         independent of xforms.
17309
17310 2001-04-02  Juergen Vigna  <jug@sad.it>
17311
17312         * spellchecker.C: fixed namespace placing!
17313
17314 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17315
17316         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17317         the LyXParagraph * is 0.
17318
17319 2001-03-29  Juergen Vigna  <jug@sad.it>
17320
17321         * vspace.C: added support for %, c%, p%, l%.
17322         (stringFromUnit): added helper function.
17323         (asLatexString): changed to give right results for the %-values.
17324
17325         * buffer.C: convert the widthp in a width%.
17326
17327 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17328
17329         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17330         figureForm.[Ch].
17331
17332         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17333         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17334
17335         * lyx_cb.[Ch]: see above.
17336
17337         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17338         form1.[Ch].
17339
17340         * form1.[Ch]:
17341         * lyx.[Ch]: replaced by figure_form.[Ch].
17342
17343         * lyx_gui.C:
17344         * lyx_gui_misc.C:
17345         * lyxfunc.C: changed headers associated with above changes.
17346
17347 2001-03-27  Juergen Vigna  <jug@sad.it>
17348
17349         * BufferView_pimpl.C: set the temporary cursor right!
17350
17351 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17352
17353         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17354
17355 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17356
17357         * LString.h: removed "using std::getline"!
17358
17359         * BufferView_pimpl.C (Dispatch): changes due to changes in
17360         InsetInclude::Params.
17361
17362         * buffer.C (tag_name): removed redundant break statements as they were
17363         producing lots of warnings with my compiler.
17364
17365 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17366
17367         * LString.h: add "using std::getline" when using the real <string>.
17368
17369 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17370
17371         * buffer.C: removed bitset usage.
17372         PAR_TAG moved to an anonymous name space.
17373         (tag_name): new funtion, also in the anonymous namespace.
17374         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17375         (makeDocBookFile): clean code. Completed transition from string arrays
17376         to string vectors.
17377         (SimpleDocBookOnePar): code clean.
17378
17379 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17380
17381         * tabular.C: add some comments.
17382
17383 2001-03-22  Juergen Vigna  <jug@sad.it>
17384
17385         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17386         compatibility read a bit and fixed bug with minipage in different
17387         depth.
17388
17389 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17390
17391         * buffer.C (pop_tag): removed.
17392         (push_tag): removed.
17393         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17394         array replaced with vector. Added support for CDATA sections.
17395         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17396         at any nest level.
17397         (makeDocBookFile): XML conformant declaration of CDATA section,
17398         fixed bug related to <emphasis> in the first paragraph char.
17399         (sgmlOpenTag): exclude empty tags.
17400         (sgmlCloseTag): ditto.
17401
17402         * buffer.h (pop_tag): removed.
17403         (push_tag): removed.
17404
17405 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17406
17407         * language.h (Languages): added size_type and size().
17408
17409 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17410
17411         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17412         response on compability reading of minipages. One probliem is that
17413         the old usage of minipages was flertydig
17414
17415         * several files here and in subdirs: don't use static at file
17416         scope use anon namespaces instead.
17417
17418 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17419
17420         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17421         LaTeX output. This is necessary for Literate document
17422         processing.
17423
17424 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17425
17426         * buffer.C: insert hfill when needed.
17427
17428         * tabular.C (l_getline): use string::erase, small whitespace change.
17429
17430         * BufferView_pimpl.C: try the anon namespace.
17431         * WorkArea.C: ditto
17432
17433 2001-03-16  Juergen Vigna  <jug@sad.it>
17434
17435         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17436         otherwise it won't open options-dialogs.
17437
17438         * buffer.C: honor pextraWidth(p) on converting minipages.
17439
17440         * tabular.C (l_getline): changed the functions to strip trailing \r.
17441
17442 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17443
17444         * BufferView_pimpl.C:
17445         * minibuffer..C: added "using SigC::slot" declaration.
17446
17447 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17448
17449         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17450
17451         * text2.C: ditto
17452
17453         * text.C: ditto
17454
17455         * paragraph.C: ditto
17456
17457         * lyxtext.h: NO_PEXTRA
17458
17459         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17460
17461         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17462         * ParameterStruct.h: ditto
17463         * ParagraphParameters.h: ditto
17464         * lyxparagraph.h: ditto
17465
17466 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17467
17468         * buffer.C: add compability for minipage alignment.
17469         (latexParagraphs): remove unwanted pextra check.
17470
17471         * several files: remove CXX_WORKING_NAMESPACES
17472
17473         * buffer.C (pop_tag): tie is in namespace boost
17474
17475         * BufferView.h: noncopyable is in namespace boost
17476         * lyxlex.h: ditto
17477         * lyx_main.h: ditto
17478         * lyx_gui.h: ditto
17479         * layout.h: ditto
17480         * lastfiles.h: ditto
17481         * bufferlist.h: ditto
17482         * ShareContainer.h: ditto
17483         * LyXView.h: ditto
17484         * LyXAction.h: ditto
17485         * LaTeX.h: ditto
17486
17487 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17488
17489         * Merging changes from BRANCH_MVC back into HEAD.
17490
17491         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17492
17493 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17494
17495         * BufferView_pimpl.C: change from intl.C
17496
17497         * combox.h:
17498         * combox.C:
17499         * Makefile.am: move combox.*
17500
17501         * form1.h:
17502         * form1.C:
17503         * lyx_gui.C:
17504         * intl.h:
17505         * intl.C: remove dialog (covered by prefs)
17506
17507 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17508
17509         * lyxfunc.C (Dispatch): removed redundant break statement.
17510
17511 2001-03-14  Juergen Vigna  <jug@sad.it>
17512
17513         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17514
17515 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17516
17517         * buffer.C: add hack to fix compability reading of minipages.
17518
17519 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17520
17521         * buffer.C (getLists): Cleanup.
17522
17523 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17524
17525         * lyxfont.C (update): don't honor toggleall on font size.
17526
17527 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17528
17529         * bmtable.c:
17530         * bmtable.h:
17531         * Makefile.am: moved to frontends/xforms/
17532
17533         * lyx_gui_misc.C:
17534         * lyxfunc.C:
17535         * BufferView_pimpl.C: changes for moved mathpanel
17536
17537 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17538
17539         * gettext.h: fix gettext_init() in --disable-nls
17540
17541 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17542
17543         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17544
17545 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17546
17547         * lyx.C:
17548         * lyx.h: strip external form
17549
17550 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17551
17552         * BufferView_pimpl.C: add comment, destroySplash()
17553
17554 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17555
17556         * BufferView_pimpl.C:
17557         * LyXAction.C:
17558         * buffer.C:
17559         * commandtags.h:
17560         * lyxfunc.C: use re-worked insetinclude
17561
17562 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17563
17564         * buffer.C: add using std::stringstream.
17565
17566         * lyx_cb.C: readd using std::ios.
17567
17568         * buffer.C: add using std::map.
17569
17570         * BufferView_pimpl.C: add using std::vector.
17571
17572         * ShareContainer.h: add std:: to swap.
17573
17574         * buffer.h: add some typedefs
17575         * buffer.C (getLists): use them
17576         (getLists): renamed from getTocList.
17577         add a counter for the different float types and use it in the
17578         generated string.
17579         (getLists): use the same counter for the NEW_INSETS and the "non"
17580         NEW_INSETS
17581
17582         * lyx_cb.h: remove unused items, includes, using etc.
17583
17584         * ShareContainer.h: remove some commented code, add more comments
17585         and "documentation".
17586
17587 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17588
17589         * buffer.C (getTocList): make the list also when NEW_INSETS is
17590         defined.
17591
17592         * buffer.h: remove TocType
17593
17594         * buffer.C (getTocList): change to return a map<string,
17595         vector<TocItem> >, implement for dynamic number of list.
17596
17597         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17598         * text2.C (PasteSelection): adjust
17599         * CutAndPaste.C (pasteSelection): adjust
17600
17601         * FloatList.C (FloatList): update from the new_insets branch.
17602         * Floating.[Ch]: ditto
17603         * LaTeXFeatures.C: ditto
17604         * buffer.C: ditto
17605         * lyxlex_pimpl.C: ditto
17606
17607         * paragraph.C (Last): remove when NEW_INSETS is defined.
17608
17609         * other file: changes because of the above.
17610
17611 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17612
17613         * lyxparagraph.h: rename next to next_, previous to previous_,
17614         make them private for NEW_INSETS. Rename Next() to next(),
17615         Previous() to previous().
17616
17617         * other files: changes because of the above.
17618
17619 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17620
17621         * BufferView.h:
17622         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17623         problem.
17624
17625 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17626
17627         * main.C (main): pass lyx_localedir to gettext_init().
17628
17629         * gettext.h: remove locale_init and gettext_init macros
17630
17631         * gettext.C (locale_init): new function
17632         (gettext_init): new function
17633
17634         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17635         setlocale().
17636
17637 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17638
17639         * Moved credits to frontends:
17640         * credits.[Ch]: removed
17641         * credits_form.[Ch]: removed
17642         * lyx_gui_misc.C: remove credits stuff
17643         * Makefile.am:
17644
17645 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17646
17647         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17648
17649         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17650         unneeded destructor.
17651
17652         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17653         a standalone pointer again.
17654
17655         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17656
17657 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17658
17659         * Makefile.am:
17660         * filedlg.h:
17661         * filedlg.C:
17662         * LyXAction.C:
17663         * ToolbarDefaults.C:
17664         * bufferlist.C:
17665         * commandtags.h:
17666         * form1.C:
17667         * form1.h:
17668         * lyx_cb.C:
17669         * lyx_cb.h:
17670         * lyxfunc.h:
17671         * lyxfunc.C:
17672         * BufferView_pimpl.C: use new file dialog in GUII
17673
17674         * lyx_cb.h:
17675         * lyx_cb.C: remove LayoutsCB to Toolbar
17676
17677 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17678
17679         * ShareContainer.h (get): add std:: qualifier
17680
17681 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17682
17683         * ShareContainer.h: define a proper ShareContainer::value_type
17684         type (and use typename to please compaq cxx)
17685
17686 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17687
17688         * lyxparagraph.h: move serveral local vars to
17689         ParameterStruct/ParagraphParameters., use ShareContainer in
17690         FontTable., make vars in FontTable private and add getter and
17691         setter.
17692
17693         * paragraph.C: changes because of the above.
17694
17695         * lyxfont.h: remove copy constructor and copy assignment. (the
17696         default ones is ok), move number inside FontBits. move inlines to
17697         lyxfont.C
17698
17699         * lyxfont.C: add number to initializaton of statics, move several
17700         inlines here. constify several local vars. some whitespace
17701         cleanup. Dont hide outerscope variables.
17702
17703         * Spacing.h: add two new constructors to match the set methods.
17704
17705         * ShareContainer.h: new file, will perhaps be moved to support
17706
17707         * ParameterStruct.h: new file
17708
17709         * ParagraphParameters.h: new file
17710
17711         * ParagraphParameters.C: new file
17712
17713         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17714         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17715
17716         * BufferView_pimpl.C: ParagraphParameter changes.
17717         * buffer.C: Likewise.
17718         * bufferview_funcs.C: Likewise.
17719         * text.C: Likewise.
17720         * text2.C: Likewise.
17721
17722 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17723
17724         * lyxfind.C (LyXReplace): do not redefine default argument in
17725         implementation.
17726         (IsStringInText): ditto
17727         (SearchForward): ditto
17728         (SearchBackward): ditto
17729
17730 2001-03-06  Juergen Vigna  <jug@sad.it>
17731
17732         * lyxfind.C (IsStringInText): put parentes around expressions.
17733
17734 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17735
17736         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17737
17738 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17739
17740         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17741
17742         * stl_string_fwd.h: add comment
17743
17744         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17745
17746         * tabular.h:
17747         * tabular.C: remove unused DocBook methods
17748
17749         * intl.C:
17750         * language.C:
17751         * paragraph.C:
17752         * buffer.C:
17753         killed DO_USE_DEFAULT_LANGUAGE
17754
17755 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17756
17757         * lyx_gui.C: do not include language.h.
17758
17759         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17760         arguments in function implementation.
17761
17762 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17763
17764         * BufferView_pimpl.C: add <ctime>
17765
17766 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17767
17768         * BufferView_pimpl.C: add using std::find_if
17769
17770 2001-02-27  José Matos  <jamatos@fep.up.pt>
17771
17772         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17773         by OnlyPath.
17774
17775 2001-02-11  José Matos  <jamatos@fep.up.pt>
17776
17777         * buffer.C (makeDocBookFile): command styles now have a parameter as
17778         "title" by default.
17779
17780 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17781
17782         * layout_forms.[Ch]: removed
17783         * lyx_cb.[Ch]: out character
17784         * lyx_gui.C: out character
17785         * lyx_gui_misc.C: out character
17786         * bufferview_funcs.C: : out character,
17787         added toggleall as parameter in ToggleAndShow
17788
17789 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17790
17791         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17792
17793         * text2.C (SetCurrentFont): Disable number property at boundary.
17794
17795 2001-02-26  Juergen Vigna  <jug@sad.it>
17796
17797         * lyxfunc.C (getStatus): added a string argument override function so
17798         that this is correctly called from LyXFunc::Dispatch if it contains a
17799         do_not_use_argument which is used!
17800         (Dispatch): added check for "custom" export and call appropriate func.
17801
17802 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17803
17804         * lyxrc.C: Add language_command_local, language_use_babel and
17805         language_global_options.
17806
17807         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17808
17809         * buffer.C (makeLaTeXFile): Use language_use_babel and
17810         language_global_options.
17811
17812 2001-02-23  Juergen Vigna  <jug@sad.it>
17813
17814         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17815         which works with LyXText and putted it inside BufferView. Here now we
17816         only call for that part the BufferView::Dispatch() function.
17817
17818         * BufferView.C (Dispatch): added.
17819
17820         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17821         functions which needs to use a LyXText over from LyXFunc.
17822         (MenuInsertLyXFile): added
17823         (getInsetByCode): added
17824         (moveCursorUpdate): added
17825         (static TEXT): added
17826
17827 2001-02-22  Juergen Vigna  <jug@sad.it>
17828
17829         * BufferView_pimpl.C (update): call a status update to see if LyXText
17830         needs it.
17831
17832 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17833
17834         * vc-backend.C (revert): implement for CVS
17835         (getLog): implement for CVS
17836
17837 2001-02-20  Juergen Vigna  <jug@sad.it>
17838
17839         * text2.C (ClearSelection): added BufferView param for inset_owner call
17840
17841         * lyxfunc.C (TEXT): added this function and use it instead of
17842         directly owner->view()-text of getLyXText().
17843
17844 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17845
17846         * src/layout_forms.C: out preamble
17847         * src/layout_forms.h: out preamble
17848         * src/lyx_cb.C: out preamble
17849         * src/lyx_cb.h: out preamble
17850         * src/lyx_gui.C: out preamble
17851         * src/lyx_gui_misc.C: out preamble
17852         * src/lyxfunc.C: connect with guii preamble
17853
17854 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17855
17856         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17857
17858 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17859
17860         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17861         whether to run bibtex.
17862
17863 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17864
17865         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17866
17867 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17868
17869         * Makefile.am (lyx_SOURCES): removed bibforms.h
17870
17871         * vspace.h: doxygen
17872
17873         * text.C (GetVisibleRow): make several local vars const
17874
17875         * tabular.C: small cleanup.
17876
17877         * lyxserver.C (callback): use compare instead of strncmp
17878
17879         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17880         inlines to after class or to paragraph.C
17881
17882         * lyxfont.h: remove friend operator!=
17883
17884         * converter.h: move friend bool operator< to non friend and after
17885         class def.
17886
17887         * combox.h: small cleanup
17888
17889         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17890         to inlines after class def.
17891
17892         * buffer.C (pop_tag): use string operations instead of strcmp
17893
17894         * bmtable.c: doxygen, small cleanup
17895
17896         * LaTeX.h: remove friend operator==
17897
17898 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17899
17900         * screen.C:
17901         * lyxrc.[Ch]:
17902         * lyxfunc.C:
17903         * lyxfont.[Ch]:
17904         * lyx_cb.C:
17905         * intl.[Ch]:
17906         * commandtags.h:
17907         * buffer.C:
17908         * WorkArea.[Ch]:
17909         * LyXAction.C:
17910         * BufferView_pimpl.C:
17911         * BufferView.[Ch]: remove cruft
17912
17913 2001-02-14  Juergen Vigna  <jug@sad.it>
17914
17915         * lyxfunc.C: removed #if 0 unused code
17916
17917         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17918
17919         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17920
17921         * text2.C (SetSelection): added a BufferView * parameter
17922
17923 2001-02-13  Juergen Vigna  <jug@sad.it>
17924
17925         * lyxfunc.C (Dispatch): fixed protected blank problem.
17926         * BufferView2.C (protectedBlank): added LyxText * parameter.
17927
17928         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17929         (AppendColumn): same as above for column_info.
17930
17931         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17932         (moveCursorUpdate): use a LyXText param for support of InsetText.
17933
17934         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17935         (tripleClick): ditto
17936
17937         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17938
17939         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17940
17941         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17942
17943         * text2.C (SetSelection): set correct update status if inset_owner
17944         (ToggleFree): ditto
17945
17946 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17947
17948         * tabular.C: remove some commented code.
17949
17950 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17951
17952         * BufferView_pimpl.C: call hideSplash()
17953
17954         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17955
17956         * include_form.h:
17957         * bibforms.h: remove
17958
17959         * lyxfunc.C:
17960         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17961           add LFUN_CHILD_CREATE
17962
17963         * counters.h: fix tiny typo
17964
17965         * lyx_cb.C:
17966         * lyx.h:
17967         * lyx_gui.C:
17968         * lyx.C: move splash to frontends/xforms/
17969
17970         * lyx_gui_misc.C: move Include and Bibform to frontends
17971
17972         * lyxvc.h: clarify comment
17973
17974         * vspace.C: tiny housekeeping
17975
17976 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17977
17978         * text.C (PrepareToPrint): RTL Fix.
17979
17980         * paragraph.C (GetUChar): New method.
17981         (String):  Use GetUChar.
17982
17983         * buffer.C (asciiParagraph): Use GetUChar.
17984
17985 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17986
17987         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17988
17989 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17990
17991         * buffer.h:
17992         * buffer.C: rename to getLogName(), handle
17993           build log / latex log nicely
17994
17995 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17996
17997         * MenuBackend.C:
17998         * MenuBackend.h: remove support for reference menuitem type.
17999
18000 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18001
18002         * BufferView_pimpl.C: housekeeping
18003         * BufferView_pimpl.h:
18004         * LyXView.h:
18005         * Makefile.am:
18006         * Timeout.C:
18007         * Timeout.h:
18008         * minibuffer.h: move Timeout GUI-I
18009
18010 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18011
18012         * lyxrc.C (read): Update converters data-structures.
18013
18014 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18015
18016         * LaTeX.h (operator!=): add operator != for Aux_Info
18017
18018 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18019
18020         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18021
18022         * LaTeXLog.C: deleted, useful code moved to Buffer
18023
18024         * buffer.h:
18025         * buffer.C: new function getLatexLogName()
18026
18027         * lyx_gui_misc.C:
18028         * lyx_gui.C:
18029         * lyxvc.C:
18030         * lyxvc.h:
18031         * lyxfunc.C: use frontends for LaTeX and VC logs
18032
18033 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18034
18035         * LaTeX.h: yet another std:: that Allan forgot.
18036
18037         * Variables.C (set): renamed from isset(), because this clashes
18038         with some HP-UX macros (grr).
18039
18040 2001-02-06  Allan Rae  <rae@lyx.org>
18041
18042         * LaTeX.h: Another bug fix.  Missing std:: this time.
18043
18044 2001-02-04  Allan Rae  <rae@lyx.org>
18045
18046         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18047         floats problem. I've left it commented out because it's not quite
18048         correct.  It should also test that the current object is a table or
18049         figure inset.  But I haven't gotten around to figuring out how to do
18050         that.  I *think* it'll be something like: "table" == inset.type()
18051
18052         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18053         bool.
18054
18055 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18056
18057         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18058         all the citation/databases/styles in the auxilary file.
18059         (run): Rerun latex if there was a babel language error.
18060
18061 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18062
18063         * text.C (Backspace): Preserve the font when changing newline char
18064         with a space.
18065         (BreakParagraph): If the cursor is before a space, delete the space.
18066
18067         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18068
18069 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18070
18071         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18072         new argument (code).
18073         (ChangeCitationsIfUnique): New method.
18074
18075         * paragraph.C (GetPositionOfInset): Handle bibkey.
18076
18077 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18078
18079         * BufferView_pimpl.h: change type of Position::par_pos to
18080         LyXParagraph::size_type.
18081
18082 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18083
18084         * BufferView_pimpl.C (savePosition, restorePosition): Write
18085         messages to minibuffer.
18086
18087 2001-01-28  José Matos  <jamatos@fep.up.pt>
18088
18089         * buffer.C (makeDocBookFile): adds support for document language.
18090         A silly restriction on the name of LatexCommand types where removed.
18091         Added support for CDATA sections, allows to chars unescaped, used
18092         among others in code, to avoid escape < and >.
18093
18094 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18095
18096         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18097         saved positions instrad of a stack. Furthermore, a position is
18098         stored using paragraph id/paragraph position.
18099
18100         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18101         Remove LFUN_REF_BACK.
18102
18103 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18104
18105         * converter.C (dvipdfm_options): New method.
18106
18107 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18108
18109         * vspace.C (isValidLength): Fix for empty input string.
18110
18111 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18112
18113         * LyXAction.C (init): change description of LFUN_FIGURE to
18114         "Insert Graphics"
18115
18116 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18117
18118         * LaTeX.C: add using directive
18119
18120 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18121
18122         * MenuBackend.C (expand): Fix the sorting of the formats.
18123
18124 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18125
18126         * lyx_main.C: tiny error message fix
18127
18128 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18129
18130         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18131         calling fl_initialize(). This fixes the problem with ',' as
18132         decimal separator in text files.
18133
18134 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18135
18136         * trans.C (process): Fix the keymap bug.
18137
18138 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18139
18140         * LaTeX.C (scanAuxFiles): New method. Provides support for
18141         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18142         (scanLogFile) Scan for "run BibTeX" messages.
18143
18144         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18145         OT1 font encoding. Also, load the aecompl package if the ae
18146         package is loaded.
18147
18148         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18149
18150 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18151
18152         * texrow.C (increasePos): turn two error messages into debug
18153         messages.
18154
18155 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18156
18157         * LaTeX.C (scanAux): Handle the \@input macro.
18158         (runBibTeX): Use scanAux().
18159
18160         * language.C (latex_options_): New field.
18161
18162         * LaTeXFeatures.C (getMacros): Add language macros.
18163
18164         * buffer.C (makeLaTeXFile): Small fix.
18165
18166 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18167
18168         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18169
18170         * text2.C: add a using directive.
18171
18172 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18173
18174         * BufferView2.C:
18175         * lyx_gui_misc.h:
18176         * lyxfr1.C:
18177         * lyxfunc.C: kill LyXBell.
18178
18179 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18180
18181         * text.C (IsBoundary): Remove the error message
18182
18183         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18184
18185         * lyxrc.C (setDefaults): Correct initialization value for
18186         font_norm_type.
18187
18188 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18189
18190         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18191         gotoError().
18192
18193         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18194         and GotoNextNote().
18195
18196         * src/LyXAction.C: Added reference-next.
18197
18198         * text.C (InsertChar): Use contains instead of strchr.
18199
18200         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18201
18202 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18203
18204         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18205         alignment commands (when needed).
18206
18207         * text.C (InsertChar): Add ':' to number separator chars.