]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
65e6370a5ccfd896120f0a837d2ba191431e5361
[lyx.git] / src / ChangeLog
1 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * buffer_funcs.C (setCounter): put the code to compute enum label
4         here (where it belongs).
5
6         * counters.C (enumLabel): move code to buffer_funcs.C.
7
8 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
9
10         * outputparams.[Ch]: store local_font instead of local_language
11         * paragraph.C (simpleTeXOnePar): adapt to the change above
12
13 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
14
15         * buffer_funcs.C:
16         * counters.[Ch]: clean up special code for Hebrew.
17
18 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
21         than 2.
22
23 2005-09-08  Angus Leeming  <leeming@lyx.org>
24
25         * ispell.C:
26         * lyxrc.C: correct grammar describing invocation of the
27         spellchecker.
28
29 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * text.C (read): remove unused variable.
32         (readParToken): remove static Change variable (never good in
33         recursive settings...); add it as a parameter instead.
34
35         * paragraph_pimpl.C (acceptChange): make debug info conditional.
36
37         * metricsinfo.C (PainterInfo): add new member erased_.
38
39         * rowpainter.C (RowPainter): add erased_ member, initialized from
40         PainterInfo. 
41         (paintInset): pass erased_ to Inset::draw.
42
43         * lyxfunc.C (lookupChange): new function. Tells whether change 
44         tracking is disabled at a given postion.
45         (getStatus): disable some actions when in deleted text with change
46         tracking. 
47
48 2005-08-03  John Levon  <levon@movementarian.org>
49         
50         * tabular.C (appendColumn, setMultiColumn): adapt to change to
51         InsetText::clear().
52
53         * paragraph_pimpl.C (markErased): add bool argument and handle it.
54         Also make sure to mark insets recursively.
55         (rejectChange, erase): be recursive
56
57         * paragraph.C (markErased): add bool argument.
58 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
59
60         * lyxfind.C (findNextChange): tiny cleanup.
61
62         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
63         change tracking with the cursor in an inset; make sure the first
64         change is not skipped.
65
66 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
67
68         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
69         tabularStackDirty to work around bug 1919 (tabular needs
70         to know whether its own cell paste buffer or the one of 
71         texted is newer.
72         * CutAndPaste.C: mark tabular_stack_ clean after copy.
73
74 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
75
76         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
77
78 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
79
80         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
81         use old deleteion algorithm when changetracking is on.
82
83 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
84
85         * messages.C (get): add debug output.
86
87 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
88
89         * text.C (cursorX): fix bug 1965: cursor movement at
90         line end broken in RtL.
91         (drawSelection): fix bug 1970: drawing of single-line 
92         selection broken for RtL.
93
94 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         bug 465.
97
98         * dociterator.h (clear, push_back, pop_back): change from
99         protected to public.
100
101         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
102         and changed to just return the value of the item depth; take a
103         ParIterator as argument; take the itemdepth at outer nesting level
104         in account if necessary; cleanup and comment the code.
105         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
106         and changed to just return true if reset is needed; take a
107         ParIterator as argument; cleanup and comment the code.
108         (setCounter): adapt to above changes.
109
110 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * text3.C (dispatch): make debug message optional
113
114 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
115
116         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
117         inset. (bug 1963)
118
119 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
120
121         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
122
123 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
124
125         * text.C (insertChar):
126         * text2.C (deleteEmptyParagraphMechanism): take care whether 
127         a blank has been deleted (in change tracking mode) (bug 1254).
128
129 2005-07-20  John Levon  <levon@movementarian.org>
130
131         * text2.C (insertStringAsLines): remove old dubious code,
132         fixing bug 1939.
133
134 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * MenuBackend.C (expandToc): use Floating::listName() as title of
137         the floats submenus.
138
139 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
140
141         * toc.[Ch]: Do not use translatable strings (bug 1870).
142
143 2005-07-20  John Levon  <levon@movementarian.org>
144
145         * tabular.C: fix 1748 - setting multicolumn adds
146           left line to the first cell
147
148 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
149
150         bug 1920
151         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
152         pars in one go.
153
154 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
155
156         * messages.C: supress some lyxerr messages
157
158 2005-07-18  Juergen Vigna  <jug@lyx.org>
159
160         * text.C (drawSelection): honor boundary when asking for cursorX.
161
162 2005-07-17  José Matos  <jamatos@fc.up.pt>
163
164         * tabular.C (recalculateMulticolumns): fix handling of one column
165         tables.
166
167 2005-07-17  Juergen Vigna  <jug@lyx.org>
168
169         * text.C (Delete, backspace): fixed so that paragraph with the
170         same layout can be merged by Delete/Backspace.
171
172 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
173
174         * text.C (readParToken): fix spelling.
175
176 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
177
178         * text2.C: fix counter update for DEPM problem reported by
179         Georg Baum
180
181 2005-07-17  Juergen Vigna  <jug@lyx.org>
182
183         * BufferView_pimpl.C (setBuffer): save/restore the
184         cursor/selection when switching buffers
185
186         * buffer.h: 
187         * buffer.C (saveCursor): add saveDocumentIterators to save the
188         cursor when switching buffer.
189
190 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
191
192         * debug.C: fix typo
193         * buffer.C: clarify message
194         
195 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
196
197         * dociterator.C (DocIterator): fix initialization order
198
199 2005-07-17  Juergen Vigna  <jug@lyx.org>
200
201         * text2.C (cursorHome): 
202         * text.C (drawSelection, cursorX): 
203         * dociterator.C (textRow): add boundary to getRow() call
204
205         * paragraph.C (getRow): implementation of below
206
207         * paragraph.h: add parameter boundary for getRow() function
208
209 2005-07-17  José Matos  <jamatos@fc.up.pt>
210
211         * buffer.C:
212         * bufferparams.[Ch]:
213         * tex-strings.[Ch]: new file format, remove support for a4.sty,
214         a4wide.sty and a4widemargins.
215
216 2005-07-17  Juergen Vigna  <jug@lyx.org>
217
218         * text2.C (cursorLeft): fix one of error
219
220 2005-07-17  Juergen Vigna  <jug@lyx.org>
221
222         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
223                    cursorEnd):
224         more fixes for boundary handling
225
226         * text3.C (dispatch): don't reset cursor if boundary has changed
227         on cursor movement.
228
229 2005-07-16  Juergen Vigna  <jug@lyx.org>
230
231         * text2.C (getColumnNearX): hopefully got it right now,
232         check if we are on column 0 for special case.
233
234 2005-07-16  Juergen Vigna  <jug@lyx.org>
235
236         * text2.C (getColumnNearX): handle special case Newline Inset
237
238         * text.C (singleWidth): Just remove bogus check
239
240 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
241
242         * funcrequest.C (split): avoid reading uninitialized char c
243
244 2005-07-16  José Matos  <jamatos@fc.up.pt>
245
246         * buffer.C:
247         * converter.C:
248         * lyxrc.C:
249         * paper.h:
250         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
251         single papersize variable.
252
253 2005-07-16  Juergen Vigna  <jug@lyx.org>
254
255         * text3.C (dispatch): honor boundary when checking if a cursor
256         movement has been done
257
258         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
259         (setCursor, setCursorIntern): fix cursor movement with boundary
260
261 2005-07-16  Juergen Vigna  <jug@lyx.org>
262
263         * text.C (currentState): output the actual Boundary
264
265 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         * factory.C (createInset): fix bad logic for tabular creation
268
269 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
270
271         * lyx_main.C (init): change some reLyX reference to tex2lyx
272
273 2005-07-16  Juergen Vigna  <jug@lyx.org>
274
275         * dociterator.C (DocIterator): initialize boundary
276
277 2005-07-16  Juergen Vigna  <jug@lyx.org>
278
279         * text2.C (getColumnNearX): Consider rows without trailing blank.  
280
281 2005-07-16  André Pönitz  <poenitz@gmx.net>
282
283         * lyxfont.h: Change order of declarations to give the compiler
284         a better chance to inline things
285
286         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
287         questions on unsaved docs for better scritability
288
289 2005-07-16  André Pönitz  <poenitz@gmx.net>
290
291         * paragraph.h (getChar): remove asserts as the same kind of security
292         can be achieved by using a suitable standard library implementation
293         and the function was in the critical path (25.9% in profiler)
294
295 2005-07-16  Juergen Vigna  <jug@lyx.org>
296
297         * cursor.C (bruteFind2):
298         * bufferview_funcs.C (coordOffset): 
299         * text.C (cursorX,cursorY): Handle cursor position after last char
300         in row before a inset which uses a whole row.
301
302 2005-07-15  José Matos <jamatos@lyx.org>
303
304         * output_plaintext.[Ch] (writeFileAscii): control reference title
305         printing.
306         (asciiParagraph): noparbreak was already deal and was incorrectly
307         used.
308
309 2005-07-15  Juergen Vigna <jug@lyx.org>
310
311         * lyxfunc.C (dispatch): save and restore the cursor after a
312         textclass switch.
313
314 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
315
316         * text.C (backspace): bug 806 for empty keepempty paragraphs we
317         change the layout to default before letting DEPM do its thing.
318
319         * paragraph_funcs.C (breakParagraph): dont reset the layout on
320         keepEmpty paragraphs
321
322         * text.C (setCursorFromCoordinates): add a debug statement
323
324         * text2.C (getColumnNearX): bug 1825 make sure that we don't
325         return a pos that is not on the row
326
327         * output_latex.C (TeXDeeper): get rid of potential dereferencing
328         of past the end iterator
329
330 2005-07-14  André Pönitz  <poenitz@gmx.net>
331
332         * undo.C (recordUndoFullBuffer): implement undo for
333         textclass switches
334
335 2005-07-14  André Pönitz  <poenitz@gmx.net>
336
337         * cursor.C (setSelection): open insets when selection is set there
338         to avoid crashs with cold coord cache
339
340 2005-07-14  André Pönitz  <poenitz@gmx.net>
341
342         * trans_mgr.C (insert): move cursor to the right after inserting
343         a char.
344
345 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
346
347         * BufferView_pimpl.C (update): dampen some of the debug blabbering
348         * factory.C (readInset): ditto
349         * text.C, text2.C: ditto
350
351 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * buffer.C: format incremented to 242. There is no file format per
354         se, but the "frenchb" language has been removed from lib/language
355         and has to be translated to "french" by lyx2lyx.
356
357 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
358
359         * cursor_slice.h, dociterator.h: add some documentation
360         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
361
362 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
363
364         * text.C (leftMargin): do not add identation to display() style
365         insets, because they are always centered (bug 1293).
366
367 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
368
369         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
370         formatted_time methods in support/lyxtime.
371
372 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
373
374         * toc.[Ch]: new method getGuiName, which is used by the frontends 
375         to set the toc combo (fixes bug 1870). Make TOC string translatable.
376
377 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
378
379         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
380         StableDocIterator const &)
381         * undo.C (recordUndo): use the above instead of cell.size() comparison
382         (fixes bug 1808; instructed by Andr�.
383
384 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
385
386         * cursor_slice.h: 
387         * dociterator.h: Fix the assert when copying rows/cols in math
388
389 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
390
391         * BufferView_pimpl.C:
392         * LyXAction.C:
393         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
394
395         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
396         (findInset): new functions, refactored from goto Inset that return 
397         the position of a certain inset without setting the buffer's cursor
398         (by Jean-Marc); 
399         (gotoInset): rewrite to call findInset and then set the cursor
400         (by Jean-Marc).
401
402 2005-06-16  Angus Leeming  <leeming@lyx.org>
403
404         * lyxrc.C (output, read): wrap all input and output of paths with
405         calls to os::internal_path and os::external_path, respectively.
406         (output): wrap bind_file inside quotes.
407
408         * format.C (view): enable the viewer to use the '$$s' placeholder.
409
410 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
411
412         * LColor.[Ch] (getFromLaTeXName): new
413
414 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
415
416         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
417
418 2005-06-14  Angus Leeming  <leeming@lyx.org>
419
420         * lyx_main.C (init): ensure that the LyX binary dir is the first
421         element in the PATH on non-POSIX builds.
422
423 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
424
425         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
426
427 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         * rowpainter.C (paintInset, paintHebrewComposeChar)
430         (paintArabicComposeChar, paintChars): add a LyXFont argument.
431         (paintChars): use getFontSpan to reduce calls to getFont to a
432         minimum; use Paragraph::lookupChange instead of isXXXText.
433         (paintForeignMark): rename LyXFont argument.
434         (paintFromPos): pass a LyXFont object to the various paintXXX
435         methods.
436
437         * FontIterator.C (FontIterator, operator++): use
438         Paragraph::getFontSpan
439
440         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
441         version that returns the font span as a pair.
442
443 2005-06-09  Angus Leeming  <leeming@lyx.org>
444
445         * converter.C (convert): Don't forget "outfile = real_outfile" as
446         the final step in a conversion where the input and output file names
447         are the same. Otherwise, future conversion steps won't work...
448
449 2005-06-09  Angus Leeming  <leeming@lyx.org>
450
451         * lyxsocket.C: remove stub code as it isn't needed by
452         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
453
454 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
455
456         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
457         effectively disabled -x
458
459 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
460
461         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
462         when it actually makes sense.
463
464 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
465
466         * BufferView_pimpl.C: revert to showCursor in connection with
467         Lars's front-end stack
468
469 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
470
471         * text.C (redoParagraph): move cursor right after a bibitem
472         has been inserted.
473
474         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
475
476 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
477
478         * buffer_funcs.C (bufferErrors): fix computation of the end of an
479         error range.
480
481 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
482
483         * BufferView.[Ch] (update):
484         * BufferView_pimpl.[Ch] (update, metrics):
485         * dimension.h (operator==):
486         * lyxfunc.C (dispatch):
487         * metricsinfo.h (ViewMetricsInfo):
488         * rowpainter.C (paintText):
489         * lyxtext.h:
490         * text.C (redoParagraph):
491         * text3.C (dispatch): Make LyX only repaint current paragraph in
492         case of character insert --> speedup. Also fix cursor draw
493         artifacts
494
495 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
496
497         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
498         avoid a crash (bug 1891)
499
500 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         Fix bug 1892:
503
504         * text2.C (getStringToIndex): constify cur argument.
505
506         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
507         argument has been given
508         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
509         try to invoke LFUN_INSET_APPLY).
510
511         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
512         if no inset was created by doInsertInset
513         (doInsertInset): return true if an inset has been inserted.
514
515 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * vspace.C (asGUIName): new method. A version of the space
518         suitable for showing on screen.
519
520 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
521
522         * MenuBackend.C:
523         * lyxrc.C: rename "ASCII" to "Plain Text"
524
525 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * buffer_funcs.C (expandLabel): take a Buffer as argument;
528         translate the labelstring.
529         (setCounter): translate labelstring as needed.
530
531         * output_docbook.C (makeCommand): fix expandLabel invokation
532
533 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
534
535         * BufferView.C: fix dialog title
536
537 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
538
539         * lyx_main.C (priv_exec): fix logic error with help from Angus
540         * lyx_main.C (parse_execute): set is_gui = false and remove now
541         obsolete comment about a segfault
542
543 2005-05-18  Angus Leeming  <leeming@lyx.org>
544
545         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
546
547 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
548
549         * tabular.[hC]: added setCellInset to fix tabular paste.
550
551 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
552
553         * buffer.C (save): check if destination is writable before trying
554         to copy a file
555
556 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
557
558         * BufferView_pimpl.C (update): fix processEvents -caused update
559         recursion bug
560
561 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
562
563         * buffer_funcs.C (setCounter): fix test for numbering of
564         environments.
565
566         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
567         depth correctly; use optional argument when it exists
568
569         * lyxtextclass.C: remove unused MaxCounterTags enum
570         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
571         (max_toclevel, min_toclevel): new methods.
572
573         * MenuBackend.C (expandToc2): fix case where depth is smaller than
574         the smallest depth in toc.
575
576         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
577         layouts that should not appear in a table of contents.
578
579 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
580
581         * cursor.h (undispatched, noUpdate): add comments from Andr�
582 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
583
584         * lfuns.h:
585         * LyXAction.C:
586         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
587
588 2005-05-07  André Pönitz  <poenitz@gmx.net>
589
590         * cursor.[Ch] (leaveInset): new function
591
592 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
593
594         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
595
596 2005-05-04  Angus Leeming  <leeming@lyx.org>
597
598         * lyxfunc.C (getStatus): disable the spell checker dialog if
599         none of USE_[AIP]SPELL are defined.
600
601 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
602
603         * tabular.C (setWidthOfCell): remove obsolete comment
604
605 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
606
607         * paragraph.C (bibitem):
608         * buffer_funcs.C (setCounter):
609         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
610
611 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
612
613         * text3.C (getStatus): immediately return after setOnOff
614
615         * rowpainter.C: fix drawing of appendix start
616
617 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
618
619         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
620         SwitchBetweenClasses and remove the unused return value.
621         Handle character styles, too
622
623 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
624
625         * factory.C (createInset): handle undefined character styles
626
627 2005-05-02  Angus Leeming  <leeming@lyx.org>
628
629         * buffer.C: protect the #include of utime.h with a preprocessor
630         guard.
631
632 2005-05-02  Angus Leeming  <leeming@lyx.org>
633
634         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
635         function so that auto-saving works, albeit in a blocking manner.
636
637         * Makefile.am: make compilation of the client sub directory, of
638         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
639         on conditionals set at configure time.
640
641         * SpellBase.[Ch]: no longer an abstract base class. Instead,
642         it can be compiled in its own right but has no-op functionality.
643
644         * aspell.C, pspell.C: remove preprocessor guards. The files should
645         be compiled only if the necessary functionality exists.
646
647         * lyxserver.C, lyxsocket.C: disable on Windows.
648
649 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
650
651         * text.C (leftMargin): Fix the parindent use bug (1764)
652         by dirty trick
653
654 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
655
656         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
657         argument.
658
659 2005-04-25  Angus Leeming  <leeming@lyx.org>
660
661         * Bidi.[Ch]:
662         * coordcache.[Ch]:
663         * ispell.C:
664         * lyxserver.C:
665         * mover.C:
666         * pch.h:
667         include <config.h> in .C files, not .h ones.
668         add licence blurb.
669         protect headers inside preprocessor guards.
670
671 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
672
673         * FuncStatus.h (StatusCodes): document
674
675 2005-04-21  André Pönitz  <poenitz@gmx.net>
676
677         * FuncStatus.h (enabled, onoff): document
678
679 2005-04-19  Angus Leeming  <leeming@lyx.org>
680
681         * BufferView_pimpl.C (cursorToggle): no longer test whether
682         any child processes have been reaped before calling
683         handleCompletedProcesses().
684
685 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
686
687         * text3.C (dispatch): fix, finally fix, the language problem in
688         new lyxtexts, without disabling on-the-fly font changes (Helge's
689         bug report)
690
691 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
692
693         * text3.C (dispatch): set cursor on double/triple click events
694         (bug 1811)
695
696 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
699         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
700
701         * rowpainter.C (paintFirst): simplify the code a little bit. In
702         particular, remove the test for secnumdepth.
703         * text.C (setHeightOfRow): only allocate space for chapter number
704         when updateCounters provided an actual label, instead of looking
705         at secnumdepth directly.
706
707         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
708
709         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
710         paragraphs when secnumdepth is large enough or, for environments,
711         when they are not the first in a sequence.
712
713 2005-04-17  Angus Leeming  <leeming@lyx.org>
714
715         * buffer.C (makeLaTeXFile): replace code to manipulate a path
716         containing space and '~' characters with a call to latex_path().
717
718 2005-04-17  Angus Leeming  <leeming@lyx.org>
719
720         * converter.C (convert): protect all args of convertDefault.sh
721         script with quotes.
722
723 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * text3.C (dispatch): change the layout to "Caption" after inserting
726         a float.
727
728 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
729
730         * text3.C (dispatch): fix language problem in newly created
731         textinsets (and main text) in non-english docs
732
733 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
734
735         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
736         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
737         * text3.C (getStatus): disable LFUN_INSET_MODIFY
738
739 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * lyxtext.h:
742         * text.C (metrics):
743         * text2.C (getFont):
744         * rowpainter.C (getFont): Fix metrics bug introduced by inset
745         fonts fix
746
747 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
748
749         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
750         output of \item arguments without trailing text.
751
752 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
753
754         * FontIterator.C (operator*): avoid a copy of the font.
755
756 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
757
758         * rowpainter.C (getFont): fix language bug from previous fix
759
760 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
761
762         * rowpainter.C (RowPainter, getFont): fix font inside inset
763         (bugs 1766, 1809)
764
765 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
766
767         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
768         preventing inserted font, deco, delim insets jumping to start of
769         surrounding inset.
770
771 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * lyxfunc.C (dispatch): translate message before sending it to the
774         minibuffer.
775
776 2005-03-29  Angus Leeming  <leeming@lyx.org>
777
778         * lyx_main.C (priv_exec): call os::internal_path on each file passed
779         to LyX on the command line.
780
781 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
782
783         * vc-backend.C: use QuoteName to protect file names wherever
784         necessary.
785
786 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
787
788         * buffer.[Ch]:
789         * BranchList.h: fix bugs 1844,1845: document settings don't
790         stick
791
792 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
793
794         * lyxrc.C (setDefaults, read, output, getDescription): add support
795         for tex_allows_spaces.
796
797         * exporter.C (Export): allows files in directory containing spaces
798         if tex_allows_spaces is true.
799
800         * buffer.C (makeLaTeXFile): if the document path contains spaces,
801         output it in double quotes.
802
803 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
804
805         * rowpainter.C: use default text height for drawing change tracker
806         strikeout lines.
807
808 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
809
810         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
811
812 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
815         directory is missing.
816
817 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
818
819         * text2.C: fixed the fix, extended to other case.
820
821 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
822
823         * text2.C: fix for cursor up/down stuck in math [bug 1792]
824
825 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
826
827         * text2.C (cursorUp): get rid of a crash
828         * text.C (x2pos): add an assert
829
830 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * lyxfunc.C (getStatus): fix warning when assertions are disabled
833
834         * text3.C:
835         * lyxfunc.C:
836         * dociterator.C: include <boost/current_function.hpp>, which is
837         needed when assertions are disabled.
838
839 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
840
841         * text2.C: fix for stuck cursor when traversing two
842         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
843
844 2005-02-25  Andreas Vox  <avox@arcor.de>
845
846         * output_docbook.C (makeParagraph): suppress trailing newline
847         after a run of paragraphs
848
849 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
850
851         * paragraph.C: fix for confused change tracker when pasting
852         text that begins with a lineseparator. [bug 1827]
853         (setChange(0, Change::INSERTED);)
854
855         * paragraph_funcs.C: fix for lost changes on triple-paste
856         in change tracking mode [bug 1827] (par.setChange()).
857
858 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * text2.C (updateCounters, setCounter, expandLabel): move to
861         buffer_funcs.
862
863         * buffer_funcs.C (updateCounters): turn into a free standing
864         function and add a buffer parameter. Remove dead code for tracking
865         labelstring change.
866         (setCounter): change into a free-standing function which gets a
867         dociterator as argument. Use this iterator to fix captions in a
868         simple way. When no float is found above the caption, use the
869         labelstring of the caption layout as default.
870
871         * text.C (breakParagraph, backspace):
872         * text2.C (init, setLayout, changeDepth):
873         * text3.C (dispatch):
874         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
875         updateCounters.
876
877         * dociterator.C (forwardPar): make it much faster by calling
878         forwardPos() only when really necessary.
879
880         * output_docbook.C (makeCommand): adapt to expandLabel move.
881
882         * cursor.C: remove unused variable
883
884 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
885
886         * paragraph_funcs.C: fix crash when pasting insets in change
887         tracking mode [bug 1277] (honour change type in moveItem).
888
889 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
890
891         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
892
893 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         * BufferView.C (setCursor): change to use a DocIterator.
896         (gotoLabel): use BufferView::setCursor (other part of bug 781).
897         (putSelectionAt): adapt to BufferView::setCursor change.
898
899         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
900         moved here from LyXText and rewritten to use proper cursor
901         methods. Fixes bug 1787, 616 and 835.
902
903         * BufferView_pimpl.C (restorePosition): set the cursor correctly
904         when inside an inset (part of bug 781).
905         (dispatch): adapt to change of BufferView::setCursor.
906         (getStatus, dispatch): handle LFUN_GOTOERROR,
907         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
908
909         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
910         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
911         * text3.C (gotoNextInset, gotoInset): removed.
912
913 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
916
917 2005-02-15  Angus Leeming  <leeming@lyx.org>
918
919         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
920         can be used meaningfully in a comparison.
921
922 2005-02-13  André Pönitz  <poenitz@gmx.net>
923
924         * bufferview_funcs.C (coordOffset): improve cursor drawing
925
926 2005-02-13  André Pönitz  <poenitz@gmx.net>
927
928         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
929         * Cursor.C (dispatch): use fixIfBroken
930         * lyxfunc.C (getStatus): use fixIfBroken
931
932 2005-02-15  Angus Leeming  <leeming@lyx.org>
933
934         * lyx_main.C (error_handler):
935         * lyxfunc.C:
936         * lyxrc.C (setDefaults):
937         s/GetEnv/getEnv/.
938         #include "environment.h".
939
940         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
941
942 2005-02-15  Angus Leeming  <leeming@lyx.org>
943
944         * lyxserver.C (startPipe): squash MSVC warning "local variable
945         'fd' used without having been initialized".
946
947 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
948
949         * BufferView_pimpl.C: revert accidental commit.
950
951 2005-02-14  André Pönitz  <poenitz@gmx.net>
952
953         * dociterator.[Ch]: new member forwardPosNoDescent(),
954         which doesn't enter nested insets.
955         * text2.C (setFont): use forwardPosNoDescent() instead
956         of ForwardPos() (fixes crash on font change).
957
958 2005-02-13  Angus Leeming  <leeming@lyx.org>
959
960         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
961         only if lyxrc.path_prefix is not empty.
962
963 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
964
965         * bufferparams.C (readGraphicsDriver): prevent crash
966
967 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
968
969         * text2.C (setCounter): check for inInset() == 0
970
971 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
974         but use update() to get correct screen display; use convert
975         instead of istringstream.
976         (getStatus): handle LFUN_GOTO_PARAGRAPH
977
978         * lyxfunc.C (dispatch, getStatus): do not handle
979         LFUN_GOTO_PARAGRAPH here.
980
981 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
982
983         * text3.C (dispatch): size() -> depth()
984
985         * text2.C: remove some debug output
986
987         * paragraph.C: ws changes only
988
989         * lyxfunc.C (getStatus): size() -> depth()
990
991         * dociterator.h (clear, push_back, pop_back, internalData,
992         operator[], resize, empty): new functions
993         Make StableDocIterator and operator== be friends. Don't inherit
994         from std::vector use a privat class variable slices_ instead.
995         Modify to fit.
996
997         * dociterator.C: update because of not inheriting from std::vector
998         anymore. Call explictly to slices_ instead. Use depth() instead of
999         size() and top() instead of back()
1000
1001         * cursor.C: chagne size() -> depth and back() -> top(). Also
1002         remove some direct operator[](i) calls in favour of foo[i]
1003         (getFont): remove some dead code
1004
1005         * bufferview_funcs.C (coordOffset): size() -> depth()
1006
1007         * buffer.C: ws changes only
1008
1009         * CutAndPaste.C (eraseSelection): back() -> top()
1010
1011         * BufferView_pimpl.C (selectionRequested): back() -> top()
1012
1013         * BufferView.C (setCursor): size() -> depth()
1014
1015 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1016
1017         * text3.C (cursorPrevious): return true if depm changed something
1018         (cursorNext): ditto
1019         (dispatch): rename sl to oldTopSlice, remove moving use the new
1020         NoUpdate func attrib instead. Make sure that needsUpdate is set
1021         for function that have NoUpdate, but where depm might have changed
1022         the buffer anyway.
1023
1024         * text2.C (cursorLeft): make us return true if depm changed
1025         something
1026         (cursorRight): ditto
1027         (cursorUpParagraph): ditto
1028         (curosrDownParagraph): ditto
1029         (cursorUp, cursorDown): ditto, make sure to read comments in code
1030         (deleteEmptyParagraphMechanism): remove an assert, also return
1031         true if just a single char was deleted.
1032
1033         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1034         cursor that we modify, to avoid modifying an active cursor before
1035         we call setCursor. This allows depm to run. Also return true if
1036         depm deleted something.
1037
1038         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1039         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1040         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1041         something was changed in the buffer because of them (ie. depm run)
1042
1043         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1044         debug messages. Make update by default be false. Make sure that
1045         the result of update is retained throught several calls down to
1046         dispatch.
1047
1048         * LyXAction.h: add a new func_attrib: NoUpdate
1049
1050         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1051         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1052         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1053         and LFUN_WORDLEFT
1054         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1055
1056 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1057
1058         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1059         bv_->owner(), bv_->buffer() by direct references to the private
1060         members.
1061         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1062         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1063         (fitCursor): center() is in BufferView::Pimpl.
1064         (getStatus, trackChanges, dispatch): no need for a temporary buf
1065         variable
1066         (fitCursor, workAreaDispatch): use workarea().workheight()
1067
1068 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1069
1070         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1071
1072 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1073
1074         * buffer.C: format up to 241.
1075         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1076         break if pasting into ERT
1077         * lyxfunc.C (getStatus): suppress mathpanel and
1078         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1079
1080 2005-02-01  Angus Leeming  <leeming@lyx.org>
1081
1082         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1083
1084 2005-02-01  Angus Leeming  <leeming@lyx.org>
1085
1086         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1087         calling fs::is_directory().
1088
1089 2005-01-31  Angus Leeming  <leeming@lyx.org>
1090
1091         * lyx_main.C (priv_exec): specify explicitly the relative location
1092         of the top level build directory when run in-place.
1093
1094 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1095
1096         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1097         LyXText containing the cursor, not the top-level one.
1098
1099         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1100         true.
1101         (insertStringAsLines): rename par to pit; use temporary variable
1102         par to hold a Paragraph; do not store par.layout() in a variable,
1103         since the pointer may die when breaking paragraphs; pass pars to
1104         breakParagraph() instead of Buffer::paragraphs().
1105
1106 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1107
1108         * lyxlex_pimpl.h: #include <fstream>.
1109
1110         * BufferView.[Ch] (getLyXText): add a const version.
1111
1112         * BufferView_pimpl.C: add debug aids.
1113
1114         * RowList_fwd.h:
1115         * buffer.h:
1116         * lyxrow.h:
1117         * paragraph_funcs.h: add commentary explaining what the class does.
1118
1119
1120         * coordcache.[Ch]: add lots of commentary.
1121         (startUpdating, doneUpdating): debug aids.
1122         (arrays, insets, parPos, getParPos): accessors to private data.
1123
1124         * cursor_slice.[Ch] (text): add a const version.
1125         * dociterator.[Ch] (text, innerText): add const versions.
1126
1127         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1128         bool.
1129
1130         * paragraph.C (getRow, pos2ros): add asserts.
1131
1132         * paragraph.h: add commentary. Lots of.
1133
1134         * paragraph.[Ch] (metrucs, draw): removed.
1135
1136         * cursor.C:
1137         * rowpainter.[Ch]: const-correct changes.
1138
1139         * text.C: various obvious clean-ups. Removal of ancient cruft.
1140         Bug fixes, even.
1141
1142 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1143
1144         * vc-backend.C (find_file): rewrite to use boost.filesystem
1145         (scanMaster): ditto
1146
1147         * main.C (main): set default name check for boost.filesystem to
1148         no check
1149
1150         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1151         (open): ditto
1152         (doImport): ditto
1153         (actOnUpdatedPrefs): ditto
1154
1155         * lyx_main.C (init): rewrite to use boost.filesystem
1156         (queryUserLyXDir): ditto
1157
1158         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1159         (getContentsOfAsciiFile): ditto
1160
1161         * lastfiles.C (readFile): rewrite to use boost.filesystem
1162
1163         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1164
1165         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1166         (loadLyXFile): ditto
1167
1168         * buffer.C (Buffer): adjust for destroydir
1169         (getLogName): rewrite to use boost.filesystem
1170         (setFileName): ditto
1171         (save): use fs::copy_file (from fs_extras)
1172
1173         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1174
1175         * LaTeX.C (run): rewrite to use boost.filesystem
1176         (scanAuxFiles): ditto
1177         (handleFoundFile): ditto
1178
1179 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1180
1181         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1182
1183         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1184
1185 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1186
1187         * lyxlayout.[Ch]: change some vars from float to double
1188
1189         * buffer.C (readFile): make a local var const
1190
1191         * Several files: use convert<> instead of atoi,strToXXX and friends
1192
1193 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1194
1195         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1196         holds the contents of packages.lst. New functions getAvailable
1197         and isAvailable to parse and check that list, resp.
1198
1199         * LyXAction.C:
1200         * lfuns.h:
1201         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1202
1203         * bufferparams.[Ch]: new param output_changes.
1204
1205         * Buffer.C: increase file format to 240.
1206         Use output_changes and isVailable.
1207
1208         * changes.[Ch]:
1209         * paragraph.C:
1210         * paragraph_pimpl.C: Use output_changes and isVailable.
1211
1212 2005-01-23  Angus Leeming  <leeming@lyx.org>
1213
1214         * output_latex.C: #include "insetbibitem.h", rather than
1215         forward declare function bibitemWidest.
1216
1217 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1218
1219         * lyx_main.C (init): make it compile on the Mac.
1220
1221 2005-01-20  Angus Leeming  <leeming@lyx.org>
1222
1223         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1224         (setLyXMisc): (char string literal) != (char string literal) is
1225         performing a comparison on the addresses. Convert one operand
1226         explicitly to string to guarantee expected behaviour.
1227         From MSVC warning.
1228
1229 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1230
1231         * buffer.C:
1232         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1233
1234         * output_plaintext.C: remove unneeded #include gzstream.h.
1235
1236 2005-01-20  Angus Leeming  <leeming@lyx.org>
1237
1238         * SpellBase.h: rename some of the elements of the Result enum.
1239
1240         * aspell_local.h:
1241         * ispell.h:
1242         * pspell.h:
1243         * aspell.C (check):
1244         * ispell.C (check):
1245         * pspell.C (check): ditto
1246
1247 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1248
1249         * buffer.C: add #include <fstream>.
1250
1251         * lyx_main.C (init): Compile fix.
1252
1253         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1254
1255 2005-01-20  Angus Leeming  <leeming@lyx.org>
1256
1257         * mover.h: change commentary to reflect the changed meaning of
1258         the $$s placeholder.
1259
1260 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1261
1262         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1263
1264         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1265
1266 2005-01-20  Angus Leeming  <leeming@lyx.org>
1267
1268         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1269         printing diagnostic data by not dereferecing an iterator past the
1270         end.
1271
1272 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1273
1274         * buffer.C (readHeader): use "&&" rather than "and".
1275
1276         * lyxserver.h (inPipeName, outPipeName): make these const.
1277
1278 2005-01-19  Angus Leeming  <leeming@lyx.org>
1279
1280         * lyx_main.C (error_handler, init): protect SIGHUP with
1281         #ifdef SIGHUP guards.
1282
1283 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1286
1287 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1288
1289         * text.C (setHeightOfRow): add a margin at the top and bottom of
1290         the document (bug 1761)
1291
1292 2005-01-17  Angus Leeming  <leeming@lyx.org>
1293
1294         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1295         with "python ". Workaround for a brain-dead Windows.
1296
1297 2005-01-16  Angus Leeming  <leeming@lyx.org>
1298
1299         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1300         for MacOSX and Windows to use prependEnvPath.
1301         Strip out the hard-coded block to add elements to the PATH for
1302         MacOSX and replace it with a call to prependEnvPath using the
1303         contents of LyXRC::path_prefix.
1304         (queryUserLyXDir): strip out the code to run reconfigure, instead
1305         returning a boolean indicating the necessity to do so.
1306         (reconfigureUserLyXDir): contains the code to reconfigure the
1307         user support directory. Is now called after the various LyXRC data
1308         files have been read.
1309
1310         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1311
1312 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1313
1314         * converter.[Ch] (convert): take a new parameter try_default. Use
1315         a default converter (imagemagick) if try_default is true.
1316
1317 2005-01-13  Angus Leeming  <leeming@lyx.org>
1318
1319         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1320         os::cygwin_path_fix.
1321         (write): output LyXRC::cygwin_path_fix as necessary.
1322
1323 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1324
1325         * lyxrc.h:
1326         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1327
1328 2005-01-12  Angus Leeming  <leeming@lyx.org>
1329
1330         * lyx_main.C (init): set the PATH variable to include the
1331         directory containing the LyX binary when running on Mac or Windows.
1332
1333 2005-01-12  Angus Leeming  <leeming@lyx.org>
1334
1335         * lyx_main.C (init): remove cruft that purports to set the locale
1336         dir. It doesn't and is not needed anyway.
1337
1338 2005-01-10  Angus Leeming  <leeming@lyx.org>
1339
1340         * Makefile.am: remove the lyx_main.C special casing.
1341
1342         * BufferView_pimpl.C:
1343         * bufferlist.C:
1344         * exporter.C:
1345         * lyx_cb.C:
1346         * lyx_main.C:
1347         * lyxfunc.C:
1348         * messages.C: use support/package.h to provide the paths to the
1349         various directories used by LyX.
1350
1351 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1352
1353         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1354         layout if pasting into an empty paragraph)
1355
1356 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1357
1358         * tex-accent.C: add <string>
1359
1360 2005-01-06  José Matos  <jamatos@lyx.org>
1361
1362         * ParagraphParameters.C (write): put every parameter in its own line.
1363         * paragraph.C (write): reduce number of consecutive empty lines exported.
1364         * buffer.C (LYX_FORMAT): increase file format to 239.
1365
1366 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1367
1368         * everywhere: change support/tostr.h -> support/convert.h
1369
1370         * tabular.C: make all write_attributes templates, tostr -> convert
1371
1372         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1373         (emptyTag): and -> &&, and fix type for ret from getChar
1374         (getFirstWord): fix type for ret from getChar
1375         (onlyText): and -> &&
1376         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1377         getChar
1378
1379         * toc.C (goTo, action):
1380         * text3.C (dispatch):
1381         * text.C (currentState):
1382         * tex-accent.C (DoAccent):
1383         * sgml.C:
1384         * lyxrc.C:
1385         * lyxfunc.C (menuNew):
1386         * lyxfinc.C (replace):
1387         * counters.C (laberItem):
1388         * bufferview_funcs.C (font2string):
1389         * bufferparams.C (writeFile):
1390         * buffer.C (readFile):
1391         * Spacing.C (set):
1392         * MenuBackend.C: tostr -> convert
1393
1394         * LaTeX.C (runMessage): fix format
1395         (scanAuxFiles): tostr -> convert
1396
1397         * BufferView_pimpl.C (savePosition): fix format
1398         (restorePosition): ditto
1399         (dispatch): ditto
1400
1401 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1402
1403         * Spacing.[Ch]: New method getValueAsString().
1404
1405         * Spacing.[Ch]:
1406         * bufferparams.C:
1407         * ParagraphParameters.C:
1408         * lyxlayout.C:
1409         * text.C:
1410         * text3.C: store/read spacing value as string.
1411
1412         * rowpainter.C: change float value (spacing_val) to double.
1413
1414         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1415         broken custom document spacing).
1416
1417 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1418
1419         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1420         namespace, also more use of temp references and const
1421
1422         * cursor.[Ch] (getStatus): move to lyxfunc.C
1423
1424         * bufferparams.C: reformat slightly
1425
1426         * bufferview_funcs.C (font2string): constify arg
1427
1428         * changes.C:
1429         * converter.C:
1430         * counters.C:
1431         * bufferlist.C:
1432         * buffer_funcs.C: (many funcs): constify arg on function
1433         definitions, also make more local vars const, also add ASSERTS on
1434         pointer args.
1435
1436         * buffer.C (LYX_FORMAT): put const in correct place
1437         (many funcs): constify arg on function definitions, also make
1438         more local vars const
1439
1440         * aspell_local.h: remove "struct" from typdef setup
1441
1442         * aspell.C (check): make word_ok const
1443         (nextMiss): simplify slightly
1444         (error): ditto
1445
1446 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1447
1448         * lyxrc.[Ch]: store all float values as strings.
1449         use int (not float) for lyxrc.dpi.
1450
1451 2005-01-04  Angus Leeming  <leeming@lyx.org>
1452
1453         * lyx_cb.C (Reconfigure):
1454         * lyx_main.C (queryUserLyXDir):
1455         to run the <system_lyxdir>/configure correctly on Windows, prefix
1456         the path to the script with "sh " when generating the string that
1457         is passed to system().
1458
1459 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1460
1461         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1462
1463 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1464
1465         * lyxlength.C (asLatexString): get rid of setprecision
1466
1467 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * text2.C (setLayout): remove unused variable endpit.
1470         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1471
1472         * paragraph.C (onlyText): remove unused variable style.
1473
1474         * cursor.C (bruteFind): remove unused variables beg and end.
1475
1476         * Makefile.am (dist_noinset_DATA): not needed anymore
1477
1478         * cheaders/*: remove.
1479
1480 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1481
1482         * text3.C: fix LFUN_MATH_MODE.
1483
1484 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1485
1486         * buffer_funcs.C (countWords): new function. Counts words between
1487         two iterators.
1488
1489         * BufferView_pimpl.C (getStatus, dispatch): handle
1490         LFUN_WORDS_COUNT.
1491
1492         * LyXAction.C (init):
1493         * lfuns.h: add LFUN_WORDS_COUNT.
1494
1495 2004-12-19  Angus Leeming  <leeming@lyx.org>
1496
1497         * buffer.C (save): s/slashify_path/internal_path/.
1498
1499 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1500
1501         * lyxfind.C (findChange): do not search for end of pars, because
1502         the change tracker cannot handle this (fixes bug 1719).
1503
1504 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1505
1506         * paragraph.[Ch] (autoBreakRows): remove
1507
1508         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1509
1510         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1511         avoid using the paragraph one
1512
1513         * text2.C (LyXText, insertStringAsLines): adjust
1514
1515 2004-12-16  Angus Leeming  <leeming@lyx.org>
1516
1517         * bufferlist.C:
1518         * lyx_main.C:
1519         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1520
1521 2004-12-14  Angus Leeming  <leeming@lyx.org>
1522
1523         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1524
1525         * bufferlist.C (emergencyWrite):
1526         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1527         GetEnvPath("HOME").
1528
1529 2004-12-14  Angus Leeming  <leeming@lyx.org>
1530
1531         * main.C: (main): no longer pass pointers to os::init.
1532
1533 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1534
1535         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1536         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1537
1538 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1539
1540         * lyxfunc.C:
1541         * text3.C: remove selection_possible global flag
1542
1543 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1544
1545         * text2.C (getSelectionSpan): remove
1546         (changeDepth, changeDepthAllowed): adjust
1547
1548 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1549
1550         * Makefile.am (BOOST_LIBS): use boost variables
1551
1552 2004-12-03  José Matos  <jamatos@lyx.org>
1553
1554         * buffer.C: format up to 238.
1555
1556 2004-12-03  José Matos  <jamatos@lyx.org>
1557
1558         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1559
1560 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1561
1562         * cursor.C (goUpDown): remove call to idxUpDown2
1563
1564 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1565
1566         * tabular.[Ch]: use size_t-like types for cell, row and column
1567         indices
1568
1569 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * lyxfunc.C (getStatus): do not lose previous information when
1572         calling BufferView::getStatus; do not set a default "Command
1573         disabled" message at the beginning, but just before returning.
1574
1575 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1576
1577         * cursor.h (getStatus): add better comment from src/cursor.C
1578
1579 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * text3.C (getStatus): return false when the lfun is not handled
1582
1583 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1584
1585         * broken_headers.h: remove
1586
1587         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1588
1589 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1590
1591         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1592         offset_ref accessors
1593
1594         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1595         top_y_, merge fitcursor with update
1596         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1597         coord scheme
1598         (metrics): introduce
1599         (workAreaDispatch): adapt to new coord scheme
1600         (redoCurrentBuffer): remove
1601
1602         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1603
1604         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1605         CurStatus enum.
1606
1607         * coordcache.[Ch]: add paragraph cache and helpers
1608
1609         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1610         adjust everywhere
1611
1612         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1613         (targetX, setTargetX): introduce
1614
1615         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1616         baseline -> ascent, as the rest of lyx
1617
1618         * lyxtext.h: remove redoParagraphs, updateParPositions,
1619         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1620         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1621         have ascent/descent (ascent is ascent of first par)
1622
1623         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1624         step of BufferView
1625
1626         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1627
1628         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1629
1630         * pariterator.C: fix infinite loop introduced in par->pit renaming
1631
1632         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1633         in insets and LyXText, draw two off-screen paragraphs using
1634         NullPainter, and adapt to new coord scheme
1635
1636         * text.C:
1637         * text2.C:
1638         * text3.C: adapt lfun handlers to the new coord scheme, which
1639         means: there's only guaranteed coord information for onscreen pars
1640         plus one above and one below. This implies that one can do search
1641         from y coordinates in the range [-1,workHeight]
1642
1643 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1644
1645         * rename a lot of InsetOld to InsetBase
1646
1647 2004-11-25  Angus Leeming  <leeming@lyx.org>
1648
1649         * BufferView_pimpl.C:
1650         * lyx_cb.C:
1651         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1652
1653 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1654
1655         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1656         call BufferView::getStatus if LCursor::getStatus did nothing
1657         (setStatusMessage, getStatusMessage): removed.
1658
1659         * FuncStatus.C (message): new methods. Used to provide an error
1660         message indicating why a command is disabled.
1661         (clear, |=, FuncStatus): update for message.
1662
1663 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1664
1665         * lyxfunc.C (dispatch): always call sendDispatchMessage
1666
1667 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1668
1669         * BufferView.C:
1670         * BufferView_pimpl.C:
1671         * CutAndPaste.C:
1672         * FontIterator.C:
1673         * buffer.C:
1674         * cursor.C:
1675         * cursor_slice.[Ch]:
1676         * dociterator.[Ch]:
1677         * lyxfind.C:
1678         * paragraph_funcs.C:
1679         * pariterator.C:
1680         * rowpainter.C:
1681         * text.C:
1682         * text2.C:
1683         * text3.C:
1684         * undo.C: par->pit renaming
1685
1686 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1687
1688         * tabular.C (cellstruct): use initialization, store a shared_ptr
1689         to insettext instead of the insettext directly, adjust to fit.
1690         (operator=):  new function
1691         (swap): new function
1692         (rowstruct): use initialization
1693         (columnstruct): use initialization
1694         (ltType): use initialization
1695
1696
1697         * lyxlength.h (swap): new function
1698
1699         * LColor.[Ch] (operator=): use the common semantics
1700
1701 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * lyxfind.C (findNextChange): update the bufferview after setting
1704         the selection.
1705
1706 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1707
1708         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1709         number of InsetOptArgs has already been inserted.
1710
1711         * output_latex.C (latexOptArgInsets): new method. This outputs all
1712         the optarg insets, up to the limit defined in the layout file.
1713         (optArgInset): removed
1714         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1715
1716 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1717
1718         * paragraph.C (isLetter): remove special spellchecker-related
1719         code; return true also for digits
1720         (isWord, isKomma): remove
1721
1722         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1723         * lyxfind.C (MatchString()): use isLetter instead of isWord
1724
1725 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1726
1727         * pariterator.h (operatir=): comment out un-implemented member
1728         function.
1729
1730         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1731         static cast.
1732
1733 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1734
1735         * lyxfont.h: include LColor.h to satisfy concept checks.
1736
1737 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1738
1739         * pariterator.h: add typdefs for value_type, difference_type,
1740         pointer and reference to satisfy concept checks. Also add default
1741         constructor for same reason.
1742
1743         * pariterator.C (operator++): add post-increment operator to
1744         satisfy concept checks.
1745
1746         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1747         checks.
1748
1749         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1750
1751         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1752         checks. Also rename base_type to BaseType to follow naming
1753         standard better.
1754
1755         * FloatList.h: include Floating.h to satisfy concept checks.
1756
1757 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1758
1759         * lyxfunc.C (getStatus): when the origin of the request is menu or
1760         toolbar, and the LyXView does not have focus, do as if there was
1761         no buffer (bug 1720)
1762
1763         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1764         FuncRequest to individual entries of LFUN_SEQUENCE
1765
1766 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1767
1768         * output_latex.C (TeXOnePar): override runparams.moving_arg
1769         according to the needprotect value of the current paragraph (bug
1770         1739)
1771
1772         * paragraph.C (simpleTeXOnePar): no need to override
1773         runparams.moving_args here
1774
1775 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1776
1777         * vspace.C: fix off-by-one-error, related to fix #1682
1778
1779 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1780
1781         * lengthcommon.C: a more general fix for bug 1682
1782
1783 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1784
1785         * text.C (backspace): fix crash
1786
1787 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1788
1789         * format.[Ch] (getFormatFromFile): new method
1790         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1791
1792 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1795
1796 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1797
1798         * lyxfunc.C (dispatch): remove the verbose argument
1799         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1800         instead
1801
1802         * kbmap.C (defkey): set the origin of func to KEYBOARD
1803
1804         * MenuBackend.C (MenuItem):
1805         * ToolbarBackend.C (add): set the origin of func to UI
1806
1807         * funcrequest.[Ch]: add origin member, which indicates which part
1808         of LyX requests an action
1809
1810 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1811
1812         * converter.C (move): don't lie in the error message
1813         * converter.h (isReachable, move): document
1814
1815 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1816
1817         * buffer.C: remove unused using lyx::support::atoi
1818         * paragraph_funcs.C: ditto
1819
1820 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1821
1822         * bufferlist.C (exists): use bind and equal_to instead of
1823         compare_memfun
1824         (getBuffer): ditto
1825         * lyxtextclasslist.C (NumberOfClass): ditto
1826
1827         * cursor.C (insert): use for_each instead of explicit for loop
1828
1829         * bufferlist.C (getFileNames): use std::transform and
1830         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1831
1832         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1833         for loop
1834
1835         * buffer.C (changeLanguage): use for_each instead of explicit for
1836         loop
1837         (hasParWithID): implement using getParFromID
1838
1839         * LaTeXFeatures.C: ws change only
1840
1841         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1842         to cleanup a bit.
1843
1844         * BufferView_pimpl.C (trackChanges): use for_each instead of
1845         expilicit for loop
1846
1847 2004-11-04  André Pönitz  <poenitz@gmx.net>
1848
1849         * undo.h:
1850         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1851
1852         * dociterator.C (asDocIterator): use hard assert again.
1853
1854 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1855
1856         * lyxlength.C (asLatexString): rewrite so that it does not use
1857         snprintf anymore
1858
1859 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1860
1861         * text3.C (specialChar, dispatch): make sure cursor moves to the
1862         right after inserting an inset
1863
1864 2004-11-02  José Matos  <jamatos@lyx.org>
1865
1866         * output_docbook.C (docbook):
1867         * paragraph.C (getID):
1868         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1869         garantee that the output is always legal.
1870
1871         * tabular.C (docbook):
1872         * outputprams.[Ch]: remove mixed contents.
1873
1874 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1875
1876         * text2.C (setCounter): prevent endless loop
1877
1878 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1879
1880         * exporter.C (copyFile): use the mover instead of support::copy()
1881         * exporter.C (Export): pass format and latex name to copyFile()
1882         * exporter.h (addExternalFile): document
1883         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1884
1885 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1886
1887         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1888
1889 2004-10-30  José Matos  <jamatos@lyx.org>
1890
1891         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1892         text and no inset or font change. This allows to use CDATA
1893         sections just for the whole paragraph.
1894
1895 2004-10-30  José Matos  <jamatos@lyx.org>
1896
1897         * paragraph.C (getFirstWord): remove unused variable.
1898
1899 2004-10-30  José Matos  <jamatos@lyx.org>
1900
1901         * paragraph.C (getFirstWord): the content should always be escaped
1902         there.
1903         (simpleDocBookOnePar):
1904         * output_docbook.C (makeEnvironment): replace reference to CDATA
1905         to style pass_thru.
1906
1907 2004-10-30  José Matos  <jamatos@lyx.org>
1908
1909         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1910
1911 2004-10-30  José Matos  <jamatos@lyx.org>
1912
1913         * output_docbook.C (makeParagraphs):
1914         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1915         standard paragraph has only a given type of content drop the wrapper.
1916
1917 2004-10-29  José Matos  <jamatos@lyx.org>
1918
1919         * output_docbook.C (makeEnvironment):
1920         * sgml.C (openTag):
1921         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1922
1923 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1924
1925         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1926         (cleanID): sanitize any id.
1927
1928 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1929
1930         * buffer.C, lyxlex_pimpl.C:
1931         * lyxlex_pimpl.C (setFile):
1932         s/getExtFromContents/getFormatFromContents/
1933
1934 2004-10-28  José Matos  <jamatos@lyx.org>
1935
1936         * output_docbook.C (makeEnvironment): move id to broadest possible
1937         scope.
1938
1939         * sgml.C (openTag): apply substitution of <> for all attributes.
1940
1941 2004-10-28  José Matos  <jamatos@lyx.org>
1942
1943         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1944         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1945         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1946
1947         * sgml.[Ch]: new version for open and closeTag for paragraph and
1948         for strings. Now they handle the ids of paragraphs.
1949
1950 2004-10-26  Angus Leeming  <leeming@lyx.org>
1951
1952         * Makefile.am: add mover.[Ch].
1953
1954         * converter.C (convert, move): use the new Movers to move external
1955         files to the temp directory.
1956
1957         * lyx_main.C (init): ensure that the global system_movers data
1958         is initialised.
1959
1960         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1961         preferences file.
1962
1963         * mover.[Ch]: new files, defining a Mover as a utility to move an
1964         external file between directories and, if necessary, manipulate this
1965         file using a helper script.
1966
1967 2004-10-25  José Matos  <jamatos@lyx.org>
1968
1969         * output_docbook.C (makeCommand): merge two if's that tested the
1970         same condition.
1971
1972 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1973
1974         * sgml.C (escapeString): fix warning in a better way
1975
1976 2004-10-25  José Matos  <jamatos@lyx.org>
1977
1978         * sgml.C (escapeString): import the require boosts header file for
1979         tie, and avoid a signed unsigned comparison.
1980
1981 2004-10-25  José Matos  <jamatos@lyx.org>
1982
1983         * sgml.h: add #include <string>
1984
1985 2004-10-25  José Matos  <jamatos@lyx.org>
1986
1987         * sgml.[Ch] (escapeString): new function to escape all the string.
1988
1989 2004-10-24  José Matos  <jamatos@lyx.org>
1990
1991         * paragraph.[Ch] (getFirstWord): new function to get the first
1992         word. Useful for description.
1993         (simpleDocBookOnePar): remove depth argument, add another that
1994         says where to start the paragraph.
1995
1996         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1997         use the new functions to fix cleanly the support for descriptions.
1998
1999 2004-10-24  José Matos  <jamatos@lyx.org>
2000
2001         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2002         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2003         * output_linuxdoc.C (linuxdocParagraphs):
2004         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2005         add buffer as argument.
2006
2007 2004-10-24  José Matos  <jamatos@lyx.org>
2008
2009         * output_docbook.C (makeEnvironment, searchEnvironment): place
2010         CDATA inside paragraphs and fix scope for listitems.
2011
2012 2004-10-24  José Matos  <jamatos@lyx.org>
2013
2014         * output_docbook.C: remove using statement for stack.
2015
2016 2004-10-23  José Matos  <jamatos@lyx.org>
2017
2018         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2019         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2020         docbook. The new scheme is recursive and makes use of iterators, the
2021         same as latex export works.
2022         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2023         directly with the paragraph contents. This code was moved up to
2024         output_docbook.C (docbookParagraphs).
2025         * sgml.C (openTag, closeTag): removed unneeded newlines.
2026         (closeEnvTags) removed.
2027
2028 2004-10-23  André Pönitz  <poenitz@gmx.net>
2029
2030         * undo.C (textUndoOrRedo):
2031         * dociterator.C (asDocIterator): work around crash
2032
2033         * cursor.C (getStatus): replace ASSERT by more verbose error message
2034           and manual correction of the problem. Should increase stability
2035           while providing more sensible information.
2036
2037 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2038
2039         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2040
2041         * bufferlist.C (previous, next): new methods
2042
2043         * lfuns.h:
2044         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2045
2046 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2047
2048         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2049         entities to preamble.
2050
2051 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2052
2053         * messages.C (Pimpl): strip off translation context information
2054
2055 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2056
2057         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2058         the cursor is correct (bug 1694)
2059
2060 2004-10-13  José Matos  <jamatos@lyx.org>
2061
2062         * output_docbook.C (docbookParagraphs): fix closing tags in the
2063         end of the document.
2064
2065 2004-10-09  José Matos  <jamatos@lyx.org>
2066
2067         * buffer.C: format up to 237.
2068         * bufferparams.C (write): use tostr to convert booleans to strings.
2069
2070 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2071
2072         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2073
2074 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2075
2076         * LaTeX.C: implement use of babel language in xindy.
2077
2078 2004-10-05  José Matos  <jamatos@lyx.org>
2079
2080         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2081         Add new translators to help reading and writing the lyx file.
2082
2083 2004-10-05  José Matos  <jamatos@lyx.org>
2084
2085         * ParagraphParameters.C (read):
2086         * text.C (readParToken): replace nexToken by more appropriate lex
2087         methods.
2088
2089 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2090
2091         * LaTeX.C (runMakeIndex):
2092         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2093         (usually 'makeindex') configurable.
2094
2095         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2096         with a variable rather than with a number.
2097
2098 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2099
2100         * output_latex.C (TeXOnePar): make sure font setting is the first
2101         thing that gets output (and the last at the end). Should fix bug
2102         1404.
2103
2104 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2105
2106         * pch.h: use proper signal include
2107
2108         * LaTeX.h: Use preferred calling of Boost.Signal
2109         * buffer.h: ditto
2110
2111 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2112
2113         * pch.h: dont include <boost/function/function0.hpp>
2114
2115         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2116
2117         * paragraph_pimpl.h: remove usage of ShareContainer
2118
2119         * paragraph_pimpl.C: remove initialization of ShareContainer.
2120
2121 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         Fix bug #1666
2124
2125         * BufferView.C (putSelectionAt): change the semantics when
2126         backwards == true: now, this just swaps cursor and anchor wrt the
2127         forward case
2128
2129         * BufferView.h (putSelectionAt): add some documentation
2130
2131         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2132         make sure backwardChar is done at least once (to avoid getting
2133         stuck)
2134         (findNextChange): use putSelectionAt in the forward direction
2135         (operator()): use Paragraph::isWord
2136
2137 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2138
2139         * Spacing.C (set): c_str fix
2140
2141 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2142
2143         * lyx_cb.C (Reconfigure): quote the name of configure script in
2144         case it contains spaces
2145
2146 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2147
2148         * client: new dir
2149
2150         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2151         (BOOST_LIBS): use top_buildir when looking for the file
2152
2153 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2154
2155         * pch.h: do not use include boost/format.hpp, multiple symbols
2156                 will result (gcc bug)
2157
2158
2159 2004-08-23  José Matos  <jamatos@lyx.org>
2160
2161         * bufferparams.C (readToken): fix reading of the author field.
2162
2163 2004-08-20  José Matos  <jamatos@lyx.org>
2164
2165         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2166
2167 2004-08-20  José Matos  <jamatos@lyx.org>
2168
2169         * lyxlex.[Ch] (findToken): remove function.
2170
2171         * ParagraphParameters.C (findToken):
2172         * bufferparams.C (findToken): replace call for previous function
2173         with local copy. This local function has one more argument, the
2174         read string argument.
2175
2176 2004-08-16  José Matos  <jamatos@lyx.org>
2177
2178         * ParagraphParameters.C (write):
2179         * Spacing.C (writeFile):
2180         * bufferparams.C (writeLaTeX):
2181         * lyx_cb.C (Reconfigure):
2182         * paragraph.C (write):
2183         * tabular.C (write): remove unnecessary space at end of line.
2184
2185
2186 2004-08-16  José Matos  <jamatos@lyx.org>
2187
2188         * text.C (readParagraph): remove debug message.
2189
2190 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2191
2192         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2193         crash
2194
2195         * output_plaintext.C (asciiParagraph): set depth correctly
2196
2197         * outputparams.h: add member depth
2198
2199         * paragraph_funcs.C (ownerPar): remove.
2200
2201         * text2.C (setCounter): remove first_pit; comment out some
2202         non-working code that uses ownerPar
2203
2204         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2205         uses ownerPar
2206
2207 2004-08-16  José Matos  <jamatos@lyx.org>
2208
2209         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2210         For the same level of importance use the same chanel to report problems.
2211         (read): add code to deal with \begin_body and \end_body.
2212
2213
2214 2004-08-15  José Matos  <jamatos@lyx.org>
2215
2216         * lyxlex.C (getString): fix comment, buffer::readBody is now
2217         buffer:readDocument.
2218
2219         * tex-strings.C (string_papersize): Default -> default,
2220         Custom -> custom, for consistency with other options.
2221
2222 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2223
2224         * pch.h: new file
2225
2226         * Makefile.am: support pch
2227
2228 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * text.C (readParToken): remove the static LyXFont variable and
2231         pass it as a parameter instead. This fixes a nasty bug where an
2232         inset will be inserted with a bad font in some situations
2233         (readParagraph): adapt
2234
2235         * text2.C (setCounter): reduce number of calls to pars_[pit]
2236
2237         * text.C (singleWidth): add an assert, fix a test
2238
2239         * rowpainter.C (paintText): reduce number of calls to singleWidth
2240
2241         * paragraph.C (isHfill):
2242         (isNewline): ws only
2243
2244 2004-08-14  André Pönitz  <poenitz@gmx.net>
2245
2246         * text.C:
2247         * text2.C:
2248         * rowpainter.C:
2249         * lyxtext.h (several functions): use a Paragraph & argument
2250         instead of par_type
2251
2252 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2253
2254         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2255
2256         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2257
2258         * text.C (singleWidth): remove useless test
2259
2260 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * tabular.h: remove bogus comments
2263
2264         * tabular.C (getDescentOfRow):
2265         (isPartOfMultiColumn): add assertions
2266
2267         * lyxlength.C (inPixels): remove #warning
2268
2269 2004-08-14  André Pönitz  <poenitz@gmx.net>
2270
2271         * paragraph.h: inline getChar()
2272
2273         * BufferView.h: remove unused declarations
2274
2275 2004-08-14  José Matos  <jamatos@lyx.org>
2276
2277         * Buffer.[Ch] (readDocument): new name for old readBody.
2278         * Buffer.C: new file format, new keywords: \begin_document,
2279         \begin_header, \begin_body, \end_body.
2280
2281         * bufferparams.C (readToken): replace all calls to lex.nextToken
2282         by lex.next(). Do the same to eatLine except where really needed.
2283
2284         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2285         line when writing to the lyx file.
2286
2287         * output_plaintext.C (asciiParagraph): fix Bibliography style
2288         handling.
2289
2290         * text.C (read): fix end of file handling.
2291
2292 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2293
2294         * MenuBackend.C (Menu::operator[]): new method to access
2295         individual menu items
2296         (Menu::hasFunc): new method. search for an item that corresponds
2297         to a given func
2298         (MenuBackend::specialMenu): new method
2299         (MenuBackend::expand): if a special menu has been set, skip
2300         entries whose func() appears in this menu
2301
2302 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2303
2304         * text3.C: use Debug::DEBUG a bit more
2305
2306         * text.C (leftMargin): try to simplify a tiny bit change var x to
2307         l_margin. Dont output the wide margins always.
2308         (rightMargin): no margin in inner texts
2309
2310         * rowpainter.h (nestMargin): new func
2311         (changebarMargin): new func
2312         (rightMargin): new func
2313
2314         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2315         now functions.
2316         (paintLast): ditto
2317
2318         * factory.C (createInset): modify setDrawFrame
2319
2320         * cursor.C: use Debug::DEBUG a bit more
2321
2322 2004-08-14  André Pönitz  <poenitz@gmx.net>
2323
2324         * coordcache.[Ch]:
2325         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2326         cache for all insets in (at least partially) visible (top-level)
2327         paragraphs.
2328
2329         * BufferView_pimpl.C: reset external coord cache before every update.
2330         This means the coord cache only contains valid entries.
2331
2332 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2333
2334         bug 1096
2335         * BufferView_pimpl.C (getInsetByCode): move function out of class
2336         and change in to a template in anon namespace. Also fix to do what
2337         suits us better.
2338
2339 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2340
2341         bug 1305
2342         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2343         of char
2344         (breakParagraph): rename par to par_offset and use a local
2345         reference. Add code to keep the language over a rebreak.
2346         (breakParagraphConservative): rename par to par_offset, use a
2347         local reference
2348         (mergeParagraph): ditto
2349         (outerHook): ditto
2350         (isFirstInSequence): ditto
2351         (outerFont): rename pit to par_offset
2352
2353         * paragraph.C: ws change
2354         * paragraph.h: ditto
2355         * text3.C: ditto
2356         * text.C: ditto
2357
2358 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2359
2360         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2361         treatment for ']'
2362
2363         * paragraph.C (simpleTeXOnePar): when we have a \item with
2364         optional argument, enclose the argument with curly brackets (in
2365         case it contains a closing square bracket)
2366
2367         * text2.C (editXY):
2368         * text2.C (editXY):
2369         * text3.C (checkInsetHit): constify
2370
2371 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2372
2373         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2374         documents (bug 1629)
2375
2376 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2377
2378         Fix toggling of collapsable insets with the mouse (bug 1558)
2379
2380         * lyxfunc.C (dispatch): adapt to LCursor changes
2381
2382         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2383         make sure that dispatch is not invoked twice
2384
2385         * cursor.C (needsUpdate): new method
2386         (dispatch): return void
2387         (result): new method, to access the DispatchResult of the cursor.
2388
2389 2004-08-13  José Matos  <jamatos@lyx.org>
2390
2391         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2392
2393 2004-08-13  André Pönitz  <poenitz@gmx.net>
2394
2395         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2396
2397         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2398           multiple cells
2399
2400 2004-08-12  André Pönitz  <poenitz@gmx.net>
2401
2402         * text3.C: take out the 'cursor right' form insertInset and only
2403         do it in those places when it is really needed. Fixes crash on
2404         C-m...
2405
2406 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2407
2408         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2409
2410         * BufferView_pimpl.C (setBuffer): initialize the current font of
2411         the underlying LyXText
2412
2413 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2414
2415         * kbsequence.C (print): use UI native formatting for menu
2416         shortcuts
2417
2418         * text.C (insertChar): call Paragraph::insertChar with a font
2419         argument (cosmetic)
2420
2421         * paragraph.C (insertInset, insertChar): the version that takes a
2422         LyXFont argument is now a wrapper around the other one (the
2423         opposite used to be true).
2424
2425         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2426         argument. Font setting is done in Paragraph now.
2427
2428 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2429
2430         * outputparams.h: add new members intitle and lang.
2431
2432         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2433         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2434
2435 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2436
2437         * text3.C (dispatch): remove special handling of button 4 and 5,
2438         it is now taken care of in the frontend code.
2439
2440 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2441
2442         * Spacing.h: add <string> (STLPort compile fix)
2443
2444 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2445
2446         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2447
2448 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2449
2450         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2451         to bool.
2452
2453         * converter.C (showMessage): inherit from unary_function, make
2454         operator() const.
2455
2456         * buffer.C (writeFile): initialize retval
2457
2458         * InsetList.h: rename private variable list to list_
2459         * InsetList.[Ch]: adjust accordingly.
2460
2461 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2462
2463         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2464         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2465         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2466         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2467         * ParagraphParameters.C, LaTeXFeatures.C: replace
2468         "support/std_sstream.h" with <sstream>
2469
2470 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2473         * lyxsocket.C (LyXServerSocket): ditto
2474         (serverCallback): ditto
2475
2476 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2477
2478         * LaTeXFeatures.C: check release date when loading jurabib.
2479
2480 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2481
2482         * lyxserver.C (startPipe): call register_socket_callback
2483         (endPipe): call unregister_socket_callback
2484
2485 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2488         (LyXServerSocket): register the callback
2489         (LyXServerSocket): unregister the callback
2490         (fd): delete function
2491         (serverCallback): improve error checking and setup the callbacks.
2492         (dataCallback): change arg to fd.
2493         (writeln): new func (copied fro the client socket) used for server
2494         write to client.
2495         (LyXDataSocket): simplify
2496         (~LyXDataSocket): close ann unregiser callback
2497         (server): delete function
2498         (fd): delete function
2499         (readln): small changes, improve some std::string usage
2500         (writeln): constify a bit
2501
2502 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2503
2504         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2505         Qt frontend
2506
2507 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2508
2509         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2510         after it has been populated
2511
2512 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2513
2514         * text2.C (insertInset): move cursor when inserting inset.
2515
2516 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2517
2518         * kbmap.C (findbindings): a couple of new methods. returns a
2519         container of kb_sequence objects. The real work is done by the
2520         private recursive version
2521         (printbindings): uses findbindings to print out a bracketed list
2522         of bindings (renamed from findbinding).
2523
2524         * MenuBackend.C (binding): use kb_keymap::findbindings
2525
2526         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2527
2528 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2529
2530         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2531
2532 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2533
2534         * paragraph.C (isWord): return true on insets that report
2535         isLetter().
2536
2537         * text.C (getWord): use Paragraph::isWord to decide what is in a
2538         word and what is not; fix bug 1609.
2539
2540 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2541
2542         * tex-strings.C: add "none" to string_paperpackages[], fixes
2543         off-by-one-error in the paperpackage selection.
2544
2545         * lyxlex.[Ch]:
2546         * tex-strings.[Ch]: char const * string[n]
2547         -> char const * const string[]
2548
2549 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2550
2551         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2552         command, return early.
2553
2554 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * debug.h: add DEBUG to enum and fix size of ANY.
2557
2558         * debug.C: add support for Debug::DEBUG
2559         (showTags): cast errorTags.level to unsigned int
2560
2561         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2562         (redoCurrentBuffer): ditto
2563         (updateScrollbar): ditto
2564         * cursor.C (dispatch): ditto
2565         * text2.C (setLayout): ditto
2566         (setFont): ditto
2567         (updateCounters): ditto
2568         (editXY): ditto
2569         (deleteEmptyParagraphMechanism): ditto
2570
2571 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2572
2573         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2574         annotations to cleanup the Makefile slightly.
2575
2576 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2577
2578         * lyxrc.C: do not set user_email to a default value but use empty
2579         instead. The entry used to be translated, which does not work
2580         since at the point where lyxrc is constructed there is no
2581         translation service available
2582
2583         * messages.C (getLocaleDir): remove and use directly
2584         lyx_localedir() instead
2585
2586 2004-06-02  Angus Leeming  <leeming@lyx.org>
2587
2588         Fix crash caused by dereferencing null pointer 'exportdata' in
2589         OutputParams by creating a new ExportData variable on the heap,
2590         storing it in a boost::shared_ptr.
2591         The crash was triggered when generating an Instant Preview
2592         of an external inset.
2593
2594         * Makefile.am: add outputparams.C
2595
2596         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2597         (c-tor): allocate memory to it.
2598
2599         * exporter.C (c-tor): associated changes.
2600
2601 2004-06-01  Angus Leeming  <leeming@lyx.org>
2602
2603         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2604         contains data before calling isInset(0). (Bug 1513.)
2605
2606 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2607
2608         * exporter.C (checkOverwrite): new method
2609         * exporter.C (copyFile): new method
2610         * exporter.C (Export): copy referenced files to the document dir
2611         * exporter.[Ch]: new class ExportedFile
2612         * exporter.[Ch]: new class ExportData. Contains currently the
2613         names of referenced external files
2614         * outputparams.h: add exportdata member.
2615
2616 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2619         version.C-tmp
2620
2621 2004-05-19  Angus Leeming  <leeming@lyx.org>
2622
2623         * LaTeXFeatures.C:
2624         * ToolbarBackend.C:
2625         * bufferparams.C:
2626         * lyxfunc.C: small changes due to the introduction of namespace
2627         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2628
2629 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2630
2631         * text3.C (dispatch): supress update when only moving the cursor
2632         * cursor.C (selHandle): remove commented code
2633
2634 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2635
2636         * paragraph.C (startTeXParParams): correct column count
2637         * CutAndPaste.C (pasteSelection): remove const_cast
2638         * output_docbook.C (docbookParagraphs): remove const_cast
2639         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2640         const_cast and return ParagraphList::const_iterator
2641         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2642         * output_plaintext.C (writeFileAscii): remove const_cast
2643         * paragraph.[Ch] (simpleTeXOnePar): make const
2644         * paragraph_funcs.C (outerPar): use const iterators
2645         * paragraph_pimpl.C (validate): use const iterators
2646         * text.C (setHeightOfRow): use const iterators
2647
2648 2004-05-17  Angus Leeming  <leeming@lyx.org>
2649
2650         * lfuns.h:
2651         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2652
2653         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2654         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2655         if the citation engine has changed.
2656
2657 2004-05-14  José Matos  <jamatos@lyx.org>
2658
2659         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2660         if the textclass does not provide it. Have it different for sgml and
2661         xml.
2662         support the language of document.
2663         * output_docbook.C (docbookParagraphs):
2664         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2665         first anchor as the id of the paragraph, remove special case code.
2666         * sgml.C (escapeChar): escape only < & >.
2667
2668 2004-05-14  Angus Leeming  <leeming@lyx.org>
2669
2670         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2671         dependencies on src/frontends/controllers/biblio.h. Define a
2672         CiteEngine_enum wrapper class to enable the enum to be forward
2673         declared.
2674
2675 2004-05-12  Angus Leeming  <leeming@lyx.org>
2676
2677         * buffer.C: up LYX_FORMAT to 234.
2678         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2679         use_numerical_citations with a single biblio::CiteEngine cite_engine
2680         variable.
2681         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2682
2683 2004-05-13  José Matos  <jamatos@lyx.org>
2684
2685         * converter.h:
2686         * converter.C (Converter, readFlags): add xml member.
2687         * outputparams.h: add XML flavor.
2688         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2689
2690 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2691
2692         * lyxfunc.C (dispatch):
2693         (getStatus): fix handling of LFUN_SEQUENCE
2694
2695 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2696
2697         * debug.C (showLevel): do not forget the end-of-line marker
2698
2699 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2700
2701         * kbmap.C (read): do not stop parsing a bind file when an error
2702         occurs (bug 1575)
2703
2704 2004-04-29  Angus Leeming  <leeming@lyx.org>
2705
2706         * cursor.C:
2707         * factory.C:
2708         * pariterator.C:
2709         * text2.C: wrap a bunch of #warning statements
2710         inside #ifdef WITH_WARNINGS blocks.
2711
2712 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2713
2714         * buffer.C: increment format to 233.
2715
2716 2004-04-28  Angus Leeming  <leeming@lyx.org>
2717
2718         * BufferView_pimpl.C:
2719         * lyxfunc.C:
2720         * text3.C:
2721         s/updateToolbar()/updateToolbars()/
2722         s/Toolbar.h/Toolbars.h/
2723
2724 2004-04-28  Angus Leeming  <leeming@lyx.org>
2725
2726         * BufferView.[Ch] (c-tor):
2727         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2728         No longer passes these data to the WorkArea generator.
2729
2730 2004-04-28  Angus Leeming  <leeming@lyx.org>
2731
2732         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2733
2734 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2735
2736         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2737
2738 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2739
2740         * output_latex.C (TeXEnvironment): make sure that there is a line
2741         break before \end{foo} for the last paragraph of a document
2742         (TeXOnePar): if the paragraph is at the end of the document (or
2743         inset) and the language has to be reset, then make sure that the
2744         line break is _before_ the language command, not after (fixes bug
2745         1225); also make sure that the language reset command is the first
2746         thing after the paragraph (to ensure proper nesting of
2747         environments and thus fix bug 1404)
2748
2749 2004-04-21  John Levon  <levon@movementarian.org>
2750
2751         * ToolbarBackend.h:
2752         * ToolbarBackend.C: make "name" be a programmatic name
2753         and a gui_name field.
2754
2755         * lyxfunc.C: display the minibuffer on M-x
2756
2757 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2758
2759         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2760         (bug 1526)
2761
2762 2004-04-19  Angus Leeming  <leeming@lyx.org>
2763
2764         * BufferView_pimpl.C (setBuffer): changed preview interface.
2765
2766         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2767         possible values.
2768
2769 2004-04-19  John Levon  <levon@movementarian.org>
2770
2771         * BufferView_pimpl.C:
2772         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2773
2774 2004-04-05  Angus Leeming  <leeming@lyx.org>
2775
2776         * text.C (redoParagraphs): add call to updateCounters(), thereby
2777         fixing the missing "Figure #:" label from the caption of a
2778         figure float.
2779
2780 2004-04-13  Angus Leeming  <leeming@lyx.org>
2781
2782         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2783         cursor is clicked out of an inset.
2784
2785 2004-04-13  Angus Leeming  <leeming@lyx.org>
2786
2787         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2788         than an InsetOld one.
2789
2790 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2791
2792         * format.[Ch]: add editor to Format
2793         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2794         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2795
2796 2004-04-08  André Pönitz  <poenitz@gmx.net>
2797
2798         * metricsinfo.h: remove PainterInfo::width member
2799
2800 2004-04-08  Angus Leeming  <leeming@lyx.org>
2801
2802         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2803         "\providecommand" rather than "\newcommand", thereby preventing
2804         clashes with packages that define "\boldsymbol" themselves.
2805         Eg, beamer.
2806
2807 2004-04-08  Angus Leeming  <leeming@lyx.org>
2808
2809         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2810         thereby squashing an unnecessary warning.
2811
2812 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2813
2814         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2815         setBuffer()
2816
2817 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2818
2819         * BufferView.C (setCursor): call redoParagraph (some insets could
2820         have been opened)
2821         (putSelectionAt): remove the 'double update' trick
2822
2823         * BufferView_pimpl.C (fitCursor): call refreshPar
2824         (workAreaDispatch): remove an uneeded update call
2825         (dispatch): remove some manual update calls
2826
2827         * cursor.[Ch]: remove cached_y_, updatePos
2828         (selHandle): set noUpdate when appropriate
2829
2830         * lyxfunc.C (dispatch): track if we need an update
2831
2832         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2833
2834         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2835         (paintSelection): cheap optimization, do not call cursorX when not
2836         needed
2837         (paintPars): change signature
2838         (refreshPar): add
2839         (paintText): adjust
2840         (paintTextInset): adjust
2841
2842         * text.C: adjust
2843
2844 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2845
2846         * lengthcommon.C: compilation fix: remove explicit array size from
2847         unit_name[] and friends
2848
2849 2004-04-05  Angus Leeming  <leeming@lyx.org>
2850
2851         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2852
2853         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2854         present only for the preferences dialog.
2855         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2856
2857 2004-04-05  Angus Leeming  <leeming@lyx.org>
2858
2859         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2860         to enable the frontends to export changes to lyxrc correctly.
2861
2862         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2863
2864 2004-04-07  André Pönitz  <poenitz@gmx.net>
2865
2866         * cursor.[Ch] (selClear, adjust): remove math
2867
2868         * cursor_slice.C: more agressive assert
2869
2870         * lyxfunc.C:
2871         * BufferView_pimpl.C: rework mouse event dispatch
2872
2873         * dociterator.C:
2874         * paragraph.C:
2875         * text2.C:
2876         * text3.C: adjust
2877
2878 2004-04-05  André Pönitz  <poenitz@gmx.net>
2879
2880         * cursor.[Ch] (valign, halign...): remove unneeded functions
2881
2882 2004-04-05  Angus Leeming  <leeming@lyx.org>
2883
2884         * lyxlength.[Ch] (unit_name et al.): const-correct.
2885
2886 2004-04-05  Angus Leeming  <leeming@lyx.org>
2887
2888         * BufferView_pimpl.C:
2889         * buffer.C:
2890         * counters.C:
2891         * cursor.C:
2892         * lyxfunc.C
2893         * paragraph.C:
2894         * pariterator.C:
2895         * text.C:
2896         * text2.C:
2897         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2898
2899 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2900
2901         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2902
2903 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2904
2905         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2906         * BufferView_pimpl.[Ch] (getStatus)
2907         * BufferView.[Ch] (getStatus): add
2908         * lyxfunc.C (getStatus): move lfuns handled in
2909         BufferView::dispatch to te function above
2910         * Cursor.C (setSelection): set selection() = true
2911
2912 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2913
2914         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2915
2916 2004-03-31  Angus Leeming  <leeming@lyx.org>
2917
2918         * lyxfunc.C (dispatch): Fall through to the generic
2919         Dialogs::show("preamble").
2920
2921 2004-03-31  Angus Leeming  <leeming@lyx.org>
2922
2923         * lyxfunc.C (dispatch): Fall through to the generic
2924         Dialogs::show("spellchecker").
2925
2926 2004-03-31  Angus Leeming  <leeming@lyx.org>
2927
2928         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2929         preferences dialog.
2930
2931 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2932
2933         * BufferView.C
2934         * cursor.[Ch]
2935         * dociterator.[Ch]:
2936         * insetiterator.[Ch]:
2937         * lyxfind.C:
2938         * lyxfunc.C:
2939         * pariterator.[Ch]:
2940         * text2.C:
2941         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2942
2943 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2944
2945         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2946         insets where we are putting the cursor.
2947
2948 2004-03-31  Angus Leeming  <leeming@lyx.org>
2949
2950         * lfuns.h:
2951         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2952
2953         * lyxrc.[Ch] (read, write): overloaded member functions taking
2954         a std::[io]stream arguments.
2955
2956         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2957
2958 2004-03-31  Angus Leeming  <leeming@lyx.org>
2959
2960         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2961         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2962
2963         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2964         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2965
2966 2004-03-31  Angus Leeming  <leeming@lyx.org>
2967
2968         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2969         the LFUN_ALL_INSETS_TOGGLE code.
2970
2971 2004-03-30  Angus Leeming  <leeming@lyx.org>
2972
2973         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2974         has died. Fall through to the generic Dialogs::show("document").
2975
2976 2004-03-30  Angus Leeming  <leeming@lyx.org>
2977
2978         * lfuns.h:
2979         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2980         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2981
2982         * lyxfunc.C (getStatus, dispatch): define the actions for these
2983         lfuns. Little more than a cut and pste job from ControlDocument.C
2984
2985         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2986
2987 2004-03-30  Angus Leeming  <leeming@lyx.org>
2988
2989         * lfuns.h:
2990         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2991         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2992
2993         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2994         open/closed state of ollapsable insets. Usage:
2995
2996         all-inset-toggle <state> <name>, where
2997         <state> == "open" || "closed" || "toggle" and
2998         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2999
3000         * lyxtext.h, text2.C (toggleInset): removed.
3001
3002         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3003         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3004         now passes LFUN_INSET_TOGGLE to the found inset.
3005
3006         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3007         is now invoked as "all-insets-toggle toggle branch".
3008
3009 2004-03-30  Angus Leeming  <leeming@lyx.org>
3010
3011         * dociterator.C:
3012         * insetiterator.C:
3013         * pariterator.[Ch]: added/corrected header blurb.
3014
3015 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3016
3017         * dociterator.[Ch]: add an inset_ member
3018         (backwardPos): implemented
3019         (backwardPos, forwardPos): use inset_ when the stack is empty.
3020         (doc_iterator_begin, doc_iterator_end): implemented
3021         * pariterator.[Ch]: adjust, add begin, end
3022         * insetiterator.[Ch]: adjust, add begin, end
3023         * cursor.C:
3024         * document.C:
3025         * BufferView.C:
3026         * BufferView_pimpl.C:
3027         * CutAndPaste.C: adjust
3028
3029 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3030
3031         * buffer.C: increment file format to 232.
3032         * LaTeXFeatures.C: add bibtopic package.
3033         * bufferparams.[Ch]: param \use_bibtopic.
3034
3035         * lyxrc.[Ch]: add lyxrc bibtex_command
3036         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3037
3038         * buffer.C: increment file format to 231.
3039
3040 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * dociterator.C: implement forwardPar
3043         * iterators.[Ch]: remove, replaced by
3044         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3045         * BufferView.C:
3046         * BufferView_pimpl.C:
3047         * CutAndPaste.C:
3048         * buffer.C:
3049         * bufferview_funcs.C:
3050         * cursor.C:
3051         * lyxfind.C
3052         * lyxfunc.C
3053         * paragraph_funcs.C
3054         * toc.C:
3055         * Makefile.am: adjust
3056
3057 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3058
3059         * CutAndPaste.C (pasteSelection): fix 2 crashes
3060         (eraseSelection): fix a crash
3061         * paragraph_funcs.C: remove a warning
3062
3063 2004-03-28  Angus Leeming  <leeming@lyx.org>
3064
3065         * lfuns.h:
3066         * LyXAction.C (init): new LFUN_PRINT.
3067
3068         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3069
3070 2004-03-27  Angus Leeming  <leeming@lyx.org>
3071
3072         * lfuns.h:
3073         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3074
3075         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3076
3077 2004-03-27  Angus Leeming  <leeming@lyx.org>
3078
3079         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3080         insetlist always contains non-null pointers to insets.
3081
3082 2004-03-26  Angus Leeming  <leeming@lyx.org>
3083
3084         * src/BufferView_pimpl.C:
3085         * src/CutAndPaste.C:
3086         * src/buffer.C:
3087         * src/iterators.C:
3088         * src/output_plaintext.C:
3089         * src/outputparams.h:
3090         * src/paragraph_funcs.C:
3091         * src/rowpainter.C:
3092         * src/text.C:
3093         * src/text2.C:
3094         * src/frontends/controllers/ControlErrorList.C:
3095         * src/frontends/gtk/FileDialogPrivate.C:
3096         * src/frontends/gtk/GPainter.C:
3097         * src/frontends/gtk/GToolbar.C:
3098         * src/frontends/qt2/QRef.C:
3099         * src/mathed/math_scriptinset.C: squash compiler warnings.
3100
3101 2004-03-26  Angus Leeming  <leeming@lyx.org>
3102
3103         * ispell.C (LaunchIspell::start):
3104         * lyx_cb.C (AutoSaveBuffer::start):
3105         invoke run(DontWait) rather than runNonBlocking().
3106
3107 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3108
3109         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3110
3111 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3112
3113         * kbsequence.C (print): adjust
3114
3115         * kbmap.C (printKeySym): rename and change signature
3116         (printKey): use LyXKeySym::print()
3117
3118 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3119
3120         * undo.C: add using std::advance to compile for stlport
3121
3122 2004-03-24  Angus Leeming  <leeming@lyx.org>
3123
3124         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3125         it leads to a crash when no buffer is present.
3126
3127 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3128             Martin Vermeer  <martin.vermeer@hut.fi>
3129
3130         * lyxfunc.C (dispatch):
3131         * bufferparams.C (readToken): use the new LColor::setColor
3132
3133         * LColor.[Ch] (setColor): new version that takes two strings as
3134         argument and creates a new color entry if necessary
3135
3136 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3137
3138         * buffer.C (makeLaTeXFile): if the main latex file that is
3139         processed is usually a subdocument of some master, then pretend
3140         for a while that it is actually the master
3141
3142 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3143
3144         * buffer.C (getLabelList):
3145         (getBibkeyList): use getMasterBuffer()
3146         (getMasterBuffer): new method. Returns the main document in the
3147         case where one is using included documents.
3148
3149 2004-03-25  André Pönitz  <poenitz@gmx.net>
3150
3151         * Makefile.am:
3152         * iterators.[Ch]:
3153         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3154
3155         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3156
3157         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3158         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3159
3160         * ParameterStruct.h: merge with ParagraphParameters
3161
3162         * lyxtext.h: remove LyXText::parOffset() and getPar()
3163
3164         * text3.C: Remove all 'manual' update calls. We do now one per user
3165         interaction which is completely sufficient.
3166
3167         * Bidi.C:
3168         * BufferView.[Ch]:
3169         * BufferView_pimpl.C:
3170         * FontIterator.[Ch]:
3171         * MenuBackend.C:
3172         * ParagraphParameters.[Ch]:
3173         * buffer.C:
3174         * buffer.h:
3175         * bufferlist.C:
3176         * cursor.[Ch]:
3177         * cursor_slice.[Ch]:
3178         * dociterator.[Ch]:
3179         * errorlist.[Ch]:
3180         * factory.C:
3181         * lfuns.h:
3182         * lyxfind.C:
3183         * lyxfunc.C:
3184         * output_docbook.[Ch]:
3185         * output_latex.[Ch]:
3186         * output_linuxdoc.[Ch]:
3187         * output_plaintext.[Ch]:
3188         * paragraph.[Ch]:
3189         * paragraph_funcs.[Ch]:
3190         * paragraph_pimpl.[Ch]:
3191         * rowpainter.C:
3192         * tabular.[Ch]:
3193         * text.C:
3194         * text2.C:
3195         * toc.C:
3196         * undo.[Ch]: adjust
3197
3198         * frontends/controllers/ControlDocument.C:
3199         * frontends/controllers/ControlErrorList.C:
3200         * frontends/controllers/ControlSpellchecker.C:
3201         * insets/inset.C:
3202         * insets/inset.h:
3203         * insets/insetbase.h:
3204         * insets/insetbibitem.C:
3205         * insets/insetbox.C:
3206         * insets/insetbranch.C:
3207         * insets/insetcaption.C:
3208         * insets/insetcharstyle.C:
3209         * insets/insetcharstyle.h:
3210         * insets/insetcollapsable.C:
3211         * insets/insetcollapsable.h:
3212         * insets/insetert.C:
3213         * insets/insetfloat.C:
3214         * insets/insetfoot.C:
3215         * insets/insetmarginal.C:
3216         * insets/insetnote.C:
3217         * insets/insetoptarg.C:
3218         * insets/insettabular.C:
3219         * insets/insettext.C:
3220         * insets/insettext.h:
3221         * insets/insetwrap.C:
3222         * mathed/math_mboxinset.C:
3223         * mathed/math_nestinset.C:
3224         * mathed/math_scriptinset.C:
3225         * mathed/math_scriptinset.h:
3226         * support/types.h:
3227
3228 2004-03-24  Angus Leeming  <leeming@lyx.org>
3229
3230         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3231         deal with any child processes that have finished but are waiting to
3232         communicate this fact to the rest of LyX.
3233
3234 2004-03-24  Angus Leeming  <leeming@lyx.org>
3235
3236         64-bit compile fixes.
3237
3238         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3239         (c-tor): pass lyx::pos_types rather than ints.
3240
3241         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3242         lyx::pos_type.
3243
3244         * text.C (Delete): compile fix.
3245         (getPar): ensure that function declaration is the same as that in
3246         the header file.
3247
3248 2004-03-23  Angus Leeming  <leeming@lyx.org>
3249
3250         * ispell.C (LaunchIspell):
3251         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3252         a boost::shred_ptr rather than a std::auto_ptr.
3253
3254 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3255
3256         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3257         handle LFUN_FILE_INSERT_*
3258
3259         * lyxrc.C (setDefaults, getDescription, output, read):
3260         * lyxrc.h: remove ps_command
3261
3262 2004-03-22  Angus Leeming  <leeming@lyx.org>
3263
3264         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3265         Ensure that error_handler is processed once only and that all data
3266         is saved before attempting to output any warning messages.
3267
3268         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3269
3270 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3271
3272         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3273
3274 2004-03-19  André Pönitz  <poenitz@gmx.net>
3275
3276         * cursor.[Ch] (reset): take main text inset as argument
3277
3278         * BufferView: adjust
3279         * BufferView_pimpl.C: adjust
3280
3281         * paragraph.[Ch]: fix completely broken operator=()
3282
3283 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3284
3285         * LColor.C (getFromLyXName): make sure that the color name is used
3286         as lowercase.
3287
3288 2004-03-17  Angus Leeming  <leeming@lyx.org>
3289
3290         * lfuns.h:
3291         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3292
3293         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3294         dialog and to kill a forked process.
3295
3296 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3297
3298         * text2.C (setCursorFromCoordinates): fix font problem
3299
3300 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3301
3302         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3303         bogus "rebuild cursor" code
3304
3305 2004-03-11  André Pönitz  <poenitz@gmx.net>
3306
3307         * buffer.[Ch]: use InsetText instead of LyXText as container for
3308         the main lyx text.
3309
3310         * dociterator.[Ch]: drop the BufferView * member which is not needed
3311         anymore after the change to buffer.C
3312
3313         * paragraph_funcs.C:
3314         * text.C:
3315         * text2.C:
3316         * BufferView.[Ch]:
3317         * BufferView_pimpl.[Ch]:
3318         * cursor.[Ch]:
3319         * cursor_slice.[Ch]: adjust
3320
3321         * text3.C: fix bug in mathDispatch
3322
3323 2004-03-08  André Pönitz  <poenitz@gmx.net>
3324
3325         * undo.[Ch]: use 'StableDocumentIterator' as base for
3326         the Undo struct.
3327
3328 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3329
3330         * LaTeXFeatures.C:
3331         * bufferparams.[Ch]: add jurabib support and param.
3332
3333         * LaTeX.C: add FIXME/comment.
3334
3335 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3336
3337         * buffer.C: increment file format to 230.
3338
3339 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3340
3341         * cursor.C (dispatch): avoid infinite loops
3342
3343 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3344
3345         * rowpainter.C (paintSelection): fix x coordinates
3346
3347 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3348
3349         * text.C (rowBreakPoint): fix breaking before displayed insets
3350
3351 2004-03-01  André Pönitz  <poenitz@gmx.net>
3352
3353         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3354
3355         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3356
3357         * Makefile.am:
3358         * BufferView.C:
3359         * BufferView_pimpl.C:
3360         * buffer.C:
3361         * lyxfind.C:
3362         * lyxfunc.C:
3363         * text.C:
3364         * text2.C:
3365         * text3.C: adjust
3366
3367 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3368
3369         * lyxtext.h:
3370         * text.C:
3371         * text2.C:
3372         * rowpainter.C:
3373         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3374         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3375
3376 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3377
3378         * Bidi.[Ch] (computeTables): const correctness
3379         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3380         fill_hfill, fill_label_hfill and x from Row
3381         * lyxtext.h: prepareToPrint returns a RowMetrics
3382         * rowPainter.C: adjust
3383         * text.C (prepareToPrint): use width, not textWidth. adjust
3384         (redoParagraphInternal, cursorX): adjust
3385         * text2.C (getColumnNearX): adjust
3386         (init): put a default value to the top LyXText::width
3387
3388 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3389
3390         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3391
3392 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3393
3394         * lyxtext.h: add FontIterator class
3395
3396         * text.C (FontIterator, operator*, operator->, operator++): add
3397         (rowBreakPoint, setRowWidth): adjust (fixing a
3398         rebreaking bug)
3399
3400 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3401
3402         * BufferView_pimpl.C (workAreaDispatch): allow also
3403         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3404
3405 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3406
3407         * text.C (rowBreakPoint): fix a bug showing with very large insets
3408
3409 2004-02-25  André Pönitz  <poenitz@gmx.net>
3410
3411         * text3.C:
3412         * cursor.[Ch]: move some mathed specific code to mathed
3413
3414 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3415
3416         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3417         use_tempdir in preferences
3418         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3419         tempfile creation
3420         * lyx_main.C: ensure that tempdir is valid
3421         * lyxlex.h: correct typo
3422         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3423         * paragraph.[Ch] (isMultiLingual): make const
3424         * cursor.[Ch] (openable): make const
3425
3426 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3427
3428         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3429
3430 2004-02-20  André Pönitz  <poenitz@gmx.net>
3431
3432         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3433
3434         * cursor.[Ch]: prepare for localized getStatus()
3435
3436         * lyxtext.h:
3437         * tabular.C:
3438         * text.C:
3439         * text2.C:
3440         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3441
3442 2004-02-20  André Pönitz  <poenitz@gmx.net>
3443
3444         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3445
3446 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3447
3448         * text2.C (setCursorFromCoordinates): switch to absolute coords
3449         (cursorUp): adjust
3450         (cursorDown): adjust
3451         * text3.C (dispatch): adjust
3452
3453 2004-02-16  André Pönitz  <poenitz@gmx.net>
3454
3455         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3456           insets/ChangeLog)
3457
3458         * cursor_slice.[Ch]: remove unneeded acessor function
3459
3460         * lyxtext.h: rename rtl() to isRTL()
3461
3462         * rowpainter.C:
3463         * tabular.C:
3464         * text.C:
3465         * text2.C:
3466         * text3.C: adjust
3467
3468 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3469
3470         * rowpainter.C (paintSelection): coord fix
3471
3472 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3473
3474         * Spacing.C: compile fix
3475
3476 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3477
3478         * cursor.C (dispatch): restore current_ before returning
3479
3480 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3481
3482         * text2.C (cursorUp, cursorDown): fix coords
3483         (moveUp): fix crash
3484
3485 2004-02-12  André Pönitz  <poenitz@gmx.net>
3486
3487         * lyxtext.h:
3488         * text.C:
3489         * text2.C:
3490         * text3.C: add LCursor & parameter to most cursor movement functions
3491           remove usage of LyXText::cursorRow() and cursorPar()
3492
3493         * cursor.[Ch]: add textRow() needed members
3494
3495         * BufferView.C:
3496         * BufferView_pimpl.C:
3497         * paragraph.[Ch]:
3498         * BufferView.C:
3499         * BufferView_pimpl.C: adjust
3500
3501 2004-02-11  André Pönitz  <poenitz@gmx.net>
3502
3503         * lyxfunc.C:
3504         * BufferView.[Ch]:
3505         * BufferView_pimpl.C: shift undo/redo handling
3506
3507         * cursor.[Ch]: fix mathed crash
3508
3509         * lyxfind.C:
3510         * lyxtext.h: move selectionAsText to LCursor
3511
3512         * output_latex.C:
3513         * paragraph.C:
3514         * text.C:
3515         * text2.C:
3516         * text3.C: adjust
3517
3518         * rowpainter.C: fix excessive drawing
3519
3520 2004-02-06  André Pönitz  <poenitz@gmx.net>
3521
3522         * BufferView.[Ch]:
3523         * BufferView_pimpl.[Ch]:
3524         * text3.C: move some text specific LFUN handling
3525
3526 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * text3.C (checkInsetHit): adjust coords
3529         * text2.C (getColumnNearX): adjust coords
3530         (edit): adjust coords
3531         * text.C (getRowNearY): add two asserts
3532
3533 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3534
3535         * converter.C:
3536         * format.C: add using std::distance to compile on gcc 2.95/stlport
3537
3538 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3539
3540         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3541
3542 2004-02-04  André Pönitz  <poenitz@gmx.net>
3543
3544         * BufferView.[Ch] (insertInset):
3545         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3546
3547         * text2.C:
3548         * text3.C: adjust
3549
3550 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3551
3552         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3553         on the default clause of the switch
3554         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3555         wasn't catched by LCursor::dispatch
3556
3557 2004-02-03  André Pönitz  <poenitz@gmx.net>
3558
3559         * BufferView.C:
3560         * cursor.[Ch]: some additional asserts
3561
3562         * undo.[Ch]: remove LyXText dependency in interface
3563
3564         * lyxfunc.C: adjust
3565
3566         * lyxtext.h (firstPar, lastPar): remove dead functions
3567
3568         * text.C:
3569         * text2.C:
3570         * text3.C:
3571         * paragraph.[Ch]: adjust
3572
3573 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3574
3575         * lyxfind.C (find): fix argument order in call to ::find
3576
3577 2004-02-02  André Pönitz  <poenitz@gmx.net>
3578
3579         * cursor.[Ch]: remove direct access to anchor
3580
3581         * text.C: remove findText() hack
3582
3583 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3584
3585         * iterators.[Ch] (lockPath): remove in favour of...
3586         * BufferView.[Ch] (setCursor): this addition
3587         * BufferView.C (putSelectionAt): adjust
3588         * undo.C (performUndoOrRedo): adjust
3589         * lyxfunc.C (dispatch): adjust
3590
3591 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3592
3593         * iterators.C (lockPath): add a missing slice
3594         * undo.C (performUndoOrRedo): remove redundant positioning code
3595
3596 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3597
3598         * vc-backend.C (scanMaster): ";" -> ';'
3599
3600 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3601
3602         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3603         std::binary_function
3604
3605         * lyxtextclass.C (compare_name): rename to...
3606         (LayoutNamesEqual): ...this
3607
3608         * lyxlex_pimpl.C (compare_tags): inherit from
3609         std::binary_function, put back into anon namespace
3610
3611         * lyxfind.C (MatchString): inherig from std::binary_function
3612         (findChange): use empty() istead of !size()
3613
3614         * format.C (FormatNamesEqual): new functor
3615         (getFormat): use it
3616         (getNumber): use it
3617         (add): use it
3618         (erase): use it
3619         (setViewer): use it
3620
3621         * converter.C (compare_Converter): rename to...
3622         (ConverterEqual): ...this, and fixup a bit.
3623         (getConverter): use it, and make function const
3624         (getNumber): use it, and make function const
3625         (add): use it
3626         (erase): use it:
3627
3628         * bufferlist.C: add using boost::bind
3629
3630         * MenuBackend.C (MenuNamesEqual): new functor
3631         (hasMenu): use it, and make function const
3632         (hasSubmenu): use nested bind to get rid of compare_memfun.
3633
3634 2004-01-30  André Pönitz  <poenitz@gmx.net>
3635
3636         * BufferView_pimpl.C:
3637         * cursor.C:
3638         * cursor.h:
3639         * cursor_slice.[Ch]:
3640         * lyxfunc.C:
3641         * lyxtext.h:
3642         * paragraph_funcs.C:
3643         * paragraph_funcs.h:
3644         * rowpainter.C:
3645         * text.C:
3646         * text2.C:
3647         * text3.C: move some of the edit(x,y) handling to the insets
3648         some coordinate changes.
3649
3650 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3651
3652         * text.C: add using statements for std::advance and std::distance
3653
3654         * paragraph.C: add using statement for std::distance
3655
3656         * lyxfind.C: add using statement for std::advance
3657
3658         * cursor.C (region): remove std:: from swap
3659         (openable): use nucleus in stead of operator->
3660
3661         * BufferView.C: add using statements for std::distance and std::swap
3662
3663 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * iterators.C: Remove the pimple, move the needed structures to
3666         the header file. Create accessor for the positions stack.
3667         (asPosIterator): remove function
3668
3669         * PosIterator.C (PosIterator): move constructors to top of file
3670         (PosIterator): reimplement the constructor taking a ParIterator in
3671         terms of setFrom.
3672         (setFrom): new function
3673         (operator!=): inline it
3674
3675 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3676
3677         * lyxfind.C (replaceAll): use std::advance
3678
3679         * iterators.h: inherit from std::iterator.
3680
3681         * PosIterator.C (advance, distance): remove
3682         * PosIterator.h: interit from std::iterator.
3683
3684 2004-01-26  André Pönitz  <poenitz@gmx.net>
3685
3686         * BufferView.[Ch]:
3687         * BufferView_pimpl.[Ch]:
3688         * InsetList.[Ch]:
3689         * PosIterator.[Ch]:
3690         * buffer.h:
3691         * bufferview_funcs.C:
3692         * cursor.[Ch]:
3693         * cursor_slice.h:
3694         * factory.[Ch]:
3695         * iterators.[Ch]:
3696         * lyxfind.C:
3697         * lyxfunc.C:
3698         * lyxtext.h:
3699         * output_docbook.C:
3700         * output_latex.C:
3701         * output_linuxdoc.C:
3702         * output_plaintext.C:
3703         * paragraph.[Ch]:
3704         * paragraph_funcs.[Ch]:
3705         * paragraph_pimpl.[Ch]:
3706         * rowpainter.C:
3707         * tabular.C:
3708         * tabular.h:
3709         * text.C:
3710         * text2.C:
3711         * text3.C: more IU:  dumps most of the rest of the mathcursor
3712     implementation into cursor.[Ch]; "globalize" a bit of it.
3713
3714 2004-01-25  Angus Leeming  <leeming@lyx.org>
3715
3716         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3717
3718 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3719
3720         * LaTeXFeatures.h: add nice_ and nice() const
3721         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3722
3723 2004-01-20  André Pönitz  <poenitz@gmx.net>
3724
3725         * BufferView.[Ch]:
3726         * BufferView_pimpl.C:
3727         * PosIterator.C:
3728         * bufferview_funcs.C:
3729         * cursor.[Ch]:
3730         * cursor_slice.[Ch]:
3731         * factory.C:
3732         * iterators.C:
3733         * lyx_cb.C:
3734         * lyxfind.C:
3735         * lyxfunc.C:
3736         * lyxtext.h:
3737         * rowpainter.C:
3738         * text.C:
3739         * text2.C:
3740         * text3.C:
3741         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3742           LCursor and mathcursor parts to LCursor and InsetBase.
3743
3744 2004-01-15  André Pönitz  <poenitz@gmx.net>
3745
3746         * cursor_slice.[Ch]: add a few covienience functions
3747
3748         * funcrequest.[Ch]: remove BufferView * member
3749
3750         * BufferView_pimpl.C:
3751         * cursor.C:
3752         * factory.[Ch]:
3753         * lyxfind.[Ch]:
3754         * lyxfunc.C:
3755         * lyxtext.h:
3756         * text3.C:
3757         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3758
3759 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3760
3761         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3762         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3763
3764 2004-01-13  André Pönitz  <poenitz@gmx.net>
3765
3766         * textcursor.[Ch]:
3767         * lyxtext.h: hide cursor and selection anchor behind accessor function
3768
3769         * BufferView.C:
3770         * BufferView_pimpl.[Ch]:
3771         * PosIterator.C:
3772         * bufferview_funcs.C:
3773         * cursor.h:
3774         * lyxfind.C:
3775         * lyxfunc.C:
3776         * text.C:
3777         * text2.C:
3778         * text3.C:
3779         * undo.C: adjust
3780
3781         * cursor.h:
3782         * cursor_slice.[Ch]: some integer type changes for inset unification
3783
3784         * lyxcursor.[hC]: remove, it's CursorSlice now.
3785
3786         * Makefile.am:
3787         * BufferView_pimpl.[Ch]:
3788         * bufferview_funcs.C:
3789         * cursor_slice.C:
3790         * lyxtext.h:
3791         * text.C:
3792         * text2.C:
3793         * text3.C:
3794         * textcursor.[Ch]: adjust
3795
3796 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3797
3798         * text2.C (undoSpan): add and use
3799         * text.C (breakParagraph): use undoSpan (fix bug 578)
3800         * lyxtext.h: adjust
3801
3802 2004-01-08  Angus Leeming  <leeming@lyx.org>
3803
3804         * BufferView_pimpl.C (MenuInsertLyXFile):
3805         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3806         * lyxfunc.C (menuNew, open, doImport):
3807         FileFilterList change to the FileDialog open and save functions.
3808
3809 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * ShareContainer.h: make isEqual and isUnique adaptable
3812
3813         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3814
3815 2004-01-07  Angus Leeming  <leeming@lyx.org>
3816
3817         * LyXAction.C:
3818         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3819
3820         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3821
3822         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3823         functions replacing find, replace and replaceAll.
3824
3825         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3826         LFUN_WORDFIND(FORWARD|BACKWARD).
3827
3828 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3829
3830         * text.C (breakParagraph): remove an outdated #warning
3831
3832 2004-01-07  André Pönitz  <poenitz@gmx.net>
3833
3834         * lyxfind.C: somewhat clearer logic
3835
3836         * text.C: prevent crash in cursorX on unitialized row cache
3837
3838 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3839
3840         * lyxcursor.[Ch] (operator>): add
3841         * textcursor.C (selStart, selEnd): use std::min and std::max
3842
3843 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3844
3845         * Chktex.C: include boost/format.hpp
3846
3847 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * InsetList.C: replace functor MathcIt with adaptable functor
3850         InsetTablePosLess
3851         (insetIterator): modify accordingly
3852
3853         * BranchList.h: move the BranchNamesEqual functor here from...
3854         * BranchList.C: ... to here
3855
3856         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3857         SameName and match.
3858         (add): replace a finding loop with std::find_if.
3859
3860 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3861
3862         * output_docbook.C: moving LatexParam functionality into
3863         .layout files
3864
3865 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3866
3867         * buffer.C: increment format to 229.
3868
3869 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3870
3871         * LaTeXFeatures.C:
3872         * lyx_sty.[Ch]: remove minipageindent_def
3873
3874         * LyXAction.C:
3875         * factory.C:
3876         * lfuns.h:
3877         * lyxfunc.C:
3878         * text3.C: remove LFUN_INSET_MINIPAGE
3879
3880 2003-12-28  Angus Leeming  <leeming@lyx.org>
3881
3882         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3883
3884 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3885
3886         * text2.C (setParagraph): fix off-by-one crash
3887
3888 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3889
3890         * output_docbook.C: header stuff for AGU
3891
3892 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3893
3894         * text2.C (redoCursor): remove
3895         * text.C:
3896         * text3.C:
3897         * BufferView_pimpl.C: remove calls to redoCursor and
3898         setCursor(cursor.par(), cursor.pos()) all around
3899
3900 2003-12-15  Angus Leeming  <leeming@lyx.org>
3901
3902         * buffer.C: up the format to 228.
3903
3904 2003-12-15  André Pönitz  <poenitz@gmx.net>
3905
3906         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3907         slices
3908
3909         * Makefile.am:
3910
3911         * BufferView_pimpl.C:
3912         * cursor.[Ch]:
3913         * lyxcursor.[Ch]:
3914         * rowpainter.[Ch]:
3915         * lyxtext.h:
3916         * text.C:
3917         * text2.C:
3918         * text3.C: adjust
3919
3920 2003-12-15  Angus Leeming  <leeming@lyx.org>
3921
3922         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3923         than getFromGUIName to manipulate the color.
3924
3925 2003-12-14  Angus Leeming  <leeming@lyx.org>
3926
3927         * BranchList.[Ch]: minimize the API.
3928         (Branch::getBranch, getColor): now return a 'const &'.
3929         (Branch::setSelected) now returns a bool set to true if the
3930         selection status changes.
3931         (BranchList::clear, size, getColor, setColor, setSelected,
3932         allBranches, allSelected, separator): removed.
3933         (BranchList::find): new functions, returning the Branch with
3934         the given name.
3935         (BranchList::add, remove): return a bool indicating that
3936         the operation was successful.
3937
3938         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3939         new InsetBranch::isBranchSlected member function.
3940
3941         * LColor.[Ch]: mimimize the API.
3942         (fill): renamed as addColor and made private.
3943         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3944         versions of these functions taking a string arg have been removed.
3945
3946         * bufferparams.C (readToken):
3947         * lyxfunc.C (dispatch):
3948         * lyxrc.C (read): changes due to the altered BranchList and
3949         LColor APIs.
3950
3951         * factory.C (createInset, readInset): changes due to altered
3952         InsetBranch c-tor.
3953
3954 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3955
3956         * factory.C:
3957         * lyxfunc.C: remove insetminipage. "minipage-insert"
3958         now produces a frameless minipage box inset.
3959
3960 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3961
3962         * textcursor.[Ch] (selStart,selEnd): add new methods
3963         remove selection::start, end, use LyXCursor::operator<
3964         * lyxcursor.[Ch] (operator<): add
3965         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3966         * BufferView.[Ch] (unsetXSel): add
3967         * text2.C (clearSelection): use unsetXSel,adjust
3968         * text.C: adjust
3969         * text3.C: adjust
3970         * rowpainter.C: adjust
3971         * bufferview_funcs.C (put_selection_at): adjust
3972
3973 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3974
3975         * BufferView_pimpl.C: small coord. correction
3976
3977 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3978
3979         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3980         dragging over the splash screen.
3981
3982 2003-12-11  Angus Leeming  <leeming@lyx.org>
3983
3984         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3985         as it is now handled in LyXText::dispatch.
3986
3987         * text3.C (doInsertInset): remove a level of nesting.
3988
3989 2003-12-11  Angus Leeming  <leeming@lyx.org>
3990
3991         * factory.C (createInset): changes due to the changed interface to
3992         InsetCommandMailer::string2params.
3993
3994 2003-12-10  Angus Leeming  <leeming@lyx.org>
3995
3996         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3997         'dialog-show-new-inset <inset name>'
3998
3999 2003-12-10  Angus Leeming  <leeming@lyx.org>
4000
4001         * buffer.C: up the format to 227.
4002
4003         * factory.C: the box inset is now identified simply by 'Box'.
4004
4005 2003-12-10  Angus Leeming  <leeming@lyx.org>
4006
4007         * buffer.C: up the format to 226.
4008
4009         * factory.C: the note inset is now identified simply by 'Note'.
4010
4011 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4012
4013         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4014         when a pit is enough. Standarize a couple of loops.
4015
4016 2003-12-05  Angus Leeming  <leeming@lyx.org>
4017
4018         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4019         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4020         data to the re-worked "log" dialog.
4021
4022 2003-12-03  André Pönitz  <poenitz@gmx.net>
4023
4024         * PosIterator.C:
4025         * iterators.C:
4026         * lyxtext.h:
4027         * output_latex.C:
4028         * paragraph_funcs.C:
4029         * text.C:
4030         * text2.C: use Inset::getText instead of Inset::getParagraph
4031
4032 2003-12-03  André Pönitz  <poenitz@gmx.net>
4033
4034         * buffer.[Ch]:
4035         * lyxtext.h:
4036         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4037         InsetText::read() as LyXText::read()
4038
4039 2003-12-02  Angus Leeming  <leeming@lyx.org>
4040
4041         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4042         type. Add a comment in the implementation that the function uses
4043         the stream's bad() function rather than fail() as the std::streams
4044         would do.
4045
4046 2003-12-02  André Pönitz  <poenitz@gmx.net>
4047
4048         * lyxlex.[Ch]: make interface more similar to std::stream
4049
4050         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4051
4052 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4053
4054         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4055
4056 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4057
4058         * vspace.[Ch]: remove VSpace::NONE
4059
4060 2003-12-01  André Pönitz  <poenitz@gmx.net>
4061
4062         * buffer.[Ch]:
4063         * lyxtext.h: move ParagraphList member to LyXText
4064         rename LyXText::ownerParagraphs to LyXText::paragraph
4065
4066         * CutAndPaste.C:
4067         * bufferview_funcs.C:
4068         * iterators.[Ch]:
4069         * lyx_cb.C:
4070         * paragraph.C:
4071         * rowpainter.C:
4072         * tabular.C:
4073         * text.C:
4074         * text2.C:
4075         * text3.C: adjust
4076
4077         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4078
4079         * undo.C: fix cursor positioning
4080
4081 2003-12-01  John Levon  <levon@movementarian.org>
4082
4083         * BufferView_pimpl.C: fix a crash on exit with
4084         a buffer open
4085
4086 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4087
4088         * BranchList.C: fix setSelected() method.
4089
4090 2003-11-28  André Pönitz  <poenitz@gmx.net>
4091
4092         * ParagraphParameters.[Ch]:
4093         * ParameterStruct.h: remove space above/below from Paragraph to
4094          InsetVSpace
4095
4096         * BufferView_pimpl.C:
4097         * factory.C:
4098         * lyxfunc.C:
4099         * lyxtext.h:
4100         * output_latex.C:
4101         * paragraph.C:
4102         * paragraph_funcs.C:
4103         * rowpainter.[Ch]:
4104         * text.C:
4105         * text2.C:
4106         * text3.C: adjust
4107
4108 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * factory.C: Syntax change for CharStyles
4111
4112 2003-11-28  André Pönitz  <poenitz@gmx.net>
4113
4114         * BufferView.[Ch]:
4115         * BufferView.[Ch]:
4116         * buffer.[Ch]:
4117         * buffer.[Ch]: move LyXText member
4118
4119 2003-11-28  André Pönitz  <poenitz@gmx.net>
4120
4121         * BufferView.[Ch]: make LyXText * text a private member
4122
4123         * BufferView_pimpl.C:
4124         * cursor.C:
4125         * iterators.C:
4126         * lyx_cb.C:
4127         * lyxfind.C:
4128         * lyxtext.h:
4129         * rowpainter.[Ch]:
4130         * text.C:
4131         * text2.C:
4132         * undo.C: adjust
4133
4134         * output_plaintext.C: cleanup
4135
4136 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4137
4138         * buffer.C:
4139         * lyxtextclass.[Ch]: parametrize SGML document header
4140
4141 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4142
4143         * converter.[Ch]:
4144         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4145         getFlavor().
4146
4147 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4148
4149         * text2.C (setFont): rework using PosIterator (no more recursive)
4150         (setCharFont): no more needed
4151         (setLayout): no more selection cursors fiddling (done by redoCursor)
4152         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4153         destroy remaining ones)
4154
4155 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4156
4157         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4158         * lyxtext.h: ditto
4159         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4160         selection cursors
4161         * lyxfunc.C: adjust
4162         * text3.C: adjust + re-allow multi par depth changes
4163         * textcursor.C: simplify a bit
4164
4165 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4166
4167         * src/buffer.C:
4168         * src/lyxlayout.C:
4169         * src/lyxlayout.h:
4170         * src/lyxtext.h:
4171         * src/output_docbook.C:
4172         * src/output_latex.C:
4173         * src/paragraph.C:
4174         * src/paragraph.h:
4175         * src/sgml.C:
4176         * src/sgml.h:
4177         * src/text2.C: Introducing a number of tags parametrizing various
4178         XML formats that we may want to support
4179
4180 2003-11-25  André Pönitz  <poenitz@gmx.net>
4181
4182         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4183
4184         * lyxtext.h (leftMargin/rightMargin): simplify interface
4185
4186         * rowpainter.C:
4187         * text.C:
4188         * text2.C:
4189         * text3.C: adjust
4190
4191 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4192
4193         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4194         master file to any child files. Fixes bug 546.
4195
4196 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4197
4198         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4199
4200 2003-11-24  André Pönitz  <poenitz@gmx.net>
4201
4202         * rowpainter.C: simplification
4203
4204         * text2.C (updateCounters): remove call to redoParagraph on
4205         changed labels as this is far too expensive.
4206
4207 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4208
4209         * converter.C (convert): fix a crash: this function gets
4210         called with buffer == 0 from importer code.
4211
4212 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * text3.C (cursorPrevious): make sure that we do not compare
4215         iterators form different containers.
4216         (cursorNext): ditto
4217
4218         * rowpainter.C (paintSelection): make sure that we do not compare
4219         iterators from different containers.
4220
4221         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4222         iterators from different ParagraphList containers.
4223         [NEXT] ditto
4224
4225         * text2.C (LyXText): change order of initialization slightly
4226         (operator=): new function. copy all variables except cache_par_
4227         (moveUp): make sure that we do not compare iterators from
4228         different ParagraphList constainers.
4229         (moveDown): ditto
4230
4231         * text.C (firstPar): new function
4232         (lastPar): new function
4233         (endPar): new function
4234
4235         * lyxtext.h: move things around and group public functions, public
4236         variables, private functions, private variables
4237
4238 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4239
4240         * factory.C: change call to InsetERT constructor to avoid
4241         additional invocation of method status
4242         * text2.C (toggleInset): remove redundant update() call
4243         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4244         instead of a Bufferview pointer
4245
4246 2003-11-21  André Pönitz  <poenitz@gmx.net>
4247
4248         * rowpainter.C: simplification
4249
4250 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4251
4252         * text3.C (dispatch): make possible to extend a word/row selection
4253         with the mouse
4254
4255 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4256
4257         * lyxtext.h: x0_,y0_ -> xo_,yo_
4258         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4259         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4260         * rowpainter.C (paintRows): paint full paragraphs
4261
4262 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4263
4264         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4265         screen coordinates)
4266
4267 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4268
4269         * lyxtext.h: add x0_, y0_
4270         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4271         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4272
4273 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4274
4275         * text2.C (setCursorIntern): move the x_target update here *
4276         * text3.C: change some bv() to true/false in calls to
4277         cursorUp/Down/Right/Left
4278         * cursor.C: use helper function.
4279
4280 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4281
4282         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4283         * paragraph_funcs.[Ch]: correct comment
4284         * rowpainter.C: do not paint selections away from bv->cursor()
4285         Fix a long standing selection painting bug.
4286         * text3.C: generalize mouse-selection code to LyXTexts other that
4287         top one
4288         * textcursor.C: do not use y coords if we can use par offsets
4289
4290 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4291
4292         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4293         cursor position after e.g. inset insert)
4294
4295 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4296
4297         * lyxfind.C (replace): adjust to locking removal + some
4298         code simplification
4299
4300 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4301
4302         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4303         of the path
4304
4305 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4306
4307         * lyxlayout.[Ch]:
4308         * output_docbook.C: XML sanitation: new layout
4309         parameters InnerTag and CommandDepth
4310
4311 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4312
4313         * BufferView_pimpl.C:
4314         * factory.C:
4315         * text3.C: Fix the insertion and modification of button-style
4316         insets
4317
4318 2003-11-13  André Pönitz  <poenitz@gmx.net>
4319
4320         * InsetList.[Ch]: remove deleteLyXText
4321
4322         * paragraph.[Ch]: cache beginOfBody position
4323
4324         * Bidi.C:
4325         * text.C:
4326         * text2.C:
4327         * text3.C: remove superfluous update() calls
4328
4329         * vspace.C: cleanup
4330
4331 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4332
4333         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4334         * BufferView.C (fitLockedInsetCursor): remove
4335         * cursor.[Ch] (getDim): add
4336         * text.C (getRowNearY): add faster version
4337         * text3.C: remove some update calls
4338
4339 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4340
4341         * LaTeXFeatures.C:
4342         * LyXAction.C:
4343         * MenuBackend.C:
4344         * MenuBackend.h:
4345         * dispatchresult.h:
4346         * factory.C:
4347         * lfuns.h:
4348         * lyxfunc.C:
4349         * lyxtextclass.C:
4350         * lyxtextclass.h:
4351         * text3.C: The Character Style /XML short element patch.
4352
4353 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4354
4355         * text3.C:
4356         * factory.C: Small step to solving 'unable to insert some insets'
4357         problem
4358
4359 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4360
4361         * cursor.[Ch] (updatePos): new function for updating the y
4362         position of the tip inset
4363         * bufferview_funcs.C (put_selection_at):
4364         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4365
4366 2003-11-11  André Pönitz  <poenitz@gmx.net>
4367
4368         * text.C: remove big comment on invalid Paragraph pointers as it is
4369         not valid anymore
4370
4371 2003-11-11  André Pönitz  <poenitz@gmx.net>
4372
4373         * text_funcs.[Ch]: merge with ...
4374
4375         * text.C: ... this
4376
4377         * lyxtext.h:
4378         * text2.C:
4379         * text3.C: adjust
4380
4381         * Makefile.am: remove text_funcs.[Ch]
4382
4383 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4384
4385         * cursor.C (getPos): return absolute cached y coord
4386
4387         * BufferView_pimpl.C (fitCursor): new simplistic code
4388         (workAreaDispatch): add a fitCursor call
4389
4390 2003-11-10  André Pönitz  <poenitz@gmx.net>
4391
4392         * BufferView.[Ch]:
4393         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4394
4395 2003-11-10  André Pönitz  <poenitz@gmx.net>
4396
4397         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4398         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4399         indicate that the cursor needs to leave an inset
4400
4401         * lyxtext.h: remove inset locking
4402
4403         * cursor.[Ch]: re-implement functionality provided by inset locking
4404
4405         * BufferView.[Ch]:
4406         * BufferView_pimpl.[Ch]:
4407         * LyXAction.C:
4408         * bufferview_funcs.[Ch]:
4409         * factory.C:
4410         * funcrequest.[Ch]:
4411         * iterators.C:
4412         * lyx_cb.C:
4413         * lyxfind.C:
4414         * lyxfunc.C:
4415         * text.C:
4416         * text2.C:
4417         * text3.C:
4418         * undo.C: adjust
4419
4420 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4421
4422         * PosIterator.[Ch]: replace the stack with a vector, add inset
4423         accesor
4424         * iterators.[C]: adjust
4425
4426 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4427
4428         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4429         replaced
4430         * paragraph_funcs.C (readParToken): put the correct id in the
4431         error item, not the id of the top paragraph
4432
4433 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4436         * bufferview_funcs.C (put_selection_at): use the above
4437
4438 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4441
4442 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4443
4444         * output_linuxdoc.h:
4445         * output_plaintext.h:
4446         * output.h:
4447         * output_docbook.h: add #include statements
4448
4449 2003-11-05  José Matos  <jamatos@lyx.org>
4450
4451         * output_docbook.[Ch]:
4452         * output_latex.[Ch]:
4453         * output_linuxdoc.[Ch]:
4454         * output_plaintext.[Ch]: New files for output formats.
4455         * output.[Ch]: New file for helper functions.
4456
4457         * buffer.[Ch]:
4458         * paragraph_funcs.[Ch]: output functions moved to new files.
4459
4460         * outputparams.h: rename of latexrunparams.h
4461
4462         * LaTeX.[Ch]:
4463         * buffer.[Ch]:
4464         * bufferlist.[Ch]:
4465         * converter.[Ch]:
4466         * exporter.C:
4467         * paragraph.[Ch]:
4468         * paragraph_funcs.[Ch]:
4469         * paragraph_pimpl.[Ch]:
4470         * tabular.[Ch]: rename ascii to plaintext
4471         and LatexRunParams to OutputParams.
4472
4473 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * iterators.[Ch] (text): require bv argument
4476         * undo.C (recordUndo):
4477         * lyxfunc.C (dispatch):
4478         * bufferview_funcs.C (put_selection_at): adjust
4479
4480 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4481
4482         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4483
4484 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4487         nestings
4488
4489 2003-11-04  André Pönitz  <poenitz@gmx.net>
4490
4491         * cursor.[Ch]: restructure
4492
4493         * BufferView.[Ch]:
4494         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4495
4496         * iterators.[Ch] (asCursor): remove
4497
4498         * lfuns.h: remove LFUN_INSET_EDIT
4499
4500         * lyxfunc.C:
4501         * tabular.C:
4502         * text.C:
4503         * text2.C:
4504         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4505
4506 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4507
4508         * lyxfind.[Ch]: complete overhaul
4509         * BufferView_pimpl.C:
4510         * lyxfunc.C: adjust
4511         * paragraph.[Ch] (insert): add
4512
4513 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4514
4515         * BufferView.[Ch]:
4516         * lyxtext.h:
4517         * text.C: remove dead spellcheck code
4518
4519 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4520
4521         * dispatchresult.h: add a val setter
4522
4523         * cursor.C (dispatch): use a tempvar for data_[i]
4524
4525 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4526
4527         * PosIterator.[Ch]: compile fix
4528
4529 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4530
4531         * text.C (cursorPar): deactivate the cursor cache
4532
4533 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4534
4535         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4536
4537 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4538
4539         * text3.C (dispatch): adjust for new DisptchResult semantics.
4540
4541         * lyxfunc.C (dispatch): handle update when return from
4542         Cursor::dispatch, adjust for new DispatchResult semantics.
4543
4544         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4545         DispatchResult(true) mean to not update. Add class functions for
4546         setting dispatched and update, as well as reading.
4547
4548         * cursor.C (dispatch): don't handle update here
4549
4550 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4553         * trans_mgr.C: adjust
4554
4555         * paragraph_funcs.C (readParToken): exception safety
4556
4557         * lyxvc.h: store the vcs pointer in a scoped_ptr
4558         * lyxvc.C: adjust
4559
4560         * lyxsocket.C (serverCallback): exception safety
4561
4562         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4563
4564         * ispell.C (clone): make it return a auto_ptr
4565
4566         * factory.C (createInset): exception safety
4567         (readInset): exception safety
4568
4569         * bufferlist.C (newBuffer): exception safety
4570
4571         * Thesaurus.C (Thesaurus): use initialization for aik_
4572
4573         * MenuBackend.C (expandToc): exception safety.
4574
4575 2003-11-03  André Pönitz  <poenitz@gmx.net>
4576
4577         * buffer.C:
4578         * buffer.h:
4579         * bufferview_funcs.C: remove getInsetFromId()
4580
4581         * lyxcursor.[Ch]:
4582         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4583
4584         * lyxfunc.C:
4585         * text2.C:
4586         * text3.C: adjust
4587
4588 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4589
4590         * PosIterator.C (distance, advance): new
4591         * bufferview_funcs.[Ch] (put_selection_at): new
4592         * iterators.[Ch] (lockPath): new
4593
4594 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4595
4596         * iterators.[Ch] (asPosIterator): added
4597         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4598         * PosIterator.[Ch]: added
4599
4600 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * text3.C:
4603         * lyxfunc.C:
4604         * cursor.C (dispatch):
4605         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4606
4607         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4608         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4609         contructor, add a class function dispatched. Remove operator>=
4610
4611 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * debug.C: only use the default constructor for debugstream
4614         (lyxerr) here.
4615
4616         * main.C (main): include debug.h and setup the lyxerr streambuf
4617         here.
4618
4619 2003-10-31  José Matos  <jamatos@lyx.org>
4620
4621         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4622
4623         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4624         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4625         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4626         * paragraph_pimpl.C (simpleTeXSpecialC):
4627         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4628         add LatexRunParams argument.
4629
4630         * exporter.C (Export): change call accordingly.
4631
4632         * latexrunparams.h: add new member to take care of the other backends.
4633 2003-10-30  José Matos  <jamatos@lyx.org>
4634
4635         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4636         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4637         factorise code for paragraph output.
4638         * buffer.[Ch]:
4639         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4640         move functions.
4641
4642 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4643
4644         * text3.C (dispatch):
4645         * lyxfunc.C (dispatch):
4646         * cursor.C (dispatch):
4647         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4648
4649         * dispatchresult.h: make the dispatch_result_t ctor explicit
4650
4651 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4652
4653         * sgml.[Ch]:
4654         * buffer.C: small refactoring of docbook stuff
4655
4656 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4657
4658         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4659         meaning.
4660
4661 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4662
4663         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4664         operator dispatch_result_t, and operators for == != and >=
4665
4666         * cursor.C (dispatch): adjust for operator dispatch_result_t
4667         removal. comment out call to update
4668
4669         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4670
4671 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * text3.C:
4674         * text2.C:
4675         * text.C:
4676         * lyxtext.h:
4677         * lyxfunc.C:
4678         * cursor.C:
4679         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4680         (dispatch):
4681
4682         * dispatchresult.h: new file, DispatchResult broken out of
4683         insets/insetbase.h
4684
4685         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4686
4687 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4688
4689         * text.C (rowBreakPoint): put a hack inside #if 0
4690
4691 2003-10-28  André Pönitz  <poenitz@gmx.net>
4692
4693         * lyxtext.h:
4694         * metricsinfo.C:
4695         * paragraph_funcs.C:
4696         * rowpainter.C:
4697         * text.C:
4698         * text2.C: general cleanup (lots of small stuff)
4699
4700 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * text2.C (cursorEnd): simple fix to the "end key goes to one
4703         before the end on last row" bug
4704
4705 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * text.C (backspace): fix the "zombie characters"
4708
4709 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4710
4711         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4712
4713 2003-10-27  André Pönitz  <poenitz@gmx.net>
4714
4715         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4716
4717         * factory.C: handle new InsetPagebreak, InsetLine
4718
4719         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4720         and move handling into new InsetPagebreak, InsetLine
4721
4722         * BufferView_pimpl.C:
4723         * LyXAction.C:
4724         * ParagraphParameters.C:
4725         * ParameterStruct.h:
4726         * lyxfunc.C:
4727         * lyxtext.h:
4728         * paragraph.C:
4729         * paragraph.h:
4730         * paragraph_funcs.C:
4731         * paragraph_pimpl.C:
4732         * rowpainter.C:
4733         * text.C:
4734         * text2.C:
4735         * text3.C: adjust
4736
4737 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4738
4739         * text.C:
4740         * lyxrow_funcs.[Ch]:
4741         * Bidi.C:
4742         * paragraph.C:
4743         * lyxtext.h:
4744         * rowpainter.C:
4745         * text2.C:
4746         * text3.C: remove lastPos uses in favour of Row::endpos
4747
4748 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4749
4750         * undo.C (performUndoOrRedo): fix two crashes by setting a
4751         cursor by hand and reordering some calls. Use bv->lockInset instead
4752         of inset->edit because the latter loses cursor information
4753
4754 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4755
4756         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4757         by Martin
4758         (rowBreakPoint): fix width. change point to point + 1.
4759         Add a missing check.
4760
4761 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4762
4763         * MenuBackend.C:
4764         * lyxfunc.C: fix (at least partly) the problems
4765         with the Nav menu and headers inside branch insets
4766         reported by Kayvan
4767
4768 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * paragraph.C (getChar): add strong asserts
4771
4772         * lyxrow_funcs.C (lastPos): remove hideous hack
4773
4774         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4775         (fill): adjust to that (avoid an infinite loop)
4776
4777 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4778
4779         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4780
4781 2003-10-23  André Pönitz  <poenitz@gmx.net>
4782
4783         * RowList_fwd.h: change list<> to vector<> to gain speed
4784         after suggestion from Alfredo
4785
4786 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4787
4788         * lyxtext.h: move the bidi stuff from here...
4789         * text.C: and here
4790         * text2.C: and here
4791         * Bidi.[Ch]: ... to here
4792
4793 2003-10-23  André Pönitz  <poenitz@gmx.net>
4794
4795         * lyxtext.h:
4796         * text.C (isLastRow, isFirstRow): new functions
4797
4798         * paragraph.h: new width cache member
4799
4800         * rowpainter.C: replace RowList::iterator with Row & where possible
4801
4802         * lyxfunc.C: replace several view()->text with a single call
4803
4804         * toc.C: fix 'unused' warning
4805
4806 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4809         when woring with stream::pos_type
4810         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4811
4812 2003-10-22  André Pönitz  <poenitz@gmx.net>
4813
4814         * lyxtext.h:
4815         * text.C: use Row & instead of RowList::iterator
4816
4817         * lyxrow.h: rename end() to endpos()
4818
4819         * rowpainter.C:
4820         * text.C:
4821         * text2.C: adjust
4822
4823 2003-10-22  Angus Leeming  <leeming@lyx.org>
4824
4825         * buffer.[Ch] (fully_loaded): new member function, returning true
4826         only when the file has been loaded fully.
4827         Used to prevent the premature generation of previews and by the
4828         citation inset to prevent computation of the natbib-style label.
4829
4830         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4831         templates are all set up.
4832
4833         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4834
4835 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4836
4837         * text.C: fixed an "oops" in the "is a bit silly"
4838         bug fix
4839
4840 2003-10-21  André Pönitz  <poenitz@gmx.net>
4841
4842         * FuncStatus.[Ch]: small stuff, whitespace
4843
4844         * lyxfont.[Ch]: operator<<() for debug reasons
4845
4846         * lyxfunc.C:
4847         * lyxrow_funcs.C:
4848         * lyxtext.h: whitespace, spelling
4849
4850         * paragraph.C: naming of variables
4851
4852         * text.C:
4853         * text2.C: small stuff
4854
4855
4856 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4857
4858         * text.C: (1) finish off the inset display() work;
4859         (2) fix the "is a bit silly" bug (accessing char
4860         past end of par).
4861
4862 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4863
4864         * text.C: re-introduce display() for insets, fixing the
4865         various bugs (stretch of line above, math inset
4866         positioning, ...)
4867
4868 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4869
4870         * text.C (rightMargin): remove spurious semicolon
4871
4872         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4873         1415)
4874
4875 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4876
4877         * text3.C: fix one crash due to wrong cursor def
4878
4879 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4880
4881         * vc-backend.C (scanMaster): make the regex static
4882
4883         * LaTeX.C (scanAuxFile): make the regexs static
4884
4885         * text3.C (doInsertInset, dispatch, dispatch):
4886         * text2.C (cursorUp, cursorDown):
4887         * text.C (selectNextWordToSpellcheck):
4888         * BufferView_pimpl.C (dispatch):
4889         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4890
4891 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4892
4893         * lyxsocket.C: include <cerrno>
4894
4895 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * lyxfunc.C (dispatch): remove textcache stuff
4898
4899         * bufferlist.C (release): remove textcache stuff
4900         (closeAll): ditto
4901
4902         * TextCache.C: delete file
4903         * TextCache.h: delete file
4904
4905         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4906
4907         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4908         delete of the bv_->text.
4909         (resizeCurrentBuffer): remove texcache stuff
4910         (workAreaResize): ditto
4911
4912 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4915         action.
4916
4917 2003-10-16  André Pönitz  <poenitz@gmx.net>
4918
4919         * lyxrow.[Ch]:
4920         * paragraph.h:
4921         * rowpainter.C:
4922         * text.C:
4923         * text2.C:
4924         * text3.C: speed up by storing y positions per paragraph plus per-row
4925         offset instead of having a 'full' y position in the row.
4926
4927 2003-10-15  André Pönitz  <poenitz@gmx.net>
4928
4929         * iterators.[Ch]:
4930         * iterators.[Ch]:
4931         * undo.[Ch]: make undo aware of inner insets
4932
4933 2003-10-14  Angus Leeming  <leeming@lyx.org>
4934
4935         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4936         static member functions LyX::ref() and LyX::cref.
4937         (lastfiles): new accessor functions for the new lastfiles_ member var.
4938         (addLyXView, views_): add a new LyXView to the list of views_.
4939         (updateInset): loop over all LyXViews to call their own updateInset
4940         member function, returning a pointer to the Buffer owning the inset.
4941
4942         * BufferView_pimpl.C (loadLyXFile):
4943         * MenuBackend.C (expandLastfiles):
4944         * bufferlist.C (MenuWrite, QuitLyX):
4945         lastfiles is no longer a global variable.
4946         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4947
4948         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4949         static function. Access through LyX::cref().emergencyCleanup().
4950
4951 2003-10-14  André Pönitz  <poenitz@gmx.net>
4952
4953         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4954
4955         * undo.[Ch]: restoring part of 'undo in insets'
4956
4957         * Makefile.am:
4958         * undo_funcs.[Ch]: merge with undo.[Ch]
4959
4960         * tabular.C: small cleansing stuff
4961
4962 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4963
4964         * paragraph_funcs.C (readParToken): report unknown insets as error
4965         boxes. Use the outer paragraph as location (also for unknown
4966         tokens).
4967
4968         * factory.C (readInset): do not abort on reading an unknown inset.
4969         Eat it and return 0.
4970
4971 2003-10-13  Angus Leeming  <leeming@lyx.org>
4972
4973         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4974
4975         * lyxrc.C: displayTranslator is now a function,
4976         declared in GraphicsTypes.h.
4977
4978 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4979
4980         * format.C: new placeholder $$a to pass the socket address.
4981
4982         * bufferlist.[Ch]: new function getBufferFromTmp.
4983
4984         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4985           files in the temporary dir.
4986
4987 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4988
4989         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4990
4991         * Makefile.am: add lyxsocket.[Ch].
4992
4993         * lyx_main.C (error_handler): handle SIGPIPE.
4994
4995 2003-10-13  André Pönitz  <poenitz@gmx.net>
4996
4997         * BufferView_pimpl.C:
4998         * lyxtext.h:
4999         * text.C:
5000         * text2.C:
5001         * text3.C:
5002         * undo_funcs.[Ch]: use paroffset_type instead of
5003           ParagraphList::iterators to prevent multiple conversion
5004           (and get a more robust interface)
5005
5006 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5009         * lyxtext.h: ditto
5010         * text3.C (dispatch): ditto
5011
5012 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5015         move the onlyfile, use onlyfile instead of foundfile in a couple
5016         of places.
5017
5018         * DepTable.C (update): flush the error stream a bit more
5019
5020 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * lyxserver.C (callback): adjust
5023
5024         * lyxfunc.C (getStatus): add a missing brace in commented code
5025         (ensureBufferClean): reindent
5026         (dispatch): delete version taking a string
5027
5028 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * LaTeX.C (deplog): move found file handlig from here...
5031         (handleFoundFile): .. to new function here.
5032         (deplog): make sure to discover several files mentioned on the
5033         same log line.
5034
5035 2003-10-10  André Pönitz  <poenitz@gmx.net>
5036
5037         * lyxfunc.C:
5038         * lyxtext.h:
5039         * tabular.C:
5040         * text.C:
5041         * text2.C:
5042         * text3.C: fix some of the tabular crashes
5043
5044 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5045
5046         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5047
5048         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5049
5050 2003-10-09  André Pönitz  <poenitz@gmx.net>
5051
5052         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5053
5054         * BufferView.C:
5055         * BufferView_pimpl.C:
5056         * bufferview_funcs.C:
5057         * lyx_cb.C:
5058         * lyxcursor.C:
5059         * lyxfind.C:
5060         * lyxfunc.C:
5061         * lyxtext.h:
5062         * text.C:
5063         * text2.C:
5064         * text3.C:
5065         * text_funcs.[Ch]:
5066         * textcursor.[Ch]:
5067         * undo_funcs.C: adjust
5068
5069 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5070
5071         * text2.C (incrementItemDepth): new function, use a backtracking
5072         algorithm to discover the correct item depth.
5073         (resetEnumCounterIfNeeded): new function, use a backtracking
5074         algorithm to discover if counter reset is needed.
5075         (setCounter): use them. Simplify a bit. Add different labels for
5076         different item depths for itemize.
5077
5078         * paragraph.C (Paragraph): remove initialization of enumdepth
5079         (operator=): ditto
5080
5081         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5082         enumerate and itemize. Change the type of itemdepth to signed char.
5083
5084 2003-10-08  André Pönitz  <poenitz@gmx.net>
5085
5086         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5087           thing assignable.
5088         * text.C:
5089         * text2.C: adjust
5090
5091         * tabular.[Ch]: fix crash after 'row-insert'
5092
5093 2003-10-08  Angus Leeming  <leeming@lyx.org>
5094
5095         Fix doxygen warnings.
5096
5097         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5098         Remove CutAndPaste:: prefix from header file declaration.
5099
5100         * LColor.h (fill): remove LColor:: prefix from declaration.
5101
5102         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5103         use lyx::depth_type rather than Paragraph::depth_type so that
5104         header file and .C file match.
5105
5106         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5107
5108         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5109         * aspell.C: \file aspell_local.C -> \file aspell.C
5110         * gettext.C: \file gettext.C -> \file src/gettext.C
5111         * gettext.h: \file gettext.h -> \file src/gettext.h
5112         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5113         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5114         * text.C: \file text.C -> \file src/text.C
5115
5116         * toc.C: move comment so that doxygen is not confused.
5117
5118 2003-10-07  Angus Leeming  <leeming@lyx.org>
5119
5120         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5121
5122 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5123
5124         * aspell.C:
5125         * aspell_local.h: add forgotten std::string's.
5126
5127 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5128
5129         * LaTeXFeatures.C:
5130         * LyXAction.C:
5131         * factory.C:
5132         * lfuns.h:
5133         * lyxfunc.C:
5134         * text3.C: The Box patch. Fancybox support, minipage, parbox
5135
5136 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5137
5138         * CutAndPaste.h:
5139         * DepTable.h:
5140         * FloatList.h:
5141         * LaTeXFeatures.h:
5142         * ParagraphParameters.h:
5143         * TextCache.h:
5144         * Thesaurus.h:
5145         * bufferlist.h:
5146         * exporter.h:
5147         * importer.h:
5148         * lastfiles.h:
5149         * lyxfind.h:
5150         * lyxfont.h:
5151         * lyxlex.h:
5152         * lyxtextclasslist.h:
5153         * messages.h:
5154         * paragraph.h:
5155         * paragraph_pimpl.C:
5156         * textcursor.h: add <string> and other small fixes to make Lars'
5157         std::string patch compile with STLport.
5158
5159 2003-10-06  Angus Leeming  <leeming@lyx.org>
5160
5161         * LColor.h: Add missing #include <string>.
5162
5163 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5164
5165         * All most all file in all subdirs: Make <string> be the prefered
5166         way of getting to std::string, add using declarations.
5167
5168 2003-10-06  André Pönitz  <poenitz@gmx.net>
5169
5170         * metricsinfo.C: initialize LyXFont before changing attribute.
5171         (fixes the 'math in \emph is upright' bug)
5172
5173 2003-10-06  André Pönitz  <poenitz@gmx.net>
5174
5175         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5176
5177 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5178
5179         * graph.C:
5180         * paragraph_pimpl.C: Small fixes to build using STLport
5181
5182 2003-10-02  André Pönitz  <poenitz@gmx.net>
5183
5184         * lyxfunc.C:
5185         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5186
5187 2003-10-01  André Pönitz  <poenitz@gmx.net>
5188
5189         * factory.C: assert early
5190
5191 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5192
5193         * lyx_main.C: remove the global debug object
5194
5195         * debug.h: adjust for new debugstream
5196
5197         * debug.C: adjust for new debugstream and keep the global debug
5198         object here.
5199
5200 2003-09-22  Angus Leeming  <leeming@lyx.org>
5201
5202         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5203         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5204         an incomplete class LyXFont.
5205
5206 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5207
5208         * factory.C: bug fix in branches
5209
5210 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * lyxfunc.C (processKeySym): adjust
5213         (dispatch): adjust
5214         (dispatch): change arg name from ev to func, adjust
5215         (sendDispatchMessage): ditto
5216
5217         * lyx_main.C (defaultKeyBindings): adjust keybindings
5218         (deadKeyBindings): ditto
5219
5220         * kbsequence.C (addkey): return a FuncRequest
5221
5222         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5223
5224         * kbmap.C (bind): take a FuncRequest as arg, adjust
5225         (read): adjust
5226         (lookup): adjust
5227         (defkey): change to take a FuncRequest as arg, adjust
5228         (findbinding): take a FuncRequest as arg, adjust.
5229
5230         * funcrequest.h (operator=): added
5231
5232         * funcrequest.C (FuncRequest): default kb_action changed from
5233         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5234
5235         * buffer.C (dispatch): simplify
5236         (dispatch): adjust to take a FuncRequest as arg, adjust
5237
5238         * boost.C (assertion_failed): change assertion message slightly
5239
5240         * ToolbarBackend.C (read): simplify
5241
5242         * MenuBackend.C (binding): adjust call to findbinding, add a
5243         message if no binding is found.
5244         (read): simplify
5245         (expandToc): correct by adding a empty FuncRequest
5246
5247         * LyXAction.C: include <boost/assert.hpp>
5248         (isPseudoAction): delete function
5249         (LookupFunc): change name to...
5250         (lookupFunc): this. change return type to FuncRequest.
5251         (getActionName): take kb_action as arg, simplify
5252         (funcHasFlag): add an assert, simplify.
5253
5254 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * toc.C (action): return a FuncRequest, simplify
5257
5258         * lyxfunc.C (processKeySym): adjust
5259         (getStatus): delete version that takes an int.
5260         (getStatus): adjust
5261         (dispatch): delete version that takes action as int
5262         (dispatch): adjust
5263         (sendDispatchMessage): simplify and adjust
5264
5265         * funcrequest.C (getArg): take unsigned int as arg
5266
5267         * ToolbarBackend.C (read): adjust
5268         (add): delete version that takes func as a string.
5269         (getIton): take a FuncRequest as arg
5270
5271         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5272         action.
5273
5274         * MenuBackend.C (MenuItem): add a new construct that only takes a
5275         Kind, simplify the constructor use for submenus.
5276         (add): adjust
5277         (expandLastfiles): adjust
5278         (expandDocuments): adjust
5279         (expandFormats): adjust
5280         (expandFloatListInsert): adjust
5281         (expandFloatInsert): adjust
5282         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5283
5284         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5285         Remove class variables lyx_pseudo_map and lyx_arg_map
5286
5287         * LyXAction.C (searchActionArg): delete function
5288         (getPseudoAction): delete function
5289         (retrieveActionArg): delete function
5290         (LookupFunc): make it return kb_action, simplify.
5291         (getActionName): simplify
5292
5293         * factory.C (createInset): fix new bug
5294
5295 2003-09-19  Angus Leeming  <leeming@lyx.org>
5296
5297         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5298         masterFilename_ parameter in the include inset.
5299
5300         * factory.C (createInset): changes due to the changes to InsetInclude.
5301
5302 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5303
5304         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5305
5306 2003-09-18  Angus Leeming  <leeming@lyx.org>
5307
5308         * buffer.C:
5309         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5310         Inset::fillWithBibKeys.
5311         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5312
5313 2003-09-18  Angus Leeming  <leeming@lyx.org>
5314
5315         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5316         variables.
5317         (ctor): pass and store a 'Buffer const &'
5318         (buffer): new member function.
5319
5320         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5321         '*this' to the LaTeXFeatures ctor.
5322
5323 2003-09-18  Angus Leeming  <leeming@lyx.org>
5324
5325         * LColor.h:
5326         * lyxfont.C:
5327         * lyxfont.h:
5328         * lyxtext.h:
5329         * text.C: rename EnumLColor as LColor_color.
5330
5331 2003-09-18  Angus Leeming  <leeming@lyx.org>
5332
5333         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5334         remove #include "insets/insetbase.h" from cursor.h.
5335
5336 2003-09-18  Angus Leeming  <leeming@lyx.org>
5337
5338         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5339         InsetOld_code to remove #include "inset.h".
5340
5341         * iterators.C: add #include "insets/inset.h"
5342
5343 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5344
5345         * BufferView.C: remove more locking stuff that apparently doesn't
5346         do anything sensible.
5347
5348 2003-09-16  André Pönitz  <poenitz@gmx.net>
5349
5350         * paragraph.[Ch]:
5351         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5352           performance boost.
5353
5354 2003-09-16  Angus Leeming  <leeming@lyx.org>
5355
5356         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5357
5358         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5359         arg/return type.
5360
5361         * paragraph.h: remove #include "lyxfont.h". Forward declare
5362         LyXFont_size.
5363
5364 2003-09-16  Angus Leeming  <leeming@lyx.org>
5365
5366         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5367         of support/textutils.h.
5368         (isWord): move the contents of support/textutils.h's IsWordChar here.
5369
5370         * buffer.C:
5371         * lyxfind.C:
5372         * rowpainter.C:
5373         * text.C:
5374         * text2.C: add #include "paragraph.h".
5375
5376         * rowpainter.C:
5377         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5378
5379 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * main.C:
5382         * lyx_main.C:
5383         * lyx_cb.C:
5384         * buffer.C:
5385         * LaTeX.C: use namespace alias for lyx::support::os
5386
5387 2003-09-16  Angus Leeming  <leeming@lyx.org>
5388
5389         * bufferparams.C:
5390         * bufferview_funcs.C:
5391         * factory.C:
5392         * lyxfunc.C:
5393         * paragraph_pimpl.C:
5394         * rowpainter.C:
5395         * text.C: add #include "LColor.h".
5396
5397 2003-09-16  Angus Leeming  <leeming@lyx.org>
5398
5399         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5400         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5401         return LyXFont &.
5402         Store the FontBits::color variable as an int rather than as an
5403         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5404         file.
5405
5406         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5407         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5408         string calls together.
5409
5410         * lyxrc.C: add #include "LColor.h".
5411
5412 2003-09-15  Angus Leeming  <leeming@lyx.org>
5413
5414         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5415         a cow_ptr.
5416
5417 2003-09-15  Angus Leeming  <leeming@lyx.org>
5418
5419         * LColor.h: add an EnumLColor wrapper for LColor::color.
5420
5421         * lyxfont.[Ch] (color, setColor, realColor):
5422         * lyxtext.h, text.C (backgroundColor):
5423         pass EnumLColor args to/from the functions, rather than LColor::color
5424         ones.
5425
5426         * lyxfont.h:
5427         * lyxtext.h: forward declare EnumLColor.
5428
5429         * lyx_main.C: add #include "LColor.h".
5430
5431 2003-09-15  Angus Leeming  <leeming@lyx.org>
5432
5433         * .cvsignore: add lyx-gtk.
5434
5435 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * Chktex.C
5438         * LaTeX.C
5439         * LaTeXFeatures.C
5440         * ParagraphParameters.C
5441         * Spacing.C
5442         * buffer.C
5443         * bufferparams.C
5444         * bufferview_funcs.C
5445         * chset.C
5446         * counters.C
5447         * funcrequest.C
5448         * lyxfont.C
5449         * lyxgluelength.C
5450         * lyxlength.C
5451         * paragraph.C
5452         * paragraph_funcs.C
5453         * text3.C
5454         * vc-backend.C: remove usage of STRCONV
5455
5456 2003-09-15  Angus Leeming  <leeming@lyx.org>
5457
5458         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5459         explicitly define the color passed to the painter.
5460
5461 2003-09-15  Angus Leeming  <leeming@lyx.org>
5462
5463         * bufferparams.C (BufferParams): reorder member initializers to avoid
5464         compiler warning.
5465
5466 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5467
5468         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5469         * text.C (updateRowPositions): remove an unusual nop
5470
5471 2003-09-12  André Pönitz  <poenitz@gmx.net>
5472
5473         * BufferView_pimpl.C:
5474         * Bullet.C:
5475         * layout.h:
5476         * lyxfunc.C:
5477         * lyxlayout.[Ch]:
5478         * lyxtextclass.C:
5479         * rowpainter.C:
5480         * text.C:
5481         * text2.C:
5482         * Counters.[Ch]: finish the 'automatic counters' job
5483
5484 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5485
5486         * aspell.C: include <boost/assert.cpp> (compile fix)
5487
5488 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5489
5490         * boost.C (assertion_failed): use lyx::support::abort instead of
5491         assert.
5492
5493 2003-09-10  Angus Leeming  <leeming@lyx.org>
5494
5495         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5496         with their _fwd progeny.
5497
5498 2003-09-09  Angus Leeming  <leeming@lyx.org>
5499
5500         134 files throughtout the source tree: replace 'using namespace abc;'
5501         directives with the appropriate 'using abc::xyz;' declarations.
5502
5503 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5504
5505         * boost.C (emergencyCleanup): moved here from LAssert.c
5506         (assertion_failed): new function, called by BOOST_ASSERT
5507
5508         * several files: change Assert to BOOST_ASSERT
5509
5510 2003-09-09  Angus Leeming  <leeming@lyx.org>
5511
5512         * buffer.[Ch]: Add an Impl class and move Buffer's member
5513         variables into it. As a result move several header files out of
5514         buffer.h.
5515
5516         Add header files to lots of .C files all over the tree as a result.
5517
5518 2003-09-09  Angus Leeming  <leeming@lyx.org>
5519
5520         * buffer.[Ch]: make Buffer's member variables private. Add
5521         accessor functions.
5522
5523         Lots of changes all over the tree as a result.
5524
5525 2003-09-08  Angus Leeming  <leeming@lyx.org>
5526
5527         * graph.C: #include <config.h>.
5528
5529 2003-09-08  Angus Leeming  <leeming@lyx.org>
5530
5531         * BranchList.C:
5532         * BufferView.C:
5533         * BufferView_pimpl.C:
5534         * CutAndPaste.C:
5535         * DepTable.C:
5536         * LaTeX.C:
5537         * LaTeXFeatures.C:
5538         * LyXAction.C:
5539         * MenuBackend.C:
5540         * TextCache.C:
5541         * aspell.C:
5542         * buffer.C:
5543         * bufferlist.C:
5544         * changes.C:
5545         * chset.C:
5546         * converter.C:
5547         * counters.C:
5548         * debug.C:
5549         * graph.C:
5550         * ispell.C:
5551         * lyx_cb.C:
5552         * lyxfind.C:
5553         * lyxfunc.C:
5554         * lyxlex_pimpl.C:
5555         * lyxrc.C:
5556         * lyxrow.C:
5557         * paragraph.C:
5558         * rowpainter.C:
5559         * texrow.C:
5560         * text.C:
5561         * text2.C:
5562         * toc.C: remove redundant using directives.
5563
5564 2003-09-07  Angus Leeming  <leeming@lyx.org>
5565
5566         * LaTeXFeatures.h: remove #include "support/types.h".
5567         * ToolbarBackend.h: remove #include <algorithm>.
5568         * changes.h: remove #include <ctime>.
5569         * debug.h: remove #include <iosfwd>.
5570         * graph.h: remove #include "support/std_string.h".
5571         * lyx_main.h: remove #include <csignal>.
5572         * lyxlex_pimpl.h: remove #include <fstream>.
5573         * sgml.h: remove #include <algorithm>, <utility>.
5574         * toc.h: remove #include "support/std_ostream.h".
5575         Add #include <iosfwd>.
5576
5577 2003-09-07  Angus Leeming  <leeming@lyx.org>
5578
5579         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5580
5581         * converter.h: forward declare LatexRunParams.
5582         * encoding.h: remove #include "lyxrc.h".
5583         * lyxtext.h: remove #include "LColor.h".
5584         * lyxtextclass.h: remove #include "support/types.h".
5585         * trans.h: remove #include "tex-accent.h".
5586         * trans_mgr.h: remove #include "tex-accent.h".
5587         * insets/inset.h: remove #include "support/types.h", <vector>.
5588         * insets/insetcollapsable.h: remove #include "LColor.h".
5589         * insets/insetinclude.h: remove #include "dimension.h".
5590         * insets/insetlatexaccent.h: remove #include "dimension.h".
5591         * insets/insetoptarg.h:: remove #include "insettext.h".
5592         * insets/insettext.h: remove #include "dimension.h",
5593         <boost/shared_ptr.hpp>
5594
5595         * insets/renderers.h: add #include "dimension.h".
5596         * insets/updatableinset.h: add #include "support/types.h".
5597
5598         * many .C files: Associated changes.
5599
5600 2003-09-06  Angus Leeming  <leeming@lyx.org>
5601
5602         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5603         one, inside testInvariant.
5604
5605         * PrinterParams.C: new file.
5606         * PrinterParams.[Ch]: move the function bodies out of line.
5607
5608 2003-09-06  Angus Leeming  <leeming@lyx.org>
5609
5610         * ParagraphParameters.h: forward declare ParameterStruct rather than
5611         including its header file.
5612         (depth): moved out-of-line.
5613
5614 2003-09-06  Angus Leeming  <leeming@lyx.org>
5615
5616         * BufferView_pimpl.h:
5617         * kbmap.h:
5618         * kbsequence.h:
5619         * lyxfunc.h: forward declare LyXKeySym rather than
5620         #include "frontends/LyXKeySym.h".
5621
5622         * BufferView_pimpl.C:
5623         * kbmap.C:
5624         * kbsequence.C:
5625         * lyxfunc.C: associated changes.
5626
5627 2003-09-06  Angus Leeming  <leeming@lyx.org>
5628
5629         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5630         As a result, can remove the #include "insets/inset.h" from BufferView.h
5631
5632 2003-09-06  Angus Leeming  <leeming@lyx.org>
5633
5634         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5635         As a result, can remove the #include "insets/inset.h" from BufferView.h
5636
5637 2003-09-06  Angus Leeming  <leeming@lyx.org>
5638
5639         * buffer_funcs.C:
5640         * buffer.h:
5641         * bufferlist.C:
5642         * BufferView.C:
5643         * bufferview_funcs.C:
5644         * BufferView_pimpl.C:
5645         * CutAndPaste.C:
5646         * lyx_cb.C:
5647         * lyxfunc.C:
5648         * paragraph.h:
5649         * ParagraphParameters.C:
5650         * tabular.C:
5651         * text3.C:
5652         * toc.C:
5653         * undo_funcs.C:
5654         * frontends/controllers/ControlDocument.C:
5655         * insets/insetcaption.C: rearrange the #includes into some sort of
5656         coherent order.
5657
5658         * buffer.h: remove #includes ErrorList.h, undo.h
5659
5660 2003-09-06  Angus Leeming  <leeming@lyx.org>
5661
5662         * support/types.h: add a 'depth_type' typedef, used to store the
5663         nesting depth of a paragraph.
5664
5665         * paragraph.h:
5666         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5667         defining explicitly.
5668
5669         * buffer.h:
5670         * paragraph_funcs.h:
5671         * ParagraphParameters.h:
5672         * sgml.h: use lyx::depth_type rather than Paragraph or
5673         ParameterStruct's depth_type.
5674
5675         * buffer.h
5676         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5677
5678         * BufferView.C:
5679         * BufferView_pimpl.C:
5680         * CutAndPaste.C:
5681         * ParagraphParameters.C:
5682         * buffer_funcs.C:
5683         * bufferlist.C:
5684         * bufferview_funcs.C:
5685         * lyx_cb.C:
5686         * lyxfunc.C:
5687         * tabular.C:
5688         * text3.C:
5689         * toc.C:
5690         * undo_funcs.C:
5691         * frontends/LyXView.C:
5692         * frontends/controllers/ControlDocument.C:
5693         * frontends/controllers/ControlErrorList.C:
5694         * insets/insetbibitem.C:
5695         * insets/insetbranch.C:
5696         * insets/insetcaption.C:
5697         * insets/insetcollapsable.C:
5698         * insets/insetenv.C:
5699         * insets/insetert.C:
5700         * insets/insetfloat.C:
5701         * insets/insetfoot.C:
5702         * insets/insetfootlike.C:
5703         * insets/insetnewline.C:
5704         * insets/insetquotes.C:
5705         * insets/insettabular.C:
5706         * insets/insettext.C:
5707         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5708
5709         * frontends/controllers/ControlChanges.C: #include "changes.h".
5710
5711 2003-09-06  Angus Leeming  <leeming@lyx.org>
5712
5713         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5714         than #including paragraph.h.
5715
5716         * ParagraphList.h:
5717         * RowList.h: deleted. Superfluous.
5718
5719         * CutAndPaste.h:
5720         * iterators.h:
5721         * lyxcursor.h:
5722         * lyxtext.h:
5723         * text_funcs.h:
5724         * undo.h:
5725         * undo_funcs.h:
5726         * insets/inset.h:
5727         * insets/insettext.h: use ParagraphList_fwd.h rather than
5728         ParagraphList.h.
5729
5730         * paragraph.h: don't forward declare ParagraphList.
5731
5732         * buffer.h:
5733         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5734         rather than ParagraphList.h. paragraph.h is still needed for the
5735         Paragraph::depth_type parameters.
5736
5737         * textcursor.h: enable it to compile stand-alone in light of the
5738         above changes.
5739
5740         * bufferview_funcs.C:
5741         * iterators.C:
5742         * lyxfunc.C:
5743         * lyxrow_funcs.C:
5744         * paragraph.C:
5745         * rowpainter.C:
5746         * text.C:
5747         * text2.C:
5748         * text3.C:
5749         * text_funcs.C:
5750         * textcursor.C:
5751         * undo.C:
5752         * frontends/controllers/ControlParagraph.C:
5753         * frontends/controllers/ControlTabular.C:
5754         * insets/insetmarginal.C:
5755         * insets/insetminipage.C:
5756         * insets/insetnote.C:
5757         * insets/insetoptarg.C: add header files needed to compile again.
5758
5759 2003-09-06  Angus Leeming  <leeming@lyx.org>
5760
5761         * RowList_fwd.h: new file, forward-declaring Row rather than
5762         #including lyxrow.h.
5763
5764         * lyxrow_funcs.h:
5765         * lyxtext.h:
5766         * paragraph.h:
5767         * insets/insettext.h: use it instead of RowList.h
5768
5769         * bufferview_funcs.C:
5770         * lyxfunc.C:
5771         * lyxrow_funcs.C:
5772         * paragraph.C:
5773         * rowpainter.C:
5774         * text.C:
5775         * text2.C:
5776         * text3.C: #include "RowList.h".
5777
5778 2003-09-05  Angus Leeming  <leeming@lyx.org>
5779
5780         * factory.C (createInset):
5781         * vspace.C (c-tor): replace sscanf call with an istringstream.
5782         * ispell.C: re-add missing HP/UX headers.
5783         * lyxserver.C: re-add missing  os2 headers.
5784
5785 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5786
5787         * BranchList.C:
5788         * graph.C:
5789         * ispell.C:
5790         * lastfiles.C:
5791         * lyx_cb.C:
5792         * lyxserver.C:
5793         * texrow.C:
5794         * text3.C: re-add missing system headers, needed for 2.95.2.
5795
5796 2003-09-05  Angus Leeming  <leeming@lyx.org>
5797
5798         Changes most place everywhere due to the removal of using directives
5799         from support/std_sstream.h.
5800
5801 2003-09-05  Angus Leeming  <leeming@lyx.org>
5802
5803         Replace LString.h with support/std_string.h,
5804         Lsstream.h with support/std_sstream.h,
5805         support/LIstream.h with support/std_istream.h,
5806         support/LOstream.h with support/std_ostream.h.
5807
5808         Changes resulting throughout the tree.
5809
5810 2003-09-05  Angus Leeming  <leeming@lyx.org>
5811
5812         * sgml.h: ensure that the header file can be compiled stand-alone.
5813         * *.C: strip out redundant #includes. (320 in total.)
5814
5815 2003-09-04  Angus Leeming  <leeming@lyx.org>
5816
5817         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5818         here (from getPackages).
5819
5820         * debug.[Ch]: add a new EXTERNAL tag.
5821
5822 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5823
5824         * text2.C (cursorEnd): simplify
5825         (setCursor): adjust
5826         (getColumnNearX): adjust
5827
5828         * text.C (computeBidiTables): adjust
5829         (fill): adjust
5830
5831         * rowpainter.C (paintChars): adjust
5832         (paintSelection): adjust
5833         (paintChangeBar): adjust
5834         (paintText): adjust
5835
5836         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5837         lastPos instead.
5838         (numberOfSeparators): adjust
5839
5840 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5841
5842         * LyXAction.C:
5843         * box.[Ch]:
5844         * lfuns.h:
5845         * lyxfunc.C:
5846         * text3.C: Restricts the mouse click functionality
5847         of insets like bibtex, include, toc and floatlist to the visible
5848         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5849         up the dialogs. Cursor has to be in front of the inset (i.e.
5850         start of row) for this to function.
5851
5852 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5853
5854         * bufferview_funcs.C (currentState): output row information
5855
5856 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5857
5858         * bufferview_funcs.C (currentState): output paragraph position
5859
5860 2003-09-04  Angus Leeming  <leeming@lyx.org>
5861
5862         * FloatList.h: move out #include "Floating.h".
5863         * LaTeX.h: move out #include "DepTable.h".
5864         * LyXAction.h: move out #include "funcrequest.h".
5865         * buffer.h: move out #include "author.h", "iterators.h".
5866         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5867         * lyx_main.h: move out #include "errorlist.h".
5868         * lyxfunc.h: move out #include "FuncStatus.h".
5869         * lyxtext: move out #include "lyxcursor.h".
5870         * paragraph_pimpl.h: move out #include "counters.h".
5871
5872 2003-09-03  Angus Leeming  <leeming@lyx.org>
5873
5874         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5875         preamble_snippets list, enabling us to add snippets to the preamble
5876         only if the snippet was not there already.
5877
5878 2003-09-04  Angus Leeming  <leeming@lyx.org>
5879
5880         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5881
5882 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5885         update
5886
5887 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5888
5889         * BranchList.C: point fix, earlier forgotten
5890
5891 2003-09-02  Angus Leeming  <leeming@lyx.org>
5892
5893         * box.C (contains): renamed from 'contained' after a fantastic
5894         amount of hot air.
5895
5896 2003-09-02  John Levon  <levon@movementarian.org>
5897
5898         * BufferView.C:
5899         * lyxcursor.h:
5900         * lyxcursor.C:
5901         * lyxfunc.C:
5902         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5903
5904 2003-09-02  John Levon  <levon@movementarian.org>
5905
5906         * text2.C: simplification of cursorEnd(), including partial
5907         fix for bug 1376
5908
5909 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * buffer.C (readFile): add a space
5912
5913 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5914
5915         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5916
5917 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * buffer.C (readFile): new function, take a filename and a
5920         ParagraphList::iterator
5921         (readFile): adjust
5922         (readFile): adjust, make it private. don't use setStream, make
5923         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5924         always contain the filename.
5925
5926         * BufferView.C (insertLyXFile): simplify and make it work for
5927         gzipped files.
5928
5929 2003-08-30  John Levon  <levon@movementarian.org>
5930
5931         * Makefile.am: fix dist (from Kayvan)
5932
5933 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5934
5935         * most files: change to use const Buffer refs
5936
5937 2003-08-27  André Pönitz  <poenitz@gmx.net>
5938
5939         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5940         on top of ownerPar().
5941
5942 2003-08-27  John Levon  <levon@movementarian.org>
5943
5944         * funcrequest.C: properly initialise POD members
5945
5946 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5947
5948         * lyxtext.h (top_y): move top_y from here
5949         * text.C:
5950         * text2.C:
5951         * text3.C:
5952         * BufferView.[Ch]:
5953         * BufferView_pimpl.[Ch]: to here
5954         * frontends/screen.C:
5955         * insets/insettabular.C:
5956         * insets/insettext.C: adjust
5957         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5958
5959 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5960
5961         * BufferView.[Ch]:
5962         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5963
5964 2003-08-26  André Pönitz  <poenitz@gmx.net>
5965
5966         * paragraph_func.[Ch] (outerPar): new function
5967
5968         * paragraph.C:
5969         * paragraph_funcs.C:
5970         * paragraph_funcs.h:
5971         * paragraph_pimpl.C:
5972         * text2.C: remove Inset::par_owner
5973
5974 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5975
5976         * lyxrow_funcs.C:
5977         * lyxtext.h:
5978         * text.C:
5979         * text2.C: eliminates the needFullRow/display() stuff
5980         altogether, putting the logic in metrics/draw in the insets.
5981
5982 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5983
5984         * text2.C (redoParagraphInternal, redoParagraphs):
5985         * text.C (redoParagraph): add a call to updateRowPositions at the
5986         end of each 'metrics-like' call. Remove all others.
5987         (getRow): remove the 'y-computing' version.
5988         (getRowNearY): do not compute nor return the real y. Solve the
5989         'y < 0' problem and simplify.
5990
5991 2003-08-22  Angus Leeming  <leeming@lyx.org>
5992
5993         * *.[Ch]: clean-up of licence and author blurbs.
5994         Also move config.h out of a few .h files and into a few .C files.
5995
5996 2003-08-22  André Pönitz  <poenitz@gmx.net>
5997
5998         * lyxrow.[Ch]: add x_ and *fill_ members
5999
6000         * lyxtext.h:
6001         * text.C:
6002         * rowpainter.C:
6003         * text2.C: adjust/remove prepareToPrint() calls
6004
6005 2003-08-22  André Pönitz  <poenitz@gmx.net>
6006
6007         * lyxrow.[Ch]: add  end_ member
6008
6009         * lyxrow_funcs.C: use LyXRow::end_
6010
6011         * lyxtext.h (singleWidth): add LyXFont parameter
6012
6013         * rowpainter.C:
6014         * text2.C: adjust LyXText::singleWidth() calls
6015
6016         * text.C (redoParagraph): simplify row breaking logic
6017
6018
6019 2003-08-19  André Pönitz  <poenitz@gmx.net>
6020
6021         * funcrequest.C: initialize button_ member
6022
6023         * text3.C:
6024         * rowpainter.[Ch]: interface consolidation
6025
6026 2003-08-18  André Pönitz  <poenitz@gmx.net>
6027
6028         * BufferView.C:
6029         * BufferView_pimpl.C:
6030         * lyxfind.C:
6031         * paragraph_funcs.C:
6032         * rowpainter.C:
6033         * text3.C: remove LyXScreen::draw() and fitCursor calls
6034
6035         * BranchList.h: remove spurious semicolons
6036
6037         * MenuBackend.C: fix branchlist related crash
6038
6039 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6040
6041         * BranchList.[Ch]:
6042         * InsetList.[Ch]:
6043         * LColor.[Ch]:
6044         * LyXAction.C:
6045         * Makefile.am:
6046         * MenuBackend.[Ch]:
6047         * bufferparams.[Ch]:
6048         * factory.C:
6049         * lfuns.h:
6050         * lyxfunc.C:
6051         * text3.C: implements the 'branch inset'
6052         idea. This allows the output of various versions of a document
6053         from a single source version, selectively outputing or suppressing
6054         output of parts of the text.
6055         This implementation contains a 'branch list editor' in a separate
6056         tab of the document settings dialog. Branches are user definable
6057         and have a "display colour" to distinguish them on-screen.
6058
6059         ColorHandler was somewhat cleaned up.
6060         (1) make possible a dynamically growing LColor list by allowing
6061         the graphic context cache to grow along (vector);
6062         (2) eliminate an IMHO unnecessary step in colour allocation.
6063
6064 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6065
6066         * BufferView_pimpl.C: compile fix
6067
6068 2003-08-15  André Pönitz  <poenitz@gmx.net>
6069
6070         * rowpainter.C: remove extra metrics calls
6071
6072         * lyxtext.h: merge the two constructors into a single one,
6073           pass reference to owner's par list
6074
6075         * BufferView_pimpl.C:
6076         * text.C:
6077         * text2.C: adjust
6078
6079 2003-08-15  André Pönitz  <poenitz@gmx.net>
6080
6081         * lyxrow_funcs.[Ch]:
6082         * lyxtext.h:
6083         * paragraph.h:
6084         * paragraph_funcs.C:
6085         * rowpainter.C:
6086         * text.C:
6087         * text2.C:
6088         * text3.C:
6089         * text_funcs.C: split LyXText::rowlist_ into individual
6090         Paragraph::rows_ chunks
6091
6092         * BufferView.[Ch]:
6093         * BufferView_pimpl.[Ch]:
6094         * lyxfind.C:
6095         * lyxtext.h:
6096         * text3.C: remove toggleSelection()
6097
6098 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6099
6100         * bufferlist.C: beautify two alerts (shorter text of buttons)
6101         * buffer.C: Remove redundant ' ' from message
6102         * tabular.h:
6103         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6104         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6105         rename VALIGN_CENTER to VALIGN_MIDDLE
6106
6107 2003-08-11  André Pönitz  <poenitz@gmx.net>
6108
6109         * lyxtext.h (getPar):
6110         * text.C: new function
6111
6112 2003-08-11  André Pönitz  <poenitz@gmx.net>
6113
6114         * Makefile.am:
6115         * tracer.[Ch]: remove unneeded files
6116
6117         * InsetList.[Ch]: remove resizeInsetsLyXText()
6118
6119         * lyxtext.h:
6120         * text.C:
6121         * text2.C:
6122         * text3.C: merge insertParagraphs() and appendParagraph()
6123         remove breakAgain(), update()
6124
6125         * BufferView_pimpl.[Ch]:
6126         * bufferview_funcs.[Ch]:
6127         * lyxfunc.C:
6128         * paragraph.[Ch]:
6129         * rowpainter.C:
6130         * tabular.C: adjust after text & InsetList changes.
6131
6132 2003-08-08  André Pönitz  <poenitz@gmx.net>
6133
6134         * text.C (insertChar, backspace): replace rowlist fiddling
6135         with rebreak of full par
6136
6137         * lyxtext.h:
6138         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6139         checkParagraph, updateInset): removed
6140
6141 2003-08-07  André Pönitz  <poenitz@gmx.net>
6142
6143         * paragraph.C:
6144         * text3.C: merge some LFUN handlers, remove dead code
6145
6146 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6147
6148         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6149
6150 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6151
6152         * text2.C (DEPM): fix part of bug 1255 and 1256
6153
6154 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6155
6156         * BufferView_pimpl.C (workAreaDispatch): change to use
6157         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6158         that are no mouse related.
6159
6160 2003-08-05  André Pönitz  <poenitz@gmx.net>
6161
6162         * BufferView.[Ch]:
6163         * BufferView_pimpl.[Ch]:
6164         * bufferview_funcs.C:
6165         * text2.C:
6166         * text3.C: rip out "deep update"
6167
6168         * textcursor.[Ch] (last_sel_cursor): remove unused member
6169
6170 2003-08-04  André Pönitz  <poenitz@gmx.net>
6171
6172         * BufferView.[Ch]:
6173         * BufferView_pimpl.[Ch]:
6174         * ParagraphParameters.C:
6175         * bufferview_funcs.C:
6176         * lyx_cb.C:
6177         * lyxfind.C:
6178         * lyxfunc.C:
6179         * text.C:
6180         * text2.C:
6181         * text3.C: replace "complicated" BufferView::update(...) calls with
6182         simpler ones.
6183
6184         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6185
6186 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6187
6188         * Makefile.am (lyx_SOURCES): add paper.h
6189
6190 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6191
6192         * Makefile.am: move things around so that both lyx-qt and
6193         lyx-xforms can be built (according to --with-frontend). Then lyx
6194         is a symbolic link to lyx-[firstfrontend]
6195
6196 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6197
6198         * Always use std::endl with lyxerr
6199
6200 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6201
6202         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6203
6204 2003-08-01  André Pönitz  <poenitz@gmx.net>
6205
6206         * BufferView.[Ch]:
6207         * BufferView_pimpl.[Ch]:
6208         * lyxfunc.C:
6209         * text3.C: merge BufferView::repaint() and BufferView::update()
6210
6211 2003-08-01  José Matos  <jamatos@lyx.org>
6212
6213         * buffer.[Ch]: file_format is no longer a buffer data element.
6214
6215 2003-08-01  André Pönitz  <poenitz@gmx.net>
6216
6217         * BufferView.C:
6218         * lyxtext.h:
6219         * text.C:
6220         * text2.C: make redoParagraph more independent of current cursor
6221
6222         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6223         * text.C:
6224         * text2.C: remove unneeded members
6225
6226 2003-07-30  André Pönitz  <poenitz@gmx.net>
6227
6228         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6229
6230         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6231           create a single function...
6232
6233         * paragraph_funcs.C (moveItem): ... here.
6234
6235         * text.C:
6236           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6237
6238 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6239
6240         * LColor.[Ch]: Add comment and greyedout logical colors.
6241
6242 2003-07-30  André Pönitz  <poenitz@gmx.net>
6243
6244         * tabular.C: don't use Assert too heavily. This crashes where it
6245           shouldn't
6246
6247 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6248
6249         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6250         is disabled (bug 1232)
6251
6252 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6253
6254         * factory.C: limited 'arg' scope
6255
6256 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6257
6258         * factory.C: fixed Note submenu issues
6259
6260 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6261
6262         * factory.C: submenu for Note/Comment/Greyedout
6263
6264 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6265
6266         * lyx_main.C (LyX):
6267         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6268
6269 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6270
6271         * LaTeXFeatures.C:
6272         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6273         greyedout. Patch provided by Jürgen Spitzmüller.
6274
6275 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6276
6277         * kbmap.C (read): fix error message when reading bind files
6278
6279 2003-07-29  Angus Leeming  <leeming@lyx.org>
6280
6281         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6282         certainly does not do what it purports to do. I am doing it, and
6283         us, a favour by killing it.
6284
6285 2003-07-28  José Matos  <jamatos@lyx.org>
6286
6287         * buffer.C (readBody, do_writeFile):
6288         * paragraph.C(readParagraph): \end_document replaces \the_end.
6289
6290 2003-07-29  André Pönitz  <poenitz@gmx.net>
6291
6292         * BufferView.[Ch]:
6293         * BufferView_pimpl.[Ch]:
6294         * lyxfunc.C:
6295         * text2.C:
6296         * text3.C:
6297         * textcursor.[Ch]: remove toggleToggle & Co
6298
6299 2003-07-28  José Matos  <jamatos@fep.up.pt>
6300
6301         * buffer.C (readParagraph):
6302         * params_func (readParToken, readParagraph):
6303         * paragraph.C (write): \layout -> \begin_layout.
6304
6305 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6306
6307         * lyxlex_pimpl.C (setFile): clean up slightly.
6308
6309         * bufferparams.h: add compressed var
6310
6311         * buffer_funcs.C (readFile): adjust for LyXLex change
6312         (newFile): ditto + simplify
6313
6314         * buffer.C (writeFile): handle writing of compressed files
6315
6316         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6317         Check if the file is compressed and set a bufferparm if so.
6318
6319         * Makefile.am (lyx_LDADD): remove explicit -lz
6320
6321 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6322
6323         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6324         makeDocBookFile): put the real LyX version in the first line of
6325         the file
6326
6327         * version.h:
6328         * version.C.in: remove lyx_docversion
6329
6330         * tabular.C (write_attribute): add a template-based version to
6331         write enums properly
6332
6333 2003-07-28  André Pönitz  <poenitz@gmx.net>
6334
6335         * lyxtext.h:
6336         * text.C:
6337         * text2.C:
6338         * text3.C: use doubles again for x-coordinates. They are needed.
6339
6340 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6341
6342         * messages.C (getLocaleDir): use lyx_localedir()
6343
6344         * lyxlex_pimpl.C (setFile): compress stuff
6345
6346         * buffer.C (writeFile): add some compression stuff
6347         (do_writeFile): new func, dont call expliti close... will this
6348         breake anything?
6349
6350         * Makefile.am (lyx_LDADD): add -lz
6351
6352 2003-07-28  José Matos  <jamatos@fep.up.pt>
6353
6354         * buffer.C: increment file format.
6355         * paragraph_funcs (readParagraph, readParToken):
6356         * paragraph.C (readParagraph): add \end_layout.
6357
6358 2003-07-27  Angus Leeming  <leeming@lyx.org>
6359
6360         * Makefile.am: remove special casing for configure-time setting of
6361         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6362
6363         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6364         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6365
6366 2003-07-26  André Pönitz  <poenitz@gmx.net>
6367
6368         * paragraph_func.[Ch]:
6369         * paragraph.C (realizeFont): inline it whereever it is used
6370
6371         * rowpainter.C:
6372         * text.C:
6373         * text2.C:
6374         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6375
6376
6377 2003-07-26  André Pönitz  <poenitz@gmx.net>
6378
6379         *       lyxtext.h:
6380         * text.C:
6381         * text2.C: get rid of LyXText::need_break_row
6382
6383 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6384
6385         * toc.[Ch]: put namespace toc inside namespace lyx
6386
6387         * MenuBackend.C (expandToc2): adjust for lyx::toc
6388         (expandToc): ditto
6389
6390         * lyxfunc.C (dispatch): adjust for lyx::find
6391
6392         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6393         lyx::find instead. Reorganize a bit.
6394         (LyXReplace): rename to replace
6395         (LyXFind): rename to find
6396
6397         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6398         (dispatch): ditto
6399
6400 2003-07-26  André Pönitz  <poenitz@gmx.net>
6401
6402         * text.C (setHeightOfRow): restrict scope of temporary variable
6403
6404         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6405           code (never has been used?)
6406
6407 2003-07-27  Asger Alstrup  <alstrup@local>
6408
6409         * text.C (fill): Optimise algorithm to exploit that we can reuse
6410         the LyXFont for many characters.
6411         (setHeightOfRow): Same thing.
6412         (rowBreakPoint): Same thing.
6413
6414 2003-07-26  Asger Alstrup  <alstrup@local>
6415
6416         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6417
6418         * text.C (singleWidth): Spurious font copying in hot-spot
6419         singleWidth avoided. Reorder tests for arabic for efficiency.
6420
6421         * text.C (fill): handle empty paragraphs better.
6422
6423 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6424
6425         * ispell.C:
6426         * encoding.h: add includes
6427
6428         * lyxrc.C: remove reading of bind files
6429
6430         * lyx_main.C (init): setup bindings and menus only if we have a
6431         gui.
6432
6433         * kbmap.C (read): new method. Do the actual reading of bind
6434         files.
6435
6436         * converter.C (dvipdfm_options):
6437         * bufferparams.C:
6438         * lyxrc.C (read):
6439         (output): adapt PAPER_* enums.
6440
6441         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6442
6443         * bufferparams.h: remove paper-related enums from there
6444
6445         * paper.h: New file. A trivial header file to hold paper-related
6446         enums. It should later expand to contain many paper-related
6447         horrors access.
6448
6449         * lyxrc.C: declare extern displayTranslator
6450
6451 2003-07-27  José Matos  <jamatos@fep.up.pt>
6452
6453         * tabular.[Ch] (linuxdoc): add support for tables and figures
6454         (linuxdoc).
6455
6456 2003-07-27  José Matos  <jamatos@fep.up.pt>
6457
6458         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6459         consistency in both functions.
6460         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6461
6462 2003-07-26  Asger Alstrup  <alstrup@local>
6463
6464         * rowpainter.C (paintRows): Change algorithm to work directly on
6465         the insets rather than asking every character in the document
6466         whether its an inset.
6467
6468 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6469
6470         * buffer.C (openFileWrite): factorize some code
6471
6472 2003-07-26  Angus Leeming  <leeming@lyx.org>
6473
6474         * lyx_cb.C:
6475         * lyx_main.[Ch]: replace occurances of system_tempdir with
6476         os::getTmpDir().
6477
6478 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6479
6480         * rename Inset to InsetOld
6481
6482 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6483
6484         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6485         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6486         which I think is a bit clearer. EDIT is gone, since it was
6487         premature optimisation, and broken for mathed anyway.
6488         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6489         with cursor positioning in insets as well (math insets still do not
6490         work, but that's a different story anyway.) It mysteriously
6491         crashes sometimes with undo in the first paragraph, but I'm fairly
6492         confident that this is a compiler bug.
6493
6494 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6495
6496         * paragraph.C (Paragraph): adjust for new clone return type
6497         (operator==): ditto
6498         (copyIntoMinibuffer): ditto
6499
6500 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6501
6502         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6503         by not having a special case, and always doing a full rebreak of
6504         the document after undo.
6505
6506 2003-07-23  Angus Leeming  <leeming@lyx.org>
6507
6508         * factory.C (createInset): InsetExternal::setParams now takes a
6509         Buffer const * arg.
6510
6511 2003-07-23  Angus Leeming  <leeming@lyx.org>
6512
6513         * factory.C (createInset): changed interface to the external and
6514         graphics mailers' string2params functions.
6515
6516 2003-07-23  Angus Leeming  <leeming@lyx.org>
6517
6518         * factory.C (createInset): pass a
6519         Buffer const * parameter to InsetExternalMailer's string2params.
6520
6521 2003-07-22  John Levon  <levon@movementarian.org>
6522
6523         * Thesaurus.h: include the right aiksaurus header
6524
6525 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6526
6527         * MenuBackend.C (expand): check menu shortcuts unconditionally
6528
6529 2003-07-21  Angus Leeming  <leeming@lyx.org>
6530
6531         * factory.C (createInset): pass a
6532         buffer_path parameter to InsetGraphicsMailer's string2params.
6533
6534 2003-07-21  Angus Leeming  <leeming@lyx.org>
6535
6536         * BufferView_pimpl.C (buffer):
6537         * buffer.C (d-tor):
6538         * lyx_main.C (LyX):
6539         * lyxfunc.C (dispatch):
6540         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6541         rather than the grfx shortcut.
6542
6543 2003-07-21  André Pönitz  <poenitz@gmx.net>
6544
6545         * rowpainter.C: remove unused variables
6546
6547         * tabular_funcs.C:
6548         * tabular_funcs.h: move to tabular.C
6549         * Makefile.am: adjust
6550
6551         * tabular.[Ch]: basic optical cleaning
6552
6553         * author.h: pass references, not values
6554
6555 2003-07-18  André Pönitz  <poenitz@gmx.net>
6556
6557         * lyxtext.h:
6558         * metricsinfo.C:
6559         * metricsinfo.h:
6560         * rowpainter.C:
6561         * text.C:
6562         * text2.C:
6563         * text3.C: two-phase drawing for InsetText and InsetTabular
6564         some float -> int changes.
6565
6566 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6567
6568         * lyx_main.C: fix the fix
6569
6570 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6571
6572         * lyx_main.C: fix a crash in batch mode if no files specified
6573         * converter.C: ws
6574
6575 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6576
6577         * format.[Ch] (papersize): moved to BufferParams
6578         * converter.[Ch] (dvips_options): moved to BufferParams
6579         (dvipdfm_options): moved to anon namespace
6580         * bufferparams.[Ch]: added above functions.
6581
6582 2003-07-17  André Pönitz  <poenitz@gmx.net>
6583
6584         * lyxtext.h:
6585         * rowpainter.C:
6586         * text2.C: don't call inset->update() anymore
6587
6588         * metricsinfo.[Ch]: add convenience constructor
6589
6590 2003-07-16  André Pönitz  <poenitz@gmx.net>
6591
6592         * lyxcursor.[Ch]:
6593         * lyxfunc.[Ch]:
6594         * text.C:
6595         * text2.C: replace the LyXCursor::irow_ member with
6596          on-demand computation of the value
6597
6598 2003-07-16  John Levon  <levon@movementarian.org>
6599
6600         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6601
6602 2003-07-15  André Pönitz  <poenitz@gmx.net>
6603
6604         * text.C:
6605         * text2.C: remove no more needed refresh_row
6606
6607 2003-07-15  André Pönitz  <poenitz@gmx.net>
6608
6609         * lyxtext.h:
6610         * rowpainter.C:
6611         * text2.C:
6612         * text3.C: refresh_status tristate -> need_update bool
6613
6614 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6615
6616         * lyxtext.h (init): remove reinit argument (act as if always true)
6617         * text2.C: adjust to that
6618
6619 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6620
6621         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6622         * text3.C: use it to delete selections in some cases
6623         (bugs 441, 673, 702, 954).
6624
6625 2003-07-14  André Pönitz  <poenitz@gmx.net>
6626
6627         * rowpainter.[Ch]: reduce interface
6628
6629 2003-07-14  André Pönitz  <poenitz@gmx.net>
6630
6631         * BufferView_pimpl.C:
6632         * text2.C: adjust after removing unused BufferView * argument
6633
6634 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6635
6636         * text2.C (init): fix a crash fired on resize
6637
6638 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6639
6640         * buffer.[Ch]: added new closing signal
6641         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6642         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6643         BufferView::Pimpl via the closing the signal
6644
6645 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6646
6647         * buffer.[Ch]: take out all bv-related from buffer
6648         * BufferView.C:
6649         * BufferView_pimpl.[Ch]: connect to new signals
6650         * CutAndPaste.C: removed useless asserts
6651         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6652         * lyxvc.[Ch]:
6653         * vc-backend.[Ch]:
6654         * lyxfunc.C: moved view-related funciontality from vc here
6655         * paragraph.C: removed outdated comments
6656         * text.C: ws
6657
6658 2003-07-10  André Pönitz  <poenitz@gmx.net>
6659
6660         * BufferView_pimpl.C:
6661         * tabular.h:
6662         * tabular_funcs.C:
6663         * text.C:
6664         * text2.C: remove InsetText::InnerCache, clean up consequences
6665
6666 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6667
6668         * ispell.C: fix two typos in error messages
6669
6670 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6671
6672         * Extend Note inset to other forms of annotation like Comment
6673         and Greyedout. Right button click gives dialog.
6674
6675         Files modified or added (+):
6676
6677         * insetnote.[Ch]
6678         * FormNote.[Ch]      +
6679         * ControlNote.[Ch]   +
6680         * form_note.fd       +
6681         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6682         frontends/controllers
6683         * xforms/Dialogs.C
6684         * factory.C
6685
6686 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6687
6688         * aspell.C: add missing namespace lyx::support
6689
6690 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6691
6692         * BufferView.[Ch] (newFile): Add
6693         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6694         * LaTeX.[Ch] (message): added this signal and use it
6695         * buffer.[Ch] (busy, message): added these signals and use them
6696         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6697         * converter.C:
6698         * exporter.C:
6699         * format.C:
6700         * importer.C: use buffer signals instead of direct bv calling
6701         * lyx_cb.[Ch] (ShowMessage): removed
6702         * lyx_main.C:
6703         * lyxfunc.C:
6704         * paragraph_funcs.C:
6705         * text2.C: use buffer signals
6706
6707 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * introduce namespace lyx::graphics
6710
6711 2003-07-02  André Pönitz  <poenitz@gmx.net>
6712
6713         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6714
6715 2003-07-01  André Pönitz  <poenitz@gmx.net>
6716
6717         * text.C:
6718         * text2.C:
6719         * text3.C:
6720         * text_funcs.[Ch]:
6721         * textcursor.h:
6722         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6723           text*.C to text_func.C
6724
6725 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * introduce namespace lyx::support
6728
6729 2003-06-30  André Pönitz  <poenitz@gmx.net>
6730
6731         * Chktex.C:
6732         * funcrequest.C:
6733         * lyxtext.h:
6734         * text.C: re-enable --with-included-string
6735
6736 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * textcursor.C: add <config.h>
6739
6740         * text.C (getWord): remove const from word_location arg
6741
6742         * lyxvc.C (getLogFile): fix const type order
6743
6744         * lyxtext.h: remove const from word_location arg, add arg name
6745
6746         * lyxlayout.h: currect type on labeltype.
6747
6748         * importer.C: correct \file
6749
6750         * converter.C (intToFormat): use std:: on ret val, ws changes
6751
6752         * bufferlist.h: correct \file
6753
6754         * buffer.C (makeLinuxDocFile): fix const type order
6755         (makeDocBookFile): ditto
6756         (fillWithBibKeys): use std:: on stdlib args.
6757
6758         * CutAndPaste.C: fix authors.
6759         (availableSelections): use std:: on return vector
6760
6761 2003-06-27  André Pönitz  <poenitz@gmx.net>
6762
6763         * BufferView_pimpl.C:
6764         * bufferview_funcs.C:
6765         * lyxcursor.C:
6766         * lyxcursor.h:
6767         * lyxfunc.C:
6768         * lyxtext.h:
6769         * rowpainter.C:
6770         * text.C:
6771         * text2.C:
6772         * text3.C: remove LyXCursor::row_ member
6773
6774         * lyxtext.h:
6775         * text.C: rename fullRebreak() to partialRebreak() and implement
6776           a fullRebreak() that really bereks fully
6777
6778         * textcursor.h: new struct for cursor-related data
6779
6780 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6781
6782         * lyx_main.C (LyX): get full path of document loaded on the
6783         command line
6784
6785 2003-06-26  André Pönitz  <poenitz@gmx.net>
6786
6787         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6788           remove unused/broken operator>,<,>=.
6789
6790         *       text.C: remove only use of broken operator<= in an Assert().
6791
6792 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6793
6794         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6795         moved errorlist_.clear to showErrorList
6796
6797 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6798
6799         * converter.C (scanLog, runLaTeX):
6800         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6801         move the bv->showErrorList call to the callers
6802         * lyxfunc.C: i.e. here...
6803         * text2.C: and here
6804         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6805         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6806         namespace, the second to...
6807         * buffer_funcs (BufferFormat, parseErrors): added
6808         * errorlist.C (ErrorList(TeXErrors const &)): removed
6809
6810 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6811
6812         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6813
6814 2003-06-24  "Garst R. Reese" <reese@isn.net>
6815
6816         * debug.C: fix typo
6817
6818 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6819
6820         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6821
6822         * version.C.in: change docversion to 1.4
6823
6824 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6825
6826         * buffer.C: fix a bug just introduced
6827
6828 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6829
6830         * buffer.[Ch]: added the parseError signal and use it, removed
6831         sgmlError
6832         * BufferView.[Ch] (addError): moved to ...
6833         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6834         to the Buffer::parseError signal to catch (guess what) parse errors
6835         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6836
6837 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6838
6839         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6840         ability to create a buffer and to return an existing one from
6841         the list. Moved these functions to...
6842         * buffer_funcs.[Ch]: added
6843         * BufferView.[Ch] (loadLyXFile): added
6844         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6845         job removed from bufferlist::loadLyXFile.
6846         * buffer.C (setReadOnly): make it work without view
6847         (i.e added an if (users))
6848
6849 2003-06-19  Angus Leeming  <leeming@lyx.org>
6850
6851         * lfuns.h:
6852         * LyXAction.C (init):
6853         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6854         with LFUN_DIALOG_SHOW <name> <data>.
6855
6856 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6857
6858         * CutAndPaste.C (availableSelections): small compilation fix for
6859         ancient (gcc 2.9x) compilers
6860
6861 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * text3.C (cursorNext): add tmp var
6864
6865         * text2.C (updateCounters): for function calling out of for clause
6866         (replaceSelectionWithString): ditto
6867         (insertStringAsParagraphs): ditto
6868         (getColumnNearX): add tmp var
6869         (setCursorFromCoordinates): add tmp var
6870         (cursorDownParagraph): add tmp var
6871         (deleteEmptyParagraphMechanism): add tmp var
6872
6873         * text.C (insertChar): add tmp var
6874
6875         * rowpainter.C (paintDepthBar): add tmp var
6876
6877         * CutAndPaste.C (availableSelections): potentially check all
6878         paragraphs in a cut to fill the shown strings.
6879
6880 2003-06-18  André Pönitz  <poenitz@gmx.net>
6881
6882         * kbmap.[Ch]: use vector<> instead of list<>
6883
6884 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6885
6886         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6887         pasteSelection with index
6888
6889         * text2.C (pasteSelection): modify, call pasteSelection with index
6890
6891         * paragraph.C (asString): reimplement version with no interval to
6892         call the one with interval.
6893
6894         * lyxtext.h: add index arg to pasteSelection
6895
6896         * MenuBackend.C (MenuItem): handle PasteRecent
6897         (Menu::read::Menutags): add md_pasterecent
6898         (read): handle it
6899         (expandPasteRecent): new function
6900         (expand): use it
6901
6902         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6903
6904         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6905         the limited stack
6906         (availableSelections): new function
6907
6908 2003-06-17  Angus Leeming  <leeming@lyx.org>
6909
6910         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6911
6912 2003-06-17  Angus Leeming  <leeming@lyx.org>
6913
6914         * lfuns.h:
6915         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6916
6917         * lyxfunc.C (dispatch): invoke it.
6918
6919 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6920
6921         * iterators.C (operator++, ParPosition): reintroduce some
6922         const_cast for the benefit of older compilers.
6923
6924 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6925
6926         * text3.C (dispatch): do not modify clipboard when doing
6927         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6928         LFUN_DELETE_SKIP on a selection selection
6929
6930 2003-06-16  André Pönitz  <poenitz@gmx.net>
6931
6932         * BufferView.C:
6933         * buffer.C:
6934         * buffer.h:
6935         * paragraph.C:
6936         * tabular.[Ch]: IU of clone() and getLabelList();
6937
6938 2003-06-13  André Pönitz  <poenitz@gmx.net>
6939
6940         * tabular.h: compactification
6941
6942 2003-06-12  André Pönitz  <poenitz@gmx.net>
6943
6944         * tabular.C:
6945         * tabular.h:
6946         * tabular_funcs.h: some renaming plus whitespace
6947
6948 2003-06-12  André Pönitz  <poenitz@gmx.net>
6949
6950         * BufferView.C:
6951         * BufferView_pimpl.C:
6952         * CutAndPaste.C:
6953         * buffer.C:
6954         * iterators.[Ch]:
6955         * lyxfunc.C:
6956         * text.C:
6957         * toc.C: Return a Paragraph & for ParIterator::operator*()
6958
6959 2003-06-11  John Levon  <levon@movementarian.org>
6960
6961         * lyx_main.C:
6962         * ToolbarBackend.h:
6963         * ToolbarBackend.C: add "Toolbars" section and
6964         put the flags there
6965
6966 2003-06-10  Angus Leeming  <leeming@lyx.org>
6967
6968         * lfuns.h:
6969         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6970
6971         * lyxfunc.C (dispatch): invoke it.
6972
6973 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6974
6975         * main.C: protect <ios> with HAVE_IOS
6976         (main): protect sync_with_stdio with HAVE_IOS
6977
6978 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6979
6980         * text2.C (cutSelection): adjust
6981         (pasteSelection): adjust
6982
6983         * messages.C: handle get of empty string
6984
6985         * main.C (main): use sync_with_stdio(false)
6986
6987         * lyxfunc.C (dispatch): adjust
6988
6989         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6990         (WriteAs): remove unneeded BufferView arg.
6991
6992         * bufferparams.h: use correct types on papersize, papersize2 and
6993         paperpackage.
6994
6995         * bufferparams.C (readToken): adjust for type
6996         (writeLaTeX): add missing cases to switch.
6997
6998         * bufferlist.C (quitWriteBuffer): adjust
6999         (close): adjust
7000
7001         * buffer.C (asciiParagraph): remove some commented code.
7002
7003         * CutAndPaste.C: remove current_view extern variable.
7004         (cutSelection): add BufferParams arg.
7005         (eraseSelection): add BufferParams arg.
7006         (pasteSelection): add Buffer const & arg
7007
7008 2003-06-07  John Levon  <levon@movementarian.org>
7009
7010         * buffer.C:
7011         * paragraph_funcs.C:
7012         * paragraph_pimpl.C:
7013         * text.C:
7014         * text2.C:
7015         * paragraph.h:
7016         * paragraph.C: allow InsetERT to freely space lines,
7017         and some consolidation of code
7018
7019 2003-06-06  José Matos  <jamatos@fep.up.pt>
7020
7021         * buffer.C (makeDocBookFile): fix bug #821
7022
7023 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7024
7025         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7026
7027 2003-06-04  Angus Leeming  <leeming@lyx.org>
7028
7029         * buffer.C: bump format to 224.
7030
7031 2003-06-05  André Pönitz  <poenitz@gmx.net>
7032
7033         * text2.C (redoParagraphs): remove two const_cast<>
7034
7035 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7036
7037         * ParagraphList.h: remove last remnants of NO_STD_LIST
7038
7039 2003-06-03  Angus Leeming  <leeming@lyx.org>
7040
7041         * factory.C (createInset): small change to the way InsetExternal's params
7042         are set.
7043
7044 2003-06-04  André Pönitz  <poenitz@gmx.net>
7045
7046         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7047
7048         * paragraph_pimpl.h:
7049         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7050
7051         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7052
7053         * undo_funcs.C: make some simple cases of undo work again
7054
7055 2003-06-03  John Levon  <levon@movementarian.org>
7056
7057         * ispell.C: HPUX doesn't have sys/select.h
7058         (from Albert Chin)
7059
7060 2003-06-03  John Levon  <levon@movementarian.org>
7061
7062         * CutAndPaste.C: update tabular and include inset
7063         buffer references
7064
7065         * buffer.h:
7066         * paragraph.h:
7067         * paragraph.C: remove owningBuffer(), don't pass Buffer
7068         to clone()
7069
7070         * factory.C: insetGraphicsParams changed
7071
7072 2003-06-02  John Levon  <levon@movementarian.org>
7073
7074         * LyXAction.C:
7075         * factory.C:
7076         * lfuns.h:
7077         * lyxfunc.C:
7078         * text3.C: remove insetparent
7079
7080 2003-06-02  John Levon  <levon@movementarian.org>
7081
7082         * buffer.h:
7083         * buffer.C: fix inset_iterator.end(), move out of line
7084         (bug 1149)
7085
7086 2003-06-01  John Levon  <levon@movementarian.org>
7087
7088         * text3.C: use a proper cut/paste when doing inset
7089         insert (from Jürgen Spitzmüller)
7090
7091 2003-06-01  John Levon  <levon@movementarian.org>
7092
7093         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7094
7095 2003-05-30  André Pönitz  <poenitz@gmx.net>
7096
7097         * rowpainter.C: unify second drawing phase
7098
7099 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * trans_mgr.C: remove one case of current_view
7102
7103         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7104
7105         * paragraph_funcs.h: remove paragraph.h include
7106
7107         * paragraph.h: delete NO_STD_LIST stuff
7108
7109         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7110
7111         * buffer.h: remove paragraph.h include
7112
7113         * ParagraphList.C: delete file
7114
7115         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7116
7117         * toc.C (getTocList): adjust
7118
7119         * paragraph_pimpl.C (validate): adjust
7120
7121         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7122
7123         * paragraph.C (Paragraph): adjust
7124         (getPositionOfInset): use const_iterator, adjust
7125         (bibitem): use const_iterator, adjust
7126         (setInsetOwner): adjust
7127
7128         * iterators.C (operator++): adjust
7129
7130         * InsetList.[Ch]: Replace selfmade iterator with standard
7131         vector::iterator also introduce const_iterator. Remove getPos,
7132         getInset and setInset from InsetTable. Adjust accordingly.
7133
7134         * BufferView.C (lockInset): adjust
7135         (ChangeInsets): adjust
7136
7137         * tabular.[Ch]: delete commented same_id functions
7138
7139 2003-05-28  John Levon  <levon@movementarian.org>
7140
7141         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7142
7143 2003-05-28  André Pönitz  <poenitz@gmx.net>
7144
7145         * metricsinfo.[Ch]: remove 'fullredraw' member
7146
7147 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7148
7149         * lyxtextclass.C (operator): remove caching.
7150
7151 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * text3.C: adjust
7154
7155         * text2.C (cursorBottom): adjust
7156         (setCounter): use ParagraphList::find, adjust
7157
7158         * text.C (workWidth): use ParagraphList::find, adjust
7159
7160         * lyxcursor.C (LyXCursor): adjust
7161
7162         * buffer.C (inset_iterator): adjust
7163
7164         * ParagraphList.h: make iterator(value_type) private, make
7165         ParagraphList a friend of iterator.
7166
7167         * ParagraphList.C (find): new function
7168
7169         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7170
7171 2003-05-27  André Pönitz  <poenitz@gmx.net>
7172
7173         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7174
7175 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7176
7177         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7178
7179 2003-05-26  John Levon  <levon@movementarian.org>
7180
7181         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7182
7183 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7184
7185         * remove same_id from function signatures, adjust.
7186
7187 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7188
7189         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7190
7191         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7192
7193         * paragraph.C (Paragraph): get rid of same_ids parameter
7194
7195         * ParagraphList.C (insert): adjust
7196         (push_back): adjust
7197
7198 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * paragraph_funcs.C (breakParagraph): adjust
7201         (breakParagraphConservative): adjust
7202
7203         * buffer.C (readParagraph): adjust
7204
7205         * ParagraphList.C (insert): take a reference instead of a pointer
7206         (insert): adjust
7207
7208         * paragraph.[Ch] (id): new function
7209
7210         * bufferlist.C (newFile): adjust
7211
7212         * ParagraphList.C (ParagraphList): adjust
7213         (assign): adjust
7214         (push_back): take a reference instead of a pointer.
7215
7216         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7217
7218         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7219         instead.
7220
7221         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7222         set else use old code.
7223
7224         * ParagraphList.C: remove all NO_NEXT code and only compile this
7225         code of NO_STD_LIST is set.
7226
7227 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7228
7229         * BufferView_pimpl.C:
7230         * TextCache.C:
7231         * TextCache.h:
7232         * bufferlist.C:
7233         * errorlist.h:
7234         * format.C:
7235         * format.h:
7236         * graph.C:
7237         * lyxfunc.C:
7238         * lyxrc.C:
7239         * graphics/GraphicsConverter.C:
7240         * graphics/PreviewLoader.C: header adjustment
7241
7242 2003-05-23  Angus Leeming  <leeming@lyx.org>
7243
7244         * LaTeXFeatures.[Ch] (useBabel): new method.
7245         * bufferparams.C (writeLaTeX): use it.
7246
7247 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7248
7249         * ParagraphList.h (set): remove unused function.
7250
7251 2003-05-23  André Pönitz  <poenitz@gmx.net>
7252
7253         * BufferView.C:
7254         * BufferView_pimpl.C:
7255         * buffer.C:
7256         * buffer.h:
7257         * lyxfunc.C:
7258         * undo_funcs.C: setUndo reworked
7259
7260         * iterators.[Ch]: add access to topmost ParagraphList
7261
7262         * lyxtext.[Ch] (workWidth): add a const
7263
7264 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * texrow.[Ch] (increasePos): remove function
7267         * exporter.C (export): removed unused var and outdated comment
7268
7269 2003-05-23  Angus Leeming  <leeming@lyx.org>
7270
7271         * latexrunparams.h: rename fragile as moving_arg.
7272         * paragraph.C (simpleTeXOnePar): ditto.
7273         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7274
7275 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7278         (createUndo): ditto
7279         (textUndoOrRedo): comment out a currently unused var.
7280
7281         * paragraph.h (NO_NEXT): enable NO_NEXT
7282
7283         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7284
7285         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7286
7287         * exporter.C (Export): adjust for removeAutoInsets removal.
7288
7289         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7290
7291         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7292
7293         * BufferView.[Ch] (removeAutoInsets): delete function
7294
7295 2003-05-22  Angus Leeming  <leeming@lyx.org>
7296
7297         * latexrunparams.h: add a free_spacing variable.
7298
7299         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7300         to pass moving_arg, as the data is stored in runparams.fragile.
7301
7302         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7303         to Inset::latexOptional or to simpleTeXOnePar.
7304
7305         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7306         free_spacing arg to Inset::latexOptional.
7307
7308         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7309         free_spacing arg.
7310
7311 2003-05-22  Angus Leeming  <leeming@lyx.org>
7312
7313         * latexrunparams.h: add fragile and use_babel variables.
7314
7315         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7316         * buffer.C (makeLaTeXFile): store this returned value in
7317         runparams.use_babel, thus passing it to the inset::latex methods.
7318
7319         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7320         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7321
7322         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7323         longer has a fragile arg, as it is stored in runparams.fragile.
7324
7325         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7326         moving_arg parameter as the data is stored in runparams.fragile.
7327
7328         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7329         a fragile parameter as the data is stored in runparams.fragile.
7330
7331 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7334
7335 2003-05-22  Angus Leeming  <leeming@lyx.org>
7336
7337         * latexrunparams.h: add a 'bool nice' which defaults to false.
7338
7339         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7340         now encapsulated within runparams.
7341
7342         * bufferlist.C (updateIncludedTeXfiles):
7343         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7344
7345 2003-05-22  Angus Leeming  <leeming@lyx.org>
7346
7347         * latexrunparams.h: new file containing struct LatexRunParams.
7348         * Makefile.am: add new file.
7349
7350         * LaTeX.[Ch] (c-tor, run):
7351         * buffer.[Ch] (makeLaTeXFile):
7352         * bufferlist.[Ch] (updateIncludedTeXfiles):
7353         * converter.C (convert, scanLog):
7354         * converter.[Ch] (runLaTeX):
7355         * exporter.C (Export):
7356         * paragraph.[Ch] (simpleTeXOnePar):
7357         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7358         * paragraph_funcs.[Ch] (latexParagraphs):
7359         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7360         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7361         pass around a LatexRunParams parameter.
7362
7363 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7364
7365         * paragraph.[Ch]: remove unused constructor
7366
7367         * ParagraphList.C (erase): new function, taking two iterators
7368
7369 2003-05-22  André Pönitz  <poenitz@gmx.net>
7370
7371         * undo_funcs.C: remove duplicated code
7372
7373         * iterator.[Ch]: operator=
7374
7375 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7376
7377         * tabular.C (SetMultiColumn): ws changes
7378
7379         * rowpainter.C (paintFirst): get rid of a ->previous
7380
7381         * lyx_cb.C (getPossibleLabel): parlist simplification
7382
7383         * BufferView.C (ChangeInsets): simplify slightly.
7384
7385 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7386
7387         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7388         * lfuns.h: new LFUN_SPACE
7389         * lyxfunc.C: protected space has a new lfun
7390         * paragraph_funcs.C: read new space insets
7391         * text3.C:
7392         * factory.C: handle new space insets
7393
7394 2003-05-22  André Pönitz  <poenitz@gmx.net>
7395
7396         * BufferView.C:
7397         * BufferView_pimpl.C:
7398         * buffer.[Ch]:
7399         * lyxfunc.C:
7400         * undo_funcs.C: return a ParIterator from getParFromID.
7401
7402         * iterators.[Ch]: add two const's
7403
7404 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7405
7406         * toc.C (getTocList): adjust
7407
7408         * iterators.[Ch]: rework for parlist
7409
7410         * buffer.C (par_iterator_begin): adjust
7411         (par_iterator_end): adjust
7412
7413         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7414
7415         * BufferView.C (removeAutoInsets): adjust
7416         (ChangeInsets): adjust
7417
7418 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7419
7420         * text.C (top_y): fix bug 1110
7421
7422 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7423
7424         * errorlist.[Ch]: added
7425         * buffer.C:
7426         * BufferView.[Ch]:
7427         * BufferView_pimpl.C:
7428         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7429         instead
7430
7431 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7432
7433         * Makefile.am: ensure that lyx is relinked upon changes to the
7434         various "convenience" libs.
7435
7436 2003-05-20  Angus Leeming  <leeming@lyx.org>
7437
7438         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7439         files are compiled in alphabetical order again.
7440
7441         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7442
7443 2003-05-19  Angus Leeming  <leeming@lyx.org>
7444
7445         * gettext.[Ch]: remove "char const * _(char const *)".
7446
7447 2003-05-19  André Pönitz  <poenitz@gmx.net>
7448
7449         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7450
7451         * Makefile.am:
7452         * BufferView.C:
7453         * DepTable.h:
7454         * LaTeXFeatures.C:
7455         * buffer.C:
7456         * lyxfont.C:
7457         * lyxlex.h:
7458         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7459
7460 2003-05-19  André Pönitz  <poenitz@gmx.net>
7461
7462         * buffer.C:
7463         * lyxlayout.[Ch]:
7464         * lyxtextclass.[Ch]:
7465         * paragraph.C:
7466         * paragraph_funcs.[Ch]:
7467         * text2.C:
7468         * text3.C: more insetenv work
7469
7470 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7471
7472         * ParagraphParameters.C (params2string): small bug fixed
7473
7474 2003-05-16  André Pönitz  <poenitz@gmx.net>
7475
7476         * debug.C:
7477         * bufferview_funcs.C: patch from Kornel Benko to prevent
7478           crash when _(...) is called twice in a statement
7479
7480 2003-05-16  André Pönitz  <poenitz@gmx.net>
7481
7482         * BufferView.C:
7483         * lyxfunc.C:
7484         * text.C:
7485         * text2.C:
7486         * text3.C:
7487         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7488
7489 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7490
7491         * lyx_main.C (init): remove spurious static_cast
7492
7493 2003-05-14  André Pönitz  <poenitz@gmx.net>
7494
7495         * BufferView.C: fix format string
7496
7497 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7498
7499         * BufferView.[Ch] (insertErrors): removed
7500         * BufferView.[Ch] (showErrorList): added
7501         * buffer.C (runChkTeX):
7502         * converter.C (scanLog): call showErrorList instead of inserterrors
7503
7504 2003-05-13  André Pönitz  <poenitz@gmx.net>
7505
7506         * BufferView_pimpl.C:
7507         * buffer.C:
7508         * bufferview_func.C:
7509         * MenuBackend.C:
7510         * lyxfunc.C:
7511         * lyxrc.C:
7512         * tex-accent.C:
7513         * text3.C:
7514         * toc.C:
7515         * tabular_funcs.h: tostr() from its own header
7516
7517         * ParagraphParameters.C:
7518         * ToolbarBackend.C:
7519         * bufferparams.C:
7520         * format.C:
7521         * lyxlex_pimpl.C:
7522         * text3.C: STRCONV()
7523
7524 2003-05-12  André Pönitz  <poenitz@gmx.net>
7525
7526         * BufferView.C:
7527         * BufferView_pimpl.C:
7528         * CutAndPaste.C:
7529         * LaTeX.C:
7530         * LaTeXFeatures.C:
7531         * ParagraphParameters.C:
7532         * buffer.C:
7533         * bufferlist.C:
7534         * bufferparams.C:
7535         * bufferview_funcs.C:
7536         * converter.C:
7537         * counters.C:
7538         * debug.C:
7539         * exporter.C:
7540         * format.C:
7541         * importer.C:
7542         * lyx_cb.C:
7543         * lyx_main.C:
7544         * lyxfont.C:
7545         * lyxfunc.C:
7546         * lyxvc.C:
7547         * paragraph.C:
7548         * paragraph_funcs.C:
7549         * tabular.C:
7550         * tabular_funcs.C:
7551         * text2.C:
7552         * text3.C:  boost::format -> bformat  all over the place
7553
7554
7555 2003-05-09  André Pönitz  <poenitz@gmx.net>
7556
7557         * LColor.[Ch]: Pimpl the #include <map> away
7558
7559 2003-05-09  John Levon  <levon@movementarian.org>
7560
7561         * bufferlist.C: never remove emergency saves
7562
7563 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7564
7565         * Makefile.am: better lib building
7566
7567 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7568
7569         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7570         instead.
7571         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7572         (simpleTeXSpecialChars): adjust
7573         (simpleTeXSpecialChars): adjust
7574         * paragraph.C (simpleTeXOnePar): adjust
7575         * buffer.C (makeLaTeXFile): adjust
7576
7577         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7578
7579         * text2.C (changeDepth): parlist cleanup
7580         (getColumnNearX): ditto
7581
7582         * rowpainter.C (getLabelFont): parlist cleanup
7583
7584         * bufferlist.C (newFile): parlist cleanup
7585
7586         * CutAndPaste.C (eraseSelection): parlist cleanup
7587
7588         * BufferView_pimpl.C (trackChanges): parlist cleanup
7589         (dispatch): ditto
7590
7591         * BufferView.C (lockInset): parlist cleanup.
7592         (ChangeInsets): ditto
7593
7594 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * CutAndPaste.h: Update file header.
7597
7598         * CutAndPaste.C: Update file header.
7599         Store the parts cut out of the Document in a limited_stack.
7600         (copySelection): adjust
7601         (pasteSelection): new function, takes the index in the limited stack.
7602         (nrOfParagraphs): adjust
7603         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7604         simplify error inset insertion.
7605         (checkPastePossible): adjust
7606
7607 2003-05-06  John Levon  <levon@movementarian.org>
7608
7609         * text2.C: don't cast wrap inset to float
7610
7611 2003-05-05  André Pönitz  <poenitz@gmx.net>
7612
7613         * iterator.C:
7614         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7615
7616         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7617           few naked Paragraph *.
7618
7619 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7620
7621         * bufferparams.C: Output warning if a document with missing
7622         TeX document class is loaded
7623         * exporter.C: Disable TeX exports if the document class is missing
7624         * lyxtextclass.C:
7625         * lyxtextclass.h:
7626         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7627         isTeXClassAvailable()
7628
7629 2003-05-03  John Levon  <levon@movementarian.org>
7630
7631         * BufferView.h:
7632         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7633         explicit cursor show/hide
7634
7635         * BufferView_pimpl.h:
7636         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7637         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7638
7639         * lyxfunc.C: hide cursor before dispatching.
7640
7641         * lyx_cb.C:
7642         * lyxfind.C:
7643         * text.C:
7644         * text3.C: remove explicit cursor hides
7645
7646 2003-05-02  André Pönitz  <poenitz@gmx.net>
7647
7648         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7649
7650         * undo_funcs.C:
7651         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7652           linked lists
7653
7654         * text2.C: tiny whitespace
7655
7656 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * undo_funcs.C: almost only ws changes.
7659
7660         * ParagraphList.C (splice): just return if pl is empty.
7661
7662 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7663
7664         * ParagraphList.C (splice): new function.
7665
7666         * CutAndPaste.C (pasteSelection): use it
7667
7668 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * CutAndPaste.C (pasteSelection): remove the last next and
7671         previous from this file.
7672
7673 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * CutAndPaste.C (pasteSelection): more clean up, user proper
7676         ParagraphList functions for pasteing.
7677
7678         * ParagraphList.C (insert): new function, three arg insert
7679
7680 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * ParagraphList.C (insert): new function, three arg insert
7683
7684         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7685         not on paragraphs.
7686
7687 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7688
7689         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7690
7691 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7692
7693         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7694
7695 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7696
7697         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7698         (copySelection): clean up a bit.
7699         (pasteSelection): use make_pair
7700
7701         * ParagraphList.C (ParagraphList): implement copy constructor
7702         (operator=): implement, base on copy constructor.
7703         (assign): new func
7704
7705         * paragraph.C (erase): return a bool
7706
7707         * paragraph_pimpl.C (erasePos): remove function, move contents...
7708         (erase): ... here. Return a bool.
7709         (erase): call erase instead of erasePos.
7710
7711 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7712
7713         * ParagraphList.h: define PitPosPair
7714         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7715         ParagraphList, fix a bug on pasting multiple pars
7716         * text2.C: change interface to C&P
7717
7718 2003-04-30  André Pönitz  <poenitz@gmx.net>
7719
7720         * undo_func.C: revert part of yesterday's patch 2
7721
7722 2003-04-30  John Levon  <levon@movementarian.org>
7723
7724         * LColor.C: s/tabular/table/
7725
7726 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7727
7728         * text3.C (dispatch): do not convert iterator -> pointer
7729         * undo_funcs.C (setCursorParUndo): ditto
7730         * text_funcs.C (transposeChars): ditto
7731
7732         * text2.C (setLayout): ws changes only
7733
7734         * text.C (breakParagraph): do not convert iterator -> pointer
7735         (insertChar): ditto
7736         (acceptChange): ditto
7737         (rejectChange): ditto
7738         (changeCase): ditto
7739         (Delete): ditto
7740         (backspace): ditto
7741
7742         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7743         pointer
7744
7745 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7746
7747         * text3.C (gotoInset): YABG (yet another bad getChar)
7748
7749 2003-04-29  André Pönitz  <poenitz@gmx.net>
7750
7751         * paragraph.h: make operator= private unimplemented as long as
7752           it is unusable
7753
7754         * ParagraphList.C: whitespace
7755
7756         * paragraph.[Ch]:
7757         * paragraph_pimpl.[Ch]:
7758         * paragraph_funcs.C:
7759         * CutAndPaste.C:
7760         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7761
7762         * text2.C:
7763           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7764
7765 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7766
7767         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7768         * paragraph.[Ch] (erase):
7769         * paragraph_pimpl.[Ch] (erase): change return type and value
7770         * text2.C (cutSelection): some rework
7771
7772 2003-04-28  John Levon  <levon@movementarian.org>
7773
7774         * bufferlist.C: changes for unsaved changes dialog
7775
7776 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7777
7778         * bufferlist.C (newFile): set language (messages_) for new
7779         documents also.
7780
7781         * buffer.C (readFile): ws changes only.
7782
7783 2003-04-28  André Pönitz  <poenitz@gmx.net>
7784
7785         * undo_funcs.C:
7786         * lyxfunc.C:
7787         * buffer.[Ch]:
7788         * BufferView_pimpl.C:
7789         * BufferView.C: getParFromID related ParagraphList::iterator changes
7790
7791 2003-04-28  André Pönitz  <poenitz@gmx.net>
7792
7793         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7794           Changes
7795
7796 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * messages.C: remove one more localedir class variable.
7799
7800 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7801
7802         * messages.C (getLocaleDir): singleton generation function
7803         (Pimpl): use it.
7804         (Messages): add a default constructor.
7805
7806         * main.C (main): do not setup localedir here, do not call
7807         gettext_init.
7808
7809         * gettext.C (_): use it.
7810         (gettext_init): delete funciton
7811
7812 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7813
7814         * gettext.C (getLyXMessages): new singleton generating function.
7815
7816         * buffer.C (updateDocLang): adjust
7817
7818         * Makefile.am (messages.o): add target
7819         (main.o): remove target
7820
7821 2003-04-27  John Levon  <levon@movementarian.org>
7822
7823         * bufferlist.C:
7824         * lyx_cb.C:
7825         * lyxfunc.C:
7826         * lyxvc.C: specify cancel button in Alert::prompt
7827
7828 2003-04-26  John Levon  <levon@movementarian.org>
7829
7830         * text3.C:
7831         * lyxfunc.C:
7832         * lfuns.h:
7833         * LyXAction.C: add LFUN_INSET_SETTINGS
7834
7835         * lyxfunc.C: don't enable tabular-feature when there's
7836         just any locking inset
7837
7838 2003-04-26  John Levon  <levon@movementarian.org>
7839
7840         * bufferlist.C: re-add Cancel to buffer close question
7841
7842         * lyxfunc.C: fix import UI a bit
7843
7844 2003-04-25  John Levon  <levon@movementarian.org>
7845
7846         * gettext.C: remove the broken asserts for now
7847
7848 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7849
7850         * messages.C: make case where setlocale cannot comply work better.
7851
7852         * buffer.C (updateDocLang): new function
7853         (changeLanguage): use it
7854         (readFile): use it
7855
7856         * text2.C (setCounter): use B_ a bit.
7857
7858         * lyxlayout.C (Read): be sure to trim the label strings.
7859
7860         * messages.C (Messages): fix typo in comment
7861
7862         * buffer.C (readFile): set message_ after file is loaded.
7863         (makeDocBookFile): remove double return
7864         (changeLanguage): reset message_ upon language change.
7865         (B_): new func, use this to get translated buffer strings.
7866
7867         * main.C: add myself and Jean Marc as authors.
7868
7869 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * messages.[hC]: pimplify Messages, and three different pimpls to be
7872         used in different circumstances.
7873
7874         * gettext.[Ch]: change for use with new message code.
7875
7876 2003-04-24 André Pönitz <poenitz@gmx.net>
7877
7878         * factory.C: support for eqref
7879
7880 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7881
7882         * messages.[Ch]: add missing char
7883
7884         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7885
7886         * messages.[Ch]: New files
7887
7888 2003-04-18  John Levon  <levon@movementarian.org>
7889
7890         * BufferView.h:
7891         * BufferView.C:
7892         * BufferView_pimpl.C:
7893         * lfuns.h:
7894         * LyXAction.C:
7895         * lyxtext.h:
7896         * text2.C: remove layout-copy/paste (bug 778)
7897
7898 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7899
7900         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7901
7902 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7903
7904         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7905         if they succeed. Act accordingly.
7906
7907 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7908
7909         * text2.C (setCharFont): adjust
7910         (setCounter): adjust
7911         (insertStringAsLines): adjust
7912
7913         * text.C (leftMargin): adjust
7914         (setHeightOfRow): adjust
7915
7916         * rowpainter.C (paintFirst): adjust
7917         (paintLast): adjust
7918
7919         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7920         (outerHook): ditto
7921         (isFirstInSequence): ditto
7922         (getEndLabel): ditto
7923         (outerFont): adjust
7924
7925         * paragraph.C (getParLanguage): comment out some hard stuff.
7926
7927         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7928         (sgmlError): ditto
7929         (simpleDocBookOnePar): ditto
7930         (makeDocBookFile): use ParagraphList::iterator
7931
7932         * CutAndPaste.C (pasteSelection): adjust
7933
7934 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7935
7936         * text2.C (getFont): adjust
7937         (getLayoutFont): adjust
7938         (getLabelFont): adjust
7939
7940         * paragraph_funcs.C (TeXOnePar): adjust
7941
7942         * buffer.C (simpleLinuxDocOnePar): adjust
7943         (simpleDocBookOnePar): adjust
7944
7945         * CutAndPaste.C (pasteSelection): adjust
7946
7947         * BufferView.C (getEncoding): adjust
7948
7949         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7950
7951 2003-04-16  John Levon  <levon@movementarian.org>
7952
7953         * lyxfind.C: use parlist stuff for search/changes
7954
7955 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7956
7957         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7958
7959         * text2.C (deleteEmptyParagraphMechanism): adjust
7960
7961         * text2.[Ch] (ownerParagraph): delete func (both of them
7962
7963 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7964
7965         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7966
7967 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7968
7969         * ParagraphList.C: prepare for NO_NEXT
7970
7971 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7972
7973         * text2.C (getFont): adjust
7974         (getLayoutFont): adjust
7975         (getLabelFont): adjust
7976
7977         * paragraph.C (getFont): adjust
7978         (getLabelFont): adjust
7979         (getLayoutFont): adjust
7980
7981         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7982
7983 2003-04-15  John Levon  <levon@movementarian.org>
7984
7985         From Angus Leeming
7986
7987         * lyx_main.C: handle Include in .ui files
7988
7989 2003-04-15  John Levon  <levon@movementarian.org>
7990
7991         * MenuBackend.C: make the doc files length shorter
7992
7993         * ToolbarBackend.h:
7994         * ToolbarBackend.C: handle toolbar placement flags,
7995         Minibuffer
7996
7997 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8000         adjust
8001
8002         * paragraph_funcs.C (TeXOnePar): adjust
8003
8004         * paragraph.C (getLabelFont): add outerfont arg, adjust
8005         (getLayoutFont): ditto
8006         (simpleTeXOnePar): adjust
8007
8008         * paragraph_pimpl.C (realizeFont): delete func
8009
8010 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8011
8012         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8013         row argument, constify cur argument.
8014
8015 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8016
8017         * text2.C (getFont): adjust
8018         (getLayoutFont): adjust
8019         (getLabelFont): adjust
8020
8021         * paragraph_funcs.C (TeXOnePar): adjust
8022         (outerFont): new func...
8023         (realizeFont): ...moved out from here, changed this to facilitate
8024         transition
8025
8026         * paragraph.C (getFont): take outerfont as arg, adjust
8027         (simpleTeXOnePar): add outerfont arg, adjust
8028
8029         * buffer.C (simpleLinuxDocOnePar): adjust
8030         (simpleDocBookOnePar): adjust
8031
8032         * CutAndPaste.C (pasteSelection): adjust
8033
8034         * BufferView.C (getEncoding): adjust
8035
8036 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * text2.C (setCharFont): adjust
8039         (setCounter): adjust
8040
8041         * text.C (leftMargin): adjust
8042         (setHeightOfRow): adjust
8043
8044         * rowpainter.C (paintFirst): adjust
8045         (paintLast): adjust
8046
8047         * paragraph_pimpl.C (realizeFont): adjust
8048
8049         * paragraph.C (isFirstInSequence): move from here...
8050         * paragraph_funcs.C (isFirstInSequence): ...to here
8051
8052         * paragraph.C (outerHook): move from here...
8053         * paragraph_funcs.C (outerHook): ...to here
8054
8055         * paragraph.C (depthHook): move from here...
8056         * paragraph_funcs.C (depthHook): ...to here
8057
8058         * paragraph.C (getEndLabel): move from here...
8059         * paragraph_funcs.C (getEndLabel): ...to here
8060
8061         * text2.C (realizeFont): move from here...
8062         * paragraph_funcs.C (realizeFont): ...to here
8063
8064 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8065
8066         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8067
8068 2003-04-14  Angus Leeming  <leeming@lyx.org>
8069
8070         * LColor.[Ch]: scrap LColor mathcursor.
8071
8072 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * lyxlex.[Ch] (text): delete function
8075         * trans.C (Load): adjust
8076         * paragraph_funcs.C (readParToken): adjust
8077
8078 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8079
8080         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8081         vector<char> instead of a char[].
8082
8083         * lyxlex_pimpl.C (getString): adjust
8084         (next): adjust
8085         (lex): use getString
8086         (eatLine): adjust
8087         (nextToken): adjust
8088
8089         * lyxlex.C (text): use pimpl_->getString()
8090         (getBool): ditto
8091         (findToken): ditto
8092
8093 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8096         (makeFontEntriesLayoutSpecific): temp var for par.size()
8097         (setLayout): temp var for ownerParagraphs().end()
8098         (fullRebreak): temp var for rows().end()
8099         (selectionAsString): temp var for boost::next(startpit), realize
8100         that the while really is a regular for loop.
8101         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8102         setCursor in one place.
8103         (setParagraph): temp vr for ownerParagraphs().end()
8104         (updateCounters): make the while loop a for loop
8105         (cutSelection): temp var for ownerParagraphs().end()
8106         (updateInset): make the do {} while() a regular for loop
8107         (getCursorX): use temp vars
8108         (setCurrentFont): use temp vars
8109         (getColumnNearX): use temp vars
8110
8111 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8112
8113         * text.C (transformChar): use temp var for getChar
8114         (computeBidiTables): use temp var for row->par()
8115         (fill): move temp vars for row->par() and pit->layout() earlier in
8116         the function.
8117         (labelFill): use temp var for row->par()
8118         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8119         asc and desc, realize that pit never changes and that firstpit is
8120         just a duplicate and not needed. Exchange rit->par() with pit in a
8121         lot of places.
8122         (breakAgain): use a temp var for boost::next(rit)
8123         (breakAgainOneRow): ditto
8124         (breakParagraph): use a temp var for rows().begin()
8125         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8126         (cursorRightOneWord): use temp var for cursor.par() and
8127         cursor.pos(), remove usage of tmpcursor.
8128         (cursorLeftOneWord): use temp var for cursor.par() and
8129         cursor.pos() only set cur at end of function.
8130
8131 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8132
8133         * text.C, text2.C: exchange all usage of Paragraph::next with
8134         boost::next(ParagraphList::iterator)
8135
8136         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8137
8138         * text2.C (cursorTop): simplify implementation
8139         (cursorBottom): ditto
8140         (setParagraph): use ParagraphList::iterator
8141         (setCurrentFont): adjust
8142         (getColumnNearX): adjust
8143         (cursorRight): adjust
8144         (cursorLeft): remove usage of Paragraph::previous
8145         (cursorUpParagraph): ditto
8146         (deleteEmptyParagraphMechanism): slight cleanup
8147
8148         * text.C (isBoundary): take a Paragraph const & instead of a
8149         pointer as arg.
8150         (addressBreakPoint): ditto
8151         (leftMargin): remove usage of Paragraph::previous.
8152         (setHeightOfRow): ditto
8153         (cursorLeftOneWord): ditto
8154         (selectNextWordToSpellcheck): ditto
8155         (Delete): ditto
8156         (backspace): ditto
8157         (breakParagraph): remove one usage of Paragraph::next
8158         (redoParagraph): ditto
8159         (acceptChange): ditto
8160         (insertChar): adjust
8161         (rowBreakPoint): adjust
8162
8163         * bufferview_funcs.C (toggleAndShow): adjust
8164
8165 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8166
8167         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8168         methods to access it.
8169         * lyxtext.h:
8170         * text.C: Added updateRowPositions to compute all row positions.
8171         Make top_y and getRowNearY() to use the cached y position
8172
8173 2003-04-11  John Levon  <levon@movementarian.org>
8174
8175         * text.C (rowBreakPoint): reintroduce the labelEnd
8176         checks, code copied from the row fill stuff. Deep voodoo.
8177
8178         * text.C (fill): add a comment and debugging for the
8179         next poor soul.
8180
8181 2003-04-11  John Levon  <levon@movementarian.org>
8182
8183         * text.C: make sure fullrow insets get wrapped to the next line,
8184         even when they're in a manual label
8185
8186 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * text2.C (insertParagraph): make it take ParagraphList::iterator
8189         as arg.
8190         (setLayout): make it return ParagraphList::iterator
8191         (redoParagraphs): ditto
8192         (setCounter): ditto
8193         (checkParagraph): ditto
8194
8195         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8196
8197         * text2.C: adjust several funcs.
8198         (realizeFont): take a ParagraphList::iterator as arg.
8199         (getLayoutFont): ditto
8200         (getLabelFont): ditto
8201         (setCharFont): ditto
8202
8203         * text.C: adjust several funcs.
8204
8205 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8206
8207         * text.C (selectNextWordToSpellcheck): don't accidentally
8208         skip insets
8209
8210 2003-04-10  John Levon  <levon@movementarian.org>
8211
8212         * ToolbarBackend.C (getIcon): special handling for
8213         LFUN_MATH_DELIM
8214
8215 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8216
8217         * text2.C (cursorRight): a getChar assert fixed
8218
8219 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8220
8221         * text2.C (getFont): change to take a ParagraphList::iterator
8222         instead of Paragraph*
8223         Adjust several functions.
8224
8225         * text.C (transformChar): change to take a ParagraphList::iterator
8226         instead of Paragraph*
8227         (singleWidth): ditto
8228         Adjust several functions.
8229
8230         * rowpainter.C: adjust several functions
8231         * rowpainter.h:store a ParagraphList::iterator and not a
8232         Paragraph&.
8233
8234
8235 2003-04-09  John Levon  <levon@movementarian.org>
8236
8237         * lyxfunc.C:
8238         * lfuns.h:
8239         * LyXAction.h:
8240         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8241         and the "help" bits as well
8242
8243 2003-04-09  John Levon  <levon@movementarian.org>
8244
8245         * ToolbarBackend.h:
8246         * ToolbarBackend.C: allow multiple toolbars
8247
8248 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * undo_funcs.C (setCursorParUndo): adjust
8251
8252         * text_funcs.C (transposeChars): adjust
8253
8254         * text3.C (gotoNextInset): adjust
8255         (dispatch): adjust
8256
8257         * text2.C (setLayout): adjust
8258         (changeDepth): adjust
8259         (setFont): adjust
8260         (redoParagraphs): adjust
8261         (selectionAsString): adjust
8262         (setParagraph): adjust
8263         (insertInset): adjust
8264         (cutSelection): adjust
8265         (copySelection): adjust
8266         (pasteSelection): adjust
8267         (insertStringAsLines): adjust
8268         (updateInset): adjust
8269         (setCursor): change to take a ParagraphList::iterator parameter
8270         (setCursorIntern): change to take a ParagraphList::iterator parameter
8271         (setCurrentFont): adjust
8272         (cursorLeft): adjust
8273         (cursorRight): adjust
8274         (deleteEmptyParagraphMechanism): adjust
8275
8276         * text.C (breakParagraph): adjust
8277         (insertChar): adjust
8278         (acceptChange): adjust
8279         (rejectChange): adjust
8280         (selectNextWordToSpellcheck): adjust
8281         (changeCase): adjust
8282         (Delete): adjust
8283         (backspace): adjust
8284
8285         * lyxfind.C (SearchForward): adjust
8286         (SearchBackward): adjust
8287         (nextChange): adjust
8288
8289         * lyxcursor.C (par): adjust
8290
8291         * lyxcursor.h: store a ParagraphList::iterator instead of a
8292         Paragraph*
8293
8294         * lyx_cb.C (getPossibleLabel): adjust
8295
8296         * bufferview_funcs.C (toggleAndShow): adjust
8297
8298         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8299         (dispatch): adjust
8300
8301         * BufferView.C (removeAutoInsets): adjust
8302         (lockedInsetStoreUndo): adjust
8303
8304 2003-04-09  John Levon  <levon@movementarian.org>
8305
8306         * ToolbarBackend.C: try icon without argument
8307         if with argument fails
8308
8309 2003-04-08  John Levon  <levon@movementarian.org>
8310
8311         * ToolbarBackend.h:
8312         * ToolbarBackend.C: add getIcon(), handle tooltip,
8313         and change from "Icon" to "Item".
8314
8315 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8316
8317         * BufferView.C (lockInset): another bad getchar crunched
8318
8319 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8320
8321         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8322         again)
8323
8324 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8325
8326         * lyxfind.C (searchForward, searchBackwards): bug 782
8327
8328 2003-04-07  John Levon  <levon@movementarian.org>
8329
8330         * paragraph.C: remove dead comment
8331
8332         * text.C: remove troublesome depth-fiddling code
8333         in leftMargin() and rightMargin() (bug 1017)
8334
8335         * text.C: fix breaking of rows in nested lists
8336         (bug 1004)
8337
8338         * text2.C (updateCounters): fix up depth values
8339         (bug 1013)
8340
8341 2003-04-07  John Levon  <levon@movementarian.org>
8342
8343         * BufferView_pimpl.C: clear message when doc finishes resizing,
8344         and after a mouse event
8345
8346         * lyxfunc.C: clear message after exiting inset
8347
8348 2003-04-07  John Levon  <levon@movementarian.org>
8349
8350         * bufferview_funcs.C: show math status not outside
8351         status in the statusbar
8352
8353 2003-04-07  John Levon  <levon@movementarian.org>
8354
8355         * lyxfunc.C: note status changed after a depth change
8356
8357 2003-04-04  Angus Leeming  <leeming@lyx.org>
8358
8359         * LaTeX.h: move AuxInfo operator==, != out of line.
8360         Remove LaTeX virtual destructor; nothing derives from it.
8361         Move operator()() out of public area and rename it startscript().
8362         Change protected for private.
8363
8364 2003-04-04  Angus Leeming  <leeming@lyx.org>
8365
8366         * lyxfunc.C:
8367         * text2.C: remove unneeded #includes.
8368
8369 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8370
8371         * text2.C (dEPM): fix the heigth of the next row
8372
8373 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8374
8375         * text.C: squashed an invalid getChar requester + some ws changes
8376
8377 2003-04-03  John Levon  <levon@movementarian.org>
8378
8379         * bufferview_funcs.h:
8380         * bufferview_funcs.C:
8381         * lyxfunc.C:
8382         * lyxtext.h:
8383         * text2.C: make getStatus work for the env depth lfuns
8384
8385 2003-04-03  John Levon  <levon@movementarian.org>
8386
8387         * bufferview_funcs.h:
8388         * bufferview_funcs.C:
8389         * lyxfunc.C:
8390         * lyxtext.h:
8391         * text2.C: parlistize decDepth(), by merging it with incDepth()
8392
8393 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * lyxrow.h: store a ParagraphList::iterator instead of a
8396         Paragraph* and adjust other class functions to suit.
8397
8398         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8399         above.
8400
8401 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8402
8403         * text2.C (setCursor): do not anchor to cursor row for the time being
8404
8405 2003-04-02  John Levon  <levon@movementarian.org>
8406
8407         * LyXAction.C:
8408         * lfuns.h:
8409         * lyx_main.C:
8410         * lyxtext.h:
8411         * text.C:
8412         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8413
8414 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * paragraph.h: make ParagraphList and ParagraphList::iterator
8417         friends of Paragraph.
8418
8419         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8420
8421         * ParagraphList.C: Use the private next_ and previous_ from
8422         Paragraph.
8423
8424 2003-04-01  John Levon  <levon@movementarian.org>
8425
8426         * ToolbarBackend.h:
8427         * ToolbarBackend.C:
8428         * Makefile.am: rename, remove defaults gunk
8429
8430         * MenuBackend.h:
8431         * MenuBackend.C: remove defaults gunk
8432
8433         * Languages.h:
8434         * Languages.C: remove defaults gunk
8435
8436         * lyx_main.h:
8437         * lyx_main.C: error out if files couldn't be found.
8438
8439 2003-04-02  John Levon  <levon@movementarian.org>
8440
8441         * text2.C: make incDepth() use parlist
8442
8443 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8444
8445         * undo_funcs.C (firstUndoParagraph): adjust
8446
8447         * text3.C (gotoInset): adjust
8448         (dispatch): adjust, and rewrite loop.
8449
8450         * text2.C (init): adjust, and rewrite loop.
8451         (redoParagraphs): adjust
8452         (updateInset): adjust, and rewrite loop.
8453         (deleteEmptyParagraphMechanism): adjust
8454
8455         * tabular.C (LyXTabular): adjust
8456         (SetMultiColumn): adjust
8457         (TeXRow): adjust
8458
8459         * lyxtext.[Ch] (ownerParagraph): delete function
8460         (ownerParagraphs): new function returns a ParagraphList.
8461
8462         * BufferView.C (removeAutoInsets): adjust
8463         (insertErrors): adjust
8464         (setCursorFromRow): adjust
8465
8466 2003-04-01  Angus Leeming  <leeming@lyx.org>
8467
8468         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8469         in the frontends.
8470
8471 2003-04-02  John Levon  <levon@movementarian.org>
8472
8473         * lyxtext.h:
8474         * text.C:
8475         * Makefile.am:
8476         * text_funcs.h:
8477         * text_funcs.C: make transposeChars a free function
8478
8479         * lyxrow_funcs.C: remove wrong comment
8480
8481 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8482
8483         * lyxtext.h: adjust
8484         * rowpainter.C: adjust
8485         * text.C: adjust
8486         * text2.C: adjust
8487         * text3.C: adjust
8488
8489         * lyxrow_funcs. [Ch]: new files
8490
8491         * lyxrow.[Ch]: remove next and previous pointers
8492         (next,previous): remove accessor functions
8493         (isParEnd): move to lyxrow_funcs
8494         (lastPos): move to lyxrow_funcs
8495         (nextRowIsAllInset): move to lyxrow_funcs
8496         (lastPrintablePos): move to lyxrow_funcs
8497         (numberOfSeparators): move to lyxrow_funcs
8498         (numberOfHfills): move to lyxrow_funcs
8499         (numberOfLabelHfills): move to lyxrow_funcs
8500         (hfillExpansion): move to lyxrow_funcs
8501
8502         * lyxfunc.C: adjust
8503
8504         * bufferview_funcs.C (toggleAndShow): adjust
8505
8506         * RowList.h: Remove class RowList from file leave just a
8507         std::list<Row>.
8508
8509         * RowList.C: delete file
8510
8511         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8512         and lyxrow_funcs.h
8513
8514 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8515
8516         * text3.C (cursorPrevious): adjust
8517         (cursorNext): adjust
8518         (dispatch): adjust
8519
8520         * text2.C (redoHeightOfParagraph): adjust
8521         (redoDrawingOfParagraph): adjust
8522         (setCursor): adjust
8523
8524         * text.C (breakParagraph): adjust
8525         (insertChar): adjust
8526         (backspace): adjust
8527
8528         * rowpainter.C (RowPainter): adjust
8529         (leftMargin): simplify and adjust
8530         (most rowpainter functions): adjust.
8531
8532         * rowpainter.h: store the row as RowList::iterator not as Row*
8533
8534         * lyxcursor.C (row): taka RowList::iterator as arg
8535         (irow): ditto
8536
8537         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8538         of Row*.
8539
8540 2003-04-01  Angus Leeming  <leeming@lyx.org>
8541
8542         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8543         stuff like bool Bool.
8544
8545 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8546
8547         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8548         rewrite a loop
8549
8550 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8553         RowList::iterator.
8554
8555         * lyxtext.h (rows): drop one version and leve a const variant that
8556         returns a RowList::iterator.
8557
8558 2003-03-31  Angus Leeming  <leeming@lyx.org>
8559
8560         * text.C (fill): ensure that the signature is the same as that in the
8561         header file.
8562
8563 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8564
8565         * text2.C (redoParagraphs): adjust
8566         (updateCounters): adjust
8567         (checkParagraph): adjust
8568         (getColumnNearX): adjust and reformat a bit.
8569
8570         * text.C (top_y): adjust
8571         (workWidth): adjust
8572         (leftMargin): adjust
8573         (prepareToPrint): adjust
8574         (getRow): adjust
8575         (getRowNearY): adjust
8576
8577         * lyxtext.h: make rowlist_ mutable.
8578
8579         * RowList.h: add const_iterator
8580         * RowList.C: adjust for RowList::const_iterator.
8581
8582         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8583         adjust.
8584
8585 2003-03-31  John Levon  <levon@movementarian.org>
8586
8587         * lyxrc.h:
8588         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8589
8590         * lyx_main.C: set default fonts from using lyx_gui funcs
8591
8592         * exporter.C: pdf_mode moved from lyxrc
8593
8594         * lyx_cb.C:
8595         * lyxfunc.C: changes from above
8596
8597 2003-03-31  John Levon  <levon@movementarian.org>
8598
8599         * lyx_main.C: fix to the last fix
8600
8601 2003-03-31  John Levon  <levon@movementarian.org>
8602
8603         * bufferlist.C: "Load original" -> "Load Original"
8604
8605         * converter.C:
8606         * exporter.C:
8607         * importer.C:
8608         * lyx_main.C:
8609         * format.C: more Alert cleanups
8610
8611 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8612
8613         * text2.C (removeParagraph): make it take a RowList::iterator as
8614         arg, adjust.
8615         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8616         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8617
8618         * text.C (anchor_row): make it take a RowList::iterator as arg,
8619         adjust.
8620         (computeBidiTables): make it take a const reference to Row instead
8621         of Row pointer, adjust.
8622         (leftMargin): make it take a RowList::iterator as arg, adjust.
8623         (rowBreakPoint): adjust
8624         (breakAgainOneRow): make it take a RowList::iterator as arg,
8625         adjust.
8626         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8627
8628         * bufferview_funcs.C (toggleAndShow): adjust
8629
8630 2003-03-30  John Levon  <levon@movementarian.org>
8631
8632         * Makefile.am:
8633         * BoostFormat.h:
8634         * boost-inst.C: moved to support
8635
8636         * several files: changes as a result
8637
8638 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8639
8640         * text2.C (LyXText): adjust.
8641         (init): adjust
8642         (removeRow): make it take a RowList::iterator as arg, adjust.
8643         (fullRebreak): adjust
8644         (deleteEmptyParagraphMechanism): adjust
8645         (clearPaint): adjust
8646         (postPaint): adjust
8647
8648         * text.C (top_y): adjust
8649         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8650         (breakAgain): make it take a RowList::iterator as arg, adjust.
8651         (breakParagraph): adjust
8652         (insertChar): adjust
8653         (backspace): adjust
8654
8655         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8656         need_break_row, and refresh_row.
8657
8658         * text3.C (dispatch): adjust
8659
8660         * text2.C (checkParagraph): adjust
8661         (setCursor): adjust
8662         (setCursorFromCoordinates): adjust
8663
8664         * text.C (top_y): adjust
8665         (workWidth): adjust
8666         (getRow): make it return a RowList::iterator, adjust
8667         (getRowNearY): make it return a RowList::iterator, adjust
8668
8669         * text2.C (init): adjust
8670         (insertRow): remove function
8671         (insertParagraph): adjust
8672         (redoParagraphs): adjust
8673         (fullRebreak): adjust
8674         (updateCounters): adjust
8675
8676         * text.C (top_y): rewrite to use RowList iterators.
8677         (top_y): adjust
8678         (setHeightOfRow): rewrite to sue RowList iterators.
8679         (appendParagraph): adjust
8680         (breakAgain): adjust
8681         (breakAgainOneRow): adjust
8682         (breakParagraph): adjust
8683         (getRow): adjust
8684         (getRowNearY): adjust, and remove commented code.
8685
8686         * lyxtext.h (firstRow): delete function
8687         (lastRow): delete function
8688         (rows): new function (const and non-const versions.)
8689         (insertRow): delete function
8690
8691         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8692
8693 2003-03-29  John Levon  <levon@movementarian.org>
8694
8695         * BufferView_pimpl.C: always update scrollbar top
8696         because pasting text when we're anchored could mean we
8697         miss an update altogether
8698
8699 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8700
8701         * text2.C (init): use rowlist_.end() and not 0.
8702         (insertRow): change to take a RowList::iterator as arg, adjust
8703         for this.
8704         (insertParagraph): change to take a RowList::iterator as arg,
8705         adjust for this.
8706         (redoParagraphs): remove some debug msgs.
8707
8708         * text.C (appendParagraph): change to take a RowList::iterator
8709         arg, adjust for this.
8710         (breakAgain): add an assert
8711         (breakAgainOneRow): ditto
8712
8713 2003-03-29  John Levon  <levon@movementarian.org>
8714
8715         * text2.C: do not clear selection after inc/decDepth
8716         (bug 550)
8717
8718 2003-03-29  John Levon  <levon@movementarian.org>
8719
8720         * BufferView.C:
8721         * buffer.C: fix broken strerrors according to Lars
8722
8723 2003-03-29  John Levon  <levon@movementarian.org>
8724
8725         * converters.C: more Alert cleanups
8726
8727 2003-03-29  John Levon  <levon@movementarian.org>
8728
8729         * bufferview_funcs.C: remove pointless Alert
8730
8731         * buffer.C: fix confusing error message when
8732         a template is chmoded 000
8733
8734 2003-03-29  John Levon  <levon@movementarian.org>
8735
8736         * BufferView.C:
8737         * BufferView.h:
8738         * BufferView_pimpl.C: Alert fixes
8739
8740         * Makefile.am:
8741         * tabular.C:
8742         * tabular-old.C: remove unused table compat reading
8743
8744 2003-03-29  John Levon  <levon@movementarian.org>
8745
8746         * BufferView.C:
8747         * buffer.C:
8748         * lyx_cb.h:
8749         * lyx_cb.C: more Alert cleanups
8750
8751         * lyxfunc.C: don't allow chktex if not latex document
8752
8753 2003-03-29  John Levon  <levon@movementarian.org>
8754
8755         * lyx_cb.C:
8756         * BufferView.C:
8757         * buffer.C: warnings pushed down from support/,
8758         kill err_alert
8759
8760 2003-03-29  John Levon  <levon@movementarian.org>
8761
8762         * lyxfunc.C: safety check for C-r (revert)
8763
8764 2003-03-29  John Levon  <levon@movementarian.org>
8765
8766         * bufferlist.h:
8767         * bufferlist.C: several UI fixes using Alert::prompt.
8768         Fix the pointless looping quit code. Fix stupid revert
8769         behaviour (bug 938)
8770
8771         * lyxvc.h:
8772         * lyxvc.C:
8773         * lyx_cb.C: use Alert::prompt
8774
8775         * lyx_main.C: remove a silly question
8776
8777         * lyxfunc.C: remove a couple of silly questions,
8778         use Alert::prompt
8779
8780 2003-03-28  John Levon  <levon@movementarian.org>
8781
8782         * text2.C: fix bug 974 (End on empty par)
8783
8784 2003-03-28  John Levon  <levon@movementarian.org>
8785
8786         * BufferView_pimpl.C:
8787         * LyXAction.C:
8788         * lfuns.h: remove do-nothing math greek lfuns
8789
8790 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8791
8792         * lyxgluelength.h (isValidGlueLength): add default arg on
8793         parameter 2. Remove default arg from friend in class.
8794
8795         * lyxlength.h (isValidLength): add default arg on parameter 2.
8796         Remove default arg from friend in class.
8797
8798         * text2.C (LyXText): adjust, initialize refresh_row.
8799         (init): adjust
8800         (removeRow): adjust
8801         (insertRow): adjust
8802         (insertParagraph): adjst
8803         (redoParagraphs): adjust
8804         (fullRebreak): adjust
8805         (updateCounters): adjust
8806         (deleteEmptyParagraphMechanism): first attempt at fixing a
8807         crashing bug.
8808
8809         * text.C (top_y): adjust
8810         (setHeightOfRow): adjust
8811         (getRow): adjust
8812         (getRowNearY): adjust
8813
8814         * lyxtext.h: include RowList.h
8815         (~LyXText): not needed anymore, deleted.
8816         (firstRow): modify for RowList
8817         (lastRow): new function
8818         Delete firstrow and lastrow class variables, add a Rowlist
8819         rowlist_ class variable.
8820
8821         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8822         paragraph is empty.
8823
8824         * RowList.C (insert): fix case where it == begin().
8825
8826 2003-03-26  Angus Leeming  <leeming@lyx.org>
8827
8828         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8829         the thesaurus dialog.
8830
8831 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8832
8833         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8834
8835         * RowList.[Ch]: new files
8836
8837         * ParagraphList.C (erase): handle the case where it == begin
8838         correctly.
8839
8840 2003-03-25  John Levon  <levon@movementarian.org>
8841
8842         * Makefile.am:
8843         * aspell_local.h:
8844         * aspell.C: add new aspell support
8845
8846         * lyxrc.h:
8847         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8848         have it accessible.
8849
8850 2003-03-25  Angus Leeming  <leeming@lyx.org>
8851
8852         * lfuns.h:
8853         * LyXAction.C (init): new LFUN_INSET_INSERT.
8854
8855         * BufferView_pimpl.C (dispatch): split out part of the
8856         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8857
8858         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8859         LFUN_INSET_APPLY.
8860
8861 2003-03-25  Angus Leeming  <leeming@lyx.org>
8862
8863         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8864
8865 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8866
8867         * text2.C:
8868         * text3.C: remove useless row->height(0)
8869
8870 2003-03-25  John Levon  <levon@movementarian.org>
8871
8872         * lyxtext.h:
8873         * text2.C:
8874         * text3.C: rename the refreshing stuff to better names
8875
8876 2003-03-24  John Levon  <levon@movementarian.org>
8877
8878         * BufferView_pimpl.h:
8879         * BufferView_pimpl.C: update layout choice on a mouse
8880         press/release
8881
8882 2003-03-23  John Levon  <levon@movementarian.org>
8883
8884         * Makefile.am: fix commandtags.h reference
8885
8886 2003-03-22  John Levon  <levon@movementarian.org>
8887
8888         * BufferView_pimpl.C:
8889         * lyxtext.h:
8890         * rowpainter.C:
8891         * rowpainter.h:
8892         * text.C:
8893         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8894
8895 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8896
8897         * lyxtext.h:
8898         * text.C: take the rtl methods out of line
8899
8900 2003-03-21 André Pönitz <poenitz@gmx.net>
8901
8902         * metricsinfo.[Ch]: new files containing structures to be passed around
8903         during the two-phase-drawing...
8904
8905 2003-03-21 André Pönitz <poenitz@gmx.net>
8906
8907         * lyxtextclass.C: read 'environment' tag.
8908
8909 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8910
8911         * text2.C (removeRow): fix bug 964
8912
8913 2003-03-20  John Levon  <levon@movementarian.org>
8914
8915         * rowpainter.C:
8916         * text.C:
8917         * text2.C: paint cleanups. Inset::update() dropped font
8918         parameter
8919
8920 2003-03-19  John Levon  <levon@movementarian.org>
8921
8922         * lyxfunc.C: only fitcursor/markDirty if available()
8923
8924 2003-03-19  John Levon  <levon@movementarian.org>
8925
8926         * commandtags.h: rename to ...
8927
8928         * lfuns.h: ... this, and renumber / cleanup
8929
8930 2003-03-19  John Levon  <levon@movementarian.org>
8931
8932         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8933         fit the cursor after an lfun
8934
8935         * BufferView.h:
8936         * BufferView.C:
8937         * BufferView_pimpl.h:
8938         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8939
8940         * LyXAction.C: layout-character should have ReadOnly
8941
8942         * ParagraphParameters.C:
8943         * buffer.C:
8944         * bufferview_funcs.C:
8945         * lyx_cb.C:
8946         * lyxfind.C:
8947         * lyxtext.h:
8948         * text.C:
8949         * text2.C:
8950         * text3.C:
8951         * undo_funcs.C: changes from above
8952
8953 2003-03-18  John Levon  <levon@movementarian.org>
8954
8955         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8956         remove it from update()
8957
8958         * lyxfunc.C: update layout choice after an lfun
8959
8960         * text3.C: remove extra updateLayoutChoice()s
8961
8962 2003-03-18  John Levon  <levon@movementarian.org>
8963
8964         * text.C: top_y change means full repaint, fix
8965         a drawing bug with cursor movement
8966
8967 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8968
8969         * lyxtext.h:
8970         * text.C:
8971         * text2.C: anchor row on setCursor
8972
8973 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8974
8975         * lyxtext.h: remove almost all mutable keywords
8976         * text.C:
8977         * text2.C:
8978         * text3.C: remove const keywords accordingly
8979
8980 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8981
8982         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8983         anon namespace
8984         (TeXEnvironment): ditto
8985         (TeXOnePar): ditto
8986
8987 2003-03-17  John Levon  <levon@movementarian.org>
8988
8989         * text.C (rowBreakPoint): remove attempt to fix displayed
8990         math insets inside a manual label
8991
8992 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8993
8994         * lyxtext.h: remove BufferView* as first arg from almost all class
8995         functions.
8996         * other files: adjust.
8997
8998 2003-03-17  John Levon  <levon@movementarian.org>
8999
9000         * lyxtext.h:
9001         * undo_funcs.C:
9002         * text2.C: more paint cleanups
9003
9004         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9005
9006         * rowpainter.h:
9007         * rowpainter.C: remove "smart" background painting code
9008
9009 2003-03-16  John Levon  <levon@movementarian.org>
9010
9011         * lyxtext.h:
9012         * text.C:
9013         * text2.C:
9014         * text3.C: add helper functions for setting refresh_row/y
9015
9016 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9017
9018         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9019         newline inset which *can* get inserted in the pass_thru layouts.
9020         This is primarily for literate documents.
9021
9022 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9023
9024         * buffer.C: increment LYX_FORMAT to 223
9025
9026 2003-03-14 André Pönitz <poenitz@gmx.net>
9027
9028         * textclass.h: prepare for environment handling, ws changes
9029         * lyxlayout.C: read latexheader and latexfooter tags
9030
9031 2003-03-14  John Levon  <levon@movementarian.org>
9032
9033         * text2.C: rewrite ::status() a bit
9034
9035 2003-03-13  John Levon  <levon@movementarian.org>
9036
9037         * lyxtext.h: add some docs
9038
9039 2003-03-13  John Levon  <levon@movementarian.org>
9040
9041         * lyxtext.h:
9042         * text.C:
9043         * text2.C:
9044         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9045
9046 2003-03-13  John Levon  <levon@movementarian.org>
9047
9048         * text3.C: fix appendix redrawing
9049
9050 2003-03-13  John Levon  <levon@movementarian.org>
9051
9052         * text.C (setHeightOfRow):
9053         * rowpainter.h:
9054         * rowpainter.C: make appendix mark have the text
9055           "Appendix" so the user knows what it is
9056
9057         * LColor.h:
9058         * LColor.C: s/appendixline/appendix/ from above
9059
9060 2003-03-13  John Levon  <levon@movementarian.org>
9061
9062         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9063
9064         * text.C: fix a getChar(pos) bug properly
9065
9066 2003-03-13  Angus Leeming  <leeming@lyx.org>
9067
9068         * commandtags.h:
9069         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9070         Probably only temporary. Let's see how things pan out.
9071
9072         * BufferView.C (unlockInset):
9073         * BufferView_pimpl.C (fitCursor):
9074         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9075
9076         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9077         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9078
9079         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9080         new functions that convert ParagraphParameters to and from a string.
9081
9082         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9083         BufferView::Pimpl's dispatch.
9084         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9085
9086 2003-03-13 André Pönitz <poenitz@gmx.net>
9087
9088         * lyxfunc.C:
9089         * text3.C:
9090         * factory.C: make it aware of InsetEnv
9091
9092 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9093
9094         * text2.C (setCursor): never ask for one past last
9095         (setCursor): add some debugging messages.
9096
9097         * text.C (singleWidth): never ask for one past last
9098         (singleWidth): ditto
9099         (leftMargin): ditto
9100         (rightMargin): ditto
9101         (rowBreakPoint): ditto
9102         (setHeightOfRow): ditto
9103         (prepareToPrint): ditto
9104
9105         * rowpainter.C (paintBackground): never ask for one past last
9106         (paintText): never ask for one past last
9107
9108         * paragraph_pimpl.C (getChar): make the assert stricter, never
9109         allow the one past last pos to be taken
9110
9111         * paragraph.C (getChar): ws changes only
9112
9113         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9114         (numberOfSeparators): ditto
9115         (numberOfHfills): ditto
9116
9117 2003-03-12  John Levon  <levon@movementarian.org>
9118
9119         * author.h:
9120         * author.C:
9121         * bufferparams.h:
9122         * bufferparams.C:
9123         * paragraph_funcs.C: fix per-buffer authorlists
9124
9125 2003-03-12  John Levon  <levon@movementarian.org>
9126
9127         * text.C: fix newline in right address
9128
9129 2003-03-12  Angus Leeming  <leeming@lyx.org>
9130
9131         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9132         duplicate those in LyXFunc::dispatch.
9133
9134         * commandtags.h:
9135         * LyXAction.C:
9136         * ToolbarDefaults.C:
9137         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9138         Add LFUN_FONTFREE_UPDATE.
9139
9140         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9141         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9142
9143         * bufferview_func.[Ch]: several new functions to facilliate
9144         transfer of data to and from the character dialog.
9145
9146 2003-03-12  John Levon  <levon@movementarian.org>
9147
9148         * buffer.C:
9149         * paragraph.h:
9150         * paragraph.C:
9151         * paragraph_funcs.C:
9152         * paragraph_pimpl.C:
9153         * sgml.C:
9154         * tabular.C:
9155         * text.C:
9156         * text3.C: remove META_NEWLINE in favour of an inset
9157
9158         * rowpainter.h:
9159         * rowpainter.C: remove paintNewline (done by inset)
9160
9161 2003-03-12  John Levon  <levon@movementarian.org>
9162
9163         * paragraph_pimpl.C: complain about bad getChar()s
9164         for a while at least
9165
9166 2003-03-12  John Levon  <levon@movementarian.org>
9167
9168         * buffer.h:
9169         * buffer.C: move paragraph read into a separate function,
9170         a little renaming to reflect that.
9171
9172         * bufferparams.h:
9173         * bufferparams.C: remove the author_ids map, not necessary now
9174
9175         * factory.h:
9176         * factory.C: moved Buffer::readInset to here
9177
9178         * paragraph_funcs.h:
9179         * paragraph_funcs.C: readParagraph free function moved from
9180         buffer.C
9181
9182         * tabular.C: name change
9183
9184 2003-03-12  John Levon  <levon@movementarian.org>
9185
9186         * buffer.C:
9187         * ParagraphParameters.C: move par params input to
9188         a read() method
9189
9190         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9191         behave like a normal read from the stream wrt reading
9192         a line vs. a \\token
9193
9194 2003-03-12  John Levon  <levon@movementarian.org>
9195
9196         * paragraph.C:
9197         * ParagraphParameters.h:
9198         * ParagraphParameters.C: move output code to a
9199         ::write() method
9200
9201 2003-03-12  John Levon  <levon@movementarian.org>
9202
9203         * BufferView.C (insertLyXFile):
9204         * buffer.h:
9205         * buffer.C:
9206         * tabular.C: use a parlist iterator for creating the
9207           document.
9208
9209 2003-03-12  John Levon  <levon@movementarian.org>
9210
9211         * buffer.C: make current_change static local not
9212           static file-scope
9213
9214 2003-03-12  John Levon  <levon@movementarian.org>
9215
9216         * buffer.C: fix insertStringAsLines for change tracking
9217
9218 2003-03-12  John Levon  <levon@movementarian.org>
9219
9220         * BufferView.C:
9221         * tabular.C:
9222         * buffer.h:
9223         * buffer.C:
9224         * bufferparams.h:
9225         * bufferparams.C: move author list into params. Rename some
9226           functions. Move the header reading into a separate token
9227           loop. Move the header token reading into BufferParams.
9228
9229 2003-03-12  John Levon  <levon@movementarian.org>
9230
9231         * changes.C: put debug inside lyxerr.debugging() checks
9232
9233 2003-03-11 André Pönitz <poenitz@gmx.net>
9234
9235         * factory.C: make it aware of InsetHFill
9236
9237 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9238
9239         * buffer.C (latexParagraphs): move function from here...
9240         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9241         args.
9242
9243 2003-03-10  Angus Leeming  <leeming@lyx.org>
9244
9245         * LyXAction.C (init): fix bug in poplating array with multiple entries
9246         with the same LFUN (spotted by JMarc).
9247
9248 2003-03-10  John Levon  <levon@movementarian.org>
9249
9250         * text.C:
9251         * text2.C: move getColumnNearX() near its
9252         only call site
9253
9254 2003-03-10  John Levon  <levon@movementarian.org>
9255
9256         * text.C: fix break before a minipage
9257
9258 2003-03-10  John Levon  <levon@movementarian.org>
9259
9260         * text.C: fix the last commit
9261
9262 2003-03-09  John Levon  <levon@movementarian.org>
9263
9264         * lyxtext.h:
9265         * text.C:
9266         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9267         bug 365 (don't break before insets unless needed). Don't
9268         return a value > last under any circumstances.
9269
9270 2003-03-09  Angus Leeming  <leeming@lyx.org>
9271
9272         * BufferView_pimpl.C (trackChanges, dispatch): call
9273         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9274
9275 2003-03-09  Angus Leeming  <leeming@lyx.org>
9276
9277         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9278         than Dialogs::showAboutlyx().
9279
9280 2003-03-09  Angus Leeming  <leeming@lyx.org>
9281
9282         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9283         than Dialogs::showTabularCreate().
9284
9285 2003-03-09  John Levon  <levon@movementarian.org>
9286
9287         * lyxtext.h:
9288         * text.C:
9289         * text2.C: 3rd arg to nextBreakPoint was always the same.
9290           Use references.
9291
9292 2003-03-08  John Levon  <levon@movementarian.org>
9293
9294         * lyxrow.C:
9295         * paragraph.C:
9296         * paragraph.h:
9297         * rowpainter.C:
9298         * text.C:
9299         * text2.C: Remove the "main" bit from the "main body"
9300           notion.
9301
9302 2003-03-08  John Levon  <levon@movementarian.org>
9303
9304         * text.C (leftMargin): The left margin of an empty
9305         manual label paragraph should not include the label width
9306         string length.
9307
9308         * text.C (prepareToPrint): don't attempt to measure hfills
9309         for empty manual label paragraphs - the answer should be 0
9310
9311 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9312
9313         * CutAndPaste.C: remove commented code and reindent.
9314
9315 2003-03-08  John Levon  <levon@movementarian.org>
9316
9317         * lyxfunc.h:
9318         * lyxfunc.C: move reloadBuffer()
9319
9320         * BufferView.h:
9321         * BufferView.C: to here
9322
9323         * lyxvc.C: add comment
9324
9325         * vc-backend.h:
9326         * vc-backend.C: call bv->reload() to avoid
9327           getStatus() check on MENURELOAD
9328
9329 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9330
9331         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9332         to an old format .dep file.
9333
9334 2003-03-07  Angus Leeming  <leeming@lyx.org>
9335
9336         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9337         when the LFUN_MOUSE_RELEASE should have been handled by
9338         inset->localDispatch.
9339
9340 2003-03-07  Angus Leeming  <leeming@lyx.org>
9341
9342         * BufferView_pimpl.C (dispatch):
9343         * LyXAction.C (init):
9344         * ToolbarDefaults.C (init):
9345         * commandtags.h:
9346         * lyxfunc.C (getStatus):
9347         remove LFUN_INSET_GRAPHICS.
9348
9349         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9350
9351 2003-03-07  Angus Leeming  <leeming@lyx.org>
9352
9353         * commandtags.h:
9354         * LyXAction.C (init):
9355         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9356
9357         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9358
9359         * commandtags.h:
9360         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9361
9362         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9363         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9364
9365 2003-03-07  Angus Leeming  <leeming@lyx.org>
9366
9367         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9368         remove "ert".
9369
9370 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9371
9372         * ParagraphList.C (front): new function
9373         (back): implement
9374
9375 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9376
9377         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9378         and top_row_offset_. removed var first_y.
9379         * text.C (top_y):
9380         * text2.C (LyXText, removeRow):
9381         * text3.C:
9382         * BufferView_pimpl.C:
9383         use these methods instead of using first_y
9384
9385 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9386
9387         * text2.C (pasteSelection): adjust for checkPastePossible
9388
9389         * CutAndPaste.C: remove Paragraph * buf and replace with
9390         ParagraphList paragraphs.
9391         (DeleteBuffer): delete
9392         (cutSelection): change the tc type to textclass_type
9393         (copySelection): change the tc type to textclass_type
9394         (copySelection): adjust for ParagraphList
9395         (pasteSelection): change the tc type to textclass_type
9396         (pasteSelection): adjust for Paragraphlist
9397         (nrOfParagraphs): simplify for ParagraphList
9398         (checkPastePossible): simplify for ParagraphList
9399         (checkPastePossible): remove unused arg
9400
9401         * ParagraphList.C (insert): handle the case where there are no
9402         paragraphs yet.
9403
9404         * CutAndPaste.h: make CutAndPaste a namespace.
9405
9406         * text3.C (dispatch): adjust
9407
9408         * text.C (breakParagraph): add a ParagraphList as arg
9409
9410         * paragraph_funcs.C (breakParagraph): change to take a
9411         BufferParams and a ParagraphList as args.
9412         (breakParagraphConservative): ditto
9413         (mergeParagraph): ditto
9414         (TeXDeeper): add a ParagraphList arg
9415         (TeXEnvironment): ditto
9416         (TeXOnePar): ditto
9417
9418         * buffer.C (readLyXformat2): adjust
9419         (insertStringAsLines): adjust
9420         (latexParagraphs): adjust
9421
9422         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9423         (cutSelection): adjust
9424         (pasteSelection): adjust
9425
9426         * BufferView_pimpl.C (insertInset): adjust
9427
9428 2003-03-05  Angus Leeming  <leeming@lyx.org>
9429
9430         * commandtags.h:
9431         * LyXAction.C (init):
9432         * BufferView_pimpl.C (dispatch):
9433         * lyxfunc.C (getStatus):
9434         remove LFUN_CHILD_INSERT.
9435
9436         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9437
9438 2003-03-05  Angus Leeming  <leeming@lyx.org>
9439
9440         * commandtags.h:
9441         * LyXAction.C (init):
9442         * src/factory.C (createInset):
9443         * lyxfunc.C (getStatus):
9444         * text3.C (dispatch):
9445         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9446
9447         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9448
9449 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9450
9451         * ParagraphList.C (insert): handle insert right before end()
9452         (erase): fix cases where it can be first or last paragraph.
9453
9454 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9455
9456         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9457         Paragraph::next and Paragraph::previous
9458         (TeXOnePar): ditto
9459
9460         * text.C (breakParagraph): adjust
9461
9462         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9463         BufferParams& as arg.
9464         (breakParagraph): use ParagraphList::insert
9465         (breakParagraphConservative): take a Buffer* instead of a
9466         BufferParams& as arg.
9467         (breakParagraphConservative): use ParagraphList::insert.
9468
9469         * buffer.C (insertStringAsLines): un-const it
9470         (insertStringAsLines): adjust
9471
9472         * ParagraphList.C (insert): new function
9473
9474         * CutAndPaste.C (pasteSelection): adjust
9475
9476         * text.C (backspace): adjust
9477
9478         * tabular.C (SetMultiColumn): adjust
9479
9480         * CutAndPaste.C (cutSelection): adjust
9481         (pasteSelection): adjust
9482
9483         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9484         Buffer const * as arg
9485
9486         * ParagraphList.C (erase): new function
9487         * paragraph_funcs.C (mergeParagraph): use it
9488         (mergeParagraph): make it take a Buffer* instead of a
9489         BufferParams* as arg
9490
9491         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9492         as arg
9493         (breakParagraphConservative): ditto
9494
9495         * paragraph.h: remove the breakParagraph friend
9496
9497         * paragraph.C (eraseIntern): new function
9498         (setChange): new function
9499
9500         * paragraph_funcs.C (mergeParagraph): make it take a
9501         ParagraphList::iterator instead of a Paragraph *, adjust
9502         accordingly.
9503
9504         * paragraph.h: move an #endif so that the change tracking stuff
9505         also works in the NO_NEXT case.
9506
9507 2003-03-04  Angus Leeming  <leeming@lyx.org>
9508
9509         * commandtags.h:
9510         * LyXAction.C: new LFUN_INSET_MODIFY.
9511
9512         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9513         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9514
9515 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9516
9517         * several files: ws changes only
9518
9519         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9520         (TeXEnvironment): ditto
9521         (TeXDeeper): ditto
9522
9523         * buffer.C (makeLaTeXFile): adjust
9524         (latexParagraphs): make it take ParagraphList::iterator as args
9525
9526 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9527
9528         * buffer.C (latexParagraphs): adjust
9529
9530         * paragraph.C (TeXOnePar): move function...
9531         (optArgInset): move function...
9532         (TeXEnvironment): move function...
9533         * paragraph_pimpl.C (TeXDeeper): move function...
9534         * paragraph_funcs.C: ...here
9535
9536         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9537
9538 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9539
9540         * buffer.C (readInset): remove compability code for old Figure and
9541         InsetInfo insets
9542
9543 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9544
9545         * buffer.C: ws changes
9546         (readInset):
9547
9548         * BufferView_pimpl.C: ditto
9549         * author.C: ditto
9550         * buffer.h: ditto
9551         * bufferlist.h: ditto
9552         * changes.h: ditto
9553         * lyxfunc.C: ditto
9554
9555 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9556
9557         * converter.[Ch]: split into itself +
9558         * graph.[Ch]
9559         * format.[Ch]
9560         * Makefile.am: += graph.[Ch] + format.[Ch]
9561         * MenuBackend.C
9562         * buffer.C
9563         * exporter.C
9564         * importer.C
9565         * lyx_main.C
9566         * lyxfunc.C
9567         * lyxrc.C: added #include "format.h"
9568
9569 2003-02-27  Angus Leeming  <leeming@lyx.org>
9570
9571         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9572           a label.
9573
9574         * factory.C (createInset): add "label" to the factory.
9575
9576         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9577           string and do no more.
9578
9579 2003-02-27  Angus Leeming  <leeming@lyx.org>
9580
9581         * commandtags.h:
9582         * LyXAction.C (init):
9583         * factory.C (createInset):
9584         * BufferView_pimpl.C (dispatch):
9585           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9586
9587         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9588
9589         * lyxfunc.C (dispatch):
9590         * text3.C (dispatch): pass name to params2string.
9591
9592 2003-02-26  Angus Leeming  <leeming@lyx.org>
9593
9594         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9595           blocks together.
9596           Rearrange the ~includes. Strip out the unnecessary ones.
9597
9598         * factory.C (createInset): reformat.
9599           create new insets for the various LFUN_XYZ_APPLY lfuns.
9600
9601 2003-02-26  John Levon  <levon@movementarian.org>
9602
9603         * lyxrow.h:
9604         * lyxrow.C: add isParStart,isParEnd helpers
9605
9606         * paragraph.h: make isInserted/DeletedText take refs
9607
9608         * paragraph_funcs.h:
9609         * paragraph_funcs.C: remove #if 0'd code
9610
9611         * lyxtext.h:
9612         * text3.C:
9613         * text2.C:
9614         * text.C: use lyxrow helpers above.
9615           Move draw and paint routines to RowPainter.
9616           Make several methods use refs not pointers.
9617           Make backgroundColor() const.
9618           Add markChangeInDraw(), isInInset().
9619           Merge changeRegionCase into changeCase.
9620           Make workWidth() shouldn't-happen code into an Assert.
9621
9622         * rowpainter.h:
9623         * rowpainter.C: new class for painting a row.
9624
9625         * vspace.h:
9626         * vspace.C: make inPixels take a ref
9627
9628 2003-02-26  Angus Leeming  <leeming@lyx.org>
9629
9630         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9631         LFUN_REF_APPLY.
9632
9633 2003-02-25  John Levon  <levon@movementarian.org>
9634
9635         * ispell.C: give the forked command a more accurate name
9636
9637 2003-02-22  John Levon  <levon@movementarian.org>
9638
9639         * toc.h:
9640         * toc.C: make TocItem store an id not a Paragraph *
9641           (bug #913)
9642
9643 2003-02-21  Angus Leeming  <leeming@lyx.org>
9644
9645         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9646           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9647           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9648           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9649           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9650           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9651
9652         * BufferView_pimpl.C (dispatch):
9653         * LyXAction.C (init):
9654         * factory.C (createInset):
9655         * lyxfunc.C (getStatus, dispatch):
9656         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9657
9658 2003-02-21  Angus Leeming  <leeming@lyx.org>
9659
9660         * BufferView_pimpl.C (MenuInsertLyXFile):
9661         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9662         * lyxfunc.C (menuNew, open, doImport):
9663           no longer pass a LyXView & to fileDlg.
9664
9665 2003-02-21  Angus Leeming  <leeming@lyx.org>
9666
9667         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9668         * LyXAction.C: change, BIBKEY to BIBITEM.
9669         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9670         Change InsetBibKey to InsetBibitem.
9671         Change BIBKEY_CODE to BIBITEM_CODE.
9672         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9673         * factory.C: replace insetbib.h with insetbibitem.h.
9674         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9675         * paragraph.C: replace insetbib.h with insetbibitem.h.
9676         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9677         Change bibkey() to bibitem().
9678         * text.C: remove insetbib.h.
9679         * text2.C: replace insetbib.h with insetbibitem.h.
9680         change bibkey() to bibitem().
9681         * text3.C: remove insetbib.h.
9682         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9683
9684 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9685
9686         * lyxrc.C (output): enclose user email in quotes (in case there are
9687         several words)
9688
9689 2003-02-18  John Levon  <levon@movementarian.org>
9690
9691         * buffer.h: add std::
9692
9693 2003-02-17  John Levon  <levon@movementarian.org>
9694
9695         * SpellBase.h:
9696         * ispell.h:
9697         * ispell.C:
9698         * pspell.h:
9699         * pspell.C: reworking. Especially in ispell, a large
9700           number of clean ups and bug fixes.
9701
9702         * lyxfunc.C: fix revert to behave sensibly
9703
9704 2003-02-17 André Pönitz <poenitz@gmx.net>
9705
9706         * LyXAction.C:
9707         * commandtags.h: new LFUN_INSERT_BIBKEY
9708
9709         * layout.h:
9710         * lyxlayout.C:
9711         * buffer.C:
9712         * factory.C:
9713         * text.C:
9714         * text2.C:
9715         * text3.C:
9716         * paragraph.[Ch]:
9717         * paragraph_func.C: remove special bibkey handling
9718
9719 2003-02-17  John Levon  <levon@movementarian.org>
9720
9721         * text.C (Delete): fix case where delete at the end of
9722           the very first paragraph would not merge the pars
9723
9724 2003-02-17  John Levon  <levon@movementarian.org>
9725
9726         * lyxrow.C: fix lastPrintablePos()
9727
9728 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * bufferparams.C (writeLaTeX): add a std:here
9731
9732         * buffer.C: and remove a using directive there
9733
9734 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9735
9736         * buffer.C (makeLaTeXFile): move the code that generates the
9737           preamble...
9738
9739         * bufferparams.C (writeLaTeX): ... in this new method
9740
9741         * LaTeXFeatures.C (getEncodingSet): make const
9742           (getLanguages): make const
9743
9744         * MenuBackend.C (binding): returns the binding associated to this
9745           action
9746           (add): sets the status of each item by calling getStatus. Adds
9747           some intelligence.
9748           (read): add support for OptSubMenu
9749           (expand): remove extra separator at the end of expanded menu
9750
9751 2003-02-15  John Levon  <levon@movementarian.org>
9752
9753         * BufferView.C:
9754         * BufferView_pimpl.C:
9755         * bufferlist.h:
9756         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9757           inset code that had no actual effect. Remove unneeded status
9758           code.
9759
9760 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9761
9762         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9763           in preamble
9764
9765 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9766
9767         * text.C (drawLengthMarker): also draw an arrow marker for
9768           symbolic lengths (medskip...)
9769
9770 2003-02-14  John Levon  <levon@movementarian.org>
9771
9772         * tabular.h:
9773         * tabular.C: better method names
9774
9775 2003-02-14  John Levon  <levon@movementarian.org>
9776
9777         * BufferView_pimpl.C:
9778         * bufferlist.C:
9779         * buffer.C:
9780         * converter.C:
9781         * lyx_cb.C:
9782         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9783           it's a more accurate name. Remove some pointless uses.
9784
9785 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9786
9787         * text2.C (LyXText): change order of initilizers to shut off
9788           warnings
9789
9790 2003-02-14  John Levon  <levon@movementarian.org>
9791
9792         * buffer.C: use ParIterator for getParFromID()
9793
9794         * paragraph.h:
9795         * paragraph.C:
9796         * paragraph_pimpl.h:
9797         * paragraph_pimpl.C: remove unused getParFromID()
9798
9799 2003-02-14  John Levon  <levon@movementarian.org>
9800
9801         * buffer.C: remove some very old #if 0'd parse code
9802
9803 2003-02-13  John Levon  <levon@movementarian.org>
9804
9805         * text.h:
9806         * text.C:
9807         * text2.C: move hfillExpansion(), numberOfSeparators(),
9808           rowLast(), rowLastPrintable(), numberofHfills(),
9809           numberOfLabelHfills() ...
9810
9811         * lyxrow.h:
9812         * lyxrow.C: ... to member functions here.
9813
9814         * paragraph.h:
9815         * paragraph.C:
9816         * lyxtext.h:
9817         * text.C: remove LyXText::beginningOfMainBody(), and call
9818           p->beginningOfMainBody() directly. Move the check for
9819           LABEL_MANUAL into the latter.
9820
9821         * text.h:
9822         * text.C:
9823         * text2.C:
9824         * vspace.C:
9825         * BufferView.h:
9826         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9827
9828         * text.h:
9829         * text.C:
9830         * text2.C:
9831         * text3.C:
9832         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9833           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9834
9835 2003-02-13  John Levon  <levon@movementarian.org>
9836
9837         * CutAndPaste.C: remove debug
9838
9839 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * paragraph.C (asString): remove two unused variables
9842
9843         * lyxtextclass.C (readTitleType):
9844           (Read):
9845           (LyXTextClass): handle new members titletype_ and titlename_
9846
9847         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9848
9849 2003-02-09  John Levon  <levon@movementarian.org>
9850
9851         * buffer.h:
9852         * buffer.C: replace hand-coded list with a map for the dep clean
9853
9854 2003-02-08  John Levon  <levon@movementarian.org>
9855
9856         * LaTeX.C: consolidate code into showRunMessage() helper
9857
9858 2003-02-08  John Levon  <levon@movementarian.org>
9859
9860         * lyxfind.C:
9861         * lyxtext.h:
9862         * text2.C:
9863         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9864           and pass the size in explicitly
9865
9866         * BufferView_pimpl.h:
9867         * BufferView_pimpl.C:
9868         * BufferView.h:
9869         * BufferView.C: add getCurrentChange()
9870
9871         * BufferView_pimpl.h:
9872         * BufferView_pimpl.C: handle change lfuns
9873
9874         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9875           for changes. Mark pasted paragraphs as new.
9876
9877         * support/lyxtime.h:
9878         * support/lyxtime.C:
9879         * DepTable.C: abstract time_t as lyx::time_type
9880
9881         * LColor.h:
9882         * LColor.C: add colours for new text, deleted text, changebars
9883
9884         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9885           package use "usenames" option.
9886
9887         * commandtags.h:
9888         * lyxfunc.C:
9889         * LyXAction.C: add change lfuns
9890
9891         * Makefile.am:
9892         * author.h:
9893         * author.C: author handling
9894
9895         * buffer.h:
9896         * buffer.C: add a per-buffer author list, with first entry as
9897           current author. Handle new .lyx tokens for change tracking. Output
9898           author list to .lyx file. Output dvipost stuff to .tex preamble.
9899           Bump lyx format to 222.
9900
9901         * bufferlist.h:
9902         * bufferlist.C: add setCurrentAuthor() to reset current author details
9903           in all buffers.
9904
9905         * bufferparams.h:
9906         * bufferparams.C: add param for tracking
9907
9908         * bufferview_funcs.C: output change info in minibuffer
9909
9910         * Makefile.am:
9911         * changes.h:
9912         * changes.C: add change-tracking structure
9913
9914         * debug.h:
9915         * debug.C: add CHANGES debug flag
9916
9917         * lyxfind.h:
9918         * lyxfind.C: add code for finding the next change piece
9919
9920         * lyxrc.h:
9921         * lyxrc.C: add user_name and user_email
9922
9923         * lyxrow.h:
9924         * lyxrow.C: add a metric for the top of the text line
9925
9926         * lyxtext.h:
9927         * text.C: implement accept/rejectChange()
9928
9929         * lyxtext.h:
9930         * text.C: paint changebars. Paint new/deleted text in the chosen
9931         colours. Strike through deleted text.
9932
9933         * paragraph.h:
9934         * paragraph.C:
9935         * paragraph_pimpl.h:
9936         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9937           in the current change to the insert functions. Rework erase to
9938           mark text as deleted, adding an eraseIntern() and a range-based
9939           erase(). Implement per-paragraph change lookup and
9940           accept/reject.
9941
9942         * paragraph_funcs.C: Fixup paste for change tracking.
9943
9944         * tabular.C: mark added row/columns as new.
9945
9946         * text.C: fix rowLast() to never return -1. Don't allow
9947           spellchecking of deleted text. Track transpose changes. Don't
9948           allow paragraph break or merge where appropriate.
9949
9950         * text2.C: leave cursor at end of selection after a cut.
9951
9952 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9953
9954         * text.C (getLengthMarkerHeight):
9955         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9956         visible on screen too.
9957
9958 2003-02-07  John Levon  <levon@movementarian.org>
9959
9960         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9961
9962 2003-02-05  Angus Leeming  <leeming@lyx.org>
9963
9964         * lyxserver.C (read_ready): revert my patch of 11 September last year
9965         as it sends PC cpu through the roof. Presumably this means that
9966         the lyxserver will no longer run on an Alpha...
9967
9968 2003-01-30  Angus Leeming  <leeming@lyx.org>
9969
9970         * factory.C (createInset): create an InsetCommandParam of type "index"
9971         and use it to 'do the right thing'.
9972
9973         * text2.C (getStringToIndex): ensure that cursor position is always
9974         reset to the reset_cursor position.
9975
9976 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9977
9978         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9979         disabled.
9980
9981 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9982
9983         * bufferview.C:
9984         * lyxcb.C:
9985         * lyxfunc.C: Output messages with identical spelling, punctuation,
9986         and spaces
9987
9988 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9989
9990         * MenuBackend.C (expandFormats): List only viewable export formats
9991         in "View" menu
9992
9993         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9994         message
9995
9996         * lyxfunc.C (getStatus): Make sure that formats other than
9997         "fax" can also be disabled
9998
9999 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10000
10001         * text3.C (dispatch): put the lfuns that insert insets in 3
10002         groups, and call doInsertInset with appropriate arguments.
10003         (doInsertInset): new function, that creates an inset and inserts
10004         it according to some boolean parameters.
10005
10006 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10007
10008         * buffer.C (readFile): remember to pass on 'par' when calling
10009         readFile recursively.
10010
10011 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10012
10013         * MenuBackend.C (expandFormats): add "..." to import formats.
10014
10015 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10016
10017         * paragraph.C (asString): Remove XForms RTL hacks.
10018
10019 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10020         * buffer.C: fix typo
10021
10022 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10023
10024         * Makefile.am (LIBS): delete var
10025         (lyx_LDADD): add @LIBS@ here instead.
10026
10027 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10028
10029         * Clarify the meaning of "wheel mouse jump"
10030
10031 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10032
10033         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10034         tabular in a float
10035
10036 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10037
10038         * importer.C (Loaders): do not preallocate 3 elements in the
10039         vector, since one ends up with 6 elements otherwise
10040
10041 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10042
10043         * DepTable.C (write): write the file name as last element of the
10044         .dep file (because it may contain spaces)
10045         (read): read info in the right order
10046
10047 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10048
10049         * paragraph_pimpl.C (simpleTeXBlanks):
10050         (simpleTeXSpecialChars):
10051         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10052
10053         * tabular.C (latex): add some missing case statements. Reindent.
10054
10055         * MenuBackend.C (expandToc): remove unused variable.
10056
10057 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10058
10059         * LColor.C:
10060         * LaTeX.C:
10061         * LyXAction.C:
10062         * MenuBackend.C:
10063         * buffer.C:
10064         * exporter.C:
10065         * lyxfunc.C:
10066         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10067         and the like.
10068
10069 2003-01-05  John Levon  <levon@movementarian.org>
10070
10071         * BufferView.h:
10072         * BufferView.C: add getEncoding()
10073
10074         * kbsequence.h:
10075         * kbsequence.C: do not store last keypress
10076
10077         * lyxfunc.h:
10078         * lyxfunc.C: store last keypress here instead. Pass encoding
10079           to getISOEncoded()
10080
10081 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10082
10083         * lyx_main.C (init): remove annoying error message when following
10084         symbolic links (bug #780)
10085
10086 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10087
10088         * text.C (insertChar):
10089         * lyxrc.C (getDescription): remove extra spaces
10090
10091 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10092
10093         * lyxrc.C (getDescription): remove extra spaces
10094
10095 2002-12-20  John Levon  <levon@movementarian.org>
10096
10097         * text3.C: hack fix for page up/down across tall rows
10098
10099 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10100
10101         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10102         not been invoked
10103
10104 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10105
10106         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10107         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10108         thesaurus is not compiled in
10109
10110 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10111
10112         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10113
10114 2002-12-16  Angus Leeming  <leeming@lyx.org>
10115
10116         * lyxrc.[Ch]:
10117         * lyx_main.C (init): remove override_x_deadkeys stuff.
10118
10119 2002-12-12  John Levon  <levon@movementarian.org>
10120
10121         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10122           insert. Only remove shift modifier under strict
10123           circumstances.
10124
10125 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10126
10127         * MenuBackend.C (expandToc): fix crash.
10128
10129 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10130
10131         * MenuBackend.C (expandToc): gettext on float names.
10132
10133 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10134
10135         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10136         implement bool empty() [bug 490]
10137
10138 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10139
10140         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10141
10142 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10143
10144         * several files: ws changes
10145
10146 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10147
10148         * text2.C (setCounter): clean up a bit, use boost.format.
10149         (updateCounters): initialize par upon declaration.
10150
10151         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10152         if the layout exists. We do not just store the layout any more.
10153         (SwitchLayoutsBetweenClasses): use boost.format
10154
10155 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10156
10157         * converter.C (convert): if from and to files are the same, use a
10158         temporary files as intermediary
10159
10160 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10161
10162         * commandtags.h:
10163         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10164
10165 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10166
10167         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10168
10169 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10170
10171         * tabular.C (asciiPrintCell): use string(size, char) instead of
10172         explicit loop.
10173
10174         * sgml.C (openTag): fix order of arguments to string constructor
10175         (closeTag): ditto
10176
10177         * lyxfunc.C (dispatch): use boost.format
10178
10179         * lots of files: change "c" -> 'c'
10180
10181 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10182
10183         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10184
10185 2002-11-25  Angus Leeming  <leeming@lyx.org>
10186
10187         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10188
10189         * lyx_main.C (init): compile fix.
10190
10191 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10192
10193         * lyx_cb.C (start): boost.formatify
10194         do not include <iostream>
10195
10196         * lengthcommon.C: ws only
10197
10198         * boost-inst.C,BoostFormat.h: add more explict instantations
10199
10200 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10201
10202         * lots of files: handle USE_BOOST_FORMAT
10203
10204 2002-11-21  John Levon  <levon@movementarian.org>
10205
10206         * pspell.C: fix compile
10207
10208 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10209
10210         * lyxfunc.C (dispatch): use boost::format
10211         (open): ditto
10212         (doImport): ditto
10213
10214         * lyxfont.C (stateText): use boost::format
10215
10216         * lyx_main.C (LyX): use boost::format
10217         (init): ditto
10218         (queryUserLyXDir): ditto
10219         (readRcFile): ditto
10220         (parse_dbg): ditto
10221         (typedef boost::function): use the recommened syntax.
10222
10223         * importer.C (Import): use boost::format
10224
10225         * debug.C (showLevel): use boost::format
10226
10227         * converter.C (view): use boost::format
10228         (convert): ditto
10229         (move): ditto
10230         (scanLog): ditto
10231
10232         * bufferview_funcs.C (currentState): use boost::format
10233
10234         * bufferlist.C (emergencyWrite): use boost::format
10235
10236         * buffer.C (readLyXformat2): use boost::format
10237         (parseSingleLyXformat2Token): ditto
10238
10239         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10240
10241         * LaTeX.C (run): use boost::format
10242
10243         * Chktex.C (scanLogFile): use boost::format
10244
10245         * BufferView_pimpl.C (savePosition): use boost::format
10246         (restorePosition): ditto
10247         (MenuInsertLyXFile): ditto
10248
10249         * BoostFormat.h: help file for explicit instation.
10250
10251 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10252
10253         * tabular.C (latex): Support for block alignment in fixed width
10254         columns.
10255
10256 2002-11-17  John Levon  <levon@movementarian.org>
10257
10258         * BufferView_pimpl.C:
10259         * lyx_cb.C:
10260         * lyxfunc.C: split filedialog into open/save
10261
10262 2002-11-08  Juergen Vigna  <jug@sad.it>
10263
10264         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10265         by my last patch (hopefully).
10266
10267 2002-11-08  John Levon  <levon@movementarian.org>
10268
10269         * iterators.h:
10270         * iterators.C:
10271         * buffer.h:
10272         * buffer.C:
10273         * paragraph.h:
10274         * paragraph.C:
10275         * toc.h:
10276         * toc.C: ParConstIterator, and use it (from Lars)
10277
10278 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10279
10280         * lyxtextclass.[Ch]: revise and add doxygen comments
10281
10282 2002-11-07  John Levon  <levon@movementarian.org>
10283
10284         * text.C: fix progress value for spellchecker
10285
10286         * toc.C: fix navigate menu for insetwrap inside minipage
10287
10288         * paragraph_funcs.C: added FIXME for suspect code
10289
10290 2002-11-07  John Levon  <levon@movementarian.org>
10291
10292         * BufferView_pimpl.C: fix redrawing of insets
10293           on buffer switch
10294
10295 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10296
10297         * text2.C (updateCounters): fix bug 668
10298
10299 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10300
10301         * text3.C (dispatch): Do not make the buffer dirty when moving the
10302         cursor.
10303
10304 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10305
10306         * vc-backend.C: STRCONV
10307         (scanMaster): ditto
10308
10309         * text2.C (setCounter): STRCONV
10310
10311         * paragraph.C (asString): STRCONV
10312
10313         * lyxlength.C (asString): STRCONV
10314         (asLatexString): ditto
10315
10316         * lyxgluelength.C (asString): STRCONV
10317         (asLatexString): ditto
10318
10319         * lyxfunc.C (dispatch): STRCONV
10320         (open): ditto
10321
10322         * lyxfont.C (stateText): STRCONV
10323
10324         * importer.C (Import): STRCONV
10325
10326         * counters.C (labelItem): STRCONV
10327         (numberLabel): ditto
10328         (numberLabel): remove unused ostringstream o
10329
10330         * chset.C: STRCONV
10331         (loadFile): ditto
10332
10333         * bufferview_funcs.C (currentState): STRCONV
10334
10335         * buffer.C (readFile): STRCONV
10336         (asciiParagraph): ditto
10337         (makeLaTeXFile): ditto
10338
10339         * Spacing.C (writeEnvirBegin): STRCONV
10340
10341         * LaTeXFeatures.C (getLanguages): STRCONV
10342         (getPackages): ditto
10343         (getMacros): ditto
10344         (getBabelOptions): ditto
10345         (getTClassPreamble): ditto
10346         (getLyXSGMLEntities): ditto
10347         (getIncludedFiles): ditto
10348
10349         * LaTeX.C: STRCONV
10350         (run): ditto
10351         (scanAuxFile): ditto
10352         (deplog): ditto
10353
10354         * LString.h: add the STRCONV macros
10355
10356         * BufferView_pimpl.C (savePosition): STRCONV
10357         (restorePosition): ditto
10358         (MenuInsertLyXFile): ditto
10359
10360         * vc-backend.C (scanMaster): change from submatch[...] to
10361         submatch.str(...)
10362
10363         * funcrequest.C: include config.h
10364
10365         * factory.C: include config.h
10366
10367         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10368
10369         * box.C: include config.h
10370
10371         * LaTeX.C (scanAuxFile): change from submatch[...] to
10372         submatch.str(...)
10373         (deplog): ditto
10374
10375 2002-10-25  Angus Leeming  <leeming@lyx.org>
10376
10377         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10378
10379         * ispell.[Ch] (setError): new method.
10380         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10381         Use setError() insetead of goto END.
10382
10383         * lyx_cb.C (AutoSave): move out child process into new class
10384         AutoSaveBuffer.
10385
10386 2002-10-30  John Levon  <levon@movementarian.org>
10387
10388         * text3.C: make start appendix undoable
10389
10390 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10391
10392         * lyxlength.C (inPixels): Fix returned value.
10393
10394         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10395         environment.
10396
10397 2002-10-24  Angus Leeming  <leeming@lyx.org>
10398
10399         * lyxgluelength.h: no need to forward declare BufferParams
10400         or BufferView, so don't.
10401
10402 2002-10-21  John Levon  <levon@movementarian.org>
10403
10404         * BufferView.C: menuUndo ->undo, redo
10405
10406         * BufferView.h: document, remove dead, make some methods private
10407
10408         * paragraph_funcs.h:
10409         * paragraph_funcs.C:
10410         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10411
10412         * buffer.h:
10413         * buffer.C:
10414         * sgml.h:
10415         * sgml.C: move sgml open/close tag into sgml.C
10416
10417         * bufferview_funcs.h: unused prototype
10418
10419         * lyxfunc.h:
10420         * lyxfunc.C: remove unused
10421
10422         * lyxtext.h:
10423         * text.C: remove unused
10424
10425 2002-10-21  John Levon  <levon@movementarian.org>
10426
10427         * BufferView.h:
10428         * BufferView.C:
10429         * BufferView_pimpl.h:
10430         * BufferView_pimpl.C: fix mouse wheel handling based on
10431           patch from Darren Freeman
10432
10433 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10434
10435         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10436
10437 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10438
10439         * lyxlength.C (inPixels): Fix hanfling of negative length.
10440         Fix LyXLength::MU case.
10441
10442 2002-10-16  John Levon  <levon@movementarian.org>
10443
10444         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10445
10446 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10447
10448         * converter.C (view): add support for $$i (file name) and $$p
10449         (file path) for the viewer command. If $$i is not specified, then
10450         it is appended to the command (for compatibility with old syntax)
10451
10452 2002-10-14  Juergen Vigna  <jug@sad.it>
10453
10454         * undo_funcs.C (textHandleUndo): alter the order in which the
10455         new undopar is added to the LyXText, as we have to set first
10456         the right prev/next and then add it as otherwise the rebuild of
10457         LyXText is not correct. Also reset the cursor to the right paragraph,
10458         with this IMO we could remove the hack in "redoParagraphs()".
10459
10460 2002-10-09  Angus Leeming  <leeming@lyx.org>
10461
10462         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10463         to turn off an optimisation if a new inset is to be inserted.
10464
10465 2002-10-11 André Pönitz <poenitz@gmx.net>
10466
10467         * lyxtext.h: make some functions public to allow access
10468         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10469
10470 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10471
10472         * text3.C (dispatch): when changing layout, avoid an infinite loop
10473         [bug #652]
10474
10475 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10476
10477         * lyxrc.C (read): treat a viewer or converter command of "none" as
10478         if it were empty.
10479
10480         * MenuBackend.C (expandFormats): for an update, also allow the
10481         formats that are not viewable
10482
10483         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10484         script if it is newer than the lyxrc.defaults in user directory
10485
10486 2002-10-07 André Pönitz <poenitz@gmx.net>
10487
10488         * text.C: Vitaly Lipatov's small i18n fix
10489
10490 2002-09-25  Angus Leeming  <leeming@lyx.org>
10491
10492         * ispell.h: doxygen fix.
10493
10494 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10495
10496         * buffer.h (readFile): Add a new argument to the method, to allow
10497         reading of old-format templates.
10498
10499 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10500
10501         * toc.C (getTocList): Get TOC from InsetWrap.
10502
10503 2002-09-16  John Levon  <levon@movementarian.org>
10504
10505         * lyxfunc.C: check tabular for cut/copy too
10506
10507 2002-09-12  John Levon  <levon@movementarian.org>
10508
10509         * LyXAction.C: tidy
10510
10511         * factory.h:
10512         * factory.C: add header
10513
10514         * paragraph_funcs.h:
10515         * paragraph_funcs.C: cleanup
10516
10517 2002-09-11  John Levon  <levon@movementarian.org>
10518
10519         * PrinterParams.h: odd/even default to true
10520
10521 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10522
10523         * PrinterParams.h: update printer parameters for new xforms dialog
10524
10525 2002-09-11  Angus Leeming  <leeming@lyx.org>
10526
10527         * lyxserver.C (read_ready): re-write to make it more transparent
10528         and to make it work in coherent fashion under Tru64 Unix.
10529
10530 2002-09-11  André Pönitz <poenitz@gmx.net>
10531
10532         * commandtags.h:
10533         * LyXAction.C:
10534         * text3.C: implement LFUN_WORDSEL
10535
10536 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10537
10538         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10539         make floatlist_ a boost::shared_ptr<FloatList>
10540
10541         * lyxtextclass.C: include FloatList.h
10542         (LyXTextClass): initialize floatlist_
10543         (TextClassTags): add TC_NOFLOAT
10544         (Read): match "nofloat" to TC_NOFLOAT and use it.
10545         (readFloat): modify call to floatlist_
10546         (floats): ditto
10547         (floats): ditto
10548
10549         * FloatList.[Ch] (FloatList): remove commented out float
10550         initialization.
10551         (erase): new function
10552
10553 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10554
10555         * MenuBackend.C (expandToc): fix crash when there is no document
10556         open
10557
10558 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10559
10560         * many files: Add insetwrap.
10561
10562 2002-09-09  John Levon  <levon@movementarian.org>
10563
10564         * text2.C: remove confusing and awkward depth wraparound
10565
10566 2002-09-09  John Levon  <levon@movementarian.org>
10567
10568         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10569
10570         * buffer.h:
10571         * buffer.C: remove getIncludeonlyList()
10572
10573         * paragraph.C:
10574         * lyxfunc.C: remove headers
10575
10576 2002-09-09  Juergen Vigna  <jug@sad.it>
10577
10578         * text.C (getColumnNearX): fix form Michael this is most
10579         probably a cut&paste bug.
10580
10581 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10582
10583         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10584
10585         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10586         references, ws changes.
10587
10588         * text2.C (init): update counters after init
10589         (insertParagraph): no need to set counter on idividual paragraphs.
10590         (setCounter): access the counters object in the textclass object
10591         on in the buffer object.
10592         (updateCounters): ditto
10593
10594         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10595         shared_ptr<Counters> to avoid loading counters.h in all
10596         compilation units.
10597         (LyXTextClass): initialize ctrs_
10598         (TextClassTags): add TC_COUNTER, and ...
10599         (Read): use it here.
10600         (CounterTags): new tags
10601         (readCounter): new function
10602         (counters): new funtion
10603         (defaultLayoutName): return a const reference
10604
10605         * counters.C (Counters): remove contructor
10606         (newCounter): remove a couple of unneeded statements.
10607         (newCounter): simplify a bit.
10608         (numberLabel): some small formatting changes.
10609
10610         * buffer.[Ch]: remove all traces of counters, move the Counters
10611         object to the LyXTextClass.
10612
10613 2002-09-06  Alain Castera  <castera@in2p3.fr>
10614
10615         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10616         package to set the horizontal alignment on fixed width columns.
10617
10618         * lyx_sty.C:
10619         * lyx_sty.h: added tabularnewline macro def.
10620
10621         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10622
10623 2002-09-06  John Levon  <levon@movementarian.org>
10624
10625         * LyXAction.C: tooltips for sub/superscript
10626
10627         * MenuBackend.C: a bit more verbose
10628
10629         * lyxfunc.C: tiny clean
10630
10631         * undo_funcs.C: document undo_frozen
10632
10633 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10634
10635         * counters.C (Counters): add missing algorithm counter.
10636
10637         * text2.C (setCounter): lookup the counter with layouts latexname
10638         instead of by section number.
10639         (setCounter): use a hackish way to lookup the correct enum
10640         counter.
10641         a float name->type change
10642         reset enum couners with counter name directly instead of depth value.
10643
10644         * counters.C (Counters): remove the push_backs, change to use the
10645         float type not the float name.
10646         (labelItem): remove unused string, float name->type change
10647
10648         * counters.h: don't include vector, loose the enums and sects vectors
10649
10650 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10651
10652         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10653         (Read): add float->TC_FLOAT to textclassTags
10654         (Read): and handle it in the switch
10655         (readFloat): new function
10656
10657         * FloatList.C (FloatList): comment out the hardcoded float
10658         definitions.
10659
10660         * lyxlayout.h: ws change.
10661
10662 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10663
10664         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10665
10666 2002-09-03  Angus Leeming  <leeming@lyx.org>
10667
10668         * BufferView_pimpl.h: qualified name is not allowed in member
10669         declaration: WorkArea & Pimpl::workarea() const;
10670
10671         * factory.C: added using std::endl directive.
10672
10673         * text3.C: added using std::find and std::vector directives.
10674
10675 2002-08-29  André Pönitz <poenitz@gmx.net>
10676
10677         * lyxtext.h:
10678         * text2.C: remove unused member number_of_rows
10679
10680         * Makefile.am:
10681         * BufferView2.C: remove file, move contents to...
10682         * BufferView.C: ... here
10683
10684         * BufferView_pimpl.C:
10685         * factory.C: move more inset creation to factory
10686
10687         * vspace.C: avoid direct usage of LyXText, ws changes
10688
10689         * BufferView.[Ch]:
10690                 don't provide direct access to WorkArea, use two simple
10691                 acessors haveSelction() and workHeight() instead
10692
10693
10694 2002-08-29  John Levon  <levon@movementarian.org>
10695
10696         * BufferView_pimpl.C (dispatch): do not continue when
10697           no buffer
10698
10699 2002-08-28  André Pönitz <poenitz@gmx.net>
10700
10701         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10702
10703         * BufferView.h:
10704         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10705
10706 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10707
10708         * buffer.C: increment LYX_FORMAT to 221
10709
10710         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10711         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10712
10713         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10714
10715         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10716
10717 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10718
10719         * factory.C (createInset): use LyXTextClass::floats
10720
10721         * MenuBackend.C (expandFloatListInsert):
10722         (expandFloatInsert):
10723         (expandToc):
10724
10725         * text2.C (setCounter):
10726
10727         * LaTeXFeatures.C (useFloat):
10728         (getFloatDefinitions):
10729
10730         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10731
10732         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10733         floatlist_, with accessor floats().
10734
10735         * FloatList.h: remove global FloatList
10736
10737 2002-08-26  André Pönitz <poenitz@gmx.net>
10738
10739         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10740
10741         * BufferView.h:
10742         * BufferView2.C:
10743         * BufferView_pimpl.C:
10744         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10745
10746 2002-08-25  John Levon  <levon@movementarian.org>
10747
10748         * LyXAction.C: fix margin note description
10749
10750 2002-08-24  John Levon  <levon@movementarian.org>
10751
10752         * buffer.C:
10753         * bufferlist.C:
10754         * bufferview_funcs.C:
10755         * lyxfont.C:
10756         * undo_funcs.C: cleanups
10757
10758         * lyxfunc.C: disable CUT/COPY when no selection
10759
10760 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10761
10762         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10763         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10764
10765         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10766         Add backward compatibility to "mono", "gray" and "no".
10767
10768 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10769
10770         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10771         (and file_format >= 200).
10772
10773 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10774
10775         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10776
10777 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10778
10779         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10780
10781 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10782
10783         * BufferView_pimpl.C:
10784         * LyXAction.C:
10785         * buffer.C:
10786         * commandtags.h:
10787         * lyxfunc.C:
10788         * paragraph.[Ch]:
10789         * text2.C:
10790         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10791         inset and code to make it  work with the paragraph code. The inset
10792         can be anywhere in the paragraph, but will only do the expected
10793         thing in LaTeX if the layout file contains the parameter line
10794                         OptionalArgs    1
10795         (or more generally, a nonzero value) for that layout.
10796
10797 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10798
10799         * paragraph.h: remove the declaration of undefined counters class
10800         function.
10801
10802 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10803
10804         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10805         Dr. Richard Hawkins.
10806
10807 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10808
10809         * paragraph_funcs.h: remove some unneeded includes
10810
10811         * text.C (backspace): pasteParagraph now in global scipe
10812
10813         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10814         (pasteSelection): ditto
10815
10816         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10817         * paragraph_funcs.C (pasteParagraph): ... here
10818
10819 2002-08-20  André Pönitz <poenitz@gmx.net>
10820
10821         * commandtags.h: new LFUNs for swapping/copying table row/colums
10822
10823         * LyXAction.C:
10824         * lyxfunc.C: support for new lfuns
10825
10826 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10827
10828         * tabular.C:
10829         * buffer.[Ch]: remove NO_COMPABILITY stuff
10830
10831 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10832
10833         * boost.C (throw_exception): new file, with helper function for
10834         boost compiled without exceptions.
10835
10836         * paragraph.h:
10837         * lyxlength.C:
10838         * buffer.C:
10839         * ParameterStruct.h:
10840         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10841
10842         * bufferlist.C (emergencyWriteAll): use boost bind
10843
10844         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10845
10846         * text.C: include paragraph_funcs.h
10847         (breakParagraph): breakParagraph is now in global scope
10848
10849         * paragraph_funcs.[Ch]: new files
10850
10851         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10852         global scope
10853
10854         * buffer.C: include paragraph_funcs.h
10855         (insertStringAsLines): breakParagraph is now in global scope
10856
10857         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10858         paragraph_funcs.C
10859
10860         * CutAndPaste.C: include paragraph_funcs.h
10861         (cutSelection): breakParagraphConservative is now in global scope
10862         (pasteSelection): ditto
10863
10864         * buffer.h: declare oprator== and operator!= for
10865         Buffer::inset_iterator
10866
10867         * bufferlist.C (emergencyWrite): don't use fmt(...)
10868
10869         * text3.C: add using std::endl
10870
10871         * BufferView.C (moveCursorUpdate): remove default arg
10872
10873 2002-08-20  André Pönitz <poenitz@gmx.net>
10874
10875         * buffer.[Ch]: move inline functions to .C
10876
10877         * BufferView2.C:
10878         * BufferView_pimpl.C:
10879         * text.C:
10880         * buffer.[Ch]: use improved inset_iterator
10881
10882         * buffer.C:
10883         * paragraph.[Ch]: write one paragraph at a time
10884
10885 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10886
10887         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10888         style if style is not specified.
10889
10890 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10891
10892         * text2.C (setCounter): when searching for right label for a
10893         caption, make sure to recurse to parent insets (so that a caption
10894         in a minipage in a figure float works) (bug #568)
10895
10896 2002-08-20  André Pönitz <poenitz@gmx.net>
10897
10898         * text3.C: new file for LyXText::dispatch() and helpers
10899
10900         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10901
10902         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10903
10904 2002-08-19  André Pönitz <poenitz@gmx.net>
10905
10906         * lyxtext.h:
10907         * text.C: new LyXText::dispatch()
10908
10909         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10910
10911 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10912
10913         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10914
10915         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10916         Hebrew text.
10917
10918 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10919
10920         * Makefile.am: use $(variables) instead of @substitutions@
10921
10922 2002-08-15  André Pönitz <poenitz@gmx.net>
10923
10924         * lyxfunc.C:
10925         * BufferView_pimpl.C: streamlining mathed <-> outer world
10926         interaction
10927
10928         * commandtags.h:
10929         * LyXAction.C: remove unused LFUN_MATH
10930
10931 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10932
10933         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10934
10935 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10936
10937         * paragraph.C (Paragraph): reformat a bit
10938         (cutIntoMinibuffer): use builtin InsetList function instad of
10939         doing it manually.
10940         (getInset): ditto
10941
10942         * buffer.C: include boost/bind.hpp, add using std::for_each
10943         (writeFileAscii): use ParagraphList iterators
10944         (validate): use for_each for validate traversal of paragraphs
10945         (getBibkeyList): use ParagraphList iterators
10946         (resizeInsets): use for_each to resizeInsetsLyXText for all
10947         paragraphs.
10948         (getParFromID): use ParagraphList iterators
10949
10950         * BufferView2.C (lockInset): use paragraph list and iterators
10951
10952 2002-08-14  John Levon  <levon@movementarian.org>
10953
10954         * lyxserver.C: remove spurious xforms include
10955
10956 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10957
10958         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10959
10960 2002-08-13  André Pönitz <poenitz@gmx.net>
10961
10962         * LyXAction.[Ch]:
10963         * lyxfunc.C: further cleaning
10964
10965 2002-08-13  André Pönitz <poenitz@gmx.net>
10966
10967         * funcrequest.h: new constructor
10968
10969         * funcrequest.C: move stuff here from .h
10970
10971         * Makefile.am:
10972         * BufferView_pimpl.C:
10973         * LyXAction.C:
10974         * toc.C:
10975         * lyxfunc.C: subsequent changes
10976
10977         * lyxfunc.h: new view() member function
10978
10979         * lyxfunc.C: subsequent changes
10980
10981 2002-08-13  Angus Leeming  <leeming@lyx.org>
10982
10983         * BufferView2.C:
10984         * BufferView_pimpl.C:
10985         * buffer.C:
10986         * converter.C:
10987         * importer.C:
10988         * lyxfunc.C:
10989         * lyxvc.C:
10990         * toc.C:
10991         * vc-backend.C:
10992         changes due to the changed LyXView interface that now returns references
10993         to member variables not pointers.
10994
10995 2002-08-13  Angus Leeming  <leeming@lyx.org>
10996
10997         * WordLangTuple (word, lang_code): return references to strings,
10998         not strings.
10999
11000         * BufferView.h:
11001         * SpellBase.h:
11002         * lyxtext.h: forward-declare WordLangTuple.
11003
11004         * BufferView2.C:
11005         * ispell.C:
11006         * pspell.C:
11007         * text.C: #include "WordLangTuple.h".
11008
11009         * lyxtext.h:
11010         * text.C: (selectNextWordToSpellcheck): constify return type.
11011
11012 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11013
11014         * buffer.C:
11015         * buffer.h:
11016         * lyxtext.h:
11017         * paragraph.C:
11018         * paragraph_pimpl.h:
11019         * text.C:
11020         * text2.C:
11021         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11022         suggested by Angus.
11023         Made updateCounter always count from start of buffer, and removed
11024         second argument (par).
11025         Reverted floats number display to '#'. Perhaps I'll try again when the
11026         code base is sanitized a bit.
11027
11028 2002-08-12  Angus Leeming  <leeming@lyx.org>
11029
11030         * buffer.[Ch] (getLabelList): constify.
11031
11032 2002-08-07  André Pönitz <poenitz@gmx.net>
11033
11034         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11035
11036         * funcrequest.h: extension to keep mouse (x,y) position
11037
11038 2002-08-12  Juergen Vigna  <jug@sad.it>
11039
11040         * BufferView2.C (insertErrors): forbid undo when inserting error
11041         insets.
11042
11043         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11044
11045 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11046
11047         * ParagraphList.[Ch]: new files
11048
11049         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11050
11051         * BufferView2.C (lockInset): ParagraphList changes
11052         * toc.C: ditto
11053         * text2.C: ditto
11054         * bufferlist.C: ditto
11055         * buffer.h: ditto
11056         * buffer.C: ditto
11057
11058 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11059
11060         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11061         unused class variable counter_,
11062
11063         * paragraph.[Ch] (getFirstCounter): delete unused function
11064
11065         * counters.C: include LAssert.h
11066         (reset): add a new function with no arg, change other version to
11067         not have def. arg and to not allow empty arg.
11068
11069         * text2.C (setCounter): remove empty arg from call to Counters::reset
11070
11071 2002-08-11  John Levon  <levon@movementarian.org>
11072
11073         * Makefile.am: add WordLangTuple.h
11074
11075 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11076
11077         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11078         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11079
11080         * insets/insettext.C: InsetList changes
11081
11082         * graphics/GraphicsSupport.C (operator()): InsetList changes
11083
11084         * toc.C (getTocList): InsetList changes
11085
11086         * paragraph_pimpl.[Ch]: InsetList changes
11087
11088         * paragraph.[Ch]: InsetList changes
11089
11090         * buffer.C (inset_iterator): InsetList changes
11091         (setParagraph): ditto
11092         * buffer.h (inset_iterator): ditto
11093         * iterators.C (operator++): ditto
11094         * iterators.h: ditto
11095
11096         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11097
11098         * InsetList.[Ch]: new files, most InsetList handling moved out of
11099         paragraph.C.
11100
11101         * BufferView2.C (removeAutoInsets): InsetList changes
11102         (lockInset): ditto
11103         (ChangeInsets): ditto
11104
11105 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11106
11107         * paragraph_pimpl.h (empty): new function
11108
11109         * paragraph.[Ch] (empty): new function
11110
11111         * other files: use the new Paragraph::empty function
11112
11113 2002-08-09  John Levon  <levon@movementarian.org>
11114
11115         * lyxtext.h: remove unused refresh_height
11116
11117 2002-08-09  John Levon  <levon@movementarian.org>
11118
11119         * Makefile.am:
11120         * sgml.h:
11121         * sgml.C:
11122         * buffer.C:
11123         * paragraph.h:
11124         * paragraph.C: move sgml char escaping out of paragraph
11125
11126         * paragraph.h:
11127         * paragraph.C: remove id setter
11128
11129         * buffer.C:
11130         * paragraph.C:
11131         * paragraph_pimpl.C: remove dead tex_code_break_column
11132
11133         * bufferview_funcs.C: small cleanup
11134
11135         * lyxfunc.C: remove dead proto
11136
11137         * lyxtext.h: make some stuff private. Remove some dead stuff.
11138
11139         * lyxgluelength.C: make as[LyX]String() readable
11140
11141 2002-08-08  John Levon  <levon@movementarian.org>
11142
11143         * LyXAction.h:
11144         * LyXAction.C:
11145         * MenuBackend.C:
11146         * ToolbarDefaults.C:
11147         * lyxfunc.C:
11148         * lyxrc.C:
11149         * toc.C: lyxaction cleanup
11150
11151 2002-08-08  John Levon  <levon@movementarian.org>
11152
11153         * BufferView2.C: small cleanup
11154
11155         * lyxfind.h:
11156         * lyxfind.C: move unnecessary header into the .C
11157
11158 2002-08-08  John Levon  <levon@movementarian.org>
11159
11160         * funcrequest.h: just tedious nonsense
11161
11162         * lyx_main.h:
11163         * lyx_main.C: cleanups
11164
11165         * buffer.C:
11166         * vspace.C: remove dead header lyx_main.h
11167
11168 2002-08-07  Angus Leeming  <leeming@lyx.org>
11169
11170         * Paragraph.[Ch]:
11171         * paragraph_pimpl.h:
11172         Forward declare class Counters in paragraph.h by moving the ctrs member
11173         variable into Paragraph::Pimpl.
11174         (counters): new method, returning a reference to pimpl_->ctrs.
11175
11176         * text2.C: ensuing changes.
11177
11178 2002-08-07  John Levon  <levon@movementarian.org>
11179
11180         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11181
11182         * BufferView_pimpl.C: announce X selection on double/triple
11183           click
11184
11185         * lyx_main.C: use correct bool in batch dispatch
11186
11187         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11188
11189 2002-08-07  André Pönitz <poenitz@gmx.net>
11190
11191         * funcrequest.h: new class to wrap a kb_action and its argument
11192
11193         * BufferView.[Ch]:
11194         * BufferView_pimpl[Ch]:
11195         * LaTeX.C:
11196         * LyXAction.[Ch]:
11197         * lyxfunc.[Ch]:
11198         * lyxrc.C: subsequent changes
11199
11200
11201 2002-08-07  John Levon  <levon@movementarian.org>
11202
11203         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11204           document options change.
11205
11206 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11207
11208         * counters.[Ch]
11209         * text2.C
11210         * paragraph.[Ch]
11211         * makefile.am: move counters functionality over from
11212         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11213
11214 2002-08-06  John Levon  <levon@movementarian.org>
11215
11216         * WordLangTuple.h: new file for word + language code tuple
11217
11218         * SpellBase.h:
11219         * pspell.h:
11220         * pspell.C:
11221         * ispell.h:
11222         * ispell.C:
11223         * lyxtext.h:
11224         * text.C:
11225         * text2.C:
11226         * BufferView.h:
11227         * BufferView2.C: use WordLangTuple
11228
11229         * layout.h:
11230         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11231
11232 2002-08-06  John Levon  <levon@movementarian.org>
11233
11234         * lyx_main.C: fix cmdline batch handling
11235
11236 2002-08-06  André Pönitz <poenitz@gmx.net>
11237
11238         * lyxrc.C: set default for show_banner to true
11239
11240 2002-08-06  John Levon  <levon@movementarian.org>
11241
11242         * pspell.C: fix a crash, and allow new aspell to work
11243
11244 2002-08-06  John Levon  <levon@movementarian.org>
11245
11246         * lyxfunc.C:
11247         * kbmap.C: small cleanup
11248
11249         * vspace.h:
11250         * vspace.C: add const
11251
11252 2002-08-05  John Levon  <levon@movementarian.org>
11253
11254         * LyXAction.C: back to tabular-insert
11255
11256 2002-08-04  John Levon  <levon@movementarian.org>
11257
11258         * BufferView.h:
11259         * BufferView.C: cosmetic change
11260
11261         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11262
11263         * bufferlist.C:
11264         * buffer.h:
11265         * buffer.C:
11266         * lyxcb.h:
11267         * lyxcb.C:
11268         * lyxserver.C:
11269         * lyxvc.C:
11270         * vc-backend.C:
11271         * BufferView2.C: purge all "Lyx" not "LyX" strings
11272
11273         * lyxcursor.h:
11274         * lyxcursor.C: attempt to add some documentation
11275
11276         * lyxfunc.C:
11277         * commandtags.h:
11278         * LyXAction.C:
11279         * ToolbarDefaults.C:
11280         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11281           merge with LFUN_TABULAR_INSERT
11282
11283         * Makefile.am:
11284         * SpellBase.h:
11285         * ispell.h:
11286         * ispell.C:
11287         * pspell.h:
11288         * pspell.C: split up i/pspell implementations into separate
11289           files, many cleanups
11290
11291         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11292
11293         * text2.C: some cleanup
11294
11295         * lyxfunc.C: don't check for isp_command == "none" any more, it
11296           didn't make any sense
11297
11298 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11299
11300         * counters.[Ch]
11301         * text2.C
11302         * paragraph.[Ch]
11303         * makefile.am: move counters functionality over
11304         from text2.C/paragraph.[Ch] to counters.[Ch], and
11305         make proper C++.
11306 2002-08-02  John Levon  <levon@movementarian.org>
11307
11308         * buffer.C: s/lyxconvert/lyx2lyx/
11309
11310 2002-08-02  Angus Leeming  <leeming@lyx.org>
11311
11312         * lyxlex.C: revert John's change as it breaks reading of the user
11313         preamble.
11314
11315 2002-08-02  Angus Leeming  <leeming@lyx.org>
11316
11317         * importer.C (Import):
11318         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11319         changes due to LyXView::view() now returning a boost::shared_ptr.
11320
11321 2002-08-02  John Levon  <levon@movementarian.org>
11322
11323         * lyxlex.C: small cleanup
11324
11325 2002-08-02  John Levon  <levon@movementarian.org>
11326
11327         * text2.C (status): small cleanup, no logic change
11328
11329 2002-08-01  John Levon  <levon@movementarian.org>
11330
11331         * buffer.h:
11332         * buffer.C (writeFile): don't output alerts, caller
11333           handles this
11334
11335         * bufferlist.C:
11336         * lyx_cb.C: from above
11337
11338         * lyxfunc.C: allow to open non-existent files
11339
11340 2002-07-31  John Levon  <levon@movementarian.org>
11341
11342         * lyxserver.C: don't let incidental errors get
11343           in the way (errno)
11344
11345 2002-07-30  John Levon  <levon@movementarian.org>
11346
11347         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11348
11349 2002-07-30  John Levon  <levon@movementarian.org>
11350
11351         * lyxserver.h:
11352         * lyxserver.C: remove I/O callback too
11353
11354 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11357         log.
11358
11359 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11360
11361         * many files: strip,frontStrip -> trim,ltrim,rtrim
11362
11363 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11364
11365         * PrinterParams.h: remove extern containsOnly, and include
11366         support/lstrings.h instead.
11367
11368         * LaTeX.C (scanAuxFile): modify because of strip changes
11369         (deplog): ditto
11370         * buffer.C (makeLaTeXFile): ditto
11371         * bufferparams.C (writeFile): ditt
11372         * lyxfont.C (stateText): ditto
11373         * lyxserver.C (read_ready): ditto
11374         * vc-backend.C (scanMaster): ditto
11375
11376         * BufferView_pimpl.h: ws changes
11377
11378         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11379
11380 2002-07-26  André Pönitz <poenitz@gmx.net>
11381
11382         * kb_sequence.C: remove unnedred usings
11383
11384 2002-07-26  Juergen Vigna  <jug@sad.it>
11385
11386         * lyxfind.C (LyXReplace): we have to check better if the returned
11387         text is not of theLockingInset()->getLockingInset().
11388
11389 2002-07-25  Juergen Vigna  <jug@sad.it>
11390
11391         * lyxfind.C (LyXReplace): don't replace if we don't get the
11392         right LyXText.
11393
11394         * undo_funcs.C (createUndo): remove debugging code.
11395
11396 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11397
11398         * buffer.C (parseSingleLyXformat2Token): Use default placement
11399         when reading old floats.
11400
11401         * FloatList.C (FloatList): Change the default placement of figure
11402         and tables to "tbp".
11403
11404 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * MenuBackend.C: using std::max
11407
11408 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11409
11410         * MenuBackend.C (expandToc):
11411         (expandToc2): code moved from xforms menu frontend. It is now
11412         generic and TOCs are transparent to menu frontends.
11413
11414 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11415
11416         * toc.C (getTocList): protect against buf=0
11417
11418         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11419         Menu as first parameter. Now, this calls itself recursively to
11420         expand a whole tree (this will be useful for TOC handling)
11421         (expandFloatInsert): remove 'wide' version of floats
11422
11423         * MenuBackend.h (submenuname): returns the name of the submenu.
11424         (submenu): returns the submenu itself, provided it has been
11425         created by MenuBackend::expand
11426
11427 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11428
11429         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11430         insets which have noFontChange == true. (bug #172)
11431
11432 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11433
11434         * BufferView_pimpl.C: add connection objects and use them...
11435         (Pimpl): here.
11436
11437 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * MenuBackend.C (expandLastfiles):
11440         (expandDocuments):
11441         (expandFormats):
11442         (expandFloatListInsert):
11443         (expandFloatInsert):
11444         (expand): split expand in parts
11445
11446 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * lyx_gui.C: use lyx_gui::exit()
11449
11450 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * LyXAction.C: show the failing pseudo action
11453
11454 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11455
11456         * buffer.C (readFile): Run the lyxconvert script in order to read
11457         old files.
11458
11459 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * LyXAction.C:
11462         * commandtags.h:
11463         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11464
11465 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * LyXAction.C:
11468         * commandtags.h:
11469         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11470
11471 2002-07-22  Herbert Voss  <voss@lyx.org>
11472
11473         * lengthcommon.C:
11474         * lyxlength.[Ch]: add support for the vertical lengths
11475
11476 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * toc.[Ch]: std:: fixes
11479
11480 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11481
11482         * lyxrc.C: do not include lyx_main.h
11483
11484         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11485         for layouts
11486
11487         * lyxrc.C:
11488         * encoding.C:
11489         * bufferlist.C:
11490         * BufferView2.C: include "lyxlex.h"
11491
11492         * tabular.h:
11493         * bufferparams.h: do not #include "lyxlex.h"
11494
11495         * lyxtextclasslist.C (Add): remove method
11496         (classlist): renamed to classlist_
11497
11498         * paragraph_pimpl.C:
11499         * paragraph.C:
11500         * text2.C:
11501         * CutAndPaste.C:
11502         * bufferview_funcs.C:
11503         * bufferlist.C:
11504         * text.C:
11505         * LaTeXFeatures.C:
11506         * buffer.C:
11507         * toc.C (getTocList): use BufferParams::getLyXTextClass
11508
11509         * toc.C (getTocList): use InsetFloat::addToToc
11510
11511         * toc.[Ch]: new files, containing helper functions to handle table
11512         of contents
11513
11514         * lyxfunc.C (dispatch): no need to remove spaces around command
11515         given as a string
11516         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11517         first command of the sequence; it is not very clever, but I do not
11518         have a better idea, actually
11519
11520         * LyXAction.C (LookupFunc): make sure to remove space at the
11521         beginning and end of the command
11522
11523 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11524
11525         * MenuBackend.C (getMenubar): new method: return the menubar of
11526         this menu set
11527         (read): treat differently reading of menu and menubar (in
11528         particular, the menubar has no name now)
11529         (Menu::menubar): remove
11530
11531         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11532         saving is finished
11533
11534 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11535
11536         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11537         a bibitem inset in a RTL paragraph.
11538
11539 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11540
11541         * paragraph_pimpl.C: constify
11542
11543         * BufferView_pimpl.C:
11544         * LaTeX.C:
11545         * lyxfunc.C: fix dispatch in a nicer way
11546
11547 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11548
11549         * lyxfunc.C (dispatch):
11550         * BufferView_pimpl.C:
11551         * BufferView_pimpl.h:
11552         * BufferView.C:
11553         * BufferView.h: rename Dispatch() to dispatch()
11554
11555         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11556
11557         * lyxlayout.C (Read): honor DependsOn tag
11558
11559         * lyxlayout.[Ch] (depends_on): new method
11560
11561         * version.C.in: update lyx_docversion
11562
11563         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11564
11565         * paragraph.C (validate): remove from here...
11566         * paragraph_pimpl.C (validate): ... and move here
11567         (isTextAt): make it const
11568
11569         * buffer.C (getLists): ws cleanup
11570
11571 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11572
11573         * language.C (read): Use iso8859-1 encoding in latex_lang
11574         (this prevents LyX from crashing when using iso10646-1 encoding).
11575
11576 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11577
11578         * text2.C (toggleInset): if cursor is inside an inset, close the
11579         inset and leave cursor _after_ it
11580
11581 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11582
11583         * lyxfunc.C: move minibuffer completion handling out of here
11584
11585 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11586
11587         * BufferView_pimpl.C:
11588         * LaTeX.C: fix dispatch calls
11589
11590 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11591
11592         * text.C (drawChars): Fix Arabic text rendering.
11593
11594 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * LyXAction.C:
11597         * commandtags.h:
11598         * lyxfunc.C: remove message-push/pop
11599
11600         * lyxserver.C:
11601         * lyxfunc.h:
11602         * lyxfunc.C: rationalise some code by removing verboseDispatch
11603           in favour of a bool argument to dispatch()
11604
11605 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11606
11607         * lyx_main.C (init): make sure to read symlinks as absolute paths
11608
11609 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11610
11611         * lyxfunc.h:
11612         * lyxfunc.C: no need for commandshortcut to be a member
11613
11614 2002-07-15  André Pönitz <poenitz@gmx.net>
11615
11616         * converter.C: add support for $$s (scripts from lib/scripts dir)
11617         * lyx_main.C: white space
11618
11619 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * bufferlist.C:
11622         * lyxrc.h:
11623         * lyxrc.C: remove second exit confirmation
11624
11625 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * BufferView.h:
11628         * BufferView.C:
11629         * BufferView2.C:
11630         * BufferView_pimpl.h:
11631         * BufferView_pimpl.C:
11632         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11633
11634 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11635
11636         * MenuBackend.C (expand): add numeric shortcuts to document menu
11637
11638         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11639
11640 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11641
11642         * lyxfont.C (setLyXFamily):
11643         (setLyXSeries):
11644         (setLyXShape):
11645         (setLyXSize):
11646         (setLyXMisc):
11647         (lyxRead):
11648         * debug.C (value):
11649         * buffer.C (asciiParagraph): use ascii_lowercase
11650
11651 2002-07-15  Mike Fabian  <mfabian@suse.de>
11652
11653         * lyxlex_pimpl.C (search_kw):
11654         * lyxlex.C (getLongString):
11655         * converter.h (operator<):
11656         * converter.C (operator<):
11657         * buffer.C (parseSingleLyXformat2Token):
11658         (asciiParagraph):
11659         * ToolbarDefaults.C (read):
11660         * MenuBackend.C (checkShortcuts):
11661         (read):
11662         * LColor.C (getFromGUIName):
11663         (getFromLyXName): use the compare_ascii_no_case instead of
11664         compare_no_case, because in turkish, 'i' is not the lowercase
11665         version of 'I', and thus turkish locale breaks parsing of tags.
11666
11667 2002-07-16  Angus Leeming  <leeming@lyx.org>
11668
11669         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11670         now takes a Buffer const & argument.
11671
11672 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * BufferView.C (resize): check there's a buffer to resize
11675
11676 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * lyxfunc.C: remove dead code
11679
11680         * lyxserver.h:
11681         * lyxserver.C: use lyx_guii::set_read_callback
11682
11683 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11684
11685         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11686         an inset in a RTL paragraph.
11687
11688 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11689
11690         * lyxfunc.C: repaint after a font size update
11691
11692 2002-07-15  André Pönitz <poenitz@gmx.net>
11693
11694         * lyxlength.C: inBP should be able to return negative values
11695
11696 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * lyxfunc.C: use lyx_gui::update_fonts()
11699
11700 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * lyxfunc.C: use lyx_gui::update_color()
11703
11704 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * bufferlist.C:
11707         * lyxfunc.h:
11708         * lyxfunc.C:
11709         * lyxrc.h:
11710         * lyxrc.C: remove file->new asks for name option, and let
11711           buffer-new take an argument
11712
11713 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * BufferView_pimpl.C: remove unneeded extra repaint()
11716
11717 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * LyXAction.C: allow command-sequence with NoBuffer
11720
11721         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11722
11723 2002-07-10  Angus Leeming  <leeming@lyx.org>
11724
11725         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11726
11727 2002-07-09  Angus Leeming  <leeming@lyx.org>
11728
11729         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11730
11731 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * lengthcommon.h: whitespace
11734
11735         * lyxfunc.C: update scrollbar after goto paragraph
11736
11737         * lyxtext.h: factor out page break drawing, and fix it so
11738           page break/added space paints as selected nicely
11739
11740 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * BufferView_pimpl.C: add FIXMEs, clean up a little
11743
11744 2002-07-09  André Pönitz <poenitz@gmx.net>
11745
11746         * lyxfont.[Ch]: support for wasy symbols
11747
11748 2002-07-08  André Pönitz <poenitz@gmx.net>
11749
11750         * BufferView_pimpl.C: apply John's patch for #93.
11751
11752 2002-07-05  Angus Leeming  <leeming@lyx.org>
11753
11754         * BufferView_pimpl.C (buffer): generate previews if desired.
11755
11756         * LColor.h: add "preview" to the color enum.
11757
11758         * LColor.C (LColor): add a corresponding entry to the items array.
11759
11760         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11761         with this buffer.
11762
11763 2002-07-05  Angus Leeming  <leeming@lyx.org>
11764
11765         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11766         The body of the code is now in the method that is passed an ostream &
11767         rather than a file name.
11768         Pass an additional only_preamble parameter, useful for the forthcoming
11769         preview stuff.
11770
11771 2002-07-03  André Pönitz <poenitz@gmx.net>
11772
11773         * lyxfunc.C: simplify getStatus() a bit for math stuff
11774
11775 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11776
11777         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11778
11779 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11780
11781         * text.C (changeRegionCase): do not change case of all the
11782         document when region ends at paragraph end (bug #461)
11783
11784 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11785
11786         * paragraph.C (startTeXParParams):
11787         (endTeXParParams): add \protect when necessary
11788
11789 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * BufferView_pimpl.C (workAreaExpose): remove warning
11792
11793 2002-06-27  Angus Leeming  <leeming@lyx.org>
11794
11795         * Makefile.am: add lyxlayout_ptr_fwd.h.
11796
11797 2002-06-26  André Pönitz <poenitz@gmx.net>
11798
11799         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11800
11801 2002-06-25  Angus Leeming  <leeming@lyx.org>
11802
11803         * lyxfunc.C (dispatch): Comment out the call to
11804         grfx::GCache::changeDisplay. The method no longer exists now that the
11805         pixmap generation part of the graphics loader has been moved into
11806         InsetGraphics.
11807
11808 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11809
11810         * text2.C: layout as layout
11811
11812         * text.C: layout as layout
11813
11814         * tabular.C (OldFormatRead): layout as layout
11815
11816         * paragraph_pimpl.C (TeXDeeper): layout as layout
11817         (realizeFont): layout as layout
11818
11819         * paragraph.C (writeFile): layout as layout
11820         (validate): layout as layout
11821         (getFont): layout as layout
11822         (getLabelFont): layout as layout
11823         (getLayoutFont): layout as layout
11824         (breakParagraph): layout as layout
11825         (stripLeadingSpaces): layout as layout
11826         (getEndLabel): layout as layout
11827         (getMaxDepthAfter): layout as layout
11828         (applyLayout): layout as layout
11829         (TeXOnePar): layout as layout
11830         (simpleTeXOnePar): layout as layout
11831         (TeXEnvironment): layout as layout
11832         (layout): layout as layout
11833         (layout): layout as layout
11834
11835         * lyxtextclass.C (compare_name): new functor to work with
11836         shared_ptr, layout as layout
11837         (Read): layout as layout
11838         (hasLayout): layout as layout
11839         (operator): layout as layout
11840         (delete_layout): layout as layout
11841         (defaultLayout): layout as layout
11842
11843         * lyxlayout_ptr_fwd.h: new file
11844
11845         * lyxlayout.C (Read): layout as layout
11846
11847         * lyx_cb.C (MenuInsertLabel): layout as layout
11848
11849         * bufferlist.C (newFile): layout as layout
11850
11851         * buffer.C (readLyXformat2): layout as layout
11852         (parseSingleLyXformat2Token): layout as layout
11853         (insertStringAsLines): layout as layout
11854         (asciiParagraph): layout as layout
11855         (latexParagraphs): layout as layout
11856         (makeLinuxDocFile): layout as layout
11857         (simpleLinuxDocOnePar): layout as layout
11858         (makeDocBookFile): layout as layout
11859         (simpleDocBookOnePar): layout as layout
11860         (getLists): layout as layout
11861
11862         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11863
11864         * CutAndPaste.C (cutSelection): layout as layout
11865         (pasteSelection): layout as layout
11866         (SwitchLayoutsBetweenClasses): layout as layout
11867
11868         * BufferView_pimpl.C (Dispatch): layout as layout
11869         (smartQuote): layout as layout
11870
11871         * BufferView2.C (unlockInset): layout as layout
11872
11873 2002-06-24  André Pönitz <poenitz@gmx.net>
11874
11875         * lyxfunc.C: fix #487
11876
11877 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11878
11879         * lyxrc.h:
11880         * lyxrc.C:
11881         * lyxfunc.C: remove display_shortcuts, show_banner
11882
11883 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * Buffer_pimpl.C: oops, update on resize
11886
11887 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * buffer.C:
11890         * converter.C:
11891         * exporter.C:
11892         * lyxfunc.C:
11893         * BufferView.h:
11894         * BufferView.C: use repaint()
11895
11896         * BufferView_pimpl.h:
11897         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11898           as it's a clearer description. Remove superfluous
11899           redraws.
11900
11901 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11902
11903         * text.C: fix bug 488. Not ideal, but getting
11904           getWord() to work properly for the insets that
11905           matter is more difficult ...
11906
11907 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11908
11909         * BufferView_pimpl.C:
11910         * LyXAction.C:
11911         * commandtags.h:
11912         * lyxfunc.C: remove the six million index lyxfuncs to just
11913           one, and DTRT (bug 458)
11914
11915 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * BufferView.h:
11918         * BufferView.C:
11919         * BufferView_pimpl.h:
11920         * BufferView_pimpl.C: clean up resize() stuff,
11921           and unnecessary updateScreen()s
11922
11923 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * BufferView.h:
11926         * BufferView.C:
11927         * BufferView_pimpl.h:
11928         * BufferView_pimpl.C:
11929         * lyxfind.h:
11930         * lyxfind.C:
11931         * minibuffer.C: remove focus management of workarea,
11932           not needed. Use screen's greyOut()
11933
11934 2002-06-17  Herbert Voss  <voss@lyx.org>
11935
11936         * converter.C: (convert) do not post a message, when converting
11937         fails, let the calling function decide what to do in this case
11938
11939 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * lyxfunc.C: tidy up a little
11942
11943 2002-06-16    <alstrup@diku.dk>
11944
11945         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11946         Got rid of FORMS_H_LOCATION include. Now we are
11947         GUII.
11948
11949 2002-06-15  LyX Development team  <lyx@rilke>
11950
11951         * buffer.[Ch] (sgmlOpenTag):
11952         (sgmlCloseTag): Added support for avoiding pernicious mixed
11953         content. Return number of lines written.
11954
11955         (makeLinuxDocFile):
11956         (makeDocBookFile): Fixed calls to sgml*Tag.
11957         Simple white space clean.
11958
11959         (simpleDocBookOnePar): Simple white space clean.
11960
11961         * tabular.[Ch] (docBook): Renamed to docbook and got another
11962         argument to related with the pernicious mixed content.
11963
11964         (docbookRow): Fixed calls for docbook inset method.
11965
11966 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11967
11968         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11969         so it's X11 independent.
11970
11971         * kb*.[Ch]: ditto.
11972
11973         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11974
11975 2002-06-15  Lyx Development team  <lyx@electronia>
11976
11977         * intl.h: Renamed getTrans to getTransManager.
11978
11979 2002-06-14  Angus Leeming  <leeming@lyx.org>
11980
11981         * Makefile.am: nuke forgotten stl_string_fwd.h.
11982
11983 2002-06-12  Angus Leeming  <leeming@lyx.org>
11984
11985         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11986
11987 2002-06-13  Angus Leeming  <leeming@lyx.org>
11988
11989         * LaTeX.C:
11990         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11991
11992 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11993
11994         * kbmap.C (getiso): add support for cyrillic and greek
11995
11996 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * BufferView.h:
11999         * BufferView.C:
12000         * BufferView_pimpl.h:
12001         * BufferView_pimpl.C: move bogus scrolling logic
12002           to xforms
12003
12004 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12005
12006         * lyxfunc.C:
12007         * BufferView_pimpl.C: view->resize() change
12008
12009 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12010
12011         * BufferView_pimpl.C: topCursorVisible
12012           prototype change
12013
12014 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * Makefile.am:
12017         * lyx_gui.h:
12018         * lyx_gui.C: move to frontends/
12019
12020         * main.C:
12021         * lyx_main.h:
12022         * lyx_main.C: changes from above
12023
12024 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12025
12026         * intl.C:
12027         * intl.h:
12028         * kbmap.C:
12029         * kbsequence.C:
12030         * lyx_cb.C:
12031         * lyx_main.C: minor tidy
12032
12033 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * BufferView_pimpl.h:
12036         * BufferView_pimpl.C:
12037         * BufferView.h:
12038         * BufferView.C: make painter() const,
12039           remove dead code
12040
12041         * BufferView2.C: use screen() accessor
12042
12043         * lyx_main.h:
12044         * lyx_main.C: some minor cleanup
12045
12046 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * BufferView_pimpl.h:
12049         * BufferView_pimpl.C: remove enter/leaveView,
12050           use workHeight()
12051
12052 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * BufferView.h:
12055         * BufferView.C:
12056         * BufferView2.C:
12057         * BufferView_pimpl.h:
12058         * BufferView_pimpl.C: only construct screen once,
12059           rename
12060
12061         * lyxrc.C: remove pointless comment
12062
12063 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * BufferView.h:
12066         * BufferView.C: remove active() and belowMouse()
12067
12068         * BufferView_pimpl.h:
12069         * BufferView_pimpl.C: use workarea() not workarea_,
12070           and make it use a scoped_ptr instead
12071
12072 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * lyx_gui.C: add debug message on BadWindow
12075
12076 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12077
12078         * sp_spell.C: fdopen is not part of the C++ standard.
12079
12080         * paragraph.C (InsetIterator): use >= instead of ==
12081
12082 2002-06-07  Angus Leeming  <leeming@lyx.org>
12083
12084         Fixes needed to compile with Compaq cxx 6.5.
12085         * BufferView_pimpl.C:
12086         * DepTable.C:
12087         * buffer.C:
12088         * converter.C:
12089         * encoding.C:
12090         * lyx_gui.C:
12091         * lyx_main.C:
12092         * lyxtextclasslist.C:
12093         * minibuffer.C:
12094         * sp_spell.C:
12095         * tabular_funcs.C:
12096         * vc-backend.C:
12097         all c-library variables have been moved into namespace std. Wrap
12098         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12099
12100         * lyxlength.C:
12101         * tabular-old.C:
12102         * tabular.C:
12103         Add a using std::abs declaration.
12104
12105         * kbmap.h (modifier_pair):
12106         * paragraph.h (InsetTable, InsetList):
12107         * lyxfont.h (FontBits):
12108         type definition made public.
12109
12110         * bufferlist.C (emergencyWriteAll): the compiler complains that
12111         there is more than one possible lyx::class_fun template to choose from.
12112         I re-named the void specialisation as lyx::void_class_fun.
12113
12114         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12115
12116         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12117         the compiler is is unable to find tostr in write_attribute.
12118
12119 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12120
12121         * buffer.C (sgmlError): hide #warning
12122
12123 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12124
12125         * xtl/*: get rid of xtl, which is not in use anyway
12126
12127         * LyXAction.C (init):
12128         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12129         were unimplemented xtl experimentation
12130
12131 2002-06-04  André Pönitz <poenitz@gmx.net>
12132
12133         * lyxfunc.C: disable array operation on simple formulae
12134
12135 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12136
12137         * converter.C: constify a bit
12138
12139 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12140
12141         * lyx_gui.C: check xforms version correctly
12142
12143 2002-04-30  Herbert Voss  <voss@lyx.org>
12144
12145         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12146         "keep" option
12147
12148 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12149
12150         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12151           attempt to register it with a VCS)
12152
12153 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12154
12155         * lyx_main.C (init): honor variables LYX_DIR_13x and
12156         LYX_USERDIR_13x
12157
12158 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12159
12160         * buffer.h:
12161         * buffer.C:
12162         * lyx_main.C: fix a crash on bad command line,
12163           and give a useful exit status on error
12164
12165         * lyxfunc.C (doImport): allow -i lyx to work
12166
12167 2002-03-30  André Pönitz <poenitz@gmx.net>
12168
12169         * lyxfunc.C: mathed font changes
12170
12171 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12172
12173         * LaTeX.C:
12174         * importer.h:
12175         * importer.C:
12176         * lyx_sty.h:
12177         * lyx_sty.C:
12178         * lyxlex.C:
12179         * lyxrow.h:
12180         * lyxtext.h:
12181         * paragraph.h:
12182         * paragraph.C:
12183         * texrow.h:
12184         * texrow.C:
12185         * text.C:
12186         * trans_mgr.h: srcdocs, and some minor cleanups
12187
12188 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12191         call getFont all the time)
12192
12193 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12194
12195         * switch from SigC signals to boost::signals
12196
12197 2002-05-29  André Pönitz <poenitz@gmx.net>
12198
12199         * paragraph_pimpl.C (getChar): don't call size() too often...
12200
12201 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12202
12203         * paragraph_pimpl.C (insertChar): do not try to update tables when
12204         appending (pos == size())
12205
12206         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12207         in order to reduce drastically the number of comparisons needed to
12208         parse a large document
12209
12210 2002-05-29  André Pönitz <poenitz@gmx.net>
12211
12212         * text.C:
12213         * text2.C:
12214         * lyxtextclass.C:
12215         * sp_pspell.h:
12216         * textclasslist.[Ch]:
12217         * sp_ispell.h: whitespace change
12218
12219 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12220
12221         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12222         lyxaction directly now.
12223
12224 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * trans.C:
12227         * lyxfont.C:
12228         * lyxvc.C: remove unused headers
12229
12230 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12231
12232         * Makefile.am:
12233         * buffer.h:
12234         * undostack.h:
12235         * undostack.C:
12236         * undo_funcs.h:
12237         * undo_funcs.C: some cleanups. Use shared_ptr
12238           and a template for the undo stacks.
12239
12240 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12241
12242         * BufferView_pimpl.h:
12243         * BufferView_pimpl.C:
12244         * kbmap.h:
12245         * kbmap.C:
12246         * kbsequence.h:
12247         * kbsequence.C:
12248         * lyxfunc.h:
12249         * lyxfunc.C:
12250         * text2.C: use key_state/mouse_state
12251
12252 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12253
12254         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12255         and LSubstring
12256
12257         * chset.C: change include order
12258         (loadFile): use boost regex and get rid of LRegex and LSubstring
12259
12260         * Makefile.am (BOOST_LIBS): new variable
12261         (lyx_LDADD): use it
12262
12263         * LaTeX.C: change include order.
12264         (scanAuxFile): use boost regex and get rid of LRegex and
12265         LSubstring
12266         (deplog): ditto
12267
12268 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12269
12270         * ColorHandler.h:
12271         * ColorHandler.C:
12272         * FontInfo.h:
12273         * FontInfo.C: moved to frontends/xforms/
12274
12275         * FontLoader.h:
12276         * FontLoader.C: moved into frontends for GUIIzation
12277
12278         * Makefile.am:
12279         * lyx_gui.C:
12280         * lyxfont.C:
12281         * lyxfunc.C: changes from above
12282
12283 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * LColor.C: remove spurious X include
12286
12287         * BufferView_pimpl.C:
12288         * Makefile.am:
12289         * font.h:
12290         * font.C:
12291         * text.C:
12292         * text2.C: move font metrics to frontends/
12293
12294 2002-05-24  Juergen Vigna  <jug@sad.it>
12295
12296         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12297         setting the undo_cursor.
12298
12299         * ParagraphParameters.h: include local includes first.
12300
12301 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12302
12303         * BufferView_pimpl.C:
12304         * BufferView_pimpl.h:
12305         * Makefile.am:
12306         * WorkArea.h:
12307         * WorkArea.C:
12308         * screen.C: move WorkArea into frontends/
12309
12310         * lyxscreen.h:
12311         * screen.C:
12312         * text.C:
12313         * BufferView.C:
12314         * BufferView2.C: move LyXScreen into frontends/
12315
12316         * lyxlookup.h:
12317         * lyxlookup.C:
12318         * lyx_gui.C: move lyxlookup into frontends/xforms/
12319
12320 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12321
12322         * BufferView2.C:
12323         * BufferView_pimpl.C:
12324         * FontLoader.C:
12325         * LyXView.h:
12326         * LyXView.C:
12327         * Makefile.am:
12328         * WorkArea.C:
12329         * XFormsView.h:
12330         * XFormsView.C:
12331         * buffer.C:
12332         * bufferlist.C:
12333         * bufferview_funcs.C:
12334         * converter.C:
12335         * importer.C:
12336         * lyx_cb.C:
12337         * lyx_gui.C:
12338         * lyx_main.C:
12339         * lyx_find.C:
12340         * lyxfunc.C:
12341         * lyxvc.C:
12342         * minibuffer.C:
12343         * text.C:
12344         * text2.C:
12345         * trans.C:
12346         * vc-backend.C: move LyX/XFormsView into frontends/
12347
12348 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12349
12350         * Makefile.am:
12351         * PainterBase.C:
12352         * PainterBase.h:
12353         * Painter.C:
12354         * Painter.h:
12355         * WorkArea.C:
12356         * WorkArea.h:
12357         * screen.C:
12358         * tabular.C:
12359         * text.C:
12360         * text2.C: move Painter to frontends/
12361
12362 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12363
12364         * buffer.C: comment out some some code that depend upon lyx_format
12365         < 220
12366
12367         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12368         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12369
12370         * buffer.h (NO_COMPABILITY): turn off compability
12371
12372         * ColorHandler.C: include scoped_array.hpp
12373
12374         * font.C: Use more specific smart_ptr header.
12375         * Painter.C: ditto
12376         * gettext.C: ditto
12377         * ShareContainer.h: ditto
12378         * lyx_main.h: ditto
12379         * kbmap.h: ditto
12380         * FontInfo.h: ditto
12381         * BufferView_pimpl.h: ditto
12382         * ColorHandler.h: ditto
12383
12384         * kbmap.C (defkey): change call to shared_ptr::reset
12385
12386 2002-05-21  Juergen Vigna  <jug@sad.it>
12387
12388         * buffer.C (insertErtContents): fix to insert ert asis if it is
12389         non empty. Skip it completely if it contains only whitespaces.
12390
12391 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12392
12393         * BufferView_pimpl.C:
12394         * BufferView2.C: clear selection on paste (bug 393)
12395
12396 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12397
12398         * DepTable.C: include ctime
12399
12400 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12401
12402         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12403
12404 2002-05-14  Juergen Vigna  <jug@sad.it>
12405
12406         * text.C (breakParagraph): fixed function to honor the keepempty
12407         layout in the right maner and also to permit the right breaking
12408         algorithm on empty or non empyt keepempty paragraphs.
12409
12410         * paragraph.C (breakParagraph): we have to check also if the par
12411         is really empty (!size()) for isempty otherwise we do the wrong
12412         paragraph break.
12413
12414 2002-05-10  Juergen Vigna  <jug@sad.it>
12415
12416         * buffer.[Ch] : The following are only changes to the ert
12417         compatibility read reading old LaTeX layout and font stuff and
12418         convert it to ERTInsets.
12419
12420         * buffer.h: added isErtInset().
12421
12422         * buffer.C (struct ErtComp): add a fromlayout bool to check
12423         if we're inside a LaTeX layout.
12424         (isErtInset): new helper function.
12425         (insertErtContents): look for other ert insets before this one
12426         and insert the contents there, so that we don't have subsequent
12427         ERT insets with nothing between them. This way we create only one
12428         inset with multiple paragraphs. Also check if we don't insert only
12429         spaces ' ' as they are ignored anyway afterwards in the .tex file
12430         so if we have only spaces we will ignore this latex part in the
12431         new file.
12432         (parseSingleLyXformat2Token \\layout): better compatibility when
12433         reading layout-latex stuff.
12434         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12435         language tag.
12436         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12437         stuff after reading the inset only get the information back from
12438         the stack.
12439
12440 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12441
12442         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12443
12444         * LaTeXFeatures.C (getBabelOptions): New method.
12445
12446 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12447
12448         * BufferView_pimpl.C (Dispatch): work around missing argument for
12449         'layout'
12450
12451 2002-05-08  Juergen Vigna  <jug@sad.it>
12452
12453         * text.C (leftMargin): handle paragraph leftindent.
12454
12455         * paragraph.C (writeFile): write the new \\leftindent tag.
12456         (validate): handle leftindent code.
12457         (TeXEnvironment): handle paragraphleftindent code again.
12458
12459         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12460
12461         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12462         for paragrap_extra indent code and new token \\leftindent.
12463         (latexParagraphs): handle the leftindent as environment.
12464
12465         * ParameterStruct.h: added leftindent support.
12466
12467         * ParagraphParameters.C (leftIndent): added support functions for
12468         the paragraph left indent.
12469
12470         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12471         more appropriate.
12472
12473 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12474
12475         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12476         inside insetERT.
12477
12478         * text.C (computeBidiTables): No bidi in insetERT.
12479
12480         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12481         in RTL documents.
12482
12483 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12484
12485         * version.C.in: pre 5
12486
12487 2002-05-02  José Matos  <jamatos@fep.up.pt>
12488         * buffer.C (makeDocBookFile): white space changes, add newline to
12489         command styles.
12490         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12491
12492         * tabular.C (docBook): fix typo.
12493
12494 2002-05-03  Juergen Vigna  <jug@sad.it>
12495
12496         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12497         change in LyXText as we can not be sure it was not freed.
12498         (drawOneRow): remove unused code.
12499
12500         * text.C (drawInset): redo the calculation of the need_break_row as
12501         it could have a row which was already freed.
12502         (draw): look at the return value of drawInset and return false if
12503         it also returned false.
12504         (paintRowText): look at the return value of draw and return false if
12505         it also returned false.
12506
12507         * lyxtext.h: added bool return type to drawInset() and draw() so that
12508         if we have a change in the row so that the rowbreak has to be redone
12509         we abort drawing as it will be called again.
12510
12511 2002-05-02  Juergen Vigna  <jug@sad.it>
12512
12513         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12514         a change in the maintext also if we're inside an inset.
12515         (Dispatch): set the cursor again after a break line and after the
12516         screen has been updated as it could be we're in a different row.
12517
12518         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12519         to set the cursor behind the pargraph with > size().
12520         (setCursor): check also for the same paragraph when checking where
12521         to put the cursor if we have a NFR inset.
12522
12523         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12524         parts of layout read further up as it still was in the wrong
12525         position.
12526
12527 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12528
12529         * screen.C (drawFromTo): change sine fullRebreak always return
12530         true.
12531
12532         * buffer.C (parseSingleLyXformat2Token): reindent some
12533
12534         * BufferView_pimpl.C (update): change since fullRebreak always
12535         return true.
12536         (Dispatch): git rid of the last hardcoded "Standard"s.
12537
12538 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12539
12540         * text2.[Ch] (fullRebreak): make it return void now that we always
12541         returned true.
12542
12543 2002-04-30  Juergen Vigna  <jug@sad.it>
12544
12545         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12546         ert compatibility check for "latex" layout.
12547
12548 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12549
12550         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12551         minipages: use col% instead of p%, and also use the current font.
12552         (makeLaTeXFile): Fix use babel condition.
12553         (parseSingleLyXformat2Token): Correct font when reading old floats.
12554
12555 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12556
12557         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12558         inserting list of floats.
12559
12560 2002-04-25  Herbert Voss  <voss@lyx.org>
12561
12562         * MenuBackend.C (expand): don't add the graphics extensions to the
12563         export menu
12564
12565 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12566
12567         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12568         non-existing layout, do not complain if it was the default layout
12569         of the original class (bug #342)
12570
12571 2002-04-24  Juergen Vigna  <jug@sad.it>
12572
12573         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12574         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12575
12576 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12577
12578         * buffer.C (getBibkeyList): If using \bibliography, return the
12579         option field with the reference itself. Enables us to provide natbib
12580         support when using \bibliography.
12581
12582 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12583
12584         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12585
12586         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12587         natbib is provided by the LaTeX class.
12588
12589 2002-04-23  Juergen Vigna  <jug@sad.it>
12590
12591         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12592         Wakeup functions.
12593
12594         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12595
12596 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12597
12598         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12599
12600         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12601         ensuremath around textordmasculine, textordfeminine and
12602         textdegree.
12603
12604 2002-04-19  Juergen Vigna  <jug@sad.it>
12605
12606         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12607         reinitializing the buffer otherwise row-dimensions may be wrong.
12608         (update): reset also the selection cursors if they do exits otherwise
12609         their x/y positions may be wrong.
12610
12611         * text2.C (cursorDown): don't enter the inset if we came from a row
12612         above and are one row over the inset.
12613
12614         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12615         really leaving an inset.
12616
12617 2002-04-18  Juergen Vigna  <jug@sad.it>
12618
12619         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12620         of the selected paragraph does not have the selected layout also if
12621         the last one had!
12622
12623         * text2.C (setLayout): fixed bug which did not change last selected
12624         paragraph.
12625
12626         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12627         changed the read and substituted \\end_float with \\end_inset!
12628
12629         * BufferView_pimpl.C (cursorPrevious):
12630         (cursorNext): fixed to make it work with rows heigher than the work
12631         area without moving the cursor only the draw of the row.
12632         (workAreaMotionNotify): fix jumping over high rows.
12633
12634 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12635
12636         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12637         Ressler.
12638
12639 2002-04-16  Juergen Vigna  <jug@sad.it>
12640
12641         * text2.C (setCursor): set also the irow().
12642         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12643         (cursorUp):
12644         (cursorDown): support for locking an inset if the x_fix value goes
12645         inside it. That way I can transverse insets too with cursor up/down.
12646
12647         * lyxrow.h: added irow helper function same as other (i) functions.
12648
12649         * BufferView_pimpl.C (cursorPrevious):
12650         (cursorNext): fixed for insets!
12651
12652 2002-04-15  Juergen Vigna  <jug@sad.it>
12653
12654         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12655         position otherwise it is wrong in some cases.
12656
12657         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12658         inside the inset before the call.
12659
12660 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12661
12662         * buffer.[Ch] (getBibkeyList): make it const.
12663
12664 2002-04-12  Juergen Vigna  <jug@sad.it>
12665
12666         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12667
12668         * text2.C (getCursorX): new helper function
12669         (setCursor): compute also ix_
12670         (setCursorFromCoordinates): set also ix.
12671
12672         * lyxcursor.h: added ix_ and helper functions.
12673
12674         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12675
12676         * buffer.C (insertStringAsLines): dont break paragraph if the this
12677         paragraph is inside an inset which does not permit it!
12678
12679         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12680         also with no chars on this paragraph.
12681         (paintRowText): only paint stuff if it's inside the workarea!
12682
12683         * paragraph.C (breakParagraph): honor keepempty flag and break the
12684         paragraph always below not above.
12685
12686         * BufferView2.C (unlockInset): update the paragraph layout on inset
12687         unlock as we changed paragraph in such a case.
12688
12689         * lyxfind.C (LyXFind): clear the former selection if not found!
12690
12691         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12692         again called in insertChar().
12693
12694         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12695         an inset which uses the whole row!
12696         (rightMargin): ditto.
12697         (insertChar): force a rebreak if we inserted an inset!
12698
12699 2002-03-28  Herbert Voss  <voss@lyx.org>
12700
12701         * lyxlength.[Ch]: add inBP() to get the right PS-point
12702         units (BigPoint). With inPixels we have rounding errors
12703
12704 2002-04-11  Juergen Vigna  <jug@sad.it>
12705
12706         * text2.C (setCursorFromCoordinates): set iy to the right value.
12707         (setCursor): add check if row->previous exists!
12708
12709         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12710         an old float_type as this was the case in the old code!
12711
12712         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12713
12714         * BufferView2.C (showLockedInsetCursor): use iy
12715         (fitLockedInsetCursor): ditto
12716
12717         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12718         locked insets as there we have the right value now.
12719
12720         * lyxcursor.C: added iy_ variable and iy functions to set to the
12721         baseline of cursor-y of the locked inset.
12722
12723         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12724         (setCursor): fixed for insets which need a full row.
12725
12726         * text.C (rowLastPrintable): don't ignore the last space when before
12727         an inset which needs a full row.
12728         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12729         as last character of a row when before a inset which needs a full row.
12730
12731 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12732
12733         * version.C.in: update date
12734
12735         * text2.C (fullRebreak): try to always return true and see what
12736         happens...
12737
12738 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12739
12740         * MenuBackend.C (expand): use Floating::listName
12741
12742         * FloatList.C (FloatList): add listName argument to the built-in
12743         floats
12744
12745         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12746         text associated with the float.
12747
12748 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12751
12752 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12753
12754         * ShareContainer.h: add a couple of missing typenames.
12755
12756 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12757
12758         * lyxrc.C (getDescription): use _() correctly rather than N_().
12759
12760 2002-03-28  Herbert Voss  <voss@lyx.org>
12761
12762         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12763         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12764
12765 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12766
12767         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12768         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12769
12770 2002-03-29  Juergen Vigna  <jug@sad.it>
12771
12772         * lyxfunc.C (dispatch): add a missing fitCursor call.
12773
12774         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12775         it was scrolled by a cursor move, so return the bool status.
12776
12777         * BufferView.C (fitCursor): return the bool flag also to the outside
12778         world as this is needed.
12779
12780         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12781
12782         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12783         call the edit() as it is not needed (and wrong) IMO.
12784         (workAreaButtonPress): set the screen_first variable before evt.
12785         unlock the inset as this may change screen_first and then we have
12786         a wrong y position for the click!
12787
12788 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12789
12790         * MenuBackend.C (expand): another translation that I missed
12791
12792 2002-03-28  Juergen Vigna  <jug@sad.it>
12793
12794         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12795
12796         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12797
12798 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12799
12800         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12801
12802         * MenuBackend.C (expand): fix export/view/update when there is no
12803         document open.
12804
12805 2002-03-27  Herbert Voss  <voss@lyx.org>
12806
12807         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12808         and text%
12809
12810 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12811
12812         * bufferview_funcs.C (currentState): only show paragraph number
12813         for is DEVEL_VERSION is set.
12814
12815         * lyxfunc.C (dispatch): put warning in INFO channel
12816
12817         * MenuBackend.C (expand): translate the name of floats
12818
12819         * FloatList.C (FloatList): mark the float names for translation
12820
12821         * converter.C (convert): use LibScriptSearch
12822
12823 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12824
12825         * MenuBackend.C (defaults): fix default menu (we might as well get
12826         rid of it...)
12827
12828 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12831         directory.
12832
12833 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12834
12835         * lyxvc.C: reorder includes.
12836
12837 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12838
12839         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12840           properly
12841
12842 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * CutAndPaste.C: change layouts earlier on paste
12845           to avoid crashing when calling getFont()
12846
12847 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12848
12849         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12850         irritating #error.
12851
12852 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * WorkArea.C: remove 'Pending' debug message.
12855
12856         * most files: ws cleanup
12857
12858         * buffer.[Ch]: ws changes
12859
12860         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12861
12862 2002-03-21  Juergen Vigna  <jug@sad.it>
12863
12864         * tabular.C (SetMultiColumn): collapse also the contents of the
12865         cells and set the last border right. Added a Buffer const * param.
12866
12867 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12870         linking or not.
12871
12872 2002-03-19  Juergen Vigna  <jug@sad.it>
12873
12874         * text2.C (clearSelection): reset also xsel_cache.
12875
12876         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12877         where it needs to be called (John tells us to do so too :)
12878         (selectionLost): reset sel_cache.
12879
12880         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12881
12882 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12883
12884         * text2.C (setCursorIntern): put debuging code in INSETS channel
12885
12886 2002-03-19  André Pönitz <poenitz@gmx.net>
12887
12888         * lyxfunc.C: tiny whitespace change
12889
12890 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12891
12892         * ToolbarDefaults.C (init):
12893         * LyXAction.C (init):
12894         * commandtags.h:
12895         * BufferView_pimpl.C (Dispatch):
12896         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12897
12898 2002-03-19  Allan Rae  <rae@lyx.org>
12899
12900         * exporter.C (Export): removeAutoInsets before doing anything else.
12901         While I've just introduced a dependency on BufferView this really is
12902         the best place to clean the buffer otherwise you need to cleanup in
12903         a dozen places before calling export or cleanup in a dozen functions
12904         that export calls.
12905
12906         * converter.C (runLaTeX):
12907         (scanLog): Better handling of removeAutoInsets and screen updates.
12908
12909         * lyxfunc.C (dispatch): small whitespace changes
12910
12911 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12912
12913         * WorkArea.C (C_WorkAreaEvent): return a value.
12914         (event_cb): return 1 if we handled the event, 0 otherwise.
12915
12916         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12917
12918 2002-03-18  Juergen Vigna  <jug@sad.it>
12919
12920         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12921         (GetAdditionalWidth): ditto.
12922         (RightLine): ditto.
12923         (LeftLine): ditto.
12924
12925         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12926         inset if we're there actually (probably not used right now but this
12927         is the direction to go for unifying code).
12928         (paste): disable code to clear the selection.
12929
12930         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12931         inside an InsetText and move the check further up as it is in the
12932         wrong place.
12933
12934         * text2.C (pasteSelection): set a selection over the pasted text.
12935
12936 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12937
12938         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12939         and libgraphics to build on Cygwin.
12940
12941 2002-03-15  Juergen Vigna  <jug@sad.it>
12942
12943         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12944         inserting an Inset into the paragraph. I know this is not the best
12945         fix but we already use current_view in CutAndPaste so we will remove
12946         all of it's using at the same time.
12947
12948         * buffer.C (sgmlError): deactivated function till it is rewritten in
12949         the right mode, now it can create problems.
12950
12951         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12952         before accessing it.
12953
12954 2002-03-14  Juergen Vigna  <jug@sad.it>
12955
12956         * undo_funcs.C (textHandleUndo): do the right thing when updating
12957         the inset after the undo/redo.
12958
12959         * text2.C (setCursor): just some testcode for #44 not ready yet.
12960
12961         * undo_funcs.C (textHandleUndo): set the next() and previous()
12962         pointers of the paragraph to 0 before deleting otherwise we have
12963         problems with the Paragraph::[destructor].
12964
12965         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12966         on a paragraph insertion.
12967
12968 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * buffer.C (asciiParagraph): use += operator for char append to
12971         string.
12972
12973         * paragraph.C (getFontSettings): compare >= not just >
12974         (highestFontInRange): ditto
12975         (setFont): ditto
12976
12977 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * paragraph.C: change several algorithm to be more appripriate for
12980         the problem domain. This is lookip in FontList and in the InsetList.
12981
12982 2002-03-13  André Pönitz <poenitz@gmx.net>
12983
12984         * commandtags.h:
12985         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12986
12987 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * commandtags.h:
12990         * LyXAction.C:
12991         * lyxfunc.C:
12992         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12993
12994 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12995
12996         * Painter.C (display): anon helper function, adjust code for this
12997         change.
12998         (pixmap): remove function.
12999
13000         * Painter.h: remove private display variable.
13001
13002         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13003
13004 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13005
13006         * WorkArea.[Ch]: remove figinset_canvas cruft.
13007
13008 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * lyxtextclass.C (operator): add one item cache optimization.
13011
13012         * bufferlist.h: doxy changes
13013
13014         * bufferlist.C: ws changes
13015
13016         * DepTable.[Ch] (ext_exist): place const in the right spot.
13017
13018         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13019         call resizeInsets.
13020         (workAreaExpose): call resizeInsets when the with BufferView changes.
13021         (Dispatch): adjust for protectedBlank removal
13022         (specialChar): call updateInset if the insert went ok.
13023
13024         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13025         specialChar instead.
13026
13027         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13028
13029         * BufferView.h: doxy change
13030
13031         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13032
13033         * lyxtextclass.C (operator[]): remove non-const version
13034         (defaultLayout): remove non-const version
13035
13036 2002-03-12  Juergen Vigna  <jug@sad.it>
13037
13038         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13039         did resize the LyXText too.
13040
13041         * buffer.C (readLyXformat2): set layout information on newly allocated
13042         paragraphs.
13043
13044         * tabular.C (OldFormatRead): set layout information on the paragraph.
13045
13046 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13047
13048         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13049
13050 2002-03-11  Juergen Vigna  <jug@sad.it>
13051
13052         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13053         plainly wrong.
13054         (resizeCurrentBuffer): force also the insets to resize themselfes.
13055         (moveCursorUpdate): fixed up for InsetText.
13056
13057 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13058
13059         * commandtags.h:
13060         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13061         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13062         value of Dialogs::tooltipsEnabled().
13063         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13064
13065 2002-03-08  Juergen Vigna  <jug@sad.it>
13066
13067         * BufferView_pimpl.C (updateInset): update inset inside inset also
13068         if it isn't inside theLockingInset().
13069
13070 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * buffer.C (asciiParagraph): redo some of the word and line length
13073         handling.
13074         (getLists): look for Caption instead of caption.
13075
13076 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13077
13078         * buffer.C (Buffer): initialize niceFile to true
13079         (makeLaTeXFile):
13080         (makeLinuxDocFile):
13081         (makeDocBookFile): make sure niceFile is true on exit
13082
13083 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13084
13085         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13086
13087 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13088
13089         * LyXSendto.C: remove.
13090         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13091         * lyx_gui.C: remove now-redundant comment.
13092         * ColorHandler.h: remove forward declaration of class WorkArea.
13093         * lyxfunc.C: remove #include "WorkArea.h".
13094
13095 2002-03-07  Juergen Vigna  <jug@sad.it>
13096
13097         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13098         got moved away with the DEPM and also set the inset_owner always
13099         right which before could have been omitted.
13100
13101 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13102
13103         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13104         wanted layout is not found.
13105
13106 2002-03-07  Juergen Vigna  <jug@sad.it>
13107
13108         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13109
13110 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13111
13112         * paragraph.C (breakParagraph): use default layout not layout of
13113         prev paragraph.
13114         (Paragraph): clear ParagraphParameters.
13115
13116 2002-03-06  Juergen Vigna  <jug@sad.it>
13117
13118         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13119         otherwise it would not be a valid lenght. Fixed a special case in
13120         the minipage compatibility read where we end the document with a
13121         minipage.
13122
13123         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13124         was set as it could be 0 for InsetTexts first entry.
13125
13126 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * paragraph.C (writeFile): if layout is empty write out
13129         defaultLayoutName().
13130
13131         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13132         file without named layout we set layout to defaultLayoutName().
13133
13134 2002-03-06  Juergen Vigna  <jug@sad.it>
13135
13136         * CutAndPaste.C (copySelection): set layout for new paragraph.
13137
13138         * text.C (prepareToPrint): leave ERT inset left aligned
13139         (leftMargin): don't indent paragraphs inside ERT insets
13140
13141 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13142
13143         * paragraph.C (breakParagraph): dont call clear do the work manually
13144
13145         * paragraph.[Ch] (clear): remove function
13146
13147 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13148
13149         * paragraph.C (Paragraph): dont call clear, the work has already
13150         been done.
13151
13152         * lyxtextclass.C (operator): assert if n is empty
13153
13154         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13155         work manually instead.
13156
13157 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * BufferView_pimpl.C: protect selectionLost against text == 0
13160
13161 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13162
13163         * text.C (breakParagraph): fix a setting layout to '0' problem.
13164
13165 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13166
13167         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13168         final location of file, for the included files, and graphics.
13169
13170 2002-03-05  Juergen Vigna  <jug@sad.it>
13171
13172         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13173
13174 2002-03-04  Juergen Vigna  <jug@sad.it>
13175
13176         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13177
13178         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13179         last column of multicolumn cells.
13180         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13181
13182 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13183
13184         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13185         file if it doesn't go to a temporary file.
13186
13187         * buffer.C (sgmlOpenTag):
13188         (sgmlCloseTag):  remove extra newline insertion.
13189
13190 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13191
13192         * text.C (getRowNearY): comment out debug msg
13193
13194 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13195
13196         * text2.C: first -> first_y
13197
13198         * text.C (getRowNearY): add some attemts at a possible
13199         optimization, not working.
13200
13201         * tabular.[Ch]: add BufferParams to several function so that newly
13202         created paragraph can be initialized to he default layotu for the
13203         buffers textclass.
13204
13205         * tabular-old.C (ReadOld): add buf->params to call of Init
13206
13207         * screen.C: rename text->first to text->first_y
13208
13209         * paragraph.C (breakParagraph): always set layout in the broken
13210         paragraph
13211
13212         * lyxtextclass.C (Read): remove lowercase
13213         (hasLayout): ditto
13214         (operator): ditto
13215         (delete_layout): ditto
13216
13217         * lyxtext.h: rename first -> first_y
13218
13219         * lyxlayout.C (Read): remove lowercase
13220         (name): ditto
13221         (setName): ditto
13222         (obsoleted_by): ditto
13223
13224         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13225
13226         * buffer.C (insertErtContents): add params are to InsetERT
13227         (parseSingleLyXformat2Token): add code to check if a paragraphs
13228         layout really exist.
13229         (parseSingleLyXformat2Token): add params to several inset
13230         constructors
13231         (asciiParagraph): remove lowercase, do the layout comparisons with
13232         no_case
13233
13234         * BufferView_pimpl.C (cursorNext): first -> first_y
13235         (resizeCurrentBuffer): first -> first_y
13236         (updateScrollbar): first -> first_y
13237         (scrollCB): first -> first_y
13238         (workAreaMotionNotify): first -> first_y
13239         (workAreaButtonPress): first -> first_y
13240         (checkInsetHit): first -> first_y
13241         (cursorPrevious): first -> first_y
13242         (cursorNext): first -> first_y
13243         (Dispatch): add buffer_->params to severl inset contructors
13244
13245 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13246
13247         * lyxlayout.C (Read): remove some debug info that I forgot.
13248
13249         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13250         clean up the code slightly.
13251         (makeLinuxDocFile): ditto
13252         (makeDocBookFile): ditto
13253
13254         * text2.C: layout as string
13255
13256         * text.C: layout as string
13257
13258         * paragraph_pimpl.C: layout as string
13259
13260         * paragraph.[Ch]: layout as string
13261
13262         * lyxtextclasslist.[Ch]: layout as string
13263
13264         * lyxtextclass.[Ch]: layout as string
13265
13266         * lyxtext.h: layout as string
13267
13268         * lyxlayout.[Ch]: layout as string
13269
13270         * lyx_cb.C: layout as string
13271
13272         * bufferview_funcs.C: layout as string
13273
13274         * bufferparams.C: layout as string
13275
13276         * buffer.C: layout as string
13277
13278         * LyXView.[Ch]: layout as string
13279
13280         * LaTeXFeatures.[Ch]: layout as string
13281
13282         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13283
13284         * BufferView_pimpl.C: change current_layout to string, remove
13285         lyx::layout_type.
13286         (Dispatch):
13287         (smartQuote):
13288         (insertInset):
13289         (workAreaButtonRelease): layout as string
13290
13291         * BufferView2.C (unlockInset): adjust
13292
13293         * vspace.C (asLatexCommand): use an explict temp variable.
13294
13295 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13296
13297         * Makefile.am: use FRONTEND_*
13298
13299 2002-03-01  Juergen Vigna  <jug@sad.it>
13300
13301         * tabular.C (SetWidthOfMulticolCell): changed to something better
13302         I hope but still work in progress.
13303         (recalculateMulticolumnsOfColumn): renamed function from
13304         recalculateMulticolCells as it is more appropriate now.
13305         (SetWidthOfCell): calculate multicols better.
13306
13307 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13308
13309         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13310
13311         * lyxfunc.C (processKeySym): print sequence also if it is
13312         `deleted' (complete)
13313
13314         * kbsequence.C (print): print sequence even if it is deleted
13315         (complete would be a better word, actually).
13316
13317         * lyxfunc.C (dispatch): print complete options after a prefix key
13318
13319         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13320
13321 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13322
13323         * text2.C (setCharFont): eliminate setCharFont code duplication.
13324
13325 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13326
13327         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13328         LFUN_TABULAR_FEATURE (bug #177)
13329
13330 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13331
13332         * Makefile.am: remove figure.h
13333
13334 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13335
13336         * Bufferview_pimpl.C:
13337         * CutAndPasteC:
13338         * LaTeX.C:
13339         * LyXSendto.C:
13340         * buffer.C:
13341         * bufferlist.C:
13342         * converter.C:
13343         * language.C:
13344         * lyxfunc.C:
13345         * lyxvc.C:
13346         * paragraph.C:
13347         * text.C:
13348         * text2.C: remove #include "lyx_gui_misc.h".
13349
13350         * LaTeX.C: added #include <cstdio>
13351
13352 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13353
13354         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13355         that the paragraph following this one can have.
13356
13357         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13358
13359         * vspace.C (asLatexCommand): fix bogus gcc warning
13360
13361         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13362
13363 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13364
13365         * text2.C (setLayout): get rid of redundant code
13366
13367 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13368
13369         * text2.C (incDepth): make sure depth cannot be increased beyond
13370         reasonable values.
13371
13372 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13373
13374         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13375         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13376
13377         * PainterBase.h (image):
13378         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13379         a LyXImage const *.
13380
13381 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13382
13383         * BufferView.C:
13384         * BufferView.h:
13385         * BufferView_pimpl.C:
13386         * BufferView_pimpl.h:
13387         * LaTeXFeatures.C:
13388         * LyXAction.C:
13389         * LyXView.C:
13390         * Makefile.am:
13391         * UpdateList.h:
13392         * UpdateList.C:
13393         * buffer.C:
13394         * figure.h:
13395         * figureForm.C:
13396         * figureForm.h:
13397         * figure_form.C:
13398         * figure_form.h:
13399         * lyx_cb.C:
13400         * lyx_gui.C:
13401         * lyx_gui_misc.C:
13402         * lyxfunc.C:
13403         * sp_base.h:
13404         * sp_ispell.h:
13405         * sp_pspell.h:
13406         * sp_spell.C: remove fig inset, and the crap house of
13407           cards that follows it
13408
13409 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13410
13411         * Makefile.am:
13412         * lyxserver.C:
13413         * os2_defines.h:
13414         * os2_errortable.h:
13415         * nt_defines.h: move .h into support/
13416
13417         * vms_defines.h: remove
13418
13419         * WorkArea.C: add space in debug output
13420
13421         * text2.C:
13422         * paragraph.C:
13423         * buffer.C: add WITH_WARNINGS
13424
13425         * vc-backend.h:
13426         * vc-backend.C:
13427         * bufferlist.C: s/retrive/retrieve/, add docs
13428
13429         * vspace.h:
13430         * vspace.C:
13431         * kbmap.h:
13432         * lyxlength.h:
13433         * lyxgluelength.h:
13434         * length_common.h:
13435         * chset.h:
13436         * chset.C: add docs
13437
13438         * lyxgui.C: add ID to X error handler
13439
13440         * lyxtestclass.c: fix typo
13441
13442 2002-02-26  Juergen Vigna  <jug@sad.it>
13443
13444         * tabular_funcs.C (write_attribute): changed so that some default
13445         attributes are not written at all.
13446         (getTokenValue): set default values before trying to read the
13447         value so we have the return value always set as default if we don't
13448         find the token we search for.
13449
13450         * tabular.C (Write): write bools as bools not as strings!
13451
13452 2002-02-22  Juergen Vigna  <jug@sad.it>
13453
13454         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13455         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13456
13457         * text.C (leftMargin): don't add an indent for paragraphs inside
13458         tabular cells (fix #208).
13459
13460 2002-02-21  José Matos  <jamatos@fep.up.pt>
13461
13462         * tabular.C (docBook): fixed support for long tables.
13463
13464 2002-02-20  Juergen Vigna  <jug@sad.it>
13465
13466         * text2.C (getFont): get the drawing font of the Inset if this
13467         paragraph is inside an inset (only important for InsetERT for now).
13468
13469         * buffer.C (insertErtContents): use new lanugage params in ERT
13470         constructor.
13471
13472         * CutAndPaste.C: commenting out seemingly uneeded code.
13473
13474 2002-02-19  Allan Rae  <rae@lyx.org>
13475
13476         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13477         Iterators might be simple to use but they also get invalidated.
13478         (removeAutoInsets): renamed saved cursor tracking variables and added
13479         some comments to clarify what everything does.
13480
13481 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13482
13483         * Chktex.C:
13484         * LaTeX.C:
13485         * LyXSendto.C:
13486         * converter.C:
13487         * lyx_cb.C:
13488         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13489         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13490
13491         * lyxfunc.C:
13492         * vc-backend.h: remove #include "support/syscall.h"
13493
13494         * LaTeX.C:
13495         * LyXSendto.C:
13496         * converter.C: rearrange #includes in Lars' approved fashion.
13497
13498         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13499         forward declare class Timeout in the header file.
13500
13501         * XFormsView.C: changes due to the above.
13502
13503         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13504         similar to LyXView.
13505
13506         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13507         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13508
13509 2002-02-18  José Matos  <jamatos@fep.up.pt>
13510
13511         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13512         insets contents.
13513
13514 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13515
13516         * a lot of small ws changes
13517         * add a lot of using std::XXX
13518         * use std construcs some places where approp.
13519         * use some exisint stuff from lyxfunctional where approp.
13520         * Make file changes to use partial linking (lets test this now...)
13521
13522 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13523
13524         * Chktex.C:
13525         * buffer.C:
13526         remove #include "support/syscontr.h" as it's redundant. Always has been.
13527
13528         * Chktex.C:
13529         * LaTeX.C:
13530         * LyXSendto.C:
13531         * converter.C:
13532         * lyx_cb.C:
13533         * vc-backend.C:
13534         change Systemcalls::System to Systemcalls::Wait and
13535         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13536         No change of functionality, just reflects the stripped down Systemcalls
13537         class.
13538
13539 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13540
13541         * debug.[Ch]: add a GRAPHICS type to the enum.
13542
13543 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13544
13545         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13546
13547         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13548         there is an inset.
13549
13550 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13551
13552         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13553         match the changes below.
13554
13555         * text2.C (toggleInset): if there is not editable inset at cursor
13556         position, try to see if cursor is _inside_ a collapsable inset
13557         and close it.
13558
13559 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13560
13561         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13562         document menu has a nice checkbox
13563
13564 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13565
13566         * lyxlength.C (asLatexString): change PW to output as percent of
13567         \textwidth.
13568
13569         * lengthcommon.C: change '%' to 't%'
13570
13571         * lyxfunc.C (dispatch): a few comments from Martin
13572
13573 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13574
13575         * WorkArea.h:
13576         * WorkArea.C:
13577         * BufferView_pimpl.h:
13578         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13579           the X selection.
13580
13581 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13582
13583         * vspace.C (inPixels): fix compiler warning
13584
13585 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13586
13587         * lyxfunc.C (getStatus): fix status message for disabled commands.
13588
13589 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13590
13591         * BufferView_pimpl.C: fix crash on close buffer
13592         during selection (#227)
13593
13594 2002-01-27  Herbert Voss  <voss@lyx.org>
13595
13596         * buffer.C: link old Figure to new graphic inset
13597
13598 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13599
13600         * FontLoader.C (getFontinfo): Change the latex font names in order
13601         to match the names of type1inst.
13602
13603 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13606
13607         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13608         (extchanged): ditto
13609         (ext_exist): ditto
13610         (remove_files_with_extension): ditto
13611         (remove_file): ditto
13612         (write): ditto
13613
13614         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13615         document is smaller than the work area height. Do not initialize
13616         static variables to 0.
13617
13618 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13619
13620         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13621
13622         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13623         LFUN_LAYOUT_PARAGRAPHS.
13624
13625         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13626         tabular. It is possible to provide a possible cell, which will
13627         typically be the actcell from the corresponding insettabular
13628
13629         * lyxfunc.C (getStatus): small cleanup; disable
13630         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13631         true
13632
13633 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13634
13635         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13636
13637         * paragraph.C (startTeXParParams):
13638         (endTeXParParams): new methods. The LaTeX code to
13639         start/end paragraph formatting
13640         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13641         empty (fixes bug #200)
13642
13643         * vspace.C (inPixels): adapt to the change below
13644         (inPixels): [later] more cleanups (remove unused variables)
13645
13646         * lyxlength.C (inPixels): change to use a width and a height as
13647         parameter.
13648
13649 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13650
13651         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13652         Replaced with \paperwidth
13653
13654         * DepTable.C (insert): add std:: qualifier
13655
13656 2002-01-18  Allan Rae  <rae@lyx.org>
13657
13658         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13659         updated also?
13660
13661         * text.C (drawInset): Turned out I didn't know enough about how
13662         rebreaking worked.  This fixes most of the redraw problems.  I see
13663         an occasional cursor trail when a line is broken now and the cursor
13664         placement can seem out by a few pixels also after a rebreak.
13665
13666 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13667
13668         * buffer.C (parseSingleLyXformat2Token): update because minipage
13669         width is now a LyXLength
13670
13671         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13672
13673         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13674         math insets
13675
13676 2002-01-17  Juergen Vigna  <jug@sad.it>
13677
13678         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13679
13680         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13681         is set correctly and the inset is updated correctly.
13682
13683 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13684
13685         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13686         the beginning of the loop.
13687
13688 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13689
13690         * lyxrc.C: improve help for use_scalable_fonts
13691
13692 2002-01-17  Allan Rae  <rae@lyx.org>
13693
13694         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13695
13696 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13697
13698         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13699         make sure to set their inset_owner to the right value (bug #171)
13700
13701 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13702
13703         * DepTable.h
13704         * DepTable.C: Implement mtime checking to reduce time spent doing
13705         CRCs.
13706
13707 2002-01-16  Juergen Vigna  <jug@sad.it>
13708
13709         * tabular.C (GetAdditionalHeight): one of error fixed.
13710
13711         * lyxrc.C (output): small fix in writing use_pspell.
13712
13713 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13714
13715         * sp_base.h: #include LString.h
13716
13717 2002-01-16  Allan Rae  <rae@lyx.org>
13718
13719         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13720         Can someone check this please?
13721
13722         * text.C (drawInset): It was possible that p.row would be removed by
13723         breakAgainOneRow upsetting a few other settings.  There may be another
13724         small tweak possible by setting need_break_row = 0 when p.row has been
13725         removed but I don't know enough about the logic here.
13726
13727 2002-01-15  Allan Rae  <rae@lyx.org>
13728
13729         * text.C (insertChar): removed conditional truism.
13730
13731         * BufferView2.C (removeAutoInsets): More tweaks.
13732         cur_par_prev could be a stray pointer.  Check for trailing empty line
13733         in case last line was cur_par and only had an error inset on it.
13734
13735 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13736
13737         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13738         absolute
13739
13740         * vc-backend.C (most methods):
13741         * exporter.C (Export):
13742         * converter.C (convert):
13743         (runLaTeX):
13744         * LyXSendto.C (SendtoApplyCB):
13745         * lyxfunc.C (dispatch):
13746         (menuNew):
13747         (open):
13748         (doImport):
13749         * lyx_cb.C (AutoSave):
13750         (InsertAsciiFile):
13751         * BufferView_pimpl.C (MenuInsertLyXFile):
13752         * buffer.C (runChktex): use Buffer::filePath().
13753
13754         * buffer.h: rename filename to filename_; rename filepath to
13755         filepath_ and make it private
13756         (filePath): new method
13757
13758         * buffer.C (writeFile): use fileName()
13759         (getLatexName):
13760
13761         * lyx_main.C (init): fix starting  of LyX when the binary is a
13762         link from so,ewhere else.
13763
13764         * minibuffer.C: include <cctype> for isprint
13765
13766 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13767
13768         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13769         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13770         name clash with InsetCollapsable's width function.
13771
13772 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13773
13774         * lastfiles.C: include <iterator>
13775
13776 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13777
13778         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13779         std::count.
13780
13781         * buffer.C (makeLaTeXFile): ditto.
13782         Also make loop operation more transparent.
13783
13784 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13785
13786         * ToolbarDefaults.C: remove trailing comma closing namespace.
13787
13788         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13789
13790         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13791         as in WorkArea.
13792
13793         * trans.C (Load): comment out unused variable, allowed.
13794
13795 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13796
13797         * minibuffer.[Ch] (append_char): new method to recieve input from the
13798         drop-down completion browser. If a key was pressed, then recieve this
13799         char and append it to the existing string.
13800         (peek_event): modify the positioning data passed to the completion
13801         browser so that it can be placed above the minibuffer rather than below.
13802 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * LyXAction.C (init): alloe error-next for readonly documents.
13805
13806         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13807         count.
13808
13809 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13810
13811         * bufferlist.C (readFile): create the buffer _after_ checking that
13812         the file exists.
13813
13814         * lyxfunc.C (verboseDispatch): fix handling of arguments
13815
13816         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13817
13818         * lyxrc.C: use string::erase() instead of initializing to "".
13819
13820
13821 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13822
13823         * BufferView_pimpl.h:
13824         * BufferView_pimpl.C:
13825         * WorkArea.h:
13826         * WorkArea.C:
13827         * text2.C: tell X when we have made a selection for copying
13828
13829 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13830
13831         * BufferView_pimpl.C (MenuInsertLyXFile):
13832         * lyxfunc.C (menuNew):
13833         (open):
13834         (doImport): add shortcuts to directory buttons
13835
13836         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13837         open a float)
13838
13839         * lyxfunc.C (setStatusMessage):
13840         (getStatusMessage): new methods
13841         (getStatus):use setStatusMessage instead of setErrorMessage
13842         (dispatch): when function is disabled, set error message here
13843         [instead of in getStatus previously]
13844
13845         * BufferView_pimpl.C (workAreaButtonRelease): update
13846         toolbar/menubar here too.
13847
13848 2002-01-13  Allan Rae  <rae@lyx.org>
13849
13850         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13851         Now seems indestructible.  Remaining task is to audit all other
13852         code affected by deleteEmptyParagraphMechanism.  One small quirk
13853         left is that an empty document with an error in the preamble can
13854         be made to report an error but no error box appears.  I don't know
13855         where it goes.
13856         (removeAutoInsets): Improved comments.
13857
13858 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13859
13860         * Thesaurus.h:
13861         * Thesaurus.C: update for Aiksaurus 0.14
13862
13863 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13864
13865         * text2.C (firstParagraph): removed member function, all uses
13866         replaces with ownerParagraph
13867         (redoParagraphs): here
13868         (updateInset): here
13869         (toggleAppendix): here
13870         * BufferView2.C (insertErrors): here
13871         (setCursorFromRow): here
13872
13873 2002-01-13  Allan Rae  <rae@lyx.org>
13874
13875         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13876         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13877         There is still a way to segfault this although you may have to do this
13878         multiple times: Have an InsetERT with an unknown command in it.
13879         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13880         <down-arrow>, <Enter> again, View->DVI, BANG!
13881
13882         * text2.C (setCursor):
13883         (deleteEmptyParagraphMechanism):
13884         * lyxtext.h (setCursor):
13885         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13886         Making use of the return value may help fix other bugs.
13887
13888 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13889
13890         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13891
13892         * LyXView.C (updateMenubar): call MenuBar::update here
13893         (updateToolbar): but not here
13894         (showState): do not update toolbar/menubar
13895
13896         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13897         should need to care about that.
13898
13899         * lyxfunc.C (verboseDispatch): simplify a bit
13900         (getStatus): have a version which takes a pseudoaction, and
13901         another which requires a (kb_action,string).
13902
13903         * LyXAction.C (retrieveActionArg): make it work also when action
13904         is not a pseudo-action.
13905         (getActionName): simplify a bit
13906         (helpText):
13907
13908 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13909
13910         * lyxfunc.C (verboseDispatch): new families of methods with
13911         several ways to specify a command and a bool to indicate whether
13912         the command name and shortcut should be displayed in minibuffer
13913         (eventually, we could extend that to a finer bitmask like
13914         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13915         (dispatch): the pristine dispatch command which just, well,
13916         dispatchs! Note it still sets its result to minibuffer; I'm not
13917         sure we want that.
13918
13919         * lyxfunc.h: remove setHintMessage
13920
13921         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13922
13923 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13924
13925         * BufferView_pimpl.C (specialChar): delete new inset if we have
13926         not been able to insert it.
13927
13928         * kbmap.C: revert to using int instead of kb_action, since all we
13929         are dealing with is pseudo-actions.
13930
13931         * LyXAction.C (searchActionArg): change to return int instead of
13932         kb_action, since the result is a pseudoaction.
13933
13934 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13935
13936         * buffer.C (insertErtContents): Fix (partially) the font bug.
13937
13938 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13939
13940         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13941         as the other one is broken on my machine!
13942
13943 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13944
13945         * commandtags.h:
13946         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13947
13948 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13949
13950         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13951         reflect their actual use. Provide compatibility code for older lyxrc
13952         files.
13953
13954         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13955         FL_NORMAL_STYLE.
13956         change names of popup font variables in line with the changes to lyxrc.C
13957
13958 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13959
13960         * buffer.C (asciiParagraph): avoid outputing a word twice after
13961         an inset.
13962
13963         * lyxrc.C (getDescription): document that document_path and
13964         template_path can be empty.
13965
13966 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13967
13968         * LaTeXFeatures.C (getMacros):
13969         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13970
13971         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13972
13973         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13974         getPackages.
13975         (getPackages): rename feature "floats" to "float". Use an array to
13976         iterate over 'simple' features (i.e. just a \usepackage). Add
13977         handling of "amsmath" (renamed from "amsstyle").
13978
13979 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13980
13981         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13982         features list.
13983
13984 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13985
13986         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13987         FuncStaus::FuncStatus & FuncStaus::some_method().
13988
13989 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13990
13991         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13992         of the func_satus stuff. Edited and massaged in various ways by
13993         JMarc.
13994
13995         * lyxfunc.C (getStatus): use FuncStatus
13996
13997 2002-01-08  Juergen Vigna  <jug@sad.it>
13998
13999         * text.C (nextBreakPoint): use function Inset::isChar().
14000
14001         * paragraph.C (TeXOnePar): use function
14002         Inset::forceDefaultParagraphs.
14003
14004         * buffer.C (latexParagraphs): use function
14005         Inset::forceDefaultParagraphs.
14006
14007 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14008
14009         * lyx_gui.C (init): set the style of the menu popups to
14010         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14011
14012 2002-01-07  Juergen Vigna  <jug@sad.it>
14013
14014         * text.C (setHeightOfRow): small fix
14015         (prepareToPrint): don't look at alignment if we don't have the place
14016         for doing it.
14017
14018 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14019
14020         * box.C: New file. Move the Box methods and functions out of box.h,
14021         following Lars' suggestion.
14022
14023 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14024
14025         * box.h: #include "support/LOstream.h", needed for inlined function.
14026
14027         * lyxtextclass.C:
14028         * lyxtextclasslist.C: added some using std declarations.
14029
14030 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14031
14032         * box.h: make signed dimensions to allow insets wider than
14033           the screen (bug #162)
14034
14035         * BufferView_pimpl.C: add some insetHit debug
14036
14037 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14038
14039         * vc-backend.C: add FIXME
14040
14041 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14042
14043         * lyxfunc.C (getStatus): enable code for showing math font status
14044         in toolbar/menu.
14045
14046 2002-01-07  Juergen Vigna  <jug@sad.it>
14047
14048         * text.C (nextBreakPoint): removed debug output not needed anymore.
14049
14050 2002-01-06  Juergen Vigna  <jug@sad.it>
14051
14052         * text.C (nextBreakPoint): fixed up this function we had this bug
14053         since ever but now hopefully we break row better.
14054         (insertChar): we have to check if an inset is the next char as it
14055         could now happen that a large inset is causing a break.
14056
14057 2002-01-05  Juergen Vigna  <jug@sad.it>
14058
14059         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14060         if it doesn't like to be drawed.
14061
14062 2002-01-04  Juergen Vigna  <jug@sad.it>
14063
14064         * BufferView2.C (lockInset): forgot to set a cursor.
14065
14066         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14067
14068 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14069
14070         * FormMathsPanel.C:
14071         * FormMathsPanel.h
14072         * MathsSymbols.C:
14073         * form_maths_panel.C:
14074         * form_maths_panel.h:
14075         * form_maths_panel.fd: implemented sub- and super- buttons in math
14076         panel.
14077
14078         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14079         (or ^ space) to be used as in TeX (req'd by Andr�.
14080
14081         * lyxfunc.C: Allow ^ and _ again to be used both as
14082         super/subscript (mathed) and as themselves (in text).
14083
14084 2002-01-03  Allan Rae  <rae@lyx.org>
14085
14086         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14087         "LyX" or the filename of the current buffer if it has one.  This is a
14088         modified form of John Levon's patch.
14089
14090         * XFormsView.C (setWindowTitle): also set icon title.
14091
14092         * LyXView.h (setWindowTitle): signature changed.
14093         * XFormsView.h (setWindowTitle): ditto.
14094
14095 2002-01-02  Juergen Vigna  <jug@sad.it>
14096
14097         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14098
14099 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14100
14101         * screen.C (topCursorVisible): introduce a temp var for
14102         text->cursor.row(), handle the case where this row is null. (kindo
14103         hachish)
14104
14105         * text2.C (setCursor): add a couple of asserts.
14106
14107         * paragraph.h (inset_iterator): add -> operator
14108
14109         * paragraph.[Ch] (autoDeleteInsets): remove member function
14110
14111         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14112         cursor pos correctly and handle inset deletion by itself.
14113         (insertErrors): move iterator declaration out of for expression
14114
14115         * lyxtextclass.C: add <algorithm>
14116
14117         * Makefile.am: added the new files to sources, removed layout.C
14118
14119         * layout.C: removed file
14120
14121         * layout.h: remove LYX_DUMMY_LAYOUT
14122
14123         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14124         layout.
14125
14126         * lyxlayout.[Ch]:
14127         * lyxtextclass.[Ch]:
14128         * lyxtextclasslist.[Ch]: new files
14129
14130         * include order changes to a lot of files, also changes because of
14131         the six new files.
14132
14133 2001-12-27  Juergen Vigna  <jug@sad.it>
14134
14135         * buffer.C (asciiParagraph): more fixes.
14136
14137         * tabular.C (ascii): make ascii export support export of only the
14138         data separated by a column-delimiter.
14139         (ascii): better support for ascii export.
14140
14141         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14142
14143 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14144
14145         * tabular_funcs.C: use a "using std::getline" instead of the
14146         previous fix from Angus (necessary for cxx + lyxstring)
14147
14148 2001-12-24  Juergen Vigna  <jug@sad.it>
14149
14150         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14151
14152         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14153         problems. First check a minipage also if we have some ert-contents
14154         (not only on par->size(), second set the right depth of the paragraph
14155         on the relink to the root-paragraph-list!
14156
14157         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14158         which then did not anymore update the main paragraphs on undo/redo!
14159
14160 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14161
14162         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14163         code. Support all font-changing funcs (even those which are not in
14164         menu currently). Support for reporting font settings in
14165         mathed (disabled until Andre provides a function on mathed's side).
14166
14167         * func_status.h (toggle): small helper function to set toggle
14168         state on a flag.
14169
14170 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14171
14172         * tabular_funcs.C: getline -> std::getline
14173
14174 2001-12-21  Juergen Vigna  <jug@sad.it>
14175
14176         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14177         accessed and could be 0 (I couldn't generate this but it seems
14178         Michael could!).
14179
14180 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14183         * tabular_funcs.h: here and include iosfwd
14184
14185 2001-12-20  Juergen Vigna  <jug@sad.it>
14186
14187         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14188         inside inset but undo_par was.
14189
14190 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14191
14192         * Thesaurus.C: always include <config.h> in sources.
14193
14194         * Painter.h:
14195         * lyxlookup.h:
14196         * box.h: do not include <config.h> in header files
14197
14198         * text.C (paintLastRow): remove unused variable
14199
14200         * text.C (transformChar):
14201         (insertChar):
14202         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14203
14204         * Painter.C (text):
14205         * font.C (width): rewrite to use uppercase() instead of
14206         islower/toupper.
14207
14208         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14209
14210 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14211
14212         * lyxfind.C: clean up of find failure position change
14213
14214 2001-12-20  Juergen Vigna  <jug@sad.it>
14215
14216         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14217
14218         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14219         (TeXRow): added to LaTeX a single tabular row.
14220         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14221         (Latex): simplified and finally good LT-h/f support.
14222         (various_functions): just small adaptions for LT-h/f support.
14223
14224         * tabular_funcs.[hC]: added and moved here all not classfunctions
14225         of LyXTabular.
14226
14227 2001-12-19  Juergen Vigna  <jug@sad.it>
14228
14229         * tabular.[Ch]: better support for longtabular options (not finished
14230         yet!)
14231
14232 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14233
14234         * text.C (paintLastRow): use the label font instead of the font of
14235         the last character to compute the size of *_BOX. This makes more
14236         sense and avoids a crash with empty paragraphs.
14237         Use Painter::rectangle to draw EMPTY_BOX.
14238
14239 2001-12-19  Juergen Vigna  <jug@sad.it>
14240
14241         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14242         the paragraphs if the replaced paragraph is not the first one!
14243         Tried to delete not used paragraphs but does not work yet so for
14244         now it's inside #ifdef's and by default off!
14245
14246 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14247
14248         * MenuBackend.C: include "lyx_main.h" instead of declaring
14249         lastfiles (actually was declared as LastFiles* instead of a
14250         scoped_ptr).
14251
14252 2001-12-17  Juergen Vigna  <jug@sad.it>
14253
14254         * tabular.C (AppendColumn): applied John's fix
14255
14256 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * BufferView.h:
14259         * BufferView.C:
14260         * BufferView_pimpl.h:
14261         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14262
14263         * Makefile.am:
14264         * box.h: new start of class for above
14265
14266         * lyxfunc.C: ignore space-only minibuffer dispatches.
14267           Show the command name when it doesn't exist
14268
14269         * minibuffer.C: don't add empty lines to the history
14270
14271         * minibuffer.C: add a space on dropdown completion
14272
14273 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14274
14275         * text.C: fix line above/below drawing in insets
14276
14277 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14278
14279         * lyxlength.C (LyXLength): Initialize private variables.
14280
14281 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14282
14283         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14284         when inserting error insets.
14285
14286 2001-12-13  Juergen Vigna  <jug@sad.it>
14287
14288         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14289         actually sometimes the before-paragraph.
14290         (setUndo): don't clear the redostack if we're not actually undoing!
14291
14292 2001-12-06  Juergen Vigna  <jug@sad.it>
14293
14294         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14295         and fixed redoing of main paragraph, so we can use it now ;)
14296
14297         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14298
14299 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14300
14301         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14302         Juergen's request
14303
14304 2001-12-13  André Pönitz <poenitz@gmx.net>
14305
14306         * undostack.[Ch]:
14307         * undo_func.C: minor cleanup
14308
14309 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14310
14311         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14312         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14313         font in urw-fonts package which is marked as -urw-fontspecific and
14314         does not work (incidentally, changing the encoding in the
14315         fonts.dir of this package to -adobe-fontspecific fixes the
14316         problem).
14317
14318         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14319         is a crash when undoing first paragraph (Juergen, please take a
14320         look). THis does not mean the undo fix is wrong, just that it
14321         uncovers problems.
14322
14323         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14324         the (Paragraph*) version when needed instead of duplicating the
14325         code.
14326
14327         * text.C (workWidth): use Inset::parOwner to find out where the
14328         inset has been inserted. This is a huge performance gain for large
14329         documents with lots of insets. If Inset::parOwner is not set, fall
14330         back on the brute force method
14331
14332         * paragraph_pimpl.C (insertInset):
14333         * paragraph.C (Paragraph):
14334         (cutIntoMinibuffer): set parOwner of insets when
14335         inserting/removing them
14336
14337         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14338
14339 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14340
14341         * commandtags.h:
14342         * LyXAction.C:
14343         * lyx_main.C:
14344         * lyxfunc.C:
14345         * mathed/formulabase.C:
14346         * mathed/math_cursor.[Ch]:
14347         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14348
14349
14350 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14351
14352         * lyxlength.[Ch] (operator!=): new function
14353
14354 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14355
14356         * text.C (workWidth): use Inset::parOwner to find out where the
14357         inset has been inserted. This is a huge performance gain for large
14358         documents with lots of insets. If Inset::parOwner is not set, fall
14359         back on the brute force method
14360
14361         * paragraph_pimpl.C (insertInset):
14362         * paragraph.C (Paragraph):
14363         (cutIntoMinibuffer): set parOwner of insets when
14364         inserting/removing them
14365
14366         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14367
14368 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14369
14370         * tabular-old.C (getTokenValue):
14371         * tabular.C (getTokenValue):
14372         (write_attribute): new versions for LyXLength
14373         (everywhere): adjust the use of widths
14374
14375         * tabular.h: change the type of widths from string to LyXLength
14376
14377 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14378
14379         * paragraph.C: fixed missing line number count when exporting
14380         Environments to LaTeX file
14381
14382         * buffer.C: added informational message for checking line numbers.
14383
14384 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14385
14386         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14387         paragraph, do the 'double space' part, but not the 'empty
14388         paragraph' one.
14389
14390         * text.C (workWidth): small optimization
14391         (getLengthMarkerHeight): use minimal size for negative lengths.
14392
14393 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14394
14395         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14396
14397         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14398
14399 2001-12-11  André Pönitz <poenitz@gmx.net>
14400
14401         * FontLoader.C:
14402         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14403
14404 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * text2.C: keep selection on a setFont()
14407
14408 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14409
14410         * lyx_cb.C: another bv->text misuse, from insert label
14411
14412 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14413
14414         * kbsequence.h:
14415         * kbsequence.C: re-instate nmodifier mask
14416
14417 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14418
14419         * lyx_main.h: make lyxGUI private.
14420
14421 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14422
14423         * lyxfind.C: place the cursor correctly on failed search
14424
14425 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14426
14427         * text.C (getLengthMarkerHeight): for small heights, the arrows
14428         are not always on top/bottom of the text
14429         (drawLengthMarker): smaller arrows; take the left margin in
14430         account; draw also vfills.
14431         (paintFirstRow):
14432         (paintLastRow): remove special code for vfill and standard spaces,
14433         since everything is handled in drawLengthMarker now.
14434
14435 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * buffer.C (insertErtContents): try to handle font and language
14438         interaction a bit better.g
14439
14440         * ColorHandler.C (updateColor): change the hash to cover the whole
14441         LColor enum, ws cleanup
14442         (getGCLinepars): ditto
14443         (getGCLinepars): only lookup in the linecache once.
14444
14445 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14446
14447         * iterators.C (operator++): Make the iterator more robust
14448
14449         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14450         (John's patch)
14451         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14452
14453 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14454
14455         * lyxtext.h:
14456         * text.C: better added space drawing
14457
14458 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14459
14460         * LyXView.C:
14461         * BufferView2.C: fix layout combo update on inset unlock
14462
14463 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14464
14465         * Makefile.am: don't compile unused files
14466
14467 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14468
14469         * lyxfunc.C:
14470         * commandtags.h:
14471         * LyXAction.C: remove old LFUN_LAYOUTNO
14472
14473 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14474
14475         * paragraph_pimpl.h:
14476         * paragraph_pimpl.C: isTextAt() doesn't need font param
14477
14478 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14479
14480         * lyxlex.h:
14481         * lyxlex.C: little cleanup
14482
14483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14484
14485         * BufferView_pimpl.C: fix insertAscii for insets
14486
14487 2001-12-05  Juergen Vigna  <jug@sad.it>
14488
14489         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14490         set the right font on the "multi" paragraph paste!
14491
14492 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14493
14494         * trans_decl.h:
14495         * trans_mgr.[Ch]:
14496         * trans.[Ch]:
14497         * lyxgluelength.C:
14498         * lyxlength.C: remove out-commented code.
14499
14500         * BufferView_pimpl:
14501         * CutAndPaste.C:
14502         * DepTable.C:
14503         * buffer.C:
14504         * chset.C:
14505         * lastfiles.C:
14506         * lyxlex.C:
14507         * lyxlex_pimpl.C:
14508         * lyxserver.C:
14509         * screen.C:
14510         * tabular-old.C:
14511         * tabular.C:
14512         * text.C:
14513         * trans_mgr.C:
14514         * vc-backend.C: change "while(" to "while ("
14515
14516         * lyxlength.[Ch]: add zero function to check if length is zero or
14517         not
14518         * lyxgluelength.C: use it
14519
14520 2001-12-05  Allan Rae  <rae@lyx.org>
14521
14522         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14523         Works for 2.95.3, from what I understand of Garst's reports this should
14524         work for other g++ versions.  We're screwed if the abs(int) definition
14525         changed between bugfix releases of gcc.
14526
14527 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14528
14529         * text.C: fix chapter label offset !
14530
14531 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14532
14533         * lyxtext.h:
14534         * text.C: fix hfill at end of line, clean up
14535
14536 2001-12-04  Juergen Vigna  <jug@sad.it>
14537
14538         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14539         that we force an update of the inset and it's owners if neccessary.
14540
14541 2001-12-03  Juergen Vigna  <jug@sad.it>
14542
14543         * text.C (rowLast): simplified code
14544
14545 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14546
14547         * lyxfunc.C: fix show options on timeout
14548
14549 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14550
14551         * screen.C (topCursorVisible): scroll half a page when the cursor
14552         reached top of bottom of screen
14553
14554 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * minibuffer.C: deactivate on loss of focus
14557
14558 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14559
14560         * vspace.[Ch] (operator!=): add operator.
14561
14562 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * BufferView_pimpl.C: refuse to open an inset when
14565         there's a selection.
14566
14567 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14568
14569         * BufferView_pimpl.C: allow to click on RHS of full row insets
14570
14571 2001-11-30  Juergen Vigna  <jug@sad.it>
14572
14573         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14574         insets for undo reasons.
14575
14576 2001-11-28  André Pönitz <poenitz@gmx.net>
14577
14578         * vspace.[Ch]: cosmetical changes
14579
14580 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14581
14582         * LyXAction.h:
14583         * LyXAction.C:
14584         * lyxfunc.h:
14585         * lyxfunc.C:
14586         * kbmap.h:
14587         * kbmap.C:
14588         * lyxrc.C:
14589         * kbsequence.h:
14590         * kbsequence.C: part re-write of old kb code
14591
14592         * Painter.C:
14593         * WorkArea.C: remove Lgb_bug_find_hack
14594
14595 2001-11-30  José Matos <jamatos@fep.up.pt>
14596
14597         * buffer.C (makeDocBookFile): add a comment to point a hack.
14598         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14599         Fixed a double write of labels.
14600
14601 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14602
14603         * LaTeX.C:
14604         * LaTeX.h Fixed bug in LaTeX class where it would not
14605         re-run latex if no depfiles were changed, but the .dvi was removed.
14606
14607 2001-11-28  André Pönitz <poenitz@gmx.net>
14608
14609         * all the files from the change on 2001/11/26:
14610         use lyx::layout_type instead of LyXTextClass::size_type
14611         use lyx::textclass_type instead of LyXTextClassList::size_type
14612
14613 2001-11-29  Juergen Vigna  <jug@sad.it>
14614
14615         * text.C: added support for paragraph::isFreeSpacing()
14616
14617         * buffer.C: same as above
14618
14619         * paragraph.h: inserted isFreeSpacing() function to enable
14620         FreeSpacing inside InsetERT.
14621
14622         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14623         of the paragraph's in the cut/copy buffer to 0!
14624
14625         * text2.C (removeRow): remove the assert as it can!
14626
14627         * lyxtext.h: added helper function firstRow returning firstrow and
14628         made firstrow private again.
14629
14630         * BufferView2.C (lockInset): don't relock if we're already locked!
14631
14632         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14633         the only paragraph.
14634         (removeRow): added Assert::(firstrow)
14635
14636         * debug.C: forgot to add INSETTEXT here.
14637
14638 2001-11-28  Juergen Vigna  <jug@sad.it>
14639
14640         * sp_spell.C (initialize): changed error text to more general
14641         spellchecker command use (not only ispell!)
14642
14643         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14644
14645         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14646
14647 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * vspace.C: initialise lyxgluelength on failure
14650
14651 2001-11-28  Allan Rae  <rae@lyx.org>
14652
14653         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14654         declaration & definition that looks like a function declaration.
14655
14656 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14657
14658         * BufferView2.C (copy):
14659         (copyEnvironment): do not clear the selection when doing a copy.
14660
14661         * text.C (paintFirstRow): compilation fix
14662
14663 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14664
14665         * tabular.C (Latex): correct line count when writing latex.
14666
14667 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14668
14669         * paragraph_pimpl.h:
14670         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14671           bug a bit
14672
14673 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14674
14675         * text.C:
14676         * LColor.h:
14677         * LColor.C: change vfillline->added_space
14678
14679         * text.C: add markers and text for added space
14680
14681         * vspace.C: fix comment
14682
14683 2001-11-28  André Pönitz <poenitz@gmx.net>
14684
14685         * paragraph.C: whitespace changes
14686         * all the other files from the change on 2001/11/26:
14687         change *::pos_type into lyx::pos_type
14688
14689 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14690
14691         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14692         language of the document when inserting error insets.
14693
14694 2001-11-26  André Pönitz <poenitz@gmx.net>
14695
14696         * BufferView_pimpl.[Ch]:
14697         *       CutAndPaste.C:
14698         * buffer.[Ch]:
14699         * lyxcursor.[Ch]:
14700         * lyxfind.C:
14701         * lyxfunc.C:
14702         * lyxrow.[Ch]:
14703         * paragraph.[Ch]:
14704         * paragraph_pimpl.[Ch]:
14705         * sp_spell.C:
14706         * text.C:
14707         * text2.C: reduce header dependencies, introduce type for positions
14708
14709 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14710
14711         * <various>: change to use Alert.h
14712
14713 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14716         when encountering an unknown token.
14717         (readLyXformat2): Show an error message if there were unknown tokens.
14718
14719 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * BufferView2.C:
14722         * BufferView_pimpl.C:
14723         * buffer.C:
14724         * paragraph.h:
14725         * text.C:
14726         * text2.C: use par->isInset()
14727
14728 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14729
14730         * paragraph_pimpl.h:
14731         * paragraph_pimpl.C: cleanup
14732
14733 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14734
14735         * text2.C (removeRow):
14736         * text.C (setHeightOfRow): remove useless (and costly) call to
14737         getRow.
14738
14739 2001-11-20  Allan Rae  <rae@lyx.org>
14740
14741         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14742         Now need Inset*::checkInsertChar() to return true for appropriate
14743         cases so that the characters in the minibuffer will actually be
14744         inserted.
14745
14746 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14747
14748         * text.C: change the order of the includes.
14749         (workWidth): initialize it at once.
14750         (workWidth): make maxw unsigned
14751         (setHeightOfRow): remove unused variable (inset)
14752         (selectSelectedWord): remove unused variable (inset)
14753         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14754
14755 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14758         server is not running.
14759         (openConnection):
14760         (closeConnection): add debug info when server is disabled.
14761
14762         * ColorHandler.C (getGCForeground): send debug message to GUI
14763         channel.
14764
14765         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14766
14767         * kbmap.C (bind): modify because return conventions of
14768         kb_sequence::parse have changed.
14769
14770         * kbsequence.C (parse): only ignore spaces and not any stupid
14771         control character. This avoids tests like s[i] <= ' ', which are
14772         guaranteed to fail with 8bit characters and signed chars.
14773         Change return code to string::npos when there have been no error
14774         (0 was a bad idea when error is at first character)
14775
14776 2001-11-14  José Matos  <jamatos@fep.up.pt>
14777
14778         * buffer.h:
14779         * buffer.C (simpleDocBookOnePar): removed unused argument.
14780
14781 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14782
14783         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14784         insets which are part of a word. Paragraph::isLetter takes care of
14785         that now. Use Paragraph::isInset to identify insets.
14786         (selectSelectedWord): do not test for hyphenation break.
14787
14788         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14789         that protected spaces are considered as spaces.
14790
14791         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14792         Inset::isLetter.
14793
14794 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14795
14796         * lyxserver.h:
14797         * lyxserver.C: fix it. and small cleanup.
14798
14799 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14800
14801         * BufferView_pimpl.C: use inline helpers
14802
14803         * LaTeXFeatures.h:
14804         * LaTeXFeatures.C: fix typos
14805
14806         * Spacing.h:
14807         * Spacing.C: move spacing_string into class
14808
14809         * ToolbarDefaults.C: move stuff into namespace anon
14810
14811         * layout.h: update enum
14812
14813         * lyxfunc.C: use better debug
14814
14815         * minibuffer.h: fix typo
14816
14817         * debug.h:
14818         * debug.C:
14819         * WorkArea.C: add and use Debug::WORKAREA
14820
14821         * lyxtext.h:
14822         * text.C:
14823         * text2.C: code re-organisation, inline helpers
14824
14825 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14826
14827         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14828         std::vector.empty().
14829
14830 2001-11-09  Allan Rae  <rae@lyx.org>
14831
14832         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14833         '\n's after tables.  Tabular and ERT inset work now makes this no
14834         longer necessary.
14835
14836 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14837
14838         * minibuffer.h:
14839         * minibuffer.C: fix crash, improve drop-down completion
14840
14841 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14842
14843         * lyxserver.h:
14844         * lyxserver.C: invalidate fd's when doing endPipe()
14845
14846 2001-11-08  José Matos  <jamatos@fep.up.pt>
14847
14848         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14849         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14850
14851         * paragraph.h:
14852         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14853
14854 2001-11-07  José Matos  <jamatos@fep.up.pt>
14855
14856         * buffer.h:
14857         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14858         const qualifier.
14859
14860         * buffer.C (sgmlOpenTag):
14861         * buffer.C (sgmlCloseTag): removed debug info.
14862
14863         * buffer.h (sgmlOpenTag):
14864         * buffer.h (sgmlCloseTag): made public.
14865
14866 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14867
14868         * buffer.C (saveParamsAsDefaults):
14869         * lyx_cb.C (MenuLayoutSave): remove
14870
14871         * LyXAction.C (init):
14872         * commandtags.h:
14873         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14874
14875 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14876
14877         * buffer.C (setPaperStuff): removed from here...
14878
14879         * bufferparams.C (setPaperStuff): ... and moved there.
14880
14881 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14882
14883         * minibuffer.h:
14884         * minibuffer.C:
14885         * XFormsView.C: add support for drop-down completion
14886
14887 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14888
14889         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14890         commands.
14891
14892 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14893
14894         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14895         disabled.
14896
14897 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14898
14899         * lyx_main.C: change ref to known bugs
14900
14901 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14902
14903         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14904         to work around older babel problems.
14905
14906 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14907
14908         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14909
14910 2001-10-24  Juergen Vigna  <jug@sad.it>
14911
14912         * tabular-old.C (ReadOld): below variable changes reflected.
14913
14914         * tabular.[Ch]: added ltType struct for longtable header/footer
14915         defines and changed all instances where they are used. Added
14916         future support for double top/bottom rows.
14917
14918 2001-10-24  José Matos  <jamatos@fep.up.pt>
14919
14920         * buffer.h (docbookHandleCaption):
14921         * buffer.C (docbookHandleCaption): removed unused function.
14922         (makeDocBookFile): moved docbook supported version to v4.1.
14923
14924 2001-10-24  José Matos  <jamatos@fep.up.pt>
14925
14926         * tabular.h:
14927         * tabular.C (docbookRow): new function to export docbook code of a row.
14928         (DocBook): now honors the longtable flags.
14929
14930 2001-10-23  José Matos  <jamatos@fep.up.pt>
14931
14932         * LaTeXFeatures.h:
14933         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14934         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14935
14936         * buffer.C (makeLinuxDocFile):
14937         (makeDocBookFile): reworked the preamble, more clean, and with
14938         support for lyx defined entities. Changed the document declaration
14939         to be more XML friendly.
14940
14941         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14942         if we need to output XML that should be done with a filter.
14943
14944 2001-10-22  Juergen Vigna  <jug@sad.it>
14945
14946         * sp_pspell.h (class PSpell): add alive function needed in the
14947         controller to see if the spellchecker could be started.
14948
14949 2001-10-22  Juergen Vigna  <jug@sad.it>
14950
14951         * buffer.C (insertStringAsLines): modify the font for inserting
14952         chars in certain conditions by calling checkInsertChar(font).
14953
14954 2001-10-19  Juergen Vigna  <jug@sad.it>
14955
14956         * text.C (workWidth): use getRow instead of wrong algorithm.
14957         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14958
14959 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * lyxserver.h:
14962         * lyxserver.C:
14963         * lyx_main.h:
14964         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14965
14966 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14967
14968         * text.C (workWidth): do not search for the exact row when
14969         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14970         optimization for big documents.
14971
14972 2001-10-18  Juergen Vigna  <jug@sad.it>
14973
14974         * text.C (workWidth): new function with added Inset * parameter.
14975
14976 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14977
14978         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14979
14980         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14981         change return type of getColumnNearX.
14982
14983
14984         * text.C (changeRegionCase): use uppercase/lowercase instead of
14985         toupper/tolower.
14986         (leftMargin):
14987         (rightMargin): simplify code by factoring out the uses of
14988         textclasslist.
14989         (labelFill):
14990         (numberOfHfills):
14991         (setHeightOfRow):
14992         (appendParagraph): use Paragraph::size_type
14993
14994 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14995
14996         * vspace.C (asLatexString): add a missing break
14997
14998 2001-10-15  Herbert Voss  <voss@perce.de>
14999
15000         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15001
15002 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15003
15004         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15005         is not available.
15006
15007 2001-10-10  André Pönitz <poenitz@gmx.net>
15008
15009         * lyxfunc.C: removed greek_kb_flag.
15010
15011 2001-10-10  Herbert Voss  <voss@perce.de>
15012
15013         * lyx_main.C: delete global string help_lyxdir.
15014
15015 2001-10-09  Herbert Voss  <voss@perce.de>
15016
15017         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15018
15019         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15020
15021         * lyx_main.C: added global string help_lyxdir.
15022
15023         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15024
15025 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15026
15027         * lyxrc.C (set_font_norm_type): support iso8859-4
15028
15029 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15030
15031         * LaTeX.C (deplog): add another regex for MikTeX
15032
15033 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15034
15035         * lyxrc.C (set_font_norm_type): support iso8859-3
15036
15037 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15038
15039         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15040
15041         * LaTeXFeatures.C: remove special case of french and index
15042
15043         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15044         before \begin{document}). This solves several incompatibilities.
15045
15046 2001-10-03  Garst Reese  <reese@isn.net>
15047
15048         * lyx_cb.C: change CheckTex error msg.
15049
15050 2001-10-03  José Matos  <jamatos@fep.up.pt>
15051
15052         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15053
15054 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15055
15056         * .cvsignore: update
15057
15058         * lyx_main.C (commandLineVersionInfo): use new style version info.
15059
15060         * buffer.C (writeFile):
15061         (makeLaTeXFile):
15062         (makeLinuxDocFile):
15063         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15064
15065         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15066
15067         * version.h: update to use stuff in version.C
15068
15069         * version.C.in: new file. Contains version information determined
15070         at compile time. This is a merging of version.h and
15071         version_info.h.in.
15072
15073 2001-10-03  Juergen Vigna  <jug@sad.it>
15074
15075         * BufferView_pimpl.C (update): don't change "dirty" status in
15076         updateInset call.
15077
15078 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15079
15080         * WorkArea.C (c-tor): re-position version string slightly.
15081
15082 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15083
15084         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15085         revert to previous code.
15086
15087         WorkArea.[Ch]: (show, destroySplash): methods removed.
15088
15089         WorkArea.C: rework code so that it's an amalgam of the codes before and
15090         after the splash screen was moved to WorkArea.
15091
15092 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15093
15094         * lyxrc.C (read):
15095         * vspace.C (inPixels):
15096         (lyx_advance):
15097         * kbmap.C (bind):
15098         * buffer.C (insertStringAsLines):
15099         (asciiParagraph): fix types to be large enough
15100
15101         * lyxlex_pimpl.h: change member status from short to int
15102
15103         * layout.h: fix type of endlabeltype
15104
15105         * kbmap.C (bind):
15106         * kbsequence.C (parse): change return type to string::size_type
15107
15108         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15109         variable
15110
15111         * Bullet.C (bulletSize):
15112         (bulletEntry): do not use short ints as parameters
15113
15114         * BufferView2.C (insertLyXFile): change a char to an int.
15115
15116         * WorkArea.C (WorkArea): remove unneeded floats in computation
15117
15118 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15119
15120         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15121
15122         * paragraph.C (asString): Do not ignore newline/hfill chars when
15123         copying to the clipboard.
15124
15125 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15126
15127         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15128         after a multi-line inset.
15129
15130 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15131
15132         * paragraph.C (validate): Set NeedLyXFootnoteCode
15133
15134 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15135
15136         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15137         and decrease-error to decrease.
15138
15139 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15142         it more readable (should be equivalent)
15143
15144 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15145
15146         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15147
15148 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15149
15150         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15151         of a cursor (row, etc.) after a character has been deleted
15152         (deleteEmptyParagraphMechanism): call the method above on _all_
15153         cursors held by the LyXText when a double space has been
15154         detected/deleted.
15155
15156 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15157
15158         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15159         pixmap.
15160         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15161
15162         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15163         background. Use greyOut() and the new show() methods to toggle between
15164         the foreground and background. Add code to remove the splash after
15165         its initial showing.
15166
15167         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15168         (create_forms): no longer call Dialogs::showSplash.
15169
15170 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * .cvsignore: add version_info.h
15173
15174 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15175
15176         * version_info.h.in: new file
15177
15178         * Makefile.am: add version_info.h.in
15179
15180         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15181         version_info.h instead of VERSION_INFO
15182
15183 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15184
15185         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15186         The ERT inset now returns string().
15187
15188 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15189
15190         * lyxtext.h, text.C (selectNextWord): renamed as
15191         selectNextWordToSpellcheck.
15192
15193         * text.C (selectNextWordToSpellcheck): Modified to not select
15194         words inside an ERT inset.
15195
15196 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15197
15198         * lyx_cb.C (MenuLayoutSave): change a bit the question
15199
15200         * sp_base.h: include <sys/types.h>
15201
15202 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15203
15204         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15205
15206 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15207
15208         * several files: fix typos in user-visible strings
15209
15210 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15211
15212         * text2.C (pasteSelection): do not set the selection, since it
15213         will be cleared later. Actually, the intent was to fix the way the
15214         selection was set, but I figured rmoving the code was just as good.
15215
15216 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15217
15218         * FontLoader.C (available): Check if font is available without
15219         loading the font.
15220
15221 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15222
15223         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15224
15225 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15226
15227         * lyxrc.[Ch]: added display_graphics variable and associated code.
15228
15229 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * bufferparams.C (hasClassDefaults): new method. Returns true if
15232         the buffer parameters correspond to known class defaults
15233
15234 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15235
15236         * XFormsView.C (show): set minimum size to the main window.
15237
15238 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15239
15240         * text2.C (copySelection):
15241         (cutSelection):
15242         * lyxfind.C (LyXReplace):
15243         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15244         LyXText::selectionAsString.
15245
15246         * paragraph.C (asString): add "label" argument to the second form
15247
15248         * text2.C (selectionAsString): add "label" argument and pass it to
15249         Paragraph::asString.
15250
15251 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15252
15253         * lyx_main.C (commandLineHelp): remove version information
15254
15255 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15256
15257         * lyx_main.C: add -version commandline option
15258
15259 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15260
15261         * paragraph.h: make the optional constructor arg required instead.
15262         some modifications to other files because of this.
15263
15264         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15265
15266         * lyxserver.C (C_LyXComm_callback): make it static
15267
15268         * lyx_main.C (error_handler): make it static
15269
15270         * lyx_gui.C (LyX_XErrHandler): make it static
15271
15272         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15273
15274         * WorkArea.C: make the extern "C" methods static.
15275
15276         * Makefile.am (lyx_LDADD): simplify
15277
15278 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15279
15280         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15281         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15282
15283         * LyXAction.C (init):
15284         * lyxfunc.C (dispatch): associated code removal.
15285
15286 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * lyxfont.h (isSymbolFont): shut off warning
15289
15290         * text.C (setHeightOfRow):
15291         (getVisibleRow): fix crash with empty paragraphs which have a
15292         bottom line
15293
15294 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15295
15296         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15297         code.
15298
15299 2001-09-04  José Matos  <jamatos@fep.up.pt>
15300         * buffer.C
15301         * buffer.h
15302         * tabular.C (docbook): rename docBook method to docbook.
15303
15304 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15305
15306         * Makefile.am: add dependencies to main.o.
15307
15308 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15309
15310         * FontLoader.C (available): Return false if !lyxrc.use_gui
15311
15312 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15313
15314         * FontInfo.C (query):
15315         * converter.C (view):
15316         * importer.C (Import):
15317         * exporter.C (Export): Can not -> cannot.
15318
15319 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15320
15321         * BufferView_pimpl.C: allow to create index inset even if
15322           string is empty
15323
15324 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15325
15326         * buffer.C (getLists): replace boost::tie code with an explicit pair
15327         as boost::tie can break some compilers.
15328
15329         * iterators.h: Added a std:: declaration to the return type of
15330         ParIterator::size.
15331
15332 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15333
15334         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15335           case.
15336
15337 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15338
15339         * iterators.[Ch]: New files. Provide paragraph iterators.
15340
15341         * buffer.C (changeLanguage): Use paragraph iterators.
15342         (isMultiLingual): ditto
15343
15344         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15345
15346 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15347
15348         * FontLoader.C: Support for cmr font.
15349
15350 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15351
15352         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15353         (available): New method.
15354
15355         * FontInfo.C (getFontname): Use scalable fonts even when
15356         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15357         found.
15358
15359 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15360
15361         * converter.C (Formats::view): reverted! Incorrect fix.
15362
15363 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15364
15365         * converter.C (Formats::view): only output the -paper option
15366         if the dvi viewer is xdvi, thereby fixing bug #233429.
15367
15368 2001-08-23  Herbert Voss  <voss@perce>
15369
15370         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15371
15372 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15373
15374         * Spacing.h (Spacing): Set space to Default on in the default
15375         constructor.
15376
15377 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15378
15379         * vc-backend.h (RCS::versionString): add RCS to version
15380         (CVS::versionString): add CVS to version
15381
15382         * vc-backend.C (scanMaster): do not add CVS to version.
15383         (scanMaster): do not add RCS to version
15384
15385         * lyxvc.C (versionString): new method
15386
15387         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15388
15389 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15390
15391         * Spacing.C (set): initialize fval
15392
15393 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15394
15395         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15396         " or \.
15397
15398 2001-08-16  Juergen Vigna  <jug@sad.it>
15399
15400         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15401
15402 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15403
15404         * BufferView_pimpl.C:
15405         * figureForm.C:
15406         * lyxtext.h:
15407         * text2.C: setParagraph takes linespacing now
15408
15409 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15410
15411         * LyxAction.C: add internal LFUN_CITATION_INSERT
15412
15413         * LyXView.C: actually apply fix
15414
15415         * bufferlist.C: fix open non-existent file
15416
15417         * lyxfind.C: fix indentation
15418
15419         * lyxfunc.C: remove unneeded assert, fix typo
15420
15421 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15422
15423         * MenuBackend.C: use "Floatname List"
15424
15425 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15426
15427         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15428         when converting LaTeX layout to insetERT.
15429         Generate a non-collapsed float when reading old float
15430
15431 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15432
15433         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15434         ERT insets.
15435
15436 2001-08-13  Juergen Vigna  <jug@sad.it>
15437
15438         * text.C (fill): return 0 instead of 20 as this seems to be the more
15439         correct value.
15440
15441 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15442
15443         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15444         lyxrc.font_norm.
15445
15446 2001-08-13  Juergen Vigna  <jug@sad.it>
15447
15448         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15449         casesensitive off.
15450         (SearchBackward): comment out the unlocking of the inset_owner this
15451         should not be needed!
15452
15453 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15454
15455         * Many files: Remove inherit_language, and add latex_language
15456
15457         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15458         collapsible insets.
15459
15460 2001-08-10  Juergen Vigna  <jug@sad.it>
15461
15462         * text.C (prepareToPrint): fixed hfill-width in draw!
15463
15464         * BufferView2.C (selectLastWord): save the selection cursor as this
15465         now is cleared in the function LyXText::clearSelection!
15466
15467 2001-08-08  Juergen Vigna  <jug@sad.it>
15468
15469         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15470         BACKSPACE type functions.
15471
15472         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15473         is only cutted from the document but not put in the cut-buffer, where
15474         still the old stuff should be.
15475
15476         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15477
15478         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15479
15480         * tabular.C (SetWidthOfCell): fixed special case where the width
15481         was not updated!
15482         (LeftLine): handle '|' in align_special.
15483         (RightLine): ditto
15484         (LeftAlreadyDrawed): ditto
15485         (SetWidthOfCell): ditto
15486
15487 2001-08-07  Juergen Vigna  <jug@sad.it>
15488
15489         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15490
15491 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15492
15493         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15494         * lyxlex.[hC]: ditto
15495
15496 2001-08-06  Juergen Vigna  <jug@sad.it>
15497
15498         * text.C (getVisibleRow): fix up row clearing a bit.
15499
15500 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15501
15502         * minibuffer.C: make sure the X server sees the changes in the input.
15503
15504 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15505
15506         * paragraph.C (getFont): split into...
15507         (getLabelFont): this
15508         (getLayoutFont): and this
15509         * paragraph_pimpl.C (realizeFont): calling this
15510
15511         * text2.C (getFont): split into...
15512         (getLayoutFont): this
15513         (getLabelFont): and this
15514         (realizeFont): all three calling this
15515
15516         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15517         files where used.
15518
15519 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15520
15521         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15522
15523 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15524
15525         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15526         layouts from the Quote inset insertion.
15527
15528 2001-08-03  Juergen Vigna  <jug@sad.it>
15529
15530         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15531
15532         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15533         only if status not is already CHANGED_IN_DRAW (second level).
15534
15535         * text.C (draw): don't set the need_break_row when inside an
15536         InsetText LyXText.
15537
15538 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15539
15540         * buffer.C (parseSingleLyXformat2Token): handle more latex
15541         conversion cases.
15542
15543         * bufferview_funcs.[hC]: change function names to
15544         begin with small char, adjust other files.
15545
15546 2001-08-02  André Pönitz <poenitz@gmx.net>
15547
15548         * lyxfunc.C:
15549         BufferView_pimpl.C: remove broken special code for math-greek
15550
15551 2001-08-02  Juergen Vigna  <jug@sad.it>
15552
15553         * BufferView_pimpl.C (update): redone this function so that we
15554         update the text again if there was a CHANGE_IN_DRAW.
15555
15556         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15557         (drawFromTo): added a new internal bool which is used by draw() and
15558         redraw() function.
15559         (general): some cursor drawing problems fixed.
15560
15561 2001-08-01  Juergen Vigna  <jug@sad.it>
15562
15563         * lyxfind.C (LyXFind): fixed
15564         (SearchForward): ditto
15565         (SearchBackward): ditto
15566
15567         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15568         spurius drawing of the cursor in the main area.
15569
15570         * text2.C (status): small fix which could lead to a segfault!
15571         (clearSelection): remove unneeded BufferView param.
15572
15573 2001-08-01  André Pönitz <poenitz@gmx.net>
15574
15575         * lyxfunc.C: small change due to changed mathed interface
15576
15577 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15578
15579         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15580
15581 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15582
15583         * lyxfunc.c: fail gracefully if file doesn't exist
15584
15585         * LyXSendto.C:
15586         * buffer.C:
15587         * lyxfunc.C:
15588         * BufferView_pimpl.C: IsDirWriteable() proto changed
15589
15590         * LyXView.C: fix updateWindowTitle() to store the last title
15591
15592 2001-07-31  Juergen Vigna  <jug@sad.it>
15593
15594         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15595         the font (wrong since using of Paragraph::highestFontInRange).
15596
15597         * paragraph.C (highestFontInRange): added a default_size parameter.
15598
15599         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15600         (setHeightOfRow): reformat
15601
15602 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15603
15604         * converter.[hC] + affected files: move to (inital-char)lowercase
15605         function names.
15606
15607         * ParagraphParameters.C (ParagraphParameters): remove commented code
15608
15609         * PainterBase.[Ch]: remove commented code
15610
15611         * LaTeXFeatures.h: add "bool floats" for float.sty
15612
15613         * LaTeXFeatures.C (LaTeXFeatures): init floats
15614         (require): handle float
15615         (getPackages): do it with floats
15616
15617 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15618
15619         * BufferView_pimpl.C (Dispatch): improve handling of
15620         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15621
15622         * commandtags.h: #include lyxfont.h here temporarily to avoid
15623         keybinding bug.
15624
15625         * bufferlist.h: include LString.h here.
15626
15627 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15628
15629         * text2.C (getStringToIndex): new method.
15630
15631 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15632
15633         * *: Reduced header file dependencies all over.
15634
15635 2001-07-30  Baruch Even  <baruch@lyx.org>
15636
15637         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15638
15639 2001-07-29  Baruch Even  <baruch@lyx.org>
15640
15641         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15642
15643 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15644
15645         * ParameterStruct.h (endif): add a default constructor to make
15646         sure that all variables is initialized.
15647
15648         * ParagraphParameters.C (ParagraphParameters): adjust
15649
15650 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15653         index; also, check that there is something to index, and that it
15654         does not span over several paragraphs.
15655         (doubleClick): use WHOLE_WORD_STRICT for double click.
15656
15657         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15658
15659         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15660         scheme.
15661
15662 2001-07-26  Baruch Even  <baruch@lyx.org>
15663
15664         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15665         an InsetFig figure, backwards compatible reading of old figure code.
15666
15667 2001-07-27  Juergen Vigna  <jug@sad.it>
15668
15669         * text2.C: font.realize function adaption.
15670
15671         * text.C (draw): add a warnings lyxerr text if needed.
15672
15673         * layout.C: font.realize function adaption.
15674
15675         * language.C: add inherit_language and implement it's handlings
15676
15677         * bufferview_funcs.C (StyleReset): remove language parameter from
15678         font creation (should be language_inherit now).
15679
15680         * bufferparams.C (writeFile): handle ignore_language.
15681
15682         * paragraph.C (getFontSettings): the language has to be resolved
15683         otherwise we have problems in LyXFont!
15684
15685         * lyxfont.C (lyxWriteChanges): added document_language parameter
15686         (update): removed unneeded language parameter
15687
15688         * paragraph.C (validate): fixed wrong output of color-package when
15689         using interface colors for certain fonts in certain environments,
15690         which should not seen as that on the final output.
15691
15692 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15693
15694         * BufferView_pimpl.C:
15695         * Thesaurus.h:
15696         * Thesaurus.C:
15697         * Makefile.am:
15698         * commandtags.h:
15699         * LyXAction.C: add thesaurus support
15700
15701         * lyxfind.h:
15702         * lyxfind.C: add "once" parameter, for thesaurus, to not
15703           move to the next match
15704
15705 2001-07-26  Juergen Vigna  <jug@sad.it>
15706
15707         * lyxfont.C (realize): honor ignore_language too!
15708         (resolved): ditto.
15709
15710         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15711
15712         * text.C (draw): one place more for ignore_language to not draw
15713         itself!
15714
15715 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15716
15717         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15718
15719 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15720
15721         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15722         the minipage conversion problem.
15723
15724 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15725
15726         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15727         insert an inset.
15728
15729 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15730
15731         * BufferView.h: don't forward declare WorkArea
15732
15733         * BufferView.C: don't include WorkArea.h
15734
15735 2001-07-25  André Pönitz <poenitz@gmx.net>
15736
15737         * commandtags.h:
15738         * LyXAction.C:
15739         * lyxfunc.C:  new LFUN 'math-space'
15740
15741         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15742
15743 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15744
15745         * text2.C (toggleInset): call open/close
15746
15747 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15748
15749         * lyxfunc.C (dispatch): add debug for the disabled case
15750
15751         * font.C (buttonText): make similar to rectText
15752
15753         * buffer.C (readInset): comment out parsing of insetlist and
15754         insttheorem
15755
15756         * PainterBase.C (rectText): small correction
15757
15758         * BufferView_pimpl.C: comment out insettheorem and insetlist
15759         * LyXAction.C: ditto
15760         * commandtags.h: ditto
15761
15762 2001-07-24  Juergen Vigna  <jug@sad.it>
15763
15764         * text.C (draw): honor the ignore_language.
15765
15766         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15767
15768 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15769
15770         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15771         char inset.
15772
15773 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15774
15775         * lyxtext.h: remove unused (and unimplemented) methods
15776
15777 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15778
15779         * text.C (getVisibleRow): honor background color
15780
15781         * PainterBase.h:
15782         * Painter.h: remove default color argument for fillRectangle
15783
15784         * text.C (backgroundColor): new method
15785
15786 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15787
15788         * text.C (getVisibleRow): adjust
15789
15790         * font.[Ch] (rectText): new method, metrics
15791         (buttonText): new method, metrics
15792
15793         * PainterBase.[hC]: make rectText and buttonText always draw and take
15794         fewer paramteres.
15795
15796 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15797
15798         * ToolbarDefaults.C (read):
15799         * MenuBackend.C (read): allow escaping in all strings
15800
15801         * BufferView_pimpl.C (insertAndEditInset): new method.
15802         (Dispatch): use insertAndEditInset whenever appropriate.
15803
15804         * BufferView_pimpl.C (insertNote): removed
15805
15806         * BufferView_pimpl.C (smartQuote): new method, moved from
15807         BufferView; if an insetquote cannot be inserted, insert a '"'
15808         character instead.
15809
15810         * BufferView2.C: remove insertCorrectQuote();
15811
15812         * lyxfunc.C (getStatus): Add support for all remaingin
15813         inset-insert lfuns.
15814
15815         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15816
15817         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15818         command (necessary to pass " as parameter of self-insert.
15819
15820         * text.C (selectWordWhenUnderCursor):
15821         (selectWord): add word_location parameter
15822         (selectWordWhenUnderCursor): same + remove special code for word
15823         boundary.
15824         (selectNextWord): use kind() to guess type of insetspecialchar,
15825         not latex().
15826
15827         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15828         (insertErtContents): create ert insets as collapsed.
15829         (readInset): better compatibility code for Info inset.
15830
15831 2001-07-20  Juergen Vigna  <jug@sad.it>
15832
15833         * lyxfunc.C (dispatch): use always LyXFind now!
15834
15835         * text2.C (init): add a reinit flag so that the LyXText can be
15836         reinited instead of deleted and reallocated (used in InsetText).
15837
15838         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15839
15840         * text.C: ditto
15841
15842         * text2.C: ditto
15843
15844 2001-07-18  Juergen Vigna  <jug@sad.it>
15845
15846         * text.C (selectNextWord): handle insets inside inset by calling
15847         always the bv->text functions so that we can go up the_locking_inset!
15848
15849         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15850         in strange locations when inside an inset!
15851
15852         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15853         handling to include insets.
15854
15855         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15856
15857 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * LyXAction.C (init):
15860         * commandtags.h:
15861         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15862         LIGATURE_BREAK, since the name is so stupid.
15863
15864 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15865
15866         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15867         InsetInfos.
15868
15869         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15870
15871         * sp_form.[Ch]: remove.
15872
15873         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15874
15875         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15876         InsetInfo.
15877
15878         * src/buffer.C (readInset): ditto.
15879
15880 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15881
15882         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15883         menuSeparator(), endOfSentenceDot(), ldots() and
15884         hyphenationPoint(), which are therefore removed.
15885         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15886
15887         * LyXAction.C (init):
15888         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15889
15890         * paragraph.C (getWord): removed.
15891
15892         * BufferView_pimpl.C (Dispatch): use last word or selection for
15893         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15894
15895         * lyx_main.C (queryUserLyXDir): do not ask before creating
15896         user_dir, except if it has been named explicitely.
15897
15898 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15899
15900         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15901         a document of zero size.
15902
15903 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15904
15905         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15906         approriately in the c-tor and in require().
15907         (getPackages): output the appropriate LaTeX for natbib support.
15908
15909         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15910         variables "use_natbib" and "use_numerical_citations" when reading the
15911         LyX file.
15912         (readInset): read the various natbib cite commands.
15913         (validate): white-space change.
15914
15915         * bufferparams.[Ch]: new variables "bool use_natbib" and
15916         "bool use_numerical_citations".
15917         (writeFile): output them in the LyX file.
15918
15919 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15920
15921         * lyxfunc.C (getStatus): add support for all the inset insertion
15922         commands.
15923
15924         * text2.C (insertInset):
15925         * paragraph.C (insetAllowed):
15926         * BufferView_pimpl.C (insertInset): update to take in account the
15927         renaming of insertInsetAllowed
15928
15929         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15930
15931         * text2.C (getInset): new method. returns inset at cursor position.
15932
15933         * BufferView_pimpl.C (Dispatch): changes because of this.
15934
15935         * LyXAction.C (init): rename open-stuff to inset-toggle.
15936
15937         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15938
15939         * text2.C (toggleInset): renamed from openStuff; use
15940         Inset::open().
15941
15942 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15943
15944         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15945
15946         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15947
15948 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15949
15950         * buffer.C (readLyXformat2): Add filename to the error dialog
15951
15952 2001-07-18  Juergen Vigna  <jug@sad.it>
15953
15954         * tabular.C (GetCellNumber): put an assert here instead of the check!
15955
15956 2001-07-17  Juergen Vigna  <jug@sad.it>
15957
15958         * BufferView_pimpl.C (toggleSelection): adapted too.
15959
15960         * text.C (selectNextWord): adapted for use with insets.
15961         (selectSelectedWord): ditto
15962
15963 2001-07-17  Juergen Vigna  <jug@sad.it>
15964
15965         * sp_spell.C (PSpell): fix initialitation order.
15966
15967 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15968
15969         * paragraph.C: spacing
15970
15971 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15972
15973         * sp_spell.C: repair language selection for pspell
15974
15975 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15976
15977         * lyxfunc.h: change more methods to begin with lower char.
15978
15979 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15980
15981         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15982         for unknown layouts.
15983
15984 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15985
15986         * buffer.C (readLyXformat2): Generate an error dialog if there are
15987         unknown layouts.
15988
15989 2001-07-16  Juergen Vigna  <jug@sad.it>
15990
15991         * sp_spell.C: always compile ISpell part.
15992
15993         * lyxrc.C: added use_pspell entry and it's handling.
15994
15995 2001-07-13  Juergen Vigna  <jug@sad.it>
15996
15997         * sp_spell.C: removed double includes.
15998
15999 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16000
16001         Consistent use of Lsstream.h:
16002         * Lsstream.h: added using std::stringstream for consistencies sake.
16003
16004         * buffer.C: removed using std::stringstream
16005
16006         * lyxfont.C (stateText):
16007         * paragraph.C (asString):
16008         * text.C (selectNextWord, selectSelectedWord):
16009         * text2.C (setCounter):
16010         * vspace.C (asString, asLatexString):
16011         std::ostringstream -> ostringstream.
16012
16013 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16014
16015         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16016         * commandtags.h: add LFUN_HELP_ABOUTLYX
16017         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16018
16019 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16020
16021         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16022         cursorToggle()
16023         * lyx_gui_misc.C: remove spellchecker
16024         * lyxfunc.C: showSpellchecker
16025         * sp_base.h: added
16026         * sp_ispell.h: added
16027         * sp_pspell.h: added
16028         * sp_spell.C: added
16029         * sp_form.[Ch]: removed
16030         * spellchecker.[Ch]: removed
16031
16032 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16033
16034         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16035         is set.
16036         (simpleTeXSpecialChars): Simply print the input character without
16037         any special translation if pass_thru is set.
16038
16039         * layout.h: Added bool pass_thru to layout class for being able to
16040         implement pass through of a paragraph for Literate Programming.
16041
16042         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16043         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16044         * layout.C (Read): add "passthru" to list of layout tags and add
16045         code to set the pass_thru boolean when it is read.
16046
16047 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16048
16049         * trans_decl.h: remove allowed from KmodInfo
16050
16051         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16052         remove allowed code
16053         (Load): adjust
16054
16055         * paragraph_pimpl.C (erase): use boost::prior
16056
16057         * Painter.C (text): use data() instead of c_str() when length is
16058         also provided.
16059         * WorkArea.C (putClipboard): ditto
16060         * font.h (width): ditto
16061
16062         * BufferView2.C: use it-> instead of (*it). for iterators
16063         * texrow.C: ditto
16064         * paragraph_pimpl.C: ditto
16065         * paragraph.C: ditto
16066         * minibuffer.C: ditto
16067         * language.C: ditto
16068         * kbmap.C: ditto
16069         * encoding.C: ditto
16070         * counters.C: ditto
16071         * converter.C: ditto
16072         * chset.C: ditto
16073         * Variables.C: ditto
16074         * TextCache.C: ditto
16075         * MenuBackend.C: ditto
16076         * LyXAction.C: ditto
16077         * LColor.C: ditto
16078         * FloatList.C: ditto
16079         * DepTable.C: ditto
16080         * ColorHandler.C (LyXColorHandler): ditto
16081
16082 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16083
16084         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16085
16086         * text2.C (openStuff): reintroduce this method (which had been
16087         nuked in NEW_INSETS frenzy).
16088
16089         * lyxfunc.C (Dispatch): when an action has not been handled, use
16090         its name in the error message, not its number.
16091
16092         * paragraph.C (inInset): change method name to begin with lowercase.
16093
16094         * undo_funcs.C:
16095         * text2.C: updates because of this.
16096
16097 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16098
16099         * ToolbarDefaults.C (add): add spaces in error message
16100
16101 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16102
16103         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16104         (readLyXformat2): rename return_par to first_par, use lyxlex's
16105         pushToken and remove the manual push handling.
16106         (parseSingleLyXformat2Token): add another ert comp. variable:
16107         in_tabular, rename return_par to first_par. handle newlines better
16108
16109 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16110
16111         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16112
16113 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16114
16115         * text2.C (getParFromID): removed
16116
16117         * buffer.C (getParFromID): new method moved form lyxtext.
16118         * BufferView2.C (insertErrors): adjust
16119         (setCursorFromRow): adjust
16120         * BufferView_pimpl.C (restorePosition): adjust
16121         * lyxfunc.C (Dispatch): adjust
16122         * undo_funcs.C (textUndo): adjust
16123         (textRedo): adjust
16124         (textHandleUndo): adjust
16125         (textHandleUndo): adjust
16126
16127 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16128
16129         * buffer.C: up' the LYX_FORMAT
16130
16131         * lyxfont.h: turn NO_LATEX on as default
16132
16133         * buffer.C (insertErtContents): new methods of tex style compability.
16134         (parseSingleLyXformat2Token): use it several places.
16135         * tabular.C (OldFormatRead): and here
16136
16137 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16138
16139         * text2.C: remove some commented code.
16140         reindent file.
16141
16142         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16143         * trans.C: changes because of the above.
16144
16145 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16146
16147         * text2.C (setCounter): Fix counters bug with bibliography layout.
16148
16149 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16150
16151         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16152         own member functions
16153         (simpleTeXSpecialChars): ditto
16154
16155 2001-07-06  Juergen Vigna  <jug@sad.it>
16156
16157         * a lot of files: changed the access to LyXText::status and the
16158         call of undo-functions.
16159
16160         * undo.[Ch]: added a inset_id to the undo informations.
16161
16162         * undo_funcs.[Ch]: added and moved here all undo functions.
16163
16164         * lyxtext.h: give the status enum a weight, made status_ a private
16165         variable and made accessor functions for it, removed the whole bunch
16166         of undo-functions as they are now in their own file, make some
16167         functions publically available. Added function ownerParagraph with
16168         int parameter.
16169
16170         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16171         made InInset() a const function, added getParFromID() function.
16172
16173         * buffer.[Ch]: added const version for inset_iterator functions,
16174         added getInsetFromID() function.
16175
16176         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16177         changed undo functions for new version.
16178
16179 2001-07-05  Juergen Vigna  <jug@sad.it>
16180
16181         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16182         unknow mechanism does not call the proper constructor but only this
16183         one also if I request the other!?
16184
16185 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16186
16187         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16188
16189         * text2.C (LyXText): use initialization lists.
16190
16191         * lyxtext.h (Selection): initialize set_ and mark_
16192         (init): remove method
16193
16194 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16195
16196         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16197
16198 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16199
16200         * screen.[Ch]: change method names to begin with lowercase
16201
16202         * BufferView_pimpl.C (updateScrollbar): simplify further and
16203         hopefully make it a bit faster.
16204
16205 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16206
16207         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16208         calling directly xforms functions.
16209
16210         * Painter.C (Painter):
16211         * lyx_cb.C (MenuWrite):
16212         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16213         fl_display.
16214
16215         * lyx_gui.C: remove bogus guiruntime extern declaration.
16216
16217 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16218
16219         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16220         in NEW_INSETS
16221         (redoDrawingOfParagraph): ditto
16222         (redoParagraphs): ditto
16223         (cutSelection): don't create a object for CutAndPaste use the
16224         static method directly
16225         (pasteSelection): ditto
16226
16227         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16228         LyXview (+ rename)
16229
16230 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16231
16232         * modifications to some other files because of this.
16233
16234         * Makefile.am (lyx_SOURCES): add XFormsView
16235
16236         * XFormsView.[Ch]: new files
16237
16238         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16239         the main window. Move the gui dependent stuff to XFormsView
16240
16241 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16242
16243         * tabular.C (GetCellInset): update cur_cell also in the row/col
16244         version of this function.
16245
16246         * lyxfunc.C: no need to include figure_form.h here.
16247
16248         * FontLoader.h:
16249         * lyxfunc.h:
16250         * lyxscreen.h:
16251         * text2.C:
16252         * lyxvc.C: no need to include forms.h here.
16253
16254 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16255
16256         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16257
16258         * lyxfunc.C (Dispatch):
16259         * Spacing.C (set):
16260         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16261         constructor argument.
16262
16263 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16264
16265         * paragraph.C (Paragraph): dont't clear, and just set layout.
16266         (makeSameLayout): use params's copy contructor.
16267
16268         * ParagraphParameters.[Ch] (makeSame): delete method
16269
16270 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16271
16272         * Variables.[Ch]: fix indentation, rename set to isSet
16273
16274 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16275
16276         * lyxfunc.C (Dispatch): fix typo
16277
16278 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16279
16280         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16281         upper_bound.
16282
16283         * bufferlist.C: include assert.h for emergencyWrite().
16284
16285 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16286
16287         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16288           give up at last (bug #425202) !
16289
16290 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16291
16292         * lyx_gui_misc.C:
16293         * sp_form.h:
16294         * sp_form.C:
16295         * spellchecker.h:
16296         * spellchecker.C: strip spellchecker options and bring up
16297           preferences tab instead
16298
16299 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16300
16301         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16302         the istringstream constructor
16303
16304 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16305
16306         * paragraph.C (getLayout): fix return value
16307
16308         * paragraph.h: do not declare getLayout as inline.
16309
16310         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16311
16312 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * lyxcursor.h (operator<): new func
16315         (operator>): new func
16316         (operator>=): new func
16317         (operator<=): new func
16318
16319         * text.C (changeCase): use selection.start and selection.end
16320         (changeRegionCase): require from to be <= to. Require par to be a
16321         valid paragraph.
16322
16323         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16324
16325 2001-06-27  Juergen Vigna  <jug@sad.it>
16326
16327         * text.C (cursorLeftOneWord): changed to return the cursor and added
16328         overlay with BufferView * parameter which calls this one.
16329         (getWord): added
16330         (selectWord): use new getWord function.
16331         (changeCase): renamed from changeWordCase as and extended to work
16332         also on selections.
16333
16334         * lyxtext.h: added enum word_location
16335
16336         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16337         changeCase as this operates now also on selections.
16338
16339 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16340
16341         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16342
16343         * many files: send debug output to Debug::INFO instead of
16344         Debug::ANY.
16345
16346         * converter.C (View):
16347         (Convert):
16348         (Move): send debug output to Debug::FILES instead of console.
16349
16350 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16351
16352         * lyxfunc.C (getStatus): use func_status
16353
16354         * func_status.h: new header, describing the results of
16355         LyXFunc::getStatus;
16356
16357         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16358         LFUN_MATH_HALIGN.
16359
16360 2001-06-25  The LyX Project  <jug@sad.it>
16361
16362         * buffer.C (sgmlOpenTag):
16363         (sgmlCloseTag):
16364         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16365
16366 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16367
16368         * text2.C: remove some dead code
16369
16370         * tabular.C (GetCellInset): store the last cell checked (gotten)
16371
16372         * tabular.h: add the helper for the speedup
16373
16374         * lyxtext.h: remove some dead code
16375
16376 2001-06-26  The LyX Project  <Asger>
16377
16378         * paragraph.C: Change export to LaTeX of alignment to
16379         \begin{center} and family for better roundtrip work with reLyX.
16380
16381         * Tune the math drawing a bit.
16382
16383 2001-06-25  The LyX Project  <Asger>
16384
16385         * LColor.C (LColor): New color for math background. New color
16386         for buttons.
16387
16388 2001-06-25  The LyX Project  <jug@sad.it>
16389
16390         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16391
16392         * lyxfunc.C (Open):
16393         * bufferlist.C (newFile): do not restrict to files ending with
16394         .lyx
16395
16396         * BufferView_pimpl.C (MenuInsertLyXFile):
16397
16398 2001-06-24  The LyX Project  <jug@sad.it>
16399
16400         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16401         of compare_no_case
16402
16403 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16404
16405         * lyxtext.h: rename most methods to begin with a small char.
16406         Lots of changes because of this.
16407
16408         * paragraph.C (Paragraph): do not call fitToSize
16409         (erase): call Pimpl::erase
16410         (insertChar): call Pimpl::insertChar
16411         (insertInset): call Pipl::insertInset
16412         (breakParagraph): do not call fitToSize
16413         (breakParagraphConservative): do not call fitToSize
16414         (fitToSize): remove method
16415
16416         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16417
16418 2001-06-24  The LyX Project  <Asger>
16419
16420         * Fix Qt compilation^2
16421
16422 2001-06-24  The LyX Project  <jug@sad.it>
16423
16424         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16425         depthHook(getDepth()-1).
16426
16427         * paragraph.h:
16428         * ParagraphParameters.h:
16429         * ParameterStruct.h: change type of depth to unsigned int ==
16430         depth_type. Many adaptations to other files before of that.
16431
16432 2001-06-24  The LyX Project  <Asger>
16433
16434         * Fix Qt compilation.
16435
16436 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16437
16438         * paragraph.h: renamed several methods to begin with small letter.
16439         several changes to many parts of the code because of this.
16440
16441 2001-06-23  The LyX Project  <jug@sad.it>
16442
16443         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16444         rewritten to discard all double spaces when KeepEmpty is off
16445         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16446         to only handle newlines but not fiddle with spaces and friends.
16447
16448         * lyxfunc.C (MenuNew): when doing 'new from template', use
16449         template_path as default directory
16450
16451 2001-06-23  The LyX Project  <Asger>
16452
16453         * Clean-up of header file includes all over
16454         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16455
16456 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16457
16458         * paragraph.h: renamed from lyxparagraph.h
16459
16460 2001-06-23  Asger  <lyx@violet.home.sad.it>
16461
16462         * Buffer.h: Removed Buffer::resize
16463         * BufferList.h: Removed BufferList::resize
16464         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16465         the document lazily when we change the width, or the font settings.
16466
16467 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16468
16469         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16470
16471 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16472
16473         * buffer.h: remove out of date comment
16474
16475 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16476
16477         * lyxscreen.h:
16478         * screen.C: fix "theoretical" GC leak
16479
16480 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16481
16482         * LaTeX.C (scanAuxFile):
16483         (deplog): remove trailing \r when reading stream (useful under
16484         win32)
16485
16486 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16487
16488         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16489         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16490         and BufferView::theLockingInset(Inset*), so should use them and not
16491         access bv_->text->the_locking_inset directly.
16492
16493         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16494
16495 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16496
16497         * Makefile.am:
16498         * tex-defs.h: remove old unused file
16499
16500 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16501
16502         * BufferView_pimpl.C: fix typo, remove minibuffer message
16503           when buffer has loaded
16504
16505 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16506
16507         * lyxfunc.C (Dispatch): use stringstream
16508         (MenuNew): use stringstream
16509         (Open): use stringstream
16510
16511         * importer.C (Import): use stringstream
16512
16513         * bufferview_funcs.C (CurrentState): use stringstream
16514
16515         * LaTeX.C (run): use stringstream
16516
16517         * BufferView_pimpl.C (savePosition): use stringstream
16518         (restorePosition): use stringstream
16519         (MenuInsertLyXFile): use stringstream
16520
16521 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16522
16523         * BufferView.C:
16524         * Bullet.C:
16525         * ColorHandler.C:
16526         * FontInfo.C:
16527         * FontLoader.C:
16528         * LColor.C:
16529         * LaTeXFeatures.C:
16530         * Painter.C:
16531         * gettext.C:
16532         * lyx_gui_misc.C:
16533         * lyxserver.C:
16534         * vspace.C: removed // -*- C++ -*- as first line.
16535
16536         * lyxfind.h:
16537         * version.h: added // -*- C++ -*- as first line.
16538
16539 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16540
16541         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16542
16543         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16544         of string
16545
16546 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16547
16548         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16549         of floats.
16550
16551 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16552
16553         * gettext.C: include LString.h even when --disable-nls is on.
16554
16555 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16556
16557         * converter.h (Get): changed argument type from int to
16558         FormatList::size_type to avoid unnecessary conversion.
16559
16560         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16561         before using it.
16562
16563 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16564
16565         * gettext.h: include LString.h even when --disable-nls is on.
16566
16567 2001-06-07  Juergen Vigna  <jug@sad.it>
16568
16569         * text.C (BreakAgain): subst spaces with tabs.
16570
16571         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16572         (resizeInsetsLyXText): set force on resizeLyXText.
16573
16574 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16575
16576         * gettext.h (gettext_init):
16577         (locale_init): use a real definition instead of a macro
16578
16579 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16580
16581         * Bufferview_pimpl.C:
16582         * LColor.h:
16583         * LColor.C: further lcolor tidies
16584
16585 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16586
16587         * BufferView_pimpl.C (updateScrollbar): simplify.
16588
16589         * BufferView2.C: don't include insets/insetinfo.h, change
16590         prototype for insertInset and call the Pimpl version. let
16591         updateInset call Pimpl version.
16592
16593         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16594         gotoInset to BufferView::Pimpl
16595
16596 2001-06-01  Juergen Vigna  <jug@sad.it>
16597
16598         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16599         inside a LockingInset (is the update needed at all?).
16600
16601 2001-05-31  Juergen Vigna  <jug@sad.it>
16602
16603         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16604         here not the old one otherwise how should we compare it afterwards
16605         if it's the same!
16606
16607 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16608
16609         * lyxfont.C:
16610         * tabular.C:
16611         * tabular-old.C:
16612         * FontInfo.C: bring C functions into global namespace when
16613         necessary
16614
16615 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16616
16617         * LString.h: make sure config.h has been loaded before LString.h.
16618
16619         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16620         (one for each char read by EatLine!).
16621
16622         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16623         variables.
16624
16625 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16626
16627         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16628         to the same as the par we break from
16629
16630 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16633
16634         * MenuBackend.C (expand): also create menu entries for wide
16635         versions of the floats.
16636
16637         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16638
16639         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16640
16641         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16642         frontends/Makefile.am
16643
16644         * text2.C: adjust
16645         * text.C: adjust
16646
16647
16648         * tabular.C (getTokenValue): add std::
16649
16650         * tabular-old.C (getTokenValue): add std::
16651         (getTokenValue): ditto
16652         (getTokenValue): ditto
16653
16654         * screen.C (ToggleSelection): adjust
16655
16656         * lyxtext.h: put selection cursors inside a Selection struct.
16657
16658         * lyxfunc.C (moveCursorUpdate): adjust
16659
16660         * lyxfont.C (latexWriteStartChanges): add std::
16661
16662         * lyxfind.C: adjust
16663
16664         * font.h: delete with(char const *, LyXFont const &)
16665
16666         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16667
16668         * FontInfo.C (getFontname): add std::
16669
16670         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16671         (workAreaButtonPress): adjust
16672         (tripleClick): adjust
16673         (update): adjust
16674         (moveCursorUpdate): adjust
16675         (Dispatch): adjust
16676
16677         * BufferView2.C (gotoInset): adjust
16678
16679 2001-05-30  Juergen Vigna  <jug@sad.it>
16680
16681         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16682         to check pspell I add this as default as I now have new pspell
16683         libraries and they seem to use this.
16684
16685 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16686
16687         * text2.C (CutSelection): make the cursor valid before the call to
16688         ClearSelection.
16689
16690 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16691
16692         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16693         relied on 0 terminated strings and other horrors. Bug found due to
16694         the new assert in lyxstring!
16695
16696         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16697         KP_ keys.
16698
16699 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16700
16701         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16702         to latinkeys.bind.
16703
16704         * lyxfunc.C (processKeySym): change method of getting to the
16705         self-insert char.
16706
16707         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16708         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16709         * BufferView_pimpl.[Ch]: here as private methods.
16710
16711 2001-05-28  Juergen Vigna  <jug@sad.it>
16712
16713         * text.C (SetHeightOfRow): added the update() call again as it is
16714         needed to initialize inset dimensions!
16715
16716 2001-05-16  Juergen Vigna  <jug@sad.it>
16717
16718         * text2.C (SetCharFont): Add new function with BufferView * and
16719         bool toggleall parameters for setting insets internal fonts.
16720         (SetFont): Freeze the undo as we may change fonts in Insets and
16721         all this change should be inside only one Undo!
16722
16723         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16724         setting font's in insets as for them we have the SetFont function!
16725
16726 2001-05-15  Juergen Vigna  <jug@sad.it>
16727
16728         * text2.C (ClearSelection): to be sure we REALLY don't have any
16729         selection anymore!
16730
16731         * tabular.C (TeXCellPreamble): fixed the left border problem for
16732         multicolumn cells.
16733
16734 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16735
16736         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16737         dependancy file
16738
16739 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16740
16741         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16742         LFUN_BREAKPARAGRAPH.
16743
16744         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16745         help test to "internal only", similar for LFUN_INSERT_URL
16746
16747         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16748         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16749         auto_region_delete and deadkeys.
16750
16751 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16752
16753         * LColor.h:
16754         * LColor.C: remove some dead entries, tidy a little
16755
16756 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16757
16758         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16759         commented code.
16760         (Dispatch): implement LFUN_ESCAPE
16761
16762         * commandtags.h: add LFUN_ESCAPE
16763
16764         * LyXAction.C (init): add entry for LFUN_ESCAPE
16765
16766         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16767         Remove commented code.
16768         (insertNote): moved here
16769         (open_new_inset): moved here
16770
16771         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16772         BufferView_pimpl
16773
16774 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16775
16776         * kbmap.C (findbinding): clean it up and make it work correctly.
16777
16778         * lyx_main.C (init): do not pass argc and argv as parameters
16779
16780 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16781
16782         * buffer.C: fix path for OS/2 & Win32
16783
16784         * lyx_gui.C:
16785         * lyx_main:
16786         * lyx_main.C: Added os:: class.
16787
16788         * os2_defines.h: update
16789
16790 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16791
16792         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16793         better by trying again with reduced state.
16794
16795 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16796
16797         * lyxrc.C (read): print error about invalid key sequence only when
16798         debugging (because not all latinX keysyms are known to some X
16799         servers)
16800
16801         * kbsequence.C (getiso): add a few std:: qualifiers
16802         (getiso): comment out extra return statement.
16803
16804 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16805
16806         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16807         handling.
16808         (Dispatch): enhance the accent inset a bit. (not perfect)
16809
16810 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16811
16812         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16813
16814 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16815
16816         * bufferlist.C (emergencyWrite): fix assert() call
16817
16818 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16819
16820         * text.C (InsertChar): Added trivial patch to only send the "you
16821         can not do multiple spaces this way" message once during a
16822         session.
16823
16824 2001-05-08  Baruch Even  <baruch@lyx.org>
16825
16826         * Makefile.am: Changed order of libraries to get LyX to link properly
16827         with the gnome frontend.
16828
16829 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * LaTeXFeatures.h: add a std:: qualifier
16832
16833 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16834
16835         * paragraph.C (String): use stringstream
16836
16837 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16838
16839         * paragraph.C (writeFile): remove footflag arg
16840
16841         * buffer.C (makeLaTeXFile): use stringstream
16842         (latexParagraphs): remove footnot gurba
16843
16844         * LaTeXFeatures.C (getPackages): use stringstream
16845         (getMacros): likewise
16846         (getTClassPreamble): likewise
16847         (getFloatDefinitions): new method
16848
16849         * paragraph.C (writeFile): reindent
16850         (Erase): reindent
16851
16852         * WorkArea.h: revert the xpos + etc changes.
16853
16854         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16855
16856         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16857
16858         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16859         (pasteSelection): likewise
16860         * text2.C (CreateUndo): likewise
16861
16862 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16863
16864         * minibuffer.C (peek_event): temporarily reduce the functionality
16865         of the minibuffer (to allow args on lfuns)
16866
16867         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16868         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16869
16870         * buffer.C (readInset): add compability reading of old float
16871         lists, add reading of new style float list.
16872         (readInset): avoid reevaluation of inscmd.getCmdName()
16873         (getLists): reindent
16874
16875         * MenuBackend.C (MenuItem): implement parsing of
16876         md_floatlistinsert and md_floatinsert.
16877         (expand::LastFiles): move initalizaton of iterators out of loop,
16878         avoid reevaluation.
16879         (expand::Documents): introduce typdedef vector<string> Strings,
16880         and use it.
16881         (expand::ExportFormats): introduce typedef vector<Format const *>
16882         Formats, and use it.
16883         (expand): implement FloatListInsert and FloatInsert.
16884
16885         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16886         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16887         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16888
16889         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16890         handling.
16891         (Dispatch::LFUN_FLOAT_LIST): implement
16892
16893 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16894
16895         * LaTeX.C (run): Fix problem with --export code.
16896
16897 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16898
16899         * BufferView.[Ch] (workarea): removed.
16900         (getClipboard) new method; wrapper for workarea()->getClipboard()
16901
16902         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16903         bug.
16904
16905         * WorkArea.h (width, height, xpos, ypos): These methods all
16906         returned the dimensions of the work_area sub-area of WorkArea,
16907         resulting in a position error if the WorkArea were resized. Now
16908         return the dimensions of the entire WorkArea.
16909
16910         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16911
16912 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16913
16914         * LaTeX.C (deplog): correct the syntax of regex reg1
16915
16916 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16917
16918         * undo.C: remove !NEW_INSETS cruft
16919
16920 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16921
16922         * text2.C: remove !NEW_INSETS cruft
16923
16924         * text.C: remove !NEW_INSETS cruft
16925
16926         * tabular.C: remove !NEW_INSETS cruft
16927
16928         * spellchecker.C: remove !NEW_INSETS cruft
16929
16930         * lyxtext.h: remove !NEW_INSETS cruft
16931
16932         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16933
16934         * lyxfunc.C: remove !NEW_INSETS cruft
16935
16936         * lyxfind.C: remove !NEW_INSETS cruft
16937
16938         * lyx_cb.C: remove !NEW_INSETS cruft
16939
16940         * figureForm.C: remove  !NEW_INSETS cruft
16941
16942         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16943
16944         * buffer.[Ch]: remove !NEW_INSETS cruft
16945
16946         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16947
16948         * CutAndPaste.C: remove !NEW_INSETS cruft
16949
16950         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16951
16952         * BufferView2.C: remove !NEW_INSETS cruft
16953
16954         * BufferView.h: remove !NEW_INSETS cruft
16955
16956 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16957
16958         * Lsstream.h: include LString.h before the sstream headers to
16959         fix problem with gcc 2.95.3 and lyxstring
16960
16961 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16962
16963         * lyx_main.C: add using directives when needed for C functions
16964         declared in std:: namespace.
16965
16966 2001-04-27  Juergen Vigna  <jug@sad.it>
16967
16968         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16969         (SetHeightOfRow): comment out the update call should not be needed!
16970
16971 2001-04-13  Juergen Vigna  <jug@sad.it>
16972
16973         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16974         (LyXTabular): tried to minimize operator= operations (and realized
16975         hopfully Lars wish).
16976
16977 2001-04-27  Juergen Vigna  <jug@sad.it>
16978
16979         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16980
16981 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16982
16983         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16984
16985         * buffer.C (readInset): hack to make listof algorithm work
16986
16987         * BufferView_pimpl.C: hack to make listof algorithm work
16988
16989 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16990
16991         * LyXAction.C: removed all !NEW_INSETS cruft
16992         (init): moved lfun_item in method
16993
16994         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16995
16996 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16997
16998         * BufferView2.C (theLockingInset): white space.
16999
17000 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17001
17002         * minibuffer.C: include <iostream>
17003
17004         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17005
17006         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17007
17008         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17009
17010         * text.[Ch] (TransposeChars): new method
17011
17012 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17013
17014         * call message directly through LyXView instead of through LyXFunc
17015         * BufferView2.C: adjust
17016         * BufferView_pimpl.C: adjust
17017         * FontLoader.C: adjust
17018         * buffer.C: adjust
17019         * bufferview_funcs.C: adjust
17020         * converter.C: adjust
17021         * figureForm.C: adjust
17022         * importer.C: adjust
17023         * lyx_cb.C: adjust
17024         * lyx_gui_misc.C: adjust
17025         * lyxfunc.C: adjust
17026         * lyxvc.C: adjust
17027         * text2.C: adjust
17028         + more files in subdirs
17029
17030         * lyxparagraph.h (size): move up int file
17031         (GetLayout): ditto
17032
17033         * adjust all uses of Assert to lyx::Assert.
17034
17035         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17036         lyxfunctional in namespace lyx
17037         * layout.C (hasLayout): ditto
17038         (GetLayout): ditto
17039         (GetLayout): ditto
17040         (delete_layout): ditto
17041         (NumberOfClass): ditto
17042         * converter.C (GetFormat): ditto
17043         (GetNumber): ditto
17044         (Add): ditto
17045         (Delete): ditto
17046         (SetViewer): ditto
17047         * bufferlist.C (getFileNames): ditto
17048         (emergencyWriteAll): ditto
17049         (exists): ditto
17050         (getBuffer): ditto
17051         * MenuBackend.C (hasSubmenu): ditto
17052         (hasMenu): ditto
17053         (getMenu): ditto
17054         * BufferView_pimpl.C (getInsetByCode): ditto
17055
17056 2001-04-18  Juergen Vigna  <jug@sad.it>
17057
17058         * vspace.C (asLatexString): fixed the 100% problem.
17059
17060 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17061
17062         * lyxfunc.C (Dispatch):
17063         * minibuffer.C:
17064         * minibuffer.h: add a few std:: qualifiers
17065
17066 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17067
17068         * minibuffer.[Ch]: reimplement so that commands is initiated and
17069         run from lyxfunc, simplified som handling, and made the completion
17070         and history code for complete. wip.
17071
17072         * lyxfunc.C (processKeySym): call message
17073         (miniDispatch): new temporary method
17074         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17075         (LFUN_MESSAGE): implement
17076         (LFUN_MESSAGE_PUSH): implement
17077         (LFUN_MESSAGE_POP): implement
17078         (initMiniBuffer): the initial/defualt minibuffer message.
17079
17080         * lyxfont.[Ch]: inline some more getters
17081
17082         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17083
17084         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17085
17086         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17087         (AutoSave): use LFUN_MESSAGE
17088         (Reconfigure): ditto
17089
17090         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17091
17092         * figureForm.C: use LFUN_MESSAGE
17093
17094         * converter.C (runLaTeX): use LFUN_MESSAGE
17095
17096         * bufferview_funcs.C: use LFUN_MESSAGE
17097         (Melt): ditto
17098         (changeDepth): ditto
17099
17100         * bufferparams.h: use boost::
17101
17102         * bufferlist.h: inherit privately from noncopyable
17103
17104         * bufferlist.C (loadLyXFile): remove some commented code.
17105
17106         * buffer.C (runChktex): use LFUN_MESSAGE
17107
17108         * ShareContainer.h: inherit privately from noncopyable
17109
17110         * ParagraphParameters.[hC] (depth): inline it.
17111
17112         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17113         methods.
17114         (message): new method
17115         (messagePush): ditto
17116         (messagePop): ditto
17117         (show): init minibuffer
17118         (showState): direct call
17119
17120         * LaTeX.[Ch]: inherit privately from noncopyable
17121         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17122         instead of WriteStatus.
17123
17124         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17125
17126         * BufferView_pimpl.C (buffer): don't init minibuffer
17127         (workAreaButtonPress): use LFUN_MESSAGE
17128         (workAreaButtonRelease): ditto
17129         (savePosition): ditto
17130         (restorePosition): ditto
17131         (MenuInsertLyXFile): ditto
17132         (workAreaExpose): don't init minibuffer
17133         (update): remove commented code, simplify
17134
17135         * BufferView2.C (openStuff): use LFUN_MESSAGE
17136         (toggleFloat): ditto
17137         (menuUndo): ditto
17138         (menuRedo): ditto
17139         (copyEnvironment): ditto
17140         (pasteEnvironment): ditto
17141         (copy): ditto
17142         (cut): ditto
17143         (paste): ditto
17144         (gotoInset): ditto
17145         (updateInset): remove some commented code
17146
17147         * lastfiles.h: inherit privately from noncopyable
17148         * layout.h: ditto
17149         * lyx_gui.h: ditto
17150         * lyx_main.h: ditto
17151         * lyxlex.h: ditto
17152         * lyxlex_pimpl.h: ditto
17153
17154         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17155         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17156         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17157
17158         * LyXAction.h: inherit privately from noncopyable, add methods
17159         func_begin, func_end, returning iterators to the func map.
17160
17161         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17162         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17163         (func_begin): new method
17164         (func_end): new method
17165
17166         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17167         and not)
17168         (copySelection): ditto
17169         (pasteSelection): ditto
17170
17171         * BufferView.C: whitespace change
17172         * BufferView.h: inherit privately from noncopyable
17173
17174 2001-04-16  Allan Rae  <rae@lyx.org>
17175
17176         * tabular-old.C (l_getline):
17177         * spellchecker.C (sc_check_word):
17178         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17179         an unrecognised preprocessor directive.  So ensure they're wrapped.
17180
17181 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17182
17183         * src/exporter.C (Export): Give an error message when path to file
17184         contains spaces.
17185
17186 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17187
17188         * LaTeX.C (deplog): Always check that foundfile exists.
17189
17190 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17191
17192         * lyx_main.h:
17193         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17194
17195 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17196
17197         * tabular.[Ch] (getLabelList): implement new method
17198
17199         * minibuffer.h: comment ouf setTiimer
17200
17201         * minibuffer.C (ExecutingCB): constify res
17202         (peek_event): constify s
17203         (Set): constify ntext
17204         (Init): constify nicename
17205
17206         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17207
17208         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17209         (savePosition): use two params to Minibuffer::Set
17210         (restorePosition): ditto
17211
17212 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17213
17214         * lyx_main.C: include language.h
17215
17216         * Makefile.am (lyx_main.o): add language.h
17217
17218 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17219
17220         * exporter.C:
17221         * paragraph.C:
17222         * screen.C:
17223         * tabular.C:
17224         * CutAndPaste.C: include gettext.h
17225
17226         * lyxfont.h: remove old hack with ON and OFF.
17227
17228         * lyxparagraph.h:
17229         * lyxfont.h: do not include language.h...
17230
17231         * BufferView2.C:
17232         * LaTeXFeatures.C:
17233         * Painter.C:
17234         * bufferview_funcs.C:
17235         * font.C:
17236         * lyxfont.C:
17237         * text.C:
17238         * text2.C:
17239         * trans_mgr.C:
17240         * paragraph.C: ... but do it here instead
17241
17242 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17243
17244         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17245
17246         * tabular.C: small reformat
17247
17248         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17249         NEW_INSETS version
17250         (GetChar): ditto
17251         (BreakParagraph): ditto
17252         (SetOnlyLayout): ditto
17253         (SetLayout): ditto
17254
17255         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17256         with one arg less.
17257
17258         * lastfiles.C: removed most using decl, add std:: where needed
17259
17260         * buffer.C: ws changes
17261
17262         * MenuBackend.C (class compare_format): put into anon namespace
17263         (expand): constify label, names, action, action2
17264         (expand):
17265
17266         * text.C (SingleWidth): constify font
17267         (IsBoundary): constify rtl2
17268         (GetVisibleRow): constify ww
17269
17270         * LaTeX.C (deplog): constify logfile
17271
17272         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17273         start_x, end_x
17274         (workAreaExpose): constify widthChange, heightChange
17275
17276         * lyxrow.C (par): moved
17277         (height): moved
17278         (next): moved
17279         * lyxrow.h: as inlines here
17280
17281         * lyxfont.h (shape): moved from lyxfont.C
17282         (emph): moved from lyxfont.C
17283
17284         * lyxfont.C (LyXFont): use initialization list for all
17285         constructors
17286         (shape): move to lyxfont.h as inline
17287         (emph): move to lyxfont.h as inline
17288
17289
17290 2001-04-04  Juergen Vigna  <jug@sad.it>
17291
17292         * vspace.C: had to include stdio.h for use of sscanf
17293
17294 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17295
17296         * BufferView.h:
17297         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17298         independent of xforms.
17299
17300 2001-04-02  Juergen Vigna  <jug@sad.it>
17301
17302         * spellchecker.C: fixed namespace placing!
17303
17304 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17305
17306         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17307         the LyXParagraph * is 0.
17308
17309 2001-03-29  Juergen Vigna  <jug@sad.it>
17310
17311         * vspace.C: added support for %, c%, p%, l%.
17312         (stringFromUnit): added helper function.
17313         (asLatexString): changed to give right results for the %-values.
17314
17315         * buffer.C: convert the widthp in a width%.
17316
17317 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17318
17319         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17320         figureForm.[Ch].
17321
17322         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17323         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17324
17325         * lyx_cb.[Ch]: see above.
17326
17327         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17328         form1.[Ch].
17329
17330         * form1.[Ch]:
17331         * lyx.[Ch]: replaced by figure_form.[Ch].
17332
17333         * lyx_gui.C:
17334         * lyx_gui_misc.C:
17335         * lyxfunc.C: changed headers associated with above changes.
17336
17337 2001-03-27  Juergen Vigna  <jug@sad.it>
17338
17339         * BufferView_pimpl.C: set the temporary cursor right!
17340
17341 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17342
17343         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17344
17345 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17346
17347         * LString.h: removed "using std::getline"!
17348
17349         * BufferView_pimpl.C (Dispatch): changes due to changes in
17350         InsetInclude::Params.
17351
17352         * buffer.C (tag_name): removed redundant break statements as they were
17353         producing lots of warnings with my compiler.
17354
17355 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17356
17357         * LString.h: add "using std::getline" when using the real <string>.
17358
17359 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17360
17361         * buffer.C: removed bitset usage.
17362         PAR_TAG moved to an anonymous name space.
17363         (tag_name): new funtion, also in the anonymous namespace.
17364         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17365         (makeDocBookFile): clean code. Completed transition from string arrays
17366         to string vectors.
17367         (SimpleDocBookOnePar): code clean.
17368
17369 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17370
17371         * tabular.C: add some comments.
17372
17373 2001-03-22  Juergen Vigna  <jug@sad.it>
17374
17375         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17376         compatibility read a bit and fixed bug with minipage in different
17377         depth.
17378
17379 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17380
17381         * buffer.C (pop_tag): removed.
17382         (push_tag): removed.
17383         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17384         array replaced with vector. Added support for CDATA sections.
17385         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17386         at any nest level.
17387         (makeDocBookFile): XML conformant declaration of CDATA section,
17388         fixed bug related to <emphasis> in the first paragraph char.
17389         (sgmlOpenTag): exclude empty tags.
17390         (sgmlCloseTag): ditto.
17391
17392         * buffer.h (pop_tag): removed.
17393         (push_tag): removed.
17394
17395 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17396
17397         * language.h (Languages): added size_type and size().
17398
17399 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17400
17401         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17402         response on compability reading of minipages. One probliem is that
17403         the old usage of minipages was flertydig
17404
17405         * several files here and in subdirs: don't use static at file
17406         scope use anon namespaces instead.
17407
17408 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17409
17410         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17411         LaTeX output. This is necessary for Literate document
17412         processing.
17413
17414 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17415
17416         * buffer.C: insert hfill when needed.
17417
17418         * tabular.C (l_getline): use string::erase, small whitespace change.
17419
17420         * BufferView_pimpl.C: try the anon namespace.
17421         * WorkArea.C: ditto
17422
17423 2001-03-16  Juergen Vigna  <jug@sad.it>
17424
17425         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17426         otherwise it won't open options-dialogs.
17427
17428         * buffer.C: honor pextraWidth(p) on converting minipages.
17429
17430         * tabular.C (l_getline): changed the functions to strip trailing \r.
17431
17432 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17433
17434         * BufferView_pimpl.C:
17435         * minibuffer..C: added "using SigC::slot" declaration.
17436
17437 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17438
17439         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17440
17441         * text2.C: ditto
17442
17443         * text.C: ditto
17444
17445         * paragraph.C: ditto
17446
17447         * lyxtext.h: NO_PEXTRA
17448
17449         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17450
17451         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17452         * ParameterStruct.h: ditto
17453         * ParagraphParameters.h: ditto
17454         * lyxparagraph.h: ditto
17455
17456 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17457
17458         * buffer.C: add compability for minipage alignment.
17459         (latexParagraphs): remove unwanted pextra check.
17460
17461         * several files: remove CXX_WORKING_NAMESPACES
17462
17463         * buffer.C (pop_tag): tie is in namespace boost
17464
17465         * BufferView.h: noncopyable is in namespace boost
17466         * lyxlex.h: ditto
17467         * lyx_main.h: ditto
17468         * lyx_gui.h: ditto
17469         * layout.h: ditto
17470         * lastfiles.h: ditto
17471         * bufferlist.h: ditto
17472         * ShareContainer.h: ditto
17473         * LyXView.h: ditto
17474         * LyXAction.h: ditto
17475         * LaTeX.h: ditto
17476
17477 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17478
17479         * Merging changes from BRANCH_MVC back into HEAD.
17480
17481         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17482
17483 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17484
17485         * BufferView_pimpl.C: change from intl.C
17486
17487         * combox.h:
17488         * combox.C:
17489         * Makefile.am: move combox.*
17490
17491         * form1.h:
17492         * form1.C:
17493         * lyx_gui.C:
17494         * intl.h:
17495         * intl.C: remove dialog (covered by prefs)
17496
17497 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17498
17499         * lyxfunc.C (Dispatch): removed redundant break statement.
17500
17501 2001-03-14  Juergen Vigna  <jug@sad.it>
17502
17503         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17504
17505 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17506
17507         * buffer.C: add hack to fix compability reading of minipages.
17508
17509 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17510
17511         * buffer.C (getLists): Cleanup.
17512
17513 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17514
17515         * lyxfont.C (update): don't honor toggleall on font size.
17516
17517 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17518
17519         * bmtable.c:
17520         * bmtable.h:
17521         * Makefile.am: moved to frontends/xforms/
17522
17523         * lyx_gui_misc.C:
17524         * lyxfunc.C:
17525         * BufferView_pimpl.C: changes for moved mathpanel
17526
17527 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17528
17529         * gettext.h: fix gettext_init() in --disable-nls
17530
17531 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17532
17533         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17534
17535 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17536
17537         * lyx.C:
17538         * lyx.h: strip external form
17539
17540 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17541
17542         * BufferView_pimpl.C: add comment, destroySplash()
17543
17544 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17545
17546         * BufferView_pimpl.C:
17547         * LyXAction.C:
17548         * buffer.C:
17549         * commandtags.h:
17550         * lyxfunc.C: use re-worked insetinclude
17551
17552 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17553
17554         * buffer.C: add using std::stringstream.
17555
17556         * lyx_cb.C: readd using std::ios.
17557
17558         * buffer.C: add using std::map.
17559
17560         * BufferView_pimpl.C: add using std::vector.
17561
17562         * ShareContainer.h: add std:: to swap.
17563
17564         * buffer.h: add some typedefs
17565         * buffer.C (getLists): use them
17566         (getLists): renamed from getTocList.
17567         add a counter for the different float types and use it in the
17568         generated string.
17569         (getLists): use the same counter for the NEW_INSETS and the "non"
17570         NEW_INSETS
17571
17572         * lyx_cb.h: remove unused items, includes, using etc.
17573
17574         * ShareContainer.h: remove some commented code, add more comments
17575         and "documentation".
17576
17577 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17578
17579         * buffer.C (getTocList): make the list also when NEW_INSETS is
17580         defined.
17581
17582         * buffer.h: remove TocType
17583
17584         * buffer.C (getTocList): change to return a map<string,
17585         vector<TocItem> >, implement for dynamic number of list.
17586
17587         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17588         * text2.C (PasteSelection): adjust
17589         * CutAndPaste.C (pasteSelection): adjust
17590
17591         * FloatList.C (FloatList): update from the new_insets branch.
17592         * Floating.[Ch]: ditto
17593         * LaTeXFeatures.C: ditto
17594         * buffer.C: ditto
17595         * lyxlex_pimpl.C: ditto
17596
17597         * paragraph.C (Last): remove when NEW_INSETS is defined.
17598
17599         * other file: changes because of the above.
17600
17601 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17602
17603         * lyxparagraph.h: rename next to next_, previous to previous_,
17604         make them private for NEW_INSETS. Rename Next() to next(),
17605         Previous() to previous().
17606
17607         * other files: changes because of the above.
17608
17609 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17610
17611         * BufferView.h:
17612         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17613         problem.
17614
17615 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17616
17617         * main.C (main): pass lyx_localedir to gettext_init().
17618
17619         * gettext.h: remove locale_init and gettext_init macros
17620
17621         * gettext.C (locale_init): new function
17622         (gettext_init): new function
17623
17624         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17625         setlocale().
17626
17627 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17628
17629         * Moved credits to frontends:
17630         * credits.[Ch]: removed
17631         * credits_form.[Ch]: removed
17632         * lyx_gui_misc.C: remove credits stuff
17633         * Makefile.am:
17634
17635 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17636
17637         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17638
17639         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17640         unneeded destructor.
17641
17642         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17643         a standalone pointer again.
17644
17645         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17646
17647 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17648
17649         * Makefile.am:
17650         * filedlg.h:
17651         * filedlg.C:
17652         * LyXAction.C:
17653         * ToolbarDefaults.C:
17654         * bufferlist.C:
17655         * commandtags.h:
17656         * form1.C:
17657         * form1.h:
17658         * lyx_cb.C:
17659         * lyx_cb.h:
17660         * lyxfunc.h:
17661         * lyxfunc.C:
17662         * BufferView_pimpl.C: use new file dialog in GUII
17663
17664         * lyx_cb.h:
17665         * lyx_cb.C: remove LayoutsCB to Toolbar
17666
17667 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17668
17669         * ShareContainer.h (get): add std:: qualifier
17670
17671 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17672
17673         * ShareContainer.h: define a proper ShareContainer::value_type
17674         type (and use typename to please compaq cxx)
17675
17676 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17677
17678         * lyxparagraph.h: move serveral local vars to
17679         ParameterStruct/ParagraphParameters., use ShareContainer in
17680         FontTable., make vars in FontTable private and add getter and
17681         setter.
17682
17683         * paragraph.C: changes because of the above.
17684
17685         * lyxfont.h: remove copy constructor and copy assignment. (the
17686         default ones is ok), move number inside FontBits. move inlines to
17687         lyxfont.C
17688
17689         * lyxfont.C: add number to initializaton of statics, move several
17690         inlines here. constify several local vars. some whitespace
17691         cleanup. Dont hide outerscope variables.
17692
17693         * Spacing.h: add two new constructors to match the set methods.
17694
17695         * ShareContainer.h: new file, will perhaps be moved to support
17696
17697         * ParameterStruct.h: new file
17698
17699         * ParagraphParameters.h: new file
17700
17701         * ParagraphParameters.C: new file
17702
17703         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17704         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17705
17706         * BufferView_pimpl.C: ParagraphParameter changes.
17707         * buffer.C: Likewise.
17708         * bufferview_funcs.C: Likewise.
17709         * text.C: Likewise.
17710         * text2.C: Likewise.
17711
17712 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17713
17714         * lyxfind.C (LyXReplace): do not redefine default argument in
17715         implementation.
17716         (IsStringInText): ditto
17717         (SearchForward): ditto
17718         (SearchBackward): ditto
17719
17720 2001-03-06  Juergen Vigna  <jug@sad.it>
17721
17722         * lyxfind.C (IsStringInText): put parentes around expressions.
17723
17724 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17725
17726         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17727
17728 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17729
17730         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17731
17732         * stl_string_fwd.h: add comment
17733
17734         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17735
17736         * tabular.h:
17737         * tabular.C: remove unused DocBook methods
17738
17739         * intl.C:
17740         * language.C:
17741         * paragraph.C:
17742         * buffer.C:
17743         killed DO_USE_DEFAULT_LANGUAGE
17744
17745 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17746
17747         * lyx_gui.C: do not include language.h.
17748
17749         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17750         arguments in function implementation.
17751
17752 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17753
17754         * BufferView_pimpl.C: add <ctime>
17755
17756 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17757
17758         * BufferView_pimpl.C: add using std::find_if
17759
17760 2001-02-27  José Matos  <jamatos@fep.up.pt>
17761
17762         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17763         by OnlyPath.
17764
17765 2001-02-11  José Matos  <jamatos@fep.up.pt>
17766
17767         * buffer.C (makeDocBookFile): command styles now have a parameter as
17768         "title" by default.
17769
17770 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17771
17772         * layout_forms.[Ch]: removed
17773         * lyx_cb.[Ch]: out character
17774         * lyx_gui.C: out character
17775         * lyx_gui_misc.C: out character
17776         * bufferview_funcs.C: : out character,
17777         added toggleall as parameter in ToggleAndShow
17778
17779 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17780
17781         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17782
17783         * text2.C (SetCurrentFont): Disable number property at boundary.
17784
17785 2001-02-26  Juergen Vigna  <jug@sad.it>
17786
17787         * lyxfunc.C (getStatus): added a string argument override function so
17788         that this is correctly called from LyXFunc::Dispatch if it contains a
17789         do_not_use_argument which is used!
17790         (Dispatch): added check for "custom" export and call appropriate func.
17791
17792 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17793
17794         * lyxrc.C: Add language_command_local, language_use_babel and
17795         language_global_options.
17796
17797         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17798
17799         * buffer.C (makeLaTeXFile): Use language_use_babel and
17800         language_global_options.
17801
17802 2001-02-23  Juergen Vigna  <jug@sad.it>
17803
17804         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17805         which works with LyXText and putted it inside BufferView. Here now we
17806         only call for that part the BufferView::Dispatch() function.
17807
17808         * BufferView.C (Dispatch): added.
17809
17810         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17811         functions which needs to use a LyXText over from LyXFunc.
17812         (MenuInsertLyXFile): added
17813         (getInsetByCode): added
17814         (moveCursorUpdate): added
17815         (static TEXT): added
17816
17817 2001-02-22  Juergen Vigna  <jug@sad.it>
17818
17819         * BufferView_pimpl.C (update): call a status update to see if LyXText
17820         needs it.
17821
17822 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17823
17824         * vc-backend.C (revert): implement for CVS
17825         (getLog): implement for CVS
17826
17827 2001-02-20  Juergen Vigna  <jug@sad.it>
17828
17829         * text2.C (ClearSelection): added BufferView param for inset_owner call
17830
17831         * lyxfunc.C (TEXT): added this function and use it instead of
17832         directly owner->view()-text of getLyXText().
17833
17834 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17835
17836         * src/layout_forms.C: out preamble
17837         * src/layout_forms.h: out preamble
17838         * src/lyx_cb.C: out preamble
17839         * src/lyx_cb.h: out preamble
17840         * src/lyx_gui.C: out preamble
17841         * src/lyx_gui_misc.C: out preamble
17842         * src/lyxfunc.C: connect with guii preamble
17843
17844 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17845
17846         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17847
17848 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17849
17850         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17851         whether to run bibtex.
17852
17853 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17854
17855         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17856
17857 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17858
17859         * Makefile.am (lyx_SOURCES): removed bibforms.h
17860
17861         * vspace.h: doxygen
17862
17863         * text.C (GetVisibleRow): make several local vars const
17864
17865         * tabular.C: small cleanup.
17866
17867         * lyxserver.C (callback): use compare instead of strncmp
17868
17869         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17870         inlines to after class or to paragraph.C
17871
17872         * lyxfont.h: remove friend operator!=
17873
17874         * converter.h: move friend bool operator< to non friend and after
17875         class def.
17876
17877         * combox.h: small cleanup
17878
17879         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17880         to inlines after class def.
17881
17882         * buffer.C (pop_tag): use string operations instead of strcmp
17883
17884         * bmtable.c: doxygen, small cleanup
17885
17886         * LaTeX.h: remove friend operator==
17887
17888 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17889
17890         * screen.C:
17891         * lyxrc.[Ch]:
17892         * lyxfunc.C:
17893         * lyxfont.[Ch]:
17894         * lyx_cb.C:
17895         * intl.[Ch]:
17896         * commandtags.h:
17897         * buffer.C:
17898         * WorkArea.[Ch]:
17899         * LyXAction.C:
17900         * BufferView_pimpl.C:
17901         * BufferView.[Ch]: remove cruft
17902
17903 2001-02-14  Juergen Vigna  <jug@sad.it>
17904
17905         * lyxfunc.C: removed #if 0 unused code
17906
17907         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17908
17909         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17910
17911         * text2.C (SetSelection): added a BufferView * parameter
17912
17913 2001-02-13  Juergen Vigna  <jug@sad.it>
17914
17915         * lyxfunc.C (Dispatch): fixed protected blank problem.
17916         * BufferView2.C (protectedBlank): added LyxText * parameter.
17917
17918         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17919         (AppendColumn): same as above for column_info.
17920
17921         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17922         (moveCursorUpdate): use a LyXText param for support of InsetText.
17923
17924         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17925         (tripleClick): ditto
17926
17927         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17928
17929         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17930
17931         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17932
17933         * text2.C (SetSelection): set correct update status if inset_owner
17934         (ToggleFree): ditto
17935
17936 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17937
17938         * tabular.C: remove some commented code.
17939
17940 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17941
17942         * BufferView_pimpl.C: call hideSplash()
17943
17944         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17945
17946         * include_form.h:
17947         * bibforms.h: remove
17948
17949         * lyxfunc.C:
17950         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17951           add LFUN_CHILD_CREATE
17952
17953         * counters.h: fix tiny typo
17954
17955         * lyx_cb.C:
17956         * lyx.h:
17957         * lyx_gui.C:
17958         * lyx.C: move splash to frontends/xforms/
17959
17960         * lyx_gui_misc.C: move Include and Bibform to frontends
17961
17962         * lyxvc.h: clarify comment
17963
17964         * vspace.C: tiny housekeeping
17965
17966 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17967
17968         * text.C (PrepareToPrint): RTL Fix.
17969
17970         * paragraph.C (GetUChar): New method.
17971         (String):  Use GetUChar.
17972
17973         * buffer.C (asciiParagraph): Use GetUChar.
17974
17975 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17976
17977         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17978
17979 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17980
17981         * buffer.h:
17982         * buffer.C: rename to getLogName(), handle
17983           build log / latex log nicely
17984
17985 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17986
17987         * MenuBackend.C:
17988         * MenuBackend.h: remove support for reference menuitem type.
17989
17990 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17991
17992         * BufferView_pimpl.C: housekeeping
17993         * BufferView_pimpl.h:
17994         * LyXView.h:
17995         * Makefile.am:
17996         * Timeout.C:
17997         * Timeout.h:
17998         * minibuffer.h: move Timeout GUI-I
17999
18000 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18001
18002         * lyxrc.C (read): Update converters data-structures.
18003
18004 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18005
18006         * LaTeX.h (operator!=): add operator != for Aux_Info
18007
18008 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18009
18010         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18011
18012         * LaTeXLog.C: deleted, useful code moved to Buffer
18013
18014         * buffer.h:
18015         * buffer.C: new function getLatexLogName()
18016
18017         * lyx_gui_misc.C:
18018         * lyx_gui.C:
18019         * lyxvc.C:
18020         * lyxvc.h:
18021         * lyxfunc.C: use frontends for LaTeX and VC logs
18022
18023 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18024
18025         * LaTeX.h: yet another std:: that Allan forgot.
18026
18027         * Variables.C (set): renamed from isset(), because this clashes
18028         with some HP-UX macros (grr).
18029
18030 2001-02-06  Allan Rae  <rae@lyx.org>
18031
18032         * LaTeX.h: Another bug fix.  Missing std:: this time.
18033
18034 2001-02-04  Allan Rae  <rae@lyx.org>
18035
18036         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18037         floats problem. I've left it commented out because it's not quite
18038         correct.  It should also test that the current object is a table or
18039         figure inset.  But I haven't gotten around to figuring out how to do
18040         that.  I *think* it'll be something like: "table" == inset.type()
18041
18042         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18043         bool.
18044
18045 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18046
18047         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18048         all the citation/databases/styles in the auxilary file.
18049         (run): Rerun latex if there was a babel language error.
18050
18051 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18052
18053         * text.C (Backspace): Preserve the font when changing newline char
18054         with a space.
18055         (BreakParagraph): If the cursor is before a space, delete the space.
18056
18057         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18058
18059 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18060
18061         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18062         new argument (code).
18063         (ChangeCitationsIfUnique): New method.
18064
18065         * paragraph.C (GetPositionOfInset): Handle bibkey.
18066
18067 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18068
18069         * BufferView_pimpl.h: change type of Position::par_pos to
18070         LyXParagraph::size_type.
18071
18072 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18073
18074         * BufferView_pimpl.C (savePosition, restorePosition): Write
18075         messages to minibuffer.
18076
18077 2001-01-28  José Matos  <jamatos@fep.up.pt>
18078
18079         * buffer.C (makeDocBookFile): adds support for document language.
18080         A silly restriction on the name of LatexCommand types where removed.
18081         Added support for CDATA sections, allows to chars unescaped, used
18082         among others in code, to avoid escape < and >.
18083
18084 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18085
18086         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18087         saved positions instrad of a stack. Furthermore, a position is
18088         stored using paragraph id/paragraph position.
18089
18090         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18091         Remove LFUN_REF_BACK.
18092
18093 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18094
18095         * converter.C (dvipdfm_options): New method.
18096
18097 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18098
18099         * vspace.C (isValidLength): Fix for empty input string.
18100
18101 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18102
18103         * LyXAction.C (init): change description of LFUN_FIGURE to
18104         "Insert Graphics"
18105
18106 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18107
18108         * LaTeX.C: add using directive
18109
18110 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18111
18112         * MenuBackend.C (expand): Fix the sorting of the formats.
18113
18114 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18115
18116         * lyx_main.C: tiny error message fix
18117
18118 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18119
18120         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18121         calling fl_initialize(). This fixes the problem with ',' as
18122         decimal separator in text files.
18123
18124 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18125
18126         * trans.C (process): Fix the keymap bug.
18127
18128 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18129
18130         * LaTeX.C (scanAuxFiles): New method. Provides support for
18131         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18132         (scanLogFile) Scan for "run BibTeX" messages.
18133
18134         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18135         OT1 font encoding. Also, load the aecompl package if the ae
18136         package is loaded.
18137
18138         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18139
18140 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18141
18142         * texrow.C (increasePos): turn two error messages into debug
18143         messages.
18144
18145 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18146
18147         * LaTeX.C (scanAux): Handle the \@input macro.
18148         (runBibTeX): Use scanAux().
18149
18150         * language.C (latex_options_): New field.
18151
18152         * LaTeXFeatures.C (getMacros): Add language macros.
18153
18154         * buffer.C (makeLaTeXFile): Small fix.
18155
18156 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18157
18158         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18159
18160         * text2.C: add a using directive.
18161
18162 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18163
18164         * BufferView2.C:
18165         * lyx_gui_misc.h:
18166         * lyxfr1.C:
18167         * lyxfunc.C: kill LyXBell.
18168
18169 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18170
18171         * text.C (IsBoundary): Remove the error message
18172
18173         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18174
18175         * lyxrc.C (setDefaults): Correct initialization value for
18176         font_norm_type.
18177
18178 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18179
18180         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18181         gotoError().
18182
18183         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18184         and GotoNextNote().
18185
18186         * src/LyXAction.C: Added reference-next.
18187
18188         * text.C (InsertChar): Use contains instead of strchr.
18189
18190         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18191
18192 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18193
18194         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18195         alignment commands (when needed).
18196
18197         * text.C (InsertChar): Add ':' to number separator chars.