]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
bb3e7c26243525f46def4c7ff7be1b61375bc909
[lyx.git] / src / ChangeLog
1 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
4         than 2.
5
6 2005-09-08  Angus Leeming  <leeming@lyx.org>
7
8         * ispell.C:
9         * lyxrc.C: correct grammar describing invocation of the
10         spellchecker.
11
12 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * text.C (read): remove unused variable.
15         (readParToken): remove static Change variable (never good in
16         recursive settings...); add it as a parameter instead.
17
18         * paragraph_pimpl.C (acceptChange): make debug info conditional.
19
20         * metricsinfo.C (PainterInfo): add new member erased_.
21
22         * rowpainter.C (RowPainter): add erased_ member, initialized from
23         PainterInfo. 
24         (paintInset): pass erased_ to Inset::draw.
25
26         * lyxfunc.C (lookupChange): new function. Tells whether change 
27         tracking is disabled at a given postion.
28         (getStatus): disable some actions when in deleted text with change
29         tracking. 
30
31 2005-08-03  John Levon  <levon@movementarian.org>
32         
33         * tabular.C (appendColumn, setMultiColumn): adapt to change to
34         InsetText::clear().
35
36         * paragraph_pimpl.C (markErased): add bool argument and handle it.
37         Also make sure to mark insets recursively.
38         (rejectChange, erase): be recursive
39
40         * paragraph.C (markErased): add bool argument.
41 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * lyxfind.C (findNextChange): tiny cleanup.
44
45         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
46         change tracking with the cursor in an inset; make sure the first
47         change is not skipped.
48
49 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
50
51         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
52         tabularStackDirty to work around bug 1919 (tabular needs
53         to know whether its own cell paste buffer or the one of 
54         texted is newer.
55         * CutAndPaste.C: mark tabular_stack_ clean after copy.
56
57 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
58
59         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
60
61 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
62
63         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
64         use old deleteion algorithm when changetracking is on.
65
66 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
67
68         * messages.C (get): add debug output.
69
70 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
71
72         * text.C (cursorX): fix bug 1965: cursor movement at
73         line end broken in RtL.
74         (drawSelection): fix bug 1970: drawing of single-line 
75         selection broken for RtL.
76
77 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         bug 465.
80
81         * dociterator.h (clear, push_back, pop_back): change from
82         protected to public.
83
84         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
85         and changed to just return the value of the item depth; take a
86         ParIterator as argument; take the itemdepth at outer nesting level
87         in account if necessary; cleanup and comment the code.
88         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
89         and changed to just return true if reset is needed; take a
90         ParIterator as argument; cleanup and comment the code.
91         (setCounter): adapt to above changes.
92
93 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * text3.C (dispatch): make debug message optional
96
97 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
98
99         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
100         inset. (bug 1963)
101
102 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
103
104         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
105
106 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
107
108         * text.C (insertChar):
109         * text2.C (deleteEmptyParagraphMechanism): take care whether 
110         a blank has been deleted (in change tracking mode) (bug 1254).
111
112 2005-07-20  John Levon  <levon@movementarian.org>
113
114         * text2.C (insertStringAsLines): remove old dubious code,
115         fixing bug 1939.
116
117 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * MenuBackend.C (expandToc): use Floating::listName() as title of
120         the floats submenus.
121
122 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
123
124         * toc.[Ch]: Do not use translatable strings (bug 1870).
125
126 2005-07-20  John Levon  <levon@movementarian.org>
127
128         * tabular.C: fix 1748 - setting multicolumn adds
129           left line to the first cell
130
131 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
132
133         bug 1920
134         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
135         pars in one go.
136
137 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
138
139         * messages.C: supress some lyxerr messages
140
141 2005-07-18  Juergen Vigna  <jug@lyx.org>
142
143         * text.C (drawSelection): honor boundary when asking for cursorX.
144
145 2005-07-17  José Matos  <jamatos@fc.up.pt>
146
147         * tabular.C (recalculateMulticolumns): fix handling of one column
148         tables.
149
150 2005-07-17  Juergen Vigna  <jug@lyx.org>
151
152         * text.C (Delete, backspace): fixed so that paragraph with the
153         same layout can be merged by Delete/Backspace.
154
155 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
156
157         * text.C (readParToken): fix spelling.
158
159 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
160
161         * text2.C: fix counter update for DEPM problem reported by
162         Georg Baum
163
164 2005-07-17  Juergen Vigna  <jug@lyx.org>
165
166         * BufferView_pimpl.C (setBuffer): save/restore the
167         cursor/selection when switching buffers
168
169         * buffer.h: 
170         * buffer.C (saveCursor): add saveDocumentIterators to save the
171         cursor when switching buffer.
172
173 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
174
175         * debug.C: fix typo
176         * buffer.C: clarify message
177         
178 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
179
180         * dociterator.C (DocIterator): fix initialization order
181
182 2005-07-17  Juergen Vigna  <jug@lyx.org>
183
184         * text2.C (cursorHome): 
185         * text.C (drawSelection, cursorX): 
186         * dociterator.C (textRow): add boundary to getRow() call
187
188         * paragraph.C (getRow): implementation of below
189
190         * paragraph.h: add parameter boundary for getRow() function
191
192 2005-07-17  José Matos  <jamatos@fc.up.pt>
193
194         * buffer.C:
195         * bufferparams.[Ch]:
196         * tex-strings.[Ch]: new file format, remove support for a4.sty,
197         a4wide.sty and a4widemargins.
198
199 2005-07-17  Juergen Vigna  <jug@lyx.org>
200
201         * text2.C (cursorLeft): fix one of error
202
203 2005-07-17  Juergen Vigna  <jug@lyx.org>
204
205         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
206                    cursorEnd):
207         more fixes for boundary handling
208
209         * text3.C (dispatch): don't reset cursor if boundary has changed
210         on cursor movement.
211
212 2005-07-16  Juergen Vigna  <jug@lyx.org>
213
214         * text2.C (getColumnNearX): hopefully got it right now,
215         check if we are on column 0 for special case.
216
217 2005-07-16  Juergen Vigna  <jug@lyx.org>
218
219         * text2.C (getColumnNearX): handle special case Newline Inset
220
221         * text.C (singleWidth): Just remove bogus check
222
223 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
224
225         * funcrequest.C (split): avoid reading uninitialized char c
226
227 2005-07-16  José Matos  <jamatos@fc.up.pt>
228
229         * buffer.C:
230         * converter.C:
231         * lyxrc.C:
232         * paper.h:
233         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
234         single papersize variable.
235
236 2005-07-16  Juergen Vigna  <jug@lyx.org>
237
238         * text3.C (dispatch): honor boundary when checking if a cursor
239         movement has been done
240
241         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
242         (setCursor, setCursorIntern): fix cursor movement with boundary
243
244 2005-07-16  Juergen Vigna  <jug@lyx.org>
245
246         * text.C (currentState): output the actual Boundary
247
248 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * factory.C (createInset): fix bad logic for tabular creation
251
252 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
253
254         * lyx_main.C (init): change some reLyX reference to tex2lyx
255
256 2005-07-16  Juergen Vigna  <jug@lyx.org>
257
258         * dociterator.C (DocIterator): initialize boundary
259
260 2005-07-16  Juergen Vigna  <jug@lyx.org>
261
262         * text2.C (getColumnNearX): Consider rows without trailing blank.  
263
264 2005-07-16  André Pönitz  <poenitz@gmx.net>
265
266         * lyxfont.h: Change order of declarations to give the compiler
267         a better chance to inline things
268
269         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
270         questions on unsaved docs for better scritability
271
272 2005-07-16  André Pönitz  <poenitz@gmx.net>
273
274         * paragraph.h (getChar): remove asserts as the same kind of security
275         can be achieved by using a suitable standard library implementation
276         and the function was in the critical path (25.9% in profiler)
277
278 2005-07-16  Juergen Vigna  <jug@lyx.org>
279
280         * cursor.C (bruteFind2):
281         * bufferview_funcs.C (coordOffset): 
282         * text.C (cursorX,cursorY): Handle cursor position after last char
283         in row before a inset which uses a whole row.
284
285 2005-07-15  José Matos <jamatos@lyx.org>
286
287         * output_plaintext.[Ch] (writeFileAscii): control reference title
288         printing.
289         (asciiParagraph): noparbreak was already deal and was incorrectly
290         used.
291
292 2005-07-15  Juergen Vigna <jug@lyx.org>
293
294         * lyxfunc.C (dispatch): save and restore the cursor after a
295         textclass switch.
296
297 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
298
299         * text.C (backspace): bug 806 for empty keepempty paragraphs we
300         change the layout to default before letting DEPM do its thing.
301
302         * paragraph_funcs.C (breakParagraph): dont reset the layout on
303         keepEmpty paragraphs
304
305         * text.C (setCursorFromCoordinates): add a debug statement
306
307         * text2.C (getColumnNearX): bug 1825 make sure that we don't
308         return a pos that is not on the row
309
310         * output_latex.C (TeXDeeper): get rid of potential dereferencing
311         of past the end iterator
312
313 2005-07-14  André Pönitz  <poenitz@gmx.net>
314
315         * undo.C (recordUndoFullBuffer): implement undo for
316         textclass switches
317
318 2005-07-14  André Pönitz  <poenitz@gmx.net>
319
320         * cursor.C (setSelection): open insets when selection is set there
321         to avoid crashs with cold coord cache
322
323 2005-07-14  André Pönitz  <poenitz@gmx.net>
324
325         * trans_mgr.C (insert): move cursor to the right after inserting
326         a char.
327
328 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
329
330         * BufferView_pimpl.C (update): dampen some of the debug blabbering
331         * factory.C (readInset): ditto
332         * text.C, text2.C: ditto
333
334 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * buffer.C: format incremented to 242. There is no file format per
337         se, but the "frenchb" language has been removed from lib/language
338         and has to be translated to "french" by lyx2lyx.
339
340 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
341
342         * cursor_slice.h, dociterator.h: add some documentation
343         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
344
345 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
346
347         * text.C (leftMargin): do not add identation to display() style
348         insets, because they are always centered (bug 1293).
349
350 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
351
352         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
353         formatted_time methods in support/lyxtime.
354
355 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
356
357         * toc.[Ch]: new method getGuiName, which is used by the frontends 
358         to set the toc combo (fixes bug 1870). Make TOC string translatable.
359
360 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
361
362         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
363         StableDocIterator const &)
364         * undo.C (recordUndo): use the above instead of cell.size() comparison
365         (fixes bug 1808; instructed by Andr�.
366
367 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
368
369         * cursor_slice.h: 
370         * dociterator.h: Fix the assert when copying rows/cols in math
371
372 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
373
374         * BufferView_pimpl.C:
375         * LyXAction.C:
376         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
377
378         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
379         (findInset): new functions, refactored from goto Inset that return 
380         the position of a certain inset without setting the buffer's cursor
381         (by Jean-Marc); 
382         (gotoInset): rewrite to call findInset and then set the cursor
383         (by Jean-Marc).
384
385 2005-06-16  Angus Leeming  <leeming@lyx.org>
386
387         * lyxrc.C (output, read): wrap all input and output of paths with
388         calls to os::internal_path and os::external_path, respectively.
389         (output): wrap bind_file inside quotes.
390
391         * format.C (view): enable the viewer to use the '$$s' placeholder.
392
393 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
394
395         * LColor.[Ch] (getFromLaTeXName): new
396
397 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
398
399         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
400
401 2005-06-14  Angus Leeming  <leeming@lyx.org>
402
403         * lyx_main.C (init): ensure that the LyX binary dir is the first
404         element in the PATH on non-POSIX builds.
405
406 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
407
408         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
409
410 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
411
412         * rowpainter.C (paintInset, paintHebrewComposeChar)
413         (paintArabicComposeChar, paintChars): add a LyXFont argument.
414         (paintChars): use getFontSpan to reduce calls to getFont to a
415         minimum; use Paragraph::lookupChange instead of isXXXText.
416         (paintForeignMark): rename LyXFont argument.
417         (paintFromPos): pass a LyXFont object to the various paintXXX
418         methods.
419
420         * FontIterator.C (FontIterator, operator++): use
421         Paragraph::getFontSpan
422
423         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
424         version that returns the font span as a pair.
425
426 2005-06-09  Angus Leeming  <leeming@lyx.org>
427
428         * converter.C (convert): Don't forget "outfile = real_outfile" as
429         the final step in a conversion where the input and output file names
430         are the same. Otherwise, future conversion steps won't work...
431
432 2005-06-09  Angus Leeming  <leeming@lyx.org>
433
434         * lyxsocket.C: remove stub code as it isn't needed by
435         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
436
437 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
438
439         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
440         effectively disabled -x
441
442 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
443
444         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
445         when it actually makes sense.
446
447 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
448
449         * BufferView_pimpl.C: revert to showCursor in connection with
450         Lars's front-end stack
451
452 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
453
454         * text.C (redoParagraph): move cursor right after a bibitem
455         has been inserted.
456
457         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
458
459 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
460
461         * buffer_funcs.C (bufferErrors): fix computation of the end of an
462         error range.
463
464 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
465
466         * BufferView.[Ch] (update):
467         * BufferView_pimpl.[Ch] (update, metrics):
468         * dimension.h (operator==):
469         * lyxfunc.C (dispatch):
470         * metricsinfo.h (ViewMetricsInfo):
471         * rowpainter.C (paintText):
472         * lyxtext.h:
473         * text.C (redoParagraph):
474         * text3.C (dispatch): Make LyX only repaint current paragraph in
475         case of character insert --> speedup. Also fix cursor draw
476         artifacts
477
478 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
481         avoid a crash (bug 1891)
482
483 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
484
485         Fix bug 1892:
486
487         * text2.C (getStringToIndex): constify cur argument.
488
489         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
490         argument has been given
491         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
492         try to invoke LFUN_INSET_APPLY).
493
494         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
495         if no inset was created by doInsertInset
496         (doInsertInset): return true if an inset has been inserted.
497
498 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
499
500         * vspace.C (asGUIName): new method. A version of the space
501         suitable for showing on screen.
502
503 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
504
505         * MenuBackend.C:
506         * lyxrc.C: rename "ASCII" to "Plain Text"
507
508 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * buffer_funcs.C (expandLabel): take a Buffer as argument;
511         translate the labelstring.
512         (setCounter): translate labelstring as needed.
513
514         * output_docbook.C (makeCommand): fix expandLabel invokation
515
516 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
517
518         * BufferView.C: fix dialog title
519
520 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
521
522         * lyx_main.C (priv_exec): fix logic error with help from Angus
523         * lyx_main.C (parse_execute): set is_gui = false and remove now
524         obsolete comment about a segfault
525
526 2005-05-18  Angus Leeming  <leeming@lyx.org>
527
528         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
529
530 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
531
532         * tabular.[hC]: added setCellInset to fix tabular paste.
533
534 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
535
536         * buffer.C (save): check if destination is writable before trying
537         to copy a file
538
539 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
540
541         * BufferView_pimpl.C (update): fix processEvents -caused update
542         recursion bug
543
544 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * buffer_funcs.C (setCounter): fix test for numbering of
547         environments.
548
549         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
550         depth correctly; use optional argument when it exists
551
552         * lyxtextclass.C: remove unused MaxCounterTags enum
553         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
554         (max_toclevel, min_toclevel): new methods.
555
556         * MenuBackend.C (expandToc2): fix case where depth is smaller than
557         the smallest depth in toc.
558
559         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
560         layouts that should not appear in a table of contents.
561
562 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
563
564         * cursor.h (undispatched, noUpdate): add comments from Andr�
565 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
566
567         * lfuns.h:
568         * LyXAction.C:
569         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
570
571 2005-05-07  André Pönitz  <poenitz@gmx.net>
572
573         * cursor.[Ch] (leaveInset): new function
574
575 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
576
577         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
578
579 2005-05-04  Angus Leeming  <leeming@lyx.org>
580
581         * lyxfunc.C (getStatus): disable the spell checker dialog if
582         none of USE_[AIP]SPELL are defined.
583
584 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
585
586         * tabular.C (setWidthOfCell): remove obsolete comment
587
588 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
589
590         * paragraph.C (bibitem):
591         * buffer_funcs.C (setCounter):
592         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
593
594 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
595
596         * text3.C (getStatus): immediately return after setOnOff
597
598         * rowpainter.C: fix drawing of appendix start
599
600 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
601
602         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
603         SwitchBetweenClasses and remove the unused return value.
604         Handle character styles, too
605
606 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
607
608         * factory.C (createInset): handle undefined character styles
609
610 2005-05-02  Angus Leeming  <leeming@lyx.org>
611
612         * buffer.C: protect the #include of utime.h with a preprocessor
613         guard.
614
615 2005-05-02  Angus Leeming  <leeming@lyx.org>
616
617         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
618         function so that auto-saving works, albeit in a blocking manner.
619
620         * Makefile.am: make compilation of the client sub directory, of
621         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
622         on conditionals set at configure time.
623
624         * SpellBase.[Ch]: no longer an abstract base class. Instead,
625         it can be compiled in its own right but has no-op functionality.
626
627         * aspell.C, pspell.C: remove preprocessor guards. The files should
628         be compiled only if the necessary functionality exists.
629
630         * lyxserver.C, lyxsocket.C: disable on Windows.
631
632 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
633
634         * text.C (leftMargin): Fix the parindent use bug (1764)
635         by dirty trick
636
637 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
638
639         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
640         argument.
641
642 2005-04-25  Angus Leeming  <leeming@lyx.org>
643
644         * Bidi.[Ch]:
645         * coordcache.[Ch]:
646         * ispell.C:
647         * lyxserver.C:
648         * mover.C:
649         * pch.h:
650         include <config.h> in .C files, not .h ones.
651         add licence blurb.
652         protect headers inside preprocessor guards.
653
654 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
655
656         * FuncStatus.h (StatusCodes): document
657
658 2005-04-21  André Pönitz  <poenitz@gmx.net>
659
660         * FuncStatus.h (enabled, onoff): document
661
662 2005-04-19  Angus Leeming  <leeming@lyx.org>
663
664         * BufferView_pimpl.C (cursorToggle): no longer test whether
665         any child processes have been reaped before calling
666         handleCompletedProcesses().
667
668 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
669
670         * text3.C (dispatch): fix, finally fix, the language problem in
671         new lyxtexts, without disabling on-the-fly font changes (Helge's
672         bug report)
673
674 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
675
676         * text3.C (dispatch): set cursor on double/triple click events
677         (bug 1811)
678
679 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
682         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
683
684         * rowpainter.C (paintFirst): simplify the code a little bit. In
685         particular, remove the test for secnumdepth.
686         * text.C (setHeightOfRow): only allocate space for chapter number
687         when updateCounters provided an actual label, instead of looking
688         at secnumdepth directly.
689
690         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
691
692         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
693         paragraphs when secnumdepth is large enough or, for environments,
694         when they are not the first in a sequence.
695
696 2005-04-17  Angus Leeming  <leeming@lyx.org>
697
698         * buffer.C (makeLaTeXFile): replace code to manipulate a path
699         containing space and '~' characters with a call to latex_path().
700
701 2005-04-17  Angus Leeming  <leeming@lyx.org>
702
703         * converter.C (convert): protect all args of convertDefault.sh
704         script with quotes.
705
706 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * text3.C (dispatch): change the layout to "Caption" after inserting
709         a float.
710
711 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
712
713         * text3.C (dispatch): fix language problem in newly created
714         textinsets (and main text) in non-english docs
715
716 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
717
718         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
719         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
720         * text3.C (getStatus): disable LFUN_INSET_MODIFY
721
722 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
723
724         * lyxtext.h:
725         * text.C (metrics):
726         * text2.C (getFont):
727         * rowpainter.C (getFont): Fix metrics bug introduced by inset
728         fonts fix
729
730 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
731
732         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
733         output of \item arguments without trailing text.
734
735 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * FontIterator.C (operator*): avoid a copy of the font.
738
739 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
740
741         * rowpainter.C (getFont): fix language bug from previous fix
742
743 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
744
745         * rowpainter.C (RowPainter, getFont): fix font inside inset
746         (bugs 1766, 1809)
747
748 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
751         preventing inserted font, deco, delim insets jumping to start of
752         surrounding inset.
753
754 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         * lyxfunc.C (dispatch): translate message before sending it to the
757         minibuffer.
758
759 2005-03-29  Angus Leeming  <leeming@lyx.org>
760
761         * lyx_main.C (priv_exec): call os::internal_path on each file passed
762         to LyX on the command line.
763
764 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
765
766         * vc-backend.C: use QuoteName to protect file names wherever
767         necessary.
768
769 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
770
771         * buffer.[Ch]:
772         * BranchList.h: fix bugs 1844,1845: document settings don't
773         stick
774
775 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * lyxrc.C (setDefaults, read, output, getDescription): add support
778         for tex_allows_spaces.
779
780         * exporter.C (Export): allows files in directory containing spaces
781         if tex_allows_spaces is true.
782
783         * buffer.C (makeLaTeXFile): if the document path contains spaces,
784         output it in double quotes.
785
786 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
787
788         * rowpainter.C: use default text height for drawing change tracker
789         strikeout lines.
790
791 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
792
793         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
794
795 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
796
797         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
798         directory is missing.
799
800 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
801
802         * text2.C: fixed the fix, extended to other case.
803
804 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
805
806         * text2.C: fix for cursor up/down stuck in math [bug 1792]
807
808 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
809
810         * text2.C (cursorUp): get rid of a crash
811         * text.C (x2pos): add an assert
812
813 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * lyxfunc.C (getStatus): fix warning when assertions are disabled
816
817         * text3.C:
818         * lyxfunc.C:
819         * dociterator.C: include <boost/current_function.hpp>, which is
820         needed when assertions are disabled.
821
822 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
823
824         * text2.C: fix for stuck cursor when traversing two
825         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
826
827 2005-02-25  Andreas Vox  <avox@arcor.de>
828
829         * output_docbook.C (makeParagraph): suppress trailing newline
830         after a run of paragraphs
831
832 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
833
834         * paragraph.C: fix for confused change tracker when pasting
835         text that begins with a lineseparator. [bug 1827]
836         (setChange(0, Change::INSERTED);)
837
838         * paragraph_funcs.C: fix for lost changes on triple-paste
839         in change tracking mode [bug 1827] (par.setChange()).
840
841 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
842
843         * text2.C (updateCounters, setCounter, expandLabel): move to
844         buffer_funcs.
845
846         * buffer_funcs.C (updateCounters): turn into a free standing
847         function and add a buffer parameter. Remove dead code for tracking
848         labelstring change.
849         (setCounter): change into a free-standing function which gets a
850         dociterator as argument. Use this iterator to fix captions in a
851         simple way. When no float is found above the caption, use the
852         labelstring of the caption layout as default.
853
854         * text.C (breakParagraph, backspace):
855         * text2.C (init, setLayout, changeDepth):
856         * text3.C (dispatch):
857         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
858         updateCounters.
859
860         * dociterator.C (forwardPar): make it much faster by calling
861         forwardPos() only when really necessary.
862
863         * output_docbook.C (makeCommand): adapt to expandLabel move.
864
865         * cursor.C: remove unused variable
866
867 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
868
869         * paragraph_funcs.C: fix crash when pasting insets in change
870         tracking mode [bug 1277] (honour change type in moveItem).
871
872 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
873
874         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
875
876 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
877
878         * BufferView.C (setCursor): change to use a DocIterator.
879         (gotoLabel): use BufferView::setCursor (other part of bug 781).
880         (putSelectionAt): adapt to BufferView::setCursor change.
881
882         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
883         moved here from LyXText and rewritten to use proper cursor
884         methods. Fixes bug 1787, 616 and 835.
885
886         * BufferView_pimpl.C (restorePosition): set the cursor correctly
887         when inside an inset (part of bug 781).
888         (dispatch): adapt to change of BufferView::setCursor.
889         (getStatus, dispatch): handle LFUN_GOTOERROR,
890         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
891
892         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
893         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
894         * text3.C (gotoNextInset, gotoInset): removed.
895
896 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
899
900 2005-02-15  Angus Leeming  <leeming@lyx.org>
901
902         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
903         can be used meaningfully in a comparison.
904
905 2005-02-13  André Pönitz  <poenitz@gmx.net>
906
907         * bufferview_funcs.C (coordOffset): improve cursor drawing
908
909 2005-02-13  André Pönitz  <poenitz@gmx.net>
910
911         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
912         * Cursor.C (dispatch): use fixIfBroken
913         * lyxfunc.C (getStatus): use fixIfBroken
914
915 2005-02-15  Angus Leeming  <leeming@lyx.org>
916
917         * lyx_main.C (error_handler):
918         * lyxfunc.C:
919         * lyxrc.C (setDefaults):
920         s/GetEnv/getEnv/.
921         #include "environment.h".
922
923         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
924
925 2005-02-15  Angus Leeming  <leeming@lyx.org>
926
927         * lyxserver.C (startPipe): squash MSVC warning "local variable
928         'fd' used without having been initialized".
929
930 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
931
932         * BufferView_pimpl.C: revert accidental commit.
933
934 2005-02-14  André Pönitz  <poenitz@gmx.net>
935
936         * dociterator.[Ch]: new member forwardPosNoDescent(),
937         which doesn't enter nested insets.
938         * text2.C (setFont): use forwardPosNoDescent() instead
939         of ForwardPos() (fixes crash on font change).
940
941 2005-02-13  Angus Leeming  <leeming@lyx.org>
942
943         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
944         only if lyxrc.path_prefix is not empty.
945
946 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
947
948         * bufferparams.C (readGraphicsDriver): prevent crash
949
950 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
951
952         * text2.C (setCounter): check for inInset() == 0
953
954 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
955
956         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
957         but use update() to get correct screen display; use convert
958         instead of istringstream.
959         (getStatus): handle LFUN_GOTO_PARAGRAPH
960
961         * lyxfunc.C (dispatch, getStatus): do not handle
962         LFUN_GOTO_PARAGRAPH here.
963
964 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
965
966         * text3.C (dispatch): size() -> depth()
967
968         * text2.C: remove some debug output
969
970         * paragraph.C: ws changes only
971
972         * lyxfunc.C (getStatus): size() -> depth()
973
974         * dociterator.h (clear, push_back, pop_back, internalData,
975         operator[], resize, empty): new functions
976         Make StableDocIterator and operator== be friends. Don't inherit
977         from std::vector use a privat class variable slices_ instead.
978         Modify to fit.
979
980         * dociterator.C: update because of not inheriting from std::vector
981         anymore. Call explictly to slices_ instead. Use depth() instead of
982         size() and top() instead of back()
983
984         * cursor.C: chagne size() -> depth and back() -> top(). Also
985         remove some direct operator[](i) calls in favour of foo[i]
986         (getFont): remove some dead code
987
988         * bufferview_funcs.C (coordOffset): size() -> depth()
989
990         * buffer.C: ws changes only
991
992         * CutAndPaste.C (eraseSelection): back() -> top()
993
994         * BufferView_pimpl.C (selectionRequested): back() -> top()
995
996         * BufferView.C (setCursor): size() -> depth()
997
998 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
999
1000         * text3.C (cursorPrevious): return true if depm changed something
1001         (cursorNext): ditto
1002         (dispatch): rename sl to oldTopSlice, remove moving use the new
1003         NoUpdate func attrib instead. Make sure that needsUpdate is set
1004         for function that have NoUpdate, but where depm might have changed
1005         the buffer anyway.
1006
1007         * text2.C (cursorLeft): make us return true if depm changed
1008         something
1009         (cursorRight): ditto
1010         (cursorUpParagraph): ditto
1011         (curosrDownParagraph): ditto
1012         (cursorUp, cursorDown): ditto, make sure to read comments in code
1013         (deleteEmptyParagraphMechanism): remove an assert, also return
1014         true if just a single char was deleted.
1015
1016         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1017         cursor that we modify, to avoid modifying an active cursor before
1018         we call setCursor. This allows depm to run. Also return true if
1019         depm deleted something.
1020
1021         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1022         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1023         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1024         something was changed in the buffer because of them (ie. depm run)
1025
1026         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1027         debug messages. Make update by default be false. Make sure that
1028         the result of update is retained throught several calls down to
1029         dispatch.
1030
1031         * LyXAction.h: add a new func_attrib: NoUpdate
1032
1033         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1034         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1035         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1036         and LFUN_WORDLEFT
1037         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1038
1039 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1040
1041         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1042         bv_->owner(), bv_->buffer() by direct references to the private
1043         members.
1044         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1045         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1046         (fitCursor): center() is in BufferView::Pimpl.
1047         (getStatus, trackChanges, dispatch): no need for a temporary buf
1048         variable
1049         (fitCursor, workAreaDispatch): use workarea().workheight()
1050
1051 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1052
1053         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1054
1055 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1056
1057         * buffer.C: format up to 241.
1058         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1059         break if pasting into ERT
1060         * lyxfunc.C (getStatus): suppress mathpanel and
1061         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1062
1063 2005-02-01  Angus Leeming  <leeming@lyx.org>
1064
1065         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1066
1067 2005-02-01  Angus Leeming  <leeming@lyx.org>
1068
1069         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1070         calling fs::is_directory().
1071
1072 2005-01-31  Angus Leeming  <leeming@lyx.org>
1073
1074         * lyx_main.C (priv_exec): specify explicitly the relative location
1075         of the top level build directory when run in-place.
1076
1077 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1078
1079         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1080         LyXText containing the cursor, not the top-level one.
1081
1082         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1083         true.
1084         (insertStringAsLines): rename par to pit; use temporary variable
1085         par to hold a Paragraph; do not store par.layout() in a variable,
1086         since the pointer may die when breaking paragraphs; pass pars to
1087         breakParagraph() instead of Buffer::paragraphs().
1088
1089 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1090
1091         * lyxlex_pimpl.h: #include <fstream>.
1092
1093         * BufferView.[Ch] (getLyXText): add a const version.
1094
1095         * BufferView_pimpl.C: add debug aids.
1096
1097         * RowList_fwd.h:
1098         * buffer.h:
1099         * lyxrow.h:
1100         * paragraph_funcs.h: add commentary explaining what the class does.
1101
1102
1103         * coordcache.[Ch]: add lots of commentary.
1104         (startUpdating, doneUpdating): debug aids.
1105         (arrays, insets, parPos, getParPos): accessors to private data.
1106
1107         * cursor_slice.[Ch] (text): add a const version.
1108         * dociterator.[Ch] (text, innerText): add const versions.
1109
1110         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1111         bool.
1112
1113         * paragraph.C (getRow, pos2ros): add asserts.
1114
1115         * paragraph.h: add commentary. Lots of.
1116
1117         * paragraph.[Ch] (metrucs, draw): removed.
1118
1119         * cursor.C:
1120         * rowpainter.[Ch]: const-correct changes.
1121
1122         * text.C: various obvious clean-ups. Removal of ancient cruft.
1123         Bug fixes, even.
1124
1125 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1126
1127         * vc-backend.C (find_file): rewrite to use boost.filesystem
1128         (scanMaster): ditto
1129
1130         * main.C (main): set default name check for boost.filesystem to
1131         no check
1132
1133         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1134         (open): ditto
1135         (doImport): ditto
1136         (actOnUpdatedPrefs): ditto
1137
1138         * lyx_main.C (init): rewrite to use boost.filesystem
1139         (queryUserLyXDir): ditto
1140
1141         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1142         (getContentsOfAsciiFile): ditto
1143
1144         * lastfiles.C (readFile): rewrite to use boost.filesystem
1145
1146         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1147
1148         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1149         (loadLyXFile): ditto
1150
1151         * buffer.C (Buffer): adjust for destroydir
1152         (getLogName): rewrite to use boost.filesystem
1153         (setFileName): ditto
1154         (save): use fs::copy_file (from fs_extras)
1155
1156         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1157
1158         * LaTeX.C (run): rewrite to use boost.filesystem
1159         (scanAuxFiles): ditto
1160         (handleFoundFile): ditto
1161
1162 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1163
1164         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1165
1166         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1167
1168 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1169
1170         * lyxlayout.[Ch]: change some vars from float to double
1171
1172         * buffer.C (readFile): make a local var const
1173
1174         * Several files: use convert<> instead of atoi,strToXXX and friends
1175
1176 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1177
1178         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1179         holds the contents of packages.lst. New functions getAvailable
1180         and isAvailable to parse and check that list, resp.
1181
1182         * LyXAction.C:
1183         * lfuns.h:
1184         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1185
1186         * bufferparams.[Ch]: new param output_changes.
1187
1188         * Buffer.C: increase file format to 240.
1189         Use output_changes and isVailable.
1190
1191         * changes.[Ch]:
1192         * paragraph.C:
1193         * paragraph_pimpl.C: Use output_changes and isVailable.
1194
1195 2005-01-23  Angus Leeming  <leeming@lyx.org>
1196
1197         * output_latex.C: #include "insetbibitem.h", rather than
1198         forward declare function bibitemWidest.
1199
1200 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1201
1202         * lyx_main.C (init): make it compile on the Mac.
1203
1204 2005-01-20  Angus Leeming  <leeming@lyx.org>
1205
1206         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1207         (setLyXMisc): (char string literal) != (char string literal) is
1208         performing a comparison on the addresses. Convert one operand
1209         explicitly to string to guarantee expected behaviour.
1210         From MSVC warning.
1211
1212 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1213
1214         * buffer.C:
1215         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1216
1217         * output_plaintext.C: remove unneeded #include gzstream.h.
1218
1219 2005-01-20  Angus Leeming  <leeming@lyx.org>
1220
1221         * SpellBase.h: rename some of the elements of the Result enum.
1222
1223         * aspell_local.h:
1224         * ispell.h:
1225         * pspell.h:
1226         * aspell.C (check):
1227         * ispell.C (check):
1228         * pspell.C (check): ditto
1229
1230 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1231
1232         * buffer.C: add #include <fstream>.
1233
1234         * lyx_main.C (init): Compile fix.
1235
1236         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1237
1238 2005-01-20  Angus Leeming  <leeming@lyx.org>
1239
1240         * mover.h: change commentary to reflect the changed meaning of
1241         the $$s placeholder.
1242
1243 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244
1245         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1246
1247         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1248
1249 2005-01-20  Angus Leeming  <leeming@lyx.org>
1250
1251         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1252         printing diagnostic data by not dereferecing an iterator past the
1253         end.
1254
1255 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1256
1257         * buffer.C (readHeader): use "&&" rather than "and".
1258
1259         * lyxserver.h (inPipeName, outPipeName): make these const.
1260
1261 2005-01-19  Angus Leeming  <leeming@lyx.org>
1262
1263         * lyx_main.C (error_handler, init): protect SIGHUP with
1264         #ifdef SIGHUP guards.
1265
1266 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1267
1268         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1269
1270 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1271
1272         * text.C (setHeightOfRow): add a margin at the top and bottom of
1273         the document (bug 1761)
1274
1275 2005-01-17  Angus Leeming  <leeming@lyx.org>
1276
1277         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1278         with "python ". Workaround for a brain-dead Windows.
1279
1280 2005-01-16  Angus Leeming  <leeming@lyx.org>
1281
1282         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1283         for MacOSX and Windows to use prependEnvPath.
1284         Strip out the hard-coded block to add elements to the PATH for
1285         MacOSX and replace it with a call to prependEnvPath using the
1286         contents of LyXRC::path_prefix.
1287         (queryUserLyXDir): strip out the code to run reconfigure, instead
1288         returning a boolean indicating the necessity to do so.
1289         (reconfigureUserLyXDir): contains the code to reconfigure the
1290         user support directory. Is now called after the various LyXRC data
1291         files have been read.
1292
1293         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1294
1295 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1296
1297         * converter.[Ch] (convert): take a new parameter try_default. Use
1298         a default converter (imagemagick) if try_default is true.
1299
1300 2005-01-13  Angus Leeming  <leeming@lyx.org>
1301
1302         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1303         os::cygwin_path_fix.
1304         (write): output LyXRC::cygwin_path_fix as necessary.
1305
1306 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1307
1308         * lyxrc.h:
1309         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1310
1311 2005-01-12  Angus Leeming  <leeming@lyx.org>
1312
1313         * lyx_main.C (init): set the PATH variable to include the
1314         directory containing the LyX binary when running on Mac or Windows.
1315
1316 2005-01-12  Angus Leeming  <leeming@lyx.org>
1317
1318         * lyx_main.C (init): remove cruft that purports to set the locale
1319         dir. It doesn't and is not needed anyway.
1320
1321 2005-01-10  Angus Leeming  <leeming@lyx.org>
1322
1323         * Makefile.am: remove the lyx_main.C special casing.
1324
1325         * BufferView_pimpl.C:
1326         * bufferlist.C:
1327         * exporter.C:
1328         * lyx_cb.C:
1329         * lyx_main.C:
1330         * lyxfunc.C:
1331         * messages.C: use support/package.h to provide the paths to the
1332         various directories used by LyX.
1333
1334 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1335
1336         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1337         layout if pasting into an empty paragraph)
1338
1339 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1340
1341         * tex-accent.C: add <string>
1342
1343 2005-01-06  José Matos  <jamatos@lyx.org>
1344
1345         * ParagraphParameters.C (write): put every parameter in its own line.
1346         * paragraph.C (write): reduce number of consecutive empty lines exported.
1347         * buffer.C (LYX_FORMAT): increase file format to 239.
1348
1349 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1350
1351         * everywhere: change support/tostr.h -> support/convert.h
1352
1353         * tabular.C: make all write_attributes templates, tostr -> convert
1354
1355         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1356         (emptyTag): and -> &&, and fix type for ret from getChar
1357         (getFirstWord): fix type for ret from getChar
1358         (onlyText): and -> &&
1359         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1360         getChar
1361
1362         * toc.C (goTo, action):
1363         * text3.C (dispatch):
1364         * text.C (currentState):
1365         * tex-accent.C (DoAccent):
1366         * sgml.C:
1367         * lyxrc.C:
1368         * lyxfunc.C (menuNew):
1369         * lyxfinc.C (replace):
1370         * counters.C (laberItem):
1371         * bufferview_funcs.C (font2string):
1372         * bufferparams.C (writeFile):
1373         * buffer.C (readFile):
1374         * Spacing.C (set):
1375         * MenuBackend.C: tostr -> convert
1376
1377         * LaTeX.C (runMessage): fix format
1378         (scanAuxFiles): tostr -> convert
1379
1380         * BufferView_pimpl.C (savePosition): fix format
1381         (restorePosition): ditto
1382         (dispatch): ditto
1383
1384 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1385
1386         * Spacing.[Ch]: New method getValueAsString().
1387
1388         * Spacing.[Ch]:
1389         * bufferparams.C:
1390         * ParagraphParameters.C:
1391         * lyxlayout.C:
1392         * text.C:
1393         * text3.C: store/read spacing value as string.
1394
1395         * rowpainter.C: change float value (spacing_val) to double.
1396
1397         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1398         broken custom document spacing).
1399
1400 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1401
1402         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1403         namespace, also more use of temp references and const
1404
1405         * cursor.[Ch] (getStatus): move to lyxfunc.C
1406
1407         * bufferparams.C: reformat slightly
1408
1409         * bufferview_funcs.C (font2string): constify arg
1410
1411         * changes.C:
1412         * converter.C:
1413         * counters.C:
1414         * bufferlist.C:
1415         * buffer_funcs.C: (many funcs): constify arg on function
1416         definitions, also make more local vars const, also add ASSERTS on
1417         pointer args.
1418
1419         * buffer.C (LYX_FORMAT): put const in correct place
1420         (many funcs): constify arg on function definitions, also make
1421         more local vars const
1422
1423         * aspell_local.h: remove "struct" from typdef setup
1424
1425         * aspell.C (check): make word_ok const
1426         (nextMiss): simplify slightly
1427         (error): ditto
1428
1429 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1430
1431         * lyxrc.[Ch]: store all float values as strings.
1432         use int (not float) for lyxrc.dpi.
1433
1434 2005-01-04  Angus Leeming  <leeming@lyx.org>
1435
1436         * lyx_cb.C (Reconfigure):
1437         * lyx_main.C (queryUserLyXDir):
1438         to run the <system_lyxdir>/configure correctly on Windows, prefix
1439         the path to the script with "sh " when generating the string that
1440         is passed to system().
1441
1442 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1443
1444         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1445
1446 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1447
1448         * lyxlength.C (asLatexString): get rid of setprecision
1449
1450 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1451
1452         * text2.C (setLayout): remove unused variable endpit.
1453         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1454
1455         * paragraph.C (onlyText): remove unused variable style.
1456
1457         * cursor.C (bruteFind): remove unused variables beg and end.
1458
1459         * Makefile.am (dist_noinset_DATA): not needed anymore
1460
1461         * cheaders/*: remove.
1462
1463 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1464
1465         * text3.C: fix LFUN_MATH_MODE.
1466
1467 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * buffer_funcs.C (countWords): new function. Counts words between
1470         two iterators.
1471
1472         * BufferView_pimpl.C (getStatus, dispatch): handle
1473         LFUN_WORDS_COUNT.
1474
1475         * LyXAction.C (init):
1476         * lfuns.h: add LFUN_WORDS_COUNT.
1477
1478 2004-12-19  Angus Leeming  <leeming@lyx.org>
1479
1480         * buffer.C (save): s/slashify_path/internal_path/.
1481
1482 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1483
1484         * lyxfind.C (findChange): do not search for end of pars, because
1485         the change tracker cannot handle this (fixes bug 1719).
1486
1487 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1488
1489         * paragraph.[Ch] (autoBreakRows): remove
1490
1491         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1492
1493         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1494         avoid using the paragraph one
1495
1496         * text2.C (LyXText, insertStringAsLines): adjust
1497
1498 2004-12-16  Angus Leeming  <leeming@lyx.org>
1499
1500         * bufferlist.C:
1501         * lyx_main.C:
1502         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1503
1504 2004-12-14  Angus Leeming  <leeming@lyx.org>
1505
1506         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1507
1508         * bufferlist.C (emergencyWrite):
1509         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1510         GetEnvPath("HOME").
1511
1512 2004-12-14  Angus Leeming  <leeming@lyx.org>
1513
1514         * main.C: (main): no longer pass pointers to os::init.
1515
1516 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1517
1518         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1519         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1520
1521 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1522
1523         * lyxfunc.C:
1524         * text3.C: remove selection_possible global flag
1525
1526 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1527
1528         * text2.C (getSelectionSpan): remove
1529         (changeDepth, changeDepthAllowed): adjust
1530
1531 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1532
1533         * Makefile.am (BOOST_LIBS): use boost variables
1534
1535 2004-12-03  José Matos  <jamatos@lyx.org>
1536
1537         * buffer.C: format up to 238.
1538
1539 2004-12-03  José Matos  <jamatos@lyx.org>
1540
1541         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1542
1543 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1544
1545         * cursor.C (goUpDown): remove call to idxUpDown2
1546
1547 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1548
1549         * tabular.[Ch]: use size_t-like types for cell, row and column
1550         indices
1551
1552 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * lyxfunc.C (getStatus): do not lose previous information when
1555         calling BufferView::getStatus; do not set a default "Command
1556         disabled" message at the beginning, but just before returning.
1557
1558 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1559
1560         * cursor.h (getStatus): add better comment from src/cursor.C
1561
1562 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1563
1564         * text3.C (getStatus): return false when the lfun is not handled
1565
1566 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1567
1568         * broken_headers.h: remove
1569
1570         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1571
1572 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1573
1574         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1575         offset_ref accessors
1576
1577         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1578         top_y_, merge fitcursor with update
1579         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1580         coord scheme
1581         (metrics): introduce
1582         (workAreaDispatch): adapt to new coord scheme
1583         (redoCurrentBuffer): remove
1584
1585         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1586
1587         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1588         CurStatus enum.
1589
1590         * coordcache.[Ch]: add paragraph cache and helpers
1591
1592         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1593         adjust everywhere
1594
1595         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1596         (targetX, setTargetX): introduce
1597
1598         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1599         baseline -> ascent, as the rest of lyx
1600
1601         * lyxtext.h: remove redoParagraphs, updateParPositions,
1602         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1603         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1604         have ascent/descent (ascent is ascent of first par)
1605
1606         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1607         step of BufferView
1608
1609         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1610
1611         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1612
1613         * pariterator.C: fix infinite loop introduced in par->pit renaming
1614
1615         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1616         in insets and LyXText, draw two off-screen paragraphs using
1617         NullPainter, and adapt to new coord scheme
1618
1619         * text.C:
1620         * text2.C:
1621         * text3.C: adapt lfun handlers to the new coord scheme, which
1622         means: there's only guaranteed coord information for onscreen pars
1623         plus one above and one below. This implies that one can do search
1624         from y coordinates in the range [-1,workHeight]
1625
1626 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1627
1628         * rename a lot of InsetOld to InsetBase
1629
1630 2004-11-25  Angus Leeming  <leeming@lyx.org>
1631
1632         * BufferView_pimpl.C:
1633         * lyx_cb.C:
1634         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1635
1636 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1637
1638         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1639         call BufferView::getStatus if LCursor::getStatus did nothing
1640         (setStatusMessage, getStatusMessage): removed.
1641
1642         * FuncStatus.C (message): new methods. Used to provide an error
1643         message indicating why a command is disabled.
1644         (clear, |=, FuncStatus): update for message.
1645
1646 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1647
1648         * lyxfunc.C (dispatch): always call sendDispatchMessage
1649
1650 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1651
1652         * BufferView.C:
1653         * BufferView_pimpl.C:
1654         * CutAndPaste.C:
1655         * FontIterator.C:
1656         * buffer.C:
1657         * cursor.C:
1658         * cursor_slice.[Ch]:
1659         * dociterator.[Ch]:
1660         * lyxfind.C:
1661         * paragraph_funcs.C:
1662         * pariterator.C:
1663         * rowpainter.C:
1664         * text.C:
1665         * text2.C:
1666         * text3.C:
1667         * undo.C: par->pit renaming
1668
1669 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1670
1671         * tabular.C (cellstruct): use initialization, store a shared_ptr
1672         to insettext instead of the insettext directly, adjust to fit.
1673         (operator=):  new function
1674         (swap): new function
1675         (rowstruct): use initialization
1676         (columnstruct): use initialization
1677         (ltType): use initialization
1678
1679
1680         * lyxlength.h (swap): new function
1681
1682         * LColor.[Ch] (operator=): use the common semantics
1683
1684 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1685
1686         * lyxfind.C (findNextChange): update the bufferview after setting
1687         the selection.
1688
1689 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1692         number of InsetOptArgs has already been inserted.
1693
1694         * output_latex.C (latexOptArgInsets): new method. This outputs all
1695         the optarg insets, up to the limit defined in the layout file.
1696         (optArgInset): removed
1697         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1698
1699 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1700
1701         * paragraph.C (isLetter): remove special spellchecker-related
1702         code; return true also for digits
1703         (isWord, isKomma): remove
1704
1705         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1706         * lyxfind.C (MatchString()): use isLetter instead of isWord
1707
1708 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1709
1710         * pariterator.h (operatir=): comment out un-implemented member
1711         function.
1712
1713         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1714         static cast.
1715
1716 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1717
1718         * lyxfont.h: include LColor.h to satisfy concept checks.
1719
1720 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1721
1722         * pariterator.h: add typdefs for value_type, difference_type,
1723         pointer and reference to satisfy concept checks. Also add default
1724         constructor for same reason.
1725
1726         * pariterator.C (operator++): add post-increment operator to
1727         satisfy concept checks.
1728
1729         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1730         checks.
1731
1732         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1733
1734         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1735         checks. Also rename base_type to BaseType to follow naming
1736         standard better.
1737
1738         * FloatList.h: include Floating.h to satisfy concept checks.
1739
1740 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1741
1742         * lyxfunc.C (getStatus): when the origin of the request is menu or
1743         toolbar, and the LyXView does not have focus, do as if there was
1744         no buffer (bug 1720)
1745
1746         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1747         FuncRequest to individual entries of LFUN_SEQUENCE
1748
1749 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1750
1751         * output_latex.C (TeXOnePar): override runparams.moving_arg
1752         according to the needprotect value of the current paragraph (bug
1753         1739)
1754
1755         * paragraph.C (simpleTeXOnePar): no need to override
1756         runparams.moving_args here
1757
1758 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1759
1760         * vspace.C: fix off-by-one-error, related to fix #1682
1761
1762 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1763
1764         * lengthcommon.C: a more general fix for bug 1682
1765
1766 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1767
1768         * text.C (backspace): fix crash
1769
1770 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1771
1772         * format.[Ch] (getFormatFromFile): new method
1773         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1774
1775 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1776
1777         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1778
1779 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1780
1781         * lyxfunc.C (dispatch): remove the verbose argument
1782         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1783         instead
1784
1785         * kbmap.C (defkey): set the origin of func to KEYBOARD
1786
1787         * MenuBackend.C (MenuItem):
1788         * ToolbarBackend.C (add): set the origin of func to UI
1789
1790         * funcrequest.[Ch]: add origin member, which indicates which part
1791         of LyX requests an action
1792
1793 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1794
1795         * converter.C (move): don't lie in the error message
1796         * converter.h (isReachable, move): document
1797
1798 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1799
1800         * buffer.C: remove unused using lyx::support::atoi
1801         * paragraph_funcs.C: ditto
1802
1803 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1804
1805         * bufferlist.C (exists): use bind and equal_to instead of
1806         compare_memfun
1807         (getBuffer): ditto
1808         * lyxtextclasslist.C (NumberOfClass): ditto
1809
1810         * cursor.C (insert): use for_each instead of explicit for loop
1811
1812         * bufferlist.C (getFileNames): use std::transform and
1813         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1814
1815         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1816         for loop
1817
1818         * buffer.C (changeLanguage): use for_each instead of explicit for
1819         loop
1820         (hasParWithID): implement using getParFromID
1821
1822         * LaTeXFeatures.C: ws change only
1823
1824         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1825         to cleanup a bit.
1826
1827         * BufferView_pimpl.C (trackChanges): use for_each instead of
1828         expilicit for loop
1829
1830 2004-11-04  André Pönitz  <poenitz@gmx.net>
1831
1832         * undo.h:
1833         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1834
1835         * dociterator.C (asDocIterator): use hard assert again.
1836
1837 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * lyxlength.C (asLatexString): rewrite so that it does not use
1840         snprintf anymore
1841
1842 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1843
1844         * text3.C (specialChar, dispatch): make sure cursor moves to the
1845         right after inserting an inset
1846
1847 2004-11-02  José Matos  <jamatos@lyx.org>
1848
1849         * output_docbook.C (docbook):
1850         * paragraph.C (getID):
1851         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1852         garantee that the output is always legal.
1853
1854         * tabular.C (docbook):
1855         * outputprams.[Ch]: remove mixed contents.
1856
1857 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1858
1859         * text2.C (setCounter): prevent endless loop
1860
1861 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1862
1863         * exporter.C (copyFile): use the mover instead of support::copy()
1864         * exporter.C (Export): pass format and latex name to copyFile()
1865         * exporter.h (addExternalFile): document
1866         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1867
1868 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1869
1870         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1871
1872 2004-10-30  José Matos  <jamatos@lyx.org>
1873
1874         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1875         text and no inset or font change. This allows to use CDATA
1876         sections just for the whole paragraph.
1877
1878 2004-10-30  José Matos  <jamatos@lyx.org>
1879
1880         * paragraph.C (getFirstWord): remove unused variable.
1881
1882 2004-10-30  José Matos  <jamatos@lyx.org>
1883
1884         * paragraph.C (getFirstWord): the content should always be escaped
1885         there.
1886         (simpleDocBookOnePar):
1887         * output_docbook.C (makeEnvironment): replace reference to CDATA
1888         to style pass_thru.
1889
1890 2004-10-30  José Matos  <jamatos@lyx.org>
1891
1892         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1893
1894 2004-10-30  José Matos  <jamatos@lyx.org>
1895
1896         * output_docbook.C (makeParagraphs):
1897         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1898         standard paragraph has only a given type of content drop the wrapper.
1899
1900 2004-10-29  José Matos  <jamatos@lyx.org>
1901
1902         * output_docbook.C (makeEnvironment):
1903         * sgml.C (openTag):
1904         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1905
1906 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1907
1908         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1909         (cleanID): sanitize any id.
1910
1911 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1912
1913         * buffer.C, lyxlex_pimpl.C:
1914         * lyxlex_pimpl.C (setFile):
1915         s/getExtFromContents/getFormatFromContents/
1916
1917 2004-10-28  José Matos  <jamatos@lyx.org>
1918
1919         * output_docbook.C (makeEnvironment): move id to broadest possible
1920         scope.
1921
1922         * sgml.C (openTag): apply substitution of <> for all attributes.
1923
1924 2004-10-28  José Matos  <jamatos@lyx.org>
1925
1926         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1927         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1928         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1929
1930         * sgml.[Ch]: new version for open and closeTag for paragraph and
1931         for strings. Now they handle the ids of paragraphs.
1932
1933 2004-10-26  Angus Leeming  <leeming@lyx.org>
1934
1935         * Makefile.am: add mover.[Ch].
1936
1937         * converter.C (convert, move): use the new Movers to move external
1938         files to the temp directory.
1939
1940         * lyx_main.C (init): ensure that the global system_movers data
1941         is initialised.
1942
1943         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1944         preferences file.
1945
1946         * mover.[Ch]: new files, defining a Mover as a utility to move an
1947         external file between directories and, if necessary, manipulate this
1948         file using a helper script.
1949
1950 2004-10-25  José Matos  <jamatos@lyx.org>
1951
1952         * output_docbook.C (makeCommand): merge two if's that tested the
1953         same condition.
1954
1955 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1956
1957         * sgml.C (escapeString): fix warning in a better way
1958
1959 2004-10-25  José Matos  <jamatos@lyx.org>
1960
1961         * sgml.C (escapeString): import the require boosts header file for
1962         tie, and avoid a signed unsigned comparison.
1963
1964 2004-10-25  José Matos  <jamatos@lyx.org>
1965
1966         * sgml.h: add #include <string>
1967
1968 2004-10-25  José Matos  <jamatos@lyx.org>
1969
1970         * sgml.[Ch] (escapeString): new function to escape all the string.
1971
1972 2004-10-24  José Matos  <jamatos@lyx.org>
1973
1974         * paragraph.[Ch] (getFirstWord): new function to get the first
1975         word. Useful for description.
1976         (simpleDocBookOnePar): remove depth argument, add another that
1977         says where to start the paragraph.
1978
1979         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1980         use the new functions to fix cleanly the support for descriptions.
1981
1982 2004-10-24  José Matos  <jamatos@lyx.org>
1983
1984         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1985         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1986         * output_linuxdoc.C (linuxdocParagraphs):
1987         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1988         add buffer as argument.
1989
1990 2004-10-24  José Matos  <jamatos@lyx.org>
1991
1992         * output_docbook.C (makeEnvironment, searchEnvironment): place
1993         CDATA inside paragraphs and fix scope for listitems.
1994
1995 2004-10-24  José Matos  <jamatos@lyx.org>
1996
1997         * output_docbook.C: remove using statement for stack.
1998
1999 2004-10-23  José Matos  <jamatos@lyx.org>
2000
2001         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2002         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2003         docbook. The new scheme is recursive and makes use of iterators, the
2004         same as latex export works.
2005         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2006         directly with the paragraph contents. This code was moved up to
2007         output_docbook.C (docbookParagraphs).
2008         * sgml.C (openTag, closeTag): removed unneeded newlines.
2009         (closeEnvTags) removed.
2010
2011 2004-10-23  André Pönitz  <poenitz@gmx.net>
2012
2013         * undo.C (textUndoOrRedo):
2014         * dociterator.C (asDocIterator): work around crash
2015
2016         * cursor.C (getStatus): replace ASSERT by more verbose error message
2017           and manual correction of the problem. Should increase stability
2018           while providing more sensible information.
2019
2020 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2021
2022         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2023
2024         * bufferlist.C (previous, next): new methods
2025
2026         * lfuns.h:
2027         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2028
2029 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2030
2031         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2032         entities to preamble.
2033
2034 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2035
2036         * messages.C (Pimpl): strip off translation context information
2037
2038 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2039
2040         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2041         the cursor is correct (bug 1694)
2042
2043 2004-10-13  José Matos  <jamatos@lyx.org>
2044
2045         * output_docbook.C (docbookParagraphs): fix closing tags in the
2046         end of the document.
2047
2048 2004-10-09  José Matos  <jamatos@lyx.org>
2049
2050         * buffer.C: format up to 237.
2051         * bufferparams.C (write): use tostr to convert booleans to strings.
2052
2053 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2054
2055         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2056
2057 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2058
2059         * LaTeX.C: implement use of babel language in xindy.
2060
2061 2004-10-05  José Matos  <jamatos@lyx.org>
2062
2063         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2064         Add new translators to help reading and writing the lyx file.
2065
2066 2004-10-05  José Matos  <jamatos@lyx.org>
2067
2068         * ParagraphParameters.C (read):
2069         * text.C (readParToken): replace nexToken by more appropriate lex
2070         methods.
2071
2072 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2073
2074         * LaTeX.C (runMakeIndex):
2075         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2076         (usually 'makeindex') configurable.
2077
2078         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2079         with a variable rather than with a number.
2080
2081 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2082
2083         * output_latex.C (TeXOnePar): make sure font setting is the first
2084         thing that gets output (and the last at the end). Should fix bug
2085         1404.
2086
2087 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2088
2089         * pch.h: use proper signal include
2090
2091         * LaTeX.h: Use preferred calling of Boost.Signal
2092         * buffer.h: ditto
2093
2094 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2095
2096         * pch.h: dont include <boost/function/function0.hpp>
2097
2098         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2099
2100         * paragraph_pimpl.h: remove usage of ShareContainer
2101
2102         * paragraph_pimpl.C: remove initialization of ShareContainer.
2103
2104 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         Fix bug #1666
2107
2108         * BufferView.C (putSelectionAt): change the semantics when
2109         backwards == true: now, this just swaps cursor and anchor wrt the
2110         forward case
2111
2112         * BufferView.h (putSelectionAt): add some documentation
2113
2114         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2115         make sure backwardChar is done at least once (to avoid getting
2116         stuck)
2117         (findNextChange): use putSelectionAt in the forward direction
2118         (operator()): use Paragraph::isWord
2119
2120 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2121
2122         * Spacing.C (set): c_str fix
2123
2124 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2125
2126         * lyx_cb.C (Reconfigure): quote the name of configure script in
2127         case it contains spaces
2128
2129 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * client: new dir
2132
2133         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2134         (BOOST_LIBS): use top_buildir when looking for the file
2135
2136 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2137
2138         * pch.h: do not use include boost/format.hpp, multiple symbols
2139                 will result (gcc bug)
2140
2141
2142 2004-08-23  José Matos  <jamatos@lyx.org>
2143
2144         * bufferparams.C (readToken): fix reading of the author field.
2145
2146 2004-08-20  José Matos  <jamatos@lyx.org>
2147
2148         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2149
2150 2004-08-20  José Matos  <jamatos@lyx.org>
2151
2152         * lyxlex.[Ch] (findToken): remove function.
2153
2154         * ParagraphParameters.C (findToken):
2155         * bufferparams.C (findToken): replace call for previous function
2156         with local copy. This local function has one more argument, the
2157         read string argument.
2158
2159 2004-08-16  José Matos  <jamatos@lyx.org>
2160
2161         * ParagraphParameters.C (write):
2162         * Spacing.C (writeFile):
2163         * bufferparams.C (writeLaTeX):
2164         * lyx_cb.C (Reconfigure):
2165         * paragraph.C (write):
2166         * tabular.C (write): remove unnecessary space at end of line.
2167
2168
2169 2004-08-16  José Matos  <jamatos@lyx.org>
2170
2171         * text.C (readParagraph): remove debug message.
2172
2173 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2174
2175         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2176         crash
2177
2178         * output_plaintext.C (asciiParagraph): set depth correctly
2179
2180         * outputparams.h: add member depth
2181
2182         * paragraph_funcs.C (ownerPar): remove.
2183
2184         * text2.C (setCounter): remove first_pit; comment out some
2185         non-working code that uses ownerPar
2186
2187         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2188         uses ownerPar
2189
2190 2004-08-16  José Matos  <jamatos@lyx.org>
2191
2192         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2193         For the same level of importance use the same chanel to report problems.
2194         (read): add code to deal with \begin_body and \end_body.
2195
2196
2197 2004-08-15  José Matos  <jamatos@lyx.org>
2198
2199         * lyxlex.C (getString): fix comment, buffer::readBody is now
2200         buffer:readDocument.
2201
2202         * tex-strings.C (string_papersize): Default -> default,
2203         Custom -> custom, for consistency with other options.
2204
2205 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * pch.h: new file
2208
2209         * Makefile.am: support pch
2210
2211 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2212
2213         * text.C (readParToken): remove the static LyXFont variable and
2214         pass it as a parameter instead. This fixes a nasty bug where an
2215         inset will be inserted with a bad font in some situations
2216         (readParagraph): adapt
2217
2218         * text2.C (setCounter): reduce number of calls to pars_[pit]
2219
2220         * text.C (singleWidth): add an assert, fix a test
2221
2222         * rowpainter.C (paintText): reduce number of calls to singleWidth
2223
2224         * paragraph.C (isHfill):
2225         (isNewline): ws only
2226
2227 2004-08-14  André Pönitz  <poenitz@gmx.net>
2228
2229         * text.C:
2230         * text2.C:
2231         * rowpainter.C:
2232         * lyxtext.h (several functions): use a Paragraph & argument
2233         instead of par_type
2234
2235 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2236
2237         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2238
2239         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2240
2241         * text.C (singleWidth): remove useless test
2242
2243 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2244
2245         * tabular.h: remove bogus comments
2246
2247         * tabular.C (getDescentOfRow):
2248         (isPartOfMultiColumn): add assertions
2249
2250         * lyxlength.C (inPixels): remove #warning
2251
2252 2004-08-14  André Pönitz  <poenitz@gmx.net>
2253
2254         * paragraph.h: inline getChar()
2255
2256         * BufferView.h: remove unused declarations
2257
2258 2004-08-14  José Matos  <jamatos@lyx.org>
2259
2260         * Buffer.[Ch] (readDocument): new name for old readBody.
2261         * Buffer.C: new file format, new keywords: \begin_document,
2262         \begin_header, \begin_body, \end_body.
2263
2264         * bufferparams.C (readToken): replace all calls to lex.nextToken
2265         by lex.next(). Do the same to eatLine except where really needed.
2266
2267         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2268         line when writing to the lyx file.
2269
2270         * output_plaintext.C (asciiParagraph): fix Bibliography style
2271         handling.
2272
2273         * text.C (read): fix end of file handling.
2274
2275 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2276
2277         * MenuBackend.C (Menu::operator[]): new method to access
2278         individual menu items
2279         (Menu::hasFunc): new method. search for an item that corresponds
2280         to a given func
2281         (MenuBackend::specialMenu): new method
2282         (MenuBackend::expand): if a special menu has been set, skip
2283         entries whose func() appears in this menu
2284
2285 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2286
2287         * text3.C: use Debug::DEBUG a bit more
2288
2289         * text.C (leftMargin): try to simplify a tiny bit change var x to
2290         l_margin. Dont output the wide margins always.
2291         (rightMargin): no margin in inner texts
2292
2293         * rowpainter.h (nestMargin): new func
2294         (changebarMargin): new func
2295         (rightMargin): new func
2296
2297         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2298         now functions.
2299         (paintLast): ditto
2300
2301         * factory.C (createInset): modify setDrawFrame
2302
2303         * cursor.C: use Debug::DEBUG a bit more
2304
2305 2004-08-14  André Pönitz  <poenitz@gmx.net>
2306
2307         * coordcache.[Ch]:
2308         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2309         cache for all insets in (at least partially) visible (top-level)
2310         paragraphs.
2311
2312         * BufferView_pimpl.C: reset external coord cache before every update.
2313         This means the coord cache only contains valid entries.
2314
2315 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2316
2317         bug 1096
2318         * BufferView_pimpl.C (getInsetByCode): move function out of class
2319         and change in to a template in anon namespace. Also fix to do what
2320         suits us better.
2321
2322 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2323
2324         bug 1305
2325         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2326         of char
2327         (breakParagraph): rename par to par_offset and use a local
2328         reference. Add code to keep the language over a rebreak.
2329         (breakParagraphConservative): rename par to par_offset, use a
2330         local reference
2331         (mergeParagraph): ditto
2332         (outerHook): ditto
2333         (isFirstInSequence): ditto
2334         (outerFont): rename pit to par_offset
2335
2336         * paragraph.C: ws change
2337         * paragraph.h: ditto
2338         * text3.C: ditto
2339         * text.C: ditto
2340
2341 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2342
2343         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2344         treatment for ']'
2345
2346         * paragraph.C (simpleTeXOnePar): when we have a \item with
2347         optional argument, enclose the argument with curly brackets (in
2348         case it contains a closing square bracket)
2349
2350         * text2.C (editXY):
2351         * text2.C (editXY):
2352         * text3.C (checkInsetHit): constify
2353
2354 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2355
2356         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2357         documents (bug 1629)
2358
2359 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2360
2361         Fix toggling of collapsable insets with the mouse (bug 1558)
2362
2363         * lyxfunc.C (dispatch): adapt to LCursor changes
2364
2365         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2366         make sure that dispatch is not invoked twice
2367
2368         * cursor.C (needsUpdate): new method
2369         (dispatch): return void
2370         (result): new method, to access the DispatchResult of the cursor.
2371
2372 2004-08-13  José Matos  <jamatos@lyx.org>
2373
2374         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2375
2376 2004-08-13  André Pönitz  <poenitz@gmx.net>
2377
2378         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2379
2380         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2381           multiple cells
2382
2383 2004-08-12  André Pönitz  <poenitz@gmx.net>
2384
2385         * text3.C: take out the 'cursor right' form insertInset and only
2386         do it in those places when it is really needed. Fixes crash on
2387         C-m...
2388
2389 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2390
2391         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2392
2393         * BufferView_pimpl.C (setBuffer): initialize the current font of
2394         the underlying LyXText
2395
2396 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2397
2398         * kbsequence.C (print): use UI native formatting for menu
2399         shortcuts
2400
2401         * text.C (insertChar): call Paragraph::insertChar with a font
2402         argument (cosmetic)
2403
2404         * paragraph.C (insertInset, insertChar): the version that takes a
2405         LyXFont argument is now a wrapper around the other one (the
2406         opposite used to be true).
2407
2408         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2409         argument. Font setting is done in Paragraph now.
2410
2411 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * outputparams.h: add new members intitle and lang.
2414
2415         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2416         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2417
2418 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2419
2420         * text3.C (dispatch): remove special handling of button 4 and 5,
2421         it is now taken care of in the frontend code.
2422
2423 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2424
2425         * Spacing.h: add <string> (STLPort compile fix)
2426
2427 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2428
2429         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2430
2431 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2432
2433         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2434         to bool.
2435
2436         * converter.C (showMessage): inherit from unary_function, make
2437         operator() const.
2438
2439         * buffer.C (writeFile): initialize retval
2440
2441         * InsetList.h: rename private variable list to list_
2442         * InsetList.[Ch]: adjust accordingly.
2443
2444 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2445
2446         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2447         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2448         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2449         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2450         * ParagraphParameters.C, LaTeXFeatures.C: replace
2451         "support/std_sstream.h" with <sstream>
2452
2453 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2456         * lyxsocket.C (LyXServerSocket): ditto
2457         (serverCallback): ditto
2458
2459 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2460
2461         * LaTeXFeatures.C: check release date when loading jurabib.
2462
2463 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2464
2465         * lyxserver.C (startPipe): call register_socket_callback
2466         (endPipe): call unregister_socket_callback
2467
2468 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2469
2470         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2471         (LyXServerSocket): register the callback
2472         (LyXServerSocket): unregister the callback
2473         (fd): delete function
2474         (serverCallback): improve error checking and setup the callbacks.
2475         (dataCallback): change arg to fd.
2476         (writeln): new func (copied fro the client socket) used for server
2477         write to client.
2478         (LyXDataSocket): simplify
2479         (~LyXDataSocket): close ann unregiser callback
2480         (server): delete function
2481         (fd): delete function
2482         (readln): small changes, improve some std::string usage
2483         (writeln): constify a bit
2484
2485 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2486
2487         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2488         Qt frontend
2489
2490 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2491
2492         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2493         after it has been populated
2494
2495 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2496
2497         * text2.C (insertInset): move cursor when inserting inset.
2498
2499 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * kbmap.C (findbindings): a couple of new methods. returns a
2502         container of kb_sequence objects. The real work is done by the
2503         private recursive version
2504         (printbindings): uses findbindings to print out a bracketed list
2505         of bindings (renamed from findbinding).
2506
2507         * MenuBackend.C (binding): use kb_keymap::findbindings
2508
2509         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2510
2511 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2512
2513         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2514
2515 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * paragraph.C (isWord): return true on insets that report
2518         isLetter().
2519
2520         * text.C (getWord): use Paragraph::isWord to decide what is in a
2521         word and what is not; fix bug 1609.
2522
2523 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2524
2525         * tex-strings.C: add "none" to string_paperpackages[], fixes
2526         off-by-one-error in the paperpackage selection.
2527
2528         * lyxlex.[Ch]:
2529         * tex-strings.[Ch]: char const * string[n]
2530         -> char const * const string[]
2531
2532 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2533
2534         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2535         command, return early.
2536
2537 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * debug.h: add DEBUG to enum and fix size of ANY.
2540
2541         * debug.C: add support for Debug::DEBUG
2542         (showTags): cast errorTags.level to unsigned int
2543
2544         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2545         (redoCurrentBuffer): ditto
2546         (updateScrollbar): ditto
2547         * cursor.C (dispatch): ditto
2548         * text2.C (setLayout): ditto
2549         (setFont): ditto
2550         (updateCounters): ditto
2551         (editXY): ditto
2552         (deleteEmptyParagraphMechanism): ditto
2553
2554 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2555
2556         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2557         annotations to cleanup the Makefile slightly.
2558
2559 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2560
2561         * lyxrc.C: do not set user_email to a default value but use empty
2562         instead. The entry used to be translated, which does not work
2563         since at the point where lyxrc is constructed there is no
2564         translation service available
2565
2566         * messages.C (getLocaleDir): remove and use directly
2567         lyx_localedir() instead
2568
2569 2004-06-02  Angus Leeming  <leeming@lyx.org>
2570
2571         Fix crash caused by dereferencing null pointer 'exportdata' in
2572         OutputParams by creating a new ExportData variable on the heap,
2573         storing it in a boost::shared_ptr.
2574         The crash was triggered when generating an Instant Preview
2575         of an external inset.
2576
2577         * Makefile.am: add outputparams.C
2578
2579         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2580         (c-tor): allocate memory to it.
2581
2582         * exporter.C (c-tor): associated changes.
2583
2584 2004-06-01  Angus Leeming  <leeming@lyx.org>
2585
2586         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2587         contains data before calling isInset(0). (Bug 1513.)
2588
2589 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2590
2591         * exporter.C (checkOverwrite): new method
2592         * exporter.C (copyFile): new method
2593         * exporter.C (Export): copy referenced files to the document dir
2594         * exporter.[Ch]: new class ExportedFile
2595         * exporter.[Ch]: new class ExportData. Contains currently the
2596         names of referenced external files
2597         * outputparams.h: add exportdata member.
2598
2599 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2600
2601         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2602         version.C-tmp
2603
2604 2004-05-19  Angus Leeming  <leeming@lyx.org>
2605
2606         * LaTeXFeatures.C:
2607         * ToolbarBackend.C:
2608         * bufferparams.C:
2609         * lyxfunc.C: small changes due to the introduction of namespace
2610         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2611
2612 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2613
2614         * text3.C (dispatch): supress update when only moving the cursor
2615         * cursor.C (selHandle): remove commented code
2616
2617 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2618
2619         * paragraph.C (startTeXParParams): correct column count
2620         * CutAndPaste.C (pasteSelection): remove const_cast
2621         * output_docbook.C (docbookParagraphs): remove const_cast
2622         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2623         const_cast and return ParagraphList::const_iterator
2624         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2625         * output_plaintext.C (writeFileAscii): remove const_cast
2626         * paragraph.[Ch] (simpleTeXOnePar): make const
2627         * paragraph_funcs.C (outerPar): use const iterators
2628         * paragraph_pimpl.C (validate): use const iterators
2629         * text.C (setHeightOfRow): use const iterators
2630
2631 2004-05-17  Angus Leeming  <leeming@lyx.org>
2632
2633         * lfuns.h:
2634         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2635
2636         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2637         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2638         if the citation engine has changed.
2639
2640 2004-05-14  José Matos  <jamatos@lyx.org>
2641
2642         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2643         if the textclass does not provide it. Have it different for sgml and
2644         xml.
2645         support the language of document.
2646         * output_docbook.C (docbookParagraphs):
2647         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2648         first anchor as the id of the paragraph, remove special case code.
2649         * sgml.C (escapeChar): escape only < & >.
2650
2651 2004-05-14  Angus Leeming  <leeming@lyx.org>
2652
2653         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2654         dependencies on src/frontends/controllers/biblio.h. Define a
2655         CiteEngine_enum wrapper class to enable the enum to be forward
2656         declared.
2657
2658 2004-05-12  Angus Leeming  <leeming@lyx.org>
2659
2660         * buffer.C: up LYX_FORMAT to 234.
2661         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2662         use_numerical_citations with a single biblio::CiteEngine cite_engine
2663         variable.
2664         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2665
2666 2004-05-13  José Matos  <jamatos@lyx.org>
2667
2668         * converter.h:
2669         * converter.C (Converter, readFlags): add xml member.
2670         * outputparams.h: add XML flavor.
2671         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2672
2673 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2674
2675         * lyxfunc.C (dispatch):
2676         (getStatus): fix handling of LFUN_SEQUENCE
2677
2678 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2679
2680         * debug.C (showLevel): do not forget the end-of-line marker
2681
2682 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2683
2684         * kbmap.C (read): do not stop parsing a bind file when an error
2685         occurs (bug 1575)
2686
2687 2004-04-29  Angus Leeming  <leeming@lyx.org>
2688
2689         * cursor.C:
2690         * factory.C:
2691         * pariterator.C:
2692         * text2.C: wrap a bunch of #warning statements
2693         inside #ifdef WITH_WARNINGS blocks.
2694
2695 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2696
2697         * buffer.C: increment format to 233.
2698
2699 2004-04-28  Angus Leeming  <leeming@lyx.org>
2700
2701         * BufferView_pimpl.C:
2702         * lyxfunc.C:
2703         * text3.C:
2704         s/updateToolbar()/updateToolbars()/
2705         s/Toolbar.h/Toolbars.h/
2706
2707 2004-04-28  Angus Leeming  <leeming@lyx.org>
2708
2709         * BufferView.[Ch] (c-tor):
2710         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2711         No longer passes these data to the WorkArea generator.
2712
2713 2004-04-28  Angus Leeming  <leeming@lyx.org>
2714
2715         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2716
2717 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2718
2719         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2720
2721 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2722
2723         * output_latex.C (TeXEnvironment): make sure that there is a line
2724         break before \end{foo} for the last paragraph of a document
2725         (TeXOnePar): if the paragraph is at the end of the document (or
2726         inset) and the language has to be reset, then make sure that the
2727         line break is _before_ the language command, not after (fixes bug
2728         1225); also make sure that the language reset command is the first
2729         thing after the paragraph (to ensure proper nesting of
2730         environments and thus fix bug 1404)
2731
2732 2004-04-21  John Levon  <levon@movementarian.org>
2733
2734         * ToolbarBackend.h:
2735         * ToolbarBackend.C: make "name" be a programmatic name
2736         and a gui_name field.
2737
2738         * lyxfunc.C: display the minibuffer on M-x
2739
2740 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2741
2742         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2743         (bug 1526)
2744
2745 2004-04-19  Angus Leeming  <leeming@lyx.org>
2746
2747         * BufferView_pimpl.C (setBuffer): changed preview interface.
2748
2749         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2750         possible values.
2751
2752 2004-04-19  John Levon  <levon@movementarian.org>
2753
2754         * BufferView_pimpl.C:
2755         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2756
2757 2004-04-05  Angus Leeming  <leeming@lyx.org>
2758
2759         * text.C (redoParagraphs): add call to updateCounters(), thereby
2760         fixing the missing "Figure #:" label from the caption of a
2761         figure float.
2762
2763 2004-04-13  Angus Leeming  <leeming@lyx.org>
2764
2765         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2766         cursor is clicked out of an inset.
2767
2768 2004-04-13  Angus Leeming  <leeming@lyx.org>
2769
2770         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2771         than an InsetOld one.
2772
2773 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2774
2775         * format.[Ch]: add editor to Format
2776         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2777         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2778
2779 2004-04-08  André Pönitz  <poenitz@gmx.net>
2780
2781         * metricsinfo.h: remove PainterInfo::width member
2782
2783 2004-04-08  Angus Leeming  <leeming@lyx.org>
2784
2785         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2786         "\providecommand" rather than "\newcommand", thereby preventing
2787         clashes with packages that define "\boldsymbol" themselves.
2788         Eg, beamer.
2789
2790 2004-04-08  Angus Leeming  <leeming@lyx.org>
2791
2792         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2793         thereby squashing an unnecessary warning.
2794
2795 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2796
2797         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2798         setBuffer()
2799
2800 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2801
2802         * BufferView.C (setCursor): call redoParagraph (some insets could
2803         have been opened)
2804         (putSelectionAt): remove the 'double update' trick
2805
2806         * BufferView_pimpl.C (fitCursor): call refreshPar
2807         (workAreaDispatch): remove an uneeded update call
2808         (dispatch): remove some manual update calls
2809
2810         * cursor.[Ch]: remove cached_y_, updatePos
2811         (selHandle): set noUpdate when appropriate
2812
2813         * lyxfunc.C (dispatch): track if we need an update
2814
2815         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2816
2817         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2818         (paintSelection): cheap optimization, do not call cursorX when not
2819         needed
2820         (paintPars): change signature
2821         (refreshPar): add
2822         (paintText): adjust
2823         (paintTextInset): adjust
2824
2825         * text.C: adjust
2826
2827 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2828
2829         * lengthcommon.C: compilation fix: remove explicit array size from
2830         unit_name[] and friends
2831
2832 2004-04-05  Angus Leeming  <leeming@lyx.org>
2833
2834         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2835
2836         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2837         present only for the preferences dialog.
2838         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2839
2840 2004-04-05  Angus Leeming  <leeming@lyx.org>
2841
2842         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2843         to enable the frontends to export changes to lyxrc correctly.
2844
2845         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2846
2847 2004-04-07  André Pönitz  <poenitz@gmx.net>
2848
2849         * cursor.[Ch] (selClear, adjust): remove math
2850
2851         * cursor_slice.C: more agressive assert
2852
2853         * lyxfunc.C:
2854         * BufferView_pimpl.C: rework mouse event dispatch
2855
2856         * dociterator.C:
2857         * paragraph.C:
2858         * text2.C:
2859         * text3.C: adjust
2860
2861 2004-04-05  André Pönitz  <poenitz@gmx.net>
2862
2863         * cursor.[Ch] (valign, halign...): remove unneeded functions
2864
2865 2004-04-05  Angus Leeming  <leeming@lyx.org>
2866
2867         * lyxlength.[Ch] (unit_name et al.): const-correct.
2868
2869 2004-04-05  Angus Leeming  <leeming@lyx.org>
2870
2871         * BufferView_pimpl.C:
2872         * buffer.C:
2873         * counters.C:
2874         * cursor.C:
2875         * lyxfunc.C
2876         * paragraph.C:
2877         * pariterator.C:
2878         * text.C:
2879         * text2.C:
2880         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2881
2882 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2883
2884         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2885
2886 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2887
2888         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2889         * BufferView_pimpl.[Ch] (getStatus)
2890         * BufferView.[Ch] (getStatus): add
2891         * lyxfunc.C (getStatus): move lfuns handled in
2892         BufferView::dispatch to te function above
2893         * Cursor.C (setSelection): set selection() = true
2894
2895 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2896
2897         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2898
2899 2004-03-31  Angus Leeming  <leeming@lyx.org>
2900
2901         * lyxfunc.C (dispatch): Fall through to the generic
2902         Dialogs::show("preamble").
2903
2904 2004-03-31  Angus Leeming  <leeming@lyx.org>
2905
2906         * lyxfunc.C (dispatch): Fall through to the generic
2907         Dialogs::show("spellchecker").
2908
2909 2004-03-31  Angus Leeming  <leeming@lyx.org>
2910
2911         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2912         preferences dialog.
2913
2914 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2915
2916         * BufferView.C
2917         * cursor.[Ch]
2918         * dociterator.[Ch]:
2919         * insetiterator.[Ch]:
2920         * lyxfind.C:
2921         * lyxfunc.C:
2922         * pariterator.[Ch]:
2923         * text2.C:
2924         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2925
2926 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2927
2928         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2929         insets where we are putting the cursor.
2930
2931 2004-03-31  Angus Leeming  <leeming@lyx.org>
2932
2933         * lfuns.h:
2934         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2935
2936         * lyxrc.[Ch] (read, write): overloaded member functions taking
2937         a std::[io]stream arguments.
2938
2939         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2940
2941 2004-03-31  Angus Leeming  <leeming@lyx.org>
2942
2943         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2944         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2945
2946         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2947         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2948
2949 2004-03-31  Angus Leeming  <leeming@lyx.org>
2950
2951         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2952         the LFUN_ALL_INSETS_TOGGLE code.
2953
2954 2004-03-30  Angus Leeming  <leeming@lyx.org>
2955
2956         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2957         has died. Fall through to the generic Dialogs::show("document").
2958
2959 2004-03-30  Angus Leeming  <leeming@lyx.org>
2960
2961         * lfuns.h:
2962         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2963         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2964
2965         * lyxfunc.C (getStatus, dispatch): define the actions for these
2966         lfuns. Little more than a cut and pste job from ControlDocument.C
2967
2968         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2969
2970 2004-03-30  Angus Leeming  <leeming@lyx.org>
2971
2972         * lfuns.h:
2973         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2974         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2975
2976         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2977         open/closed state of ollapsable insets. Usage:
2978
2979         all-inset-toggle <state> <name>, where
2980         <state> == "open" || "closed" || "toggle" and
2981         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2982
2983         * lyxtext.h, text2.C (toggleInset): removed.
2984
2985         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2986         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2987         now passes LFUN_INSET_TOGGLE to the found inset.
2988
2989         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2990         is now invoked as "all-insets-toggle toggle branch".
2991
2992 2004-03-30  Angus Leeming  <leeming@lyx.org>
2993
2994         * dociterator.C:
2995         * insetiterator.C:
2996         * pariterator.[Ch]: added/corrected header blurb.
2997
2998 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2999
3000         * dociterator.[Ch]: add an inset_ member
3001         (backwardPos): implemented
3002         (backwardPos, forwardPos): use inset_ when the stack is empty.
3003         (doc_iterator_begin, doc_iterator_end): implemented
3004         * pariterator.[Ch]: adjust, add begin, end
3005         * insetiterator.[Ch]: adjust, add begin, end
3006         * cursor.C:
3007         * document.C:
3008         * BufferView.C:
3009         * BufferView_pimpl.C:
3010         * CutAndPaste.C: adjust
3011
3012 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3013
3014         * buffer.C: increment file format to 232.
3015         * LaTeXFeatures.C: add bibtopic package.
3016         * bufferparams.[Ch]: param \use_bibtopic.
3017
3018         * lyxrc.[Ch]: add lyxrc bibtex_command
3019         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3020
3021         * buffer.C: increment file format to 231.
3022
3023 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3024
3025         * dociterator.C: implement forwardPar
3026         * iterators.[Ch]: remove, replaced by
3027         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3028         * BufferView.C:
3029         * BufferView_pimpl.C:
3030         * CutAndPaste.C:
3031         * buffer.C:
3032         * bufferview_funcs.C:
3033         * cursor.C:
3034         * lyxfind.C
3035         * lyxfunc.C
3036         * paragraph_funcs.C
3037         * toc.C:
3038         * Makefile.am: adjust
3039
3040 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * CutAndPaste.C (pasteSelection): fix 2 crashes
3043         (eraseSelection): fix a crash
3044         * paragraph_funcs.C: remove a warning
3045
3046 2004-03-28  Angus Leeming  <leeming@lyx.org>
3047
3048         * lfuns.h:
3049         * LyXAction.C (init): new LFUN_PRINT.
3050
3051         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3052
3053 2004-03-27  Angus Leeming  <leeming@lyx.org>
3054
3055         * lfuns.h:
3056         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3057
3058         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3059
3060 2004-03-27  Angus Leeming  <leeming@lyx.org>
3061
3062         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3063         insetlist always contains non-null pointers to insets.
3064
3065 2004-03-26  Angus Leeming  <leeming@lyx.org>
3066
3067         * src/BufferView_pimpl.C:
3068         * src/CutAndPaste.C:
3069         * src/buffer.C:
3070         * src/iterators.C:
3071         * src/output_plaintext.C:
3072         * src/outputparams.h:
3073         * src/paragraph_funcs.C:
3074         * src/rowpainter.C:
3075         * src/text.C:
3076         * src/text2.C:
3077         * src/frontends/controllers/ControlErrorList.C:
3078         * src/frontends/gtk/FileDialogPrivate.C:
3079         * src/frontends/gtk/GPainter.C:
3080         * src/frontends/gtk/GToolbar.C:
3081         * src/frontends/qt2/QRef.C:
3082         * src/mathed/math_scriptinset.C: squash compiler warnings.
3083
3084 2004-03-26  Angus Leeming  <leeming@lyx.org>
3085
3086         * ispell.C (LaunchIspell::start):
3087         * lyx_cb.C (AutoSaveBuffer::start):
3088         invoke run(DontWait) rather than runNonBlocking().
3089
3090 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3091
3092         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3093
3094 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3095
3096         * kbsequence.C (print): adjust
3097
3098         * kbmap.C (printKeySym): rename and change signature
3099         (printKey): use LyXKeySym::print()
3100
3101 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3102
3103         * undo.C: add using std::advance to compile for stlport
3104
3105 2004-03-24  Angus Leeming  <leeming@lyx.org>
3106
3107         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3108         it leads to a crash when no buffer is present.
3109
3110 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3111             Martin Vermeer  <martin.vermeer@hut.fi>
3112
3113         * lyxfunc.C (dispatch):
3114         * bufferparams.C (readToken): use the new LColor::setColor
3115
3116         * LColor.[Ch] (setColor): new version that takes two strings as
3117         argument and creates a new color entry if necessary
3118
3119 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3120
3121         * buffer.C (makeLaTeXFile): if the main latex file that is
3122         processed is usually a subdocument of some master, then pretend
3123         for a while that it is actually the master
3124
3125 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3126
3127         * buffer.C (getLabelList):
3128         (getBibkeyList): use getMasterBuffer()
3129         (getMasterBuffer): new method. Returns the main document in the
3130         case where one is using included documents.
3131
3132 2004-03-25  André Pönitz  <poenitz@gmx.net>
3133
3134         * Makefile.am:
3135         * iterators.[Ch]:
3136         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3137
3138         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3139
3140         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3141         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3142
3143         * ParameterStruct.h: merge with ParagraphParameters
3144
3145         * lyxtext.h: remove LyXText::parOffset() and getPar()
3146
3147         * text3.C: Remove all 'manual' update calls. We do now one per user
3148         interaction which is completely sufficient.
3149
3150         * Bidi.C:
3151         * BufferView.[Ch]:
3152         * BufferView_pimpl.C:
3153         * FontIterator.[Ch]:
3154         * MenuBackend.C:
3155         * ParagraphParameters.[Ch]:
3156         * buffer.C:
3157         * buffer.h:
3158         * bufferlist.C:
3159         * cursor.[Ch]:
3160         * cursor_slice.[Ch]:
3161         * dociterator.[Ch]:
3162         * errorlist.[Ch]:
3163         * factory.C:
3164         * lfuns.h:
3165         * lyxfind.C:
3166         * lyxfunc.C:
3167         * output_docbook.[Ch]:
3168         * output_latex.[Ch]:
3169         * output_linuxdoc.[Ch]:
3170         * output_plaintext.[Ch]:
3171         * paragraph.[Ch]:
3172         * paragraph_funcs.[Ch]:
3173         * paragraph_pimpl.[Ch]:
3174         * rowpainter.C:
3175         * tabular.[Ch]:
3176         * text.C:
3177         * text2.C:
3178         * toc.C:
3179         * undo.[Ch]: adjust
3180
3181         * frontends/controllers/ControlDocument.C:
3182         * frontends/controllers/ControlErrorList.C:
3183         * frontends/controllers/ControlSpellchecker.C:
3184         * insets/inset.C:
3185         * insets/inset.h:
3186         * insets/insetbase.h:
3187         * insets/insetbibitem.C:
3188         * insets/insetbox.C:
3189         * insets/insetbranch.C:
3190         * insets/insetcaption.C:
3191         * insets/insetcharstyle.C:
3192         * insets/insetcharstyle.h:
3193         * insets/insetcollapsable.C:
3194         * insets/insetcollapsable.h:
3195         * insets/insetert.C:
3196         * insets/insetfloat.C:
3197         * insets/insetfoot.C:
3198         * insets/insetmarginal.C:
3199         * insets/insetnote.C:
3200         * insets/insetoptarg.C:
3201         * insets/insettabular.C:
3202         * insets/insettext.C:
3203         * insets/insettext.h:
3204         * insets/insetwrap.C:
3205         * mathed/math_mboxinset.C:
3206         * mathed/math_nestinset.C:
3207         * mathed/math_scriptinset.C:
3208         * mathed/math_scriptinset.h:
3209         * support/types.h:
3210
3211 2004-03-24  Angus Leeming  <leeming@lyx.org>
3212
3213         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3214         deal with any child processes that have finished but are waiting to
3215         communicate this fact to the rest of LyX.
3216
3217 2004-03-24  Angus Leeming  <leeming@lyx.org>
3218
3219         64-bit compile fixes.
3220
3221         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3222         (c-tor): pass lyx::pos_types rather than ints.
3223
3224         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3225         lyx::pos_type.
3226
3227         * text.C (Delete): compile fix.
3228         (getPar): ensure that function declaration is the same as that in
3229         the header file.
3230
3231 2004-03-23  Angus Leeming  <leeming@lyx.org>
3232
3233         * ispell.C (LaunchIspell):
3234         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3235         a boost::shred_ptr rather than a std::auto_ptr.
3236
3237 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3238
3239         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3240         handle LFUN_FILE_INSERT_*
3241
3242         * lyxrc.C (setDefaults, getDescription, output, read):
3243         * lyxrc.h: remove ps_command
3244
3245 2004-03-22  Angus Leeming  <leeming@lyx.org>
3246
3247         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3248         Ensure that error_handler is processed once only and that all data
3249         is saved before attempting to output any warning messages.
3250
3251         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3252
3253 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3254
3255         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3256
3257 2004-03-19  André Pönitz  <poenitz@gmx.net>
3258
3259         * cursor.[Ch] (reset): take main text inset as argument
3260
3261         * BufferView: adjust
3262         * BufferView_pimpl.C: adjust
3263
3264         * paragraph.[Ch]: fix completely broken operator=()
3265
3266 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3267
3268         * LColor.C (getFromLyXName): make sure that the color name is used
3269         as lowercase.
3270
3271 2004-03-17  Angus Leeming  <leeming@lyx.org>
3272
3273         * lfuns.h:
3274         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3275
3276         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3277         dialog and to kill a forked process.
3278
3279 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3280
3281         * text2.C (setCursorFromCoordinates): fix font problem
3282
3283 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3284
3285         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3286         bogus "rebuild cursor" code
3287
3288 2004-03-11  André Pönitz  <poenitz@gmx.net>
3289
3290         * buffer.[Ch]: use InsetText instead of LyXText as container for
3291         the main lyx text.
3292
3293         * dociterator.[Ch]: drop the BufferView * member which is not needed
3294         anymore after the change to buffer.C
3295
3296         * paragraph_funcs.C:
3297         * text.C:
3298         * text2.C:
3299         * BufferView.[Ch]:
3300         * BufferView_pimpl.[Ch]:
3301         * cursor.[Ch]:
3302         * cursor_slice.[Ch]: adjust
3303
3304         * text3.C: fix bug in mathDispatch
3305
3306 2004-03-08  André Pönitz  <poenitz@gmx.net>
3307
3308         * undo.[Ch]: use 'StableDocumentIterator' as base for
3309         the Undo struct.
3310
3311 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3312
3313         * LaTeXFeatures.C:
3314         * bufferparams.[Ch]: add jurabib support and param.
3315
3316         * LaTeX.C: add FIXME/comment.
3317
3318 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3319
3320         * buffer.C: increment file format to 230.
3321
3322 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3323
3324         * cursor.C (dispatch): avoid infinite loops
3325
3326 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3327
3328         * rowpainter.C (paintSelection): fix x coordinates
3329
3330 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3331
3332         * text.C (rowBreakPoint): fix breaking before displayed insets
3333
3334 2004-03-01  André Pönitz  <poenitz@gmx.net>
3335
3336         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3337
3338         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3339
3340         * Makefile.am:
3341         * BufferView.C:
3342         * BufferView_pimpl.C:
3343         * buffer.C:
3344         * lyxfind.C:
3345         * lyxfunc.C:
3346         * text.C:
3347         * text2.C:
3348         * text3.C: adjust
3349
3350 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3351
3352         * lyxtext.h:
3353         * text.C:
3354         * text2.C:
3355         * rowpainter.C:
3356         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3357         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3358
3359 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3360
3361         * Bidi.[Ch] (computeTables): const correctness
3362         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3363         fill_hfill, fill_label_hfill and x from Row
3364         * lyxtext.h: prepareToPrint returns a RowMetrics
3365         * rowPainter.C: adjust
3366         * text.C (prepareToPrint): use width, not textWidth. adjust
3367         (redoParagraphInternal, cursorX): adjust
3368         * text2.C (getColumnNearX): adjust
3369         (init): put a default value to the top LyXText::width
3370
3371 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3372
3373         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3374
3375 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3376
3377         * lyxtext.h: add FontIterator class
3378
3379         * text.C (FontIterator, operator*, operator->, operator++): add
3380         (rowBreakPoint, setRowWidth): adjust (fixing a
3381         rebreaking bug)
3382
3383 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3384
3385         * BufferView_pimpl.C (workAreaDispatch): allow also
3386         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3387
3388 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3389
3390         * text.C (rowBreakPoint): fix a bug showing with very large insets
3391
3392 2004-02-25  André Pönitz  <poenitz@gmx.net>
3393
3394         * text3.C:
3395         * cursor.[Ch]: move some mathed specific code to mathed
3396
3397 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3398
3399         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3400         use_tempdir in preferences
3401         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3402         tempfile creation
3403         * lyx_main.C: ensure that tempdir is valid
3404         * lyxlex.h: correct typo
3405         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3406         * paragraph.[Ch] (isMultiLingual): make const
3407         * cursor.[Ch] (openable): make const
3408
3409 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3410
3411         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3412
3413 2004-02-20  André Pönitz  <poenitz@gmx.net>
3414
3415         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3416
3417         * cursor.[Ch]: prepare for localized getStatus()
3418
3419         * lyxtext.h:
3420         * tabular.C:
3421         * text.C:
3422         * text2.C:
3423         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3424
3425 2004-02-20  André Pönitz  <poenitz@gmx.net>
3426
3427         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3428
3429 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3430
3431         * text2.C (setCursorFromCoordinates): switch to absolute coords
3432         (cursorUp): adjust
3433         (cursorDown): adjust
3434         * text3.C (dispatch): adjust
3435
3436 2004-02-16  André Pönitz  <poenitz@gmx.net>
3437
3438         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3439           insets/ChangeLog)
3440
3441         * cursor_slice.[Ch]: remove unneeded acessor function
3442
3443         * lyxtext.h: rename rtl() to isRTL()
3444
3445         * rowpainter.C:
3446         * tabular.C:
3447         * text.C:
3448         * text2.C:
3449         * text3.C: adjust
3450
3451 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3452
3453         * rowpainter.C (paintSelection): coord fix
3454
3455 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3456
3457         * Spacing.C: compile fix
3458
3459 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3460
3461         * cursor.C (dispatch): restore current_ before returning
3462
3463 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3464
3465         * text2.C (cursorUp, cursorDown): fix coords
3466         (moveUp): fix crash
3467
3468 2004-02-12  André Pönitz  <poenitz@gmx.net>
3469
3470         * lyxtext.h:
3471         * text.C:
3472         * text2.C:
3473         * text3.C: add LCursor & parameter to most cursor movement functions
3474           remove usage of LyXText::cursorRow() and cursorPar()
3475
3476         * cursor.[Ch]: add textRow() needed members
3477
3478         * BufferView.C:
3479         * BufferView_pimpl.C:
3480         * paragraph.[Ch]:
3481         * BufferView.C:
3482         * BufferView_pimpl.C: adjust
3483
3484 2004-02-11  André Pönitz  <poenitz@gmx.net>
3485
3486         * lyxfunc.C:
3487         * BufferView.[Ch]:
3488         * BufferView_pimpl.C: shift undo/redo handling
3489
3490         * cursor.[Ch]: fix mathed crash
3491
3492         * lyxfind.C:
3493         * lyxtext.h: move selectionAsText to LCursor
3494
3495         * output_latex.C:
3496         * paragraph.C:
3497         * text.C:
3498         * text2.C:
3499         * text3.C: adjust
3500
3501         * rowpainter.C: fix excessive drawing
3502
3503 2004-02-06  André Pönitz  <poenitz@gmx.net>
3504
3505         * BufferView.[Ch]:
3506         * BufferView_pimpl.[Ch]:
3507         * text3.C: move some text specific LFUN handling
3508
3509 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3510
3511         * text3.C (checkInsetHit): adjust coords
3512         * text2.C (getColumnNearX): adjust coords
3513         (edit): adjust coords
3514         * text.C (getRowNearY): add two asserts
3515
3516 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3517
3518         * converter.C:
3519         * format.C: add using std::distance to compile on gcc 2.95/stlport
3520
3521 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3522
3523         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3524
3525 2004-02-04  André Pönitz  <poenitz@gmx.net>
3526
3527         * BufferView.[Ch] (insertInset):
3528         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3529
3530         * text2.C:
3531         * text3.C: adjust
3532
3533 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3534
3535         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3536         on the default clause of the switch
3537         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3538         wasn't catched by LCursor::dispatch
3539
3540 2004-02-03  André Pönitz  <poenitz@gmx.net>
3541
3542         * BufferView.C:
3543         * cursor.[Ch]: some additional asserts
3544
3545         * undo.[Ch]: remove LyXText dependency in interface
3546
3547         * lyxfunc.C: adjust
3548
3549         * lyxtext.h (firstPar, lastPar): remove dead functions
3550
3551         * text.C:
3552         * text2.C:
3553         * text3.C:
3554         * paragraph.[Ch]: adjust
3555
3556 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3557
3558         * lyxfind.C (find): fix argument order in call to ::find
3559
3560 2004-02-02  André Pönitz  <poenitz@gmx.net>
3561
3562         * cursor.[Ch]: remove direct access to anchor
3563
3564         * text.C: remove findText() hack
3565
3566 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3567
3568         * iterators.[Ch] (lockPath): remove in favour of...
3569         * BufferView.[Ch] (setCursor): this addition
3570         * BufferView.C (putSelectionAt): adjust
3571         * undo.C (performUndoOrRedo): adjust
3572         * lyxfunc.C (dispatch): adjust
3573
3574 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3575
3576         * iterators.C (lockPath): add a missing slice
3577         * undo.C (performUndoOrRedo): remove redundant positioning code
3578
3579 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3580
3581         * vc-backend.C (scanMaster): ";" -> ';'
3582
3583 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3584
3585         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3586         std::binary_function
3587
3588         * lyxtextclass.C (compare_name): rename to...
3589         (LayoutNamesEqual): ...this
3590
3591         * lyxlex_pimpl.C (compare_tags): inherit from
3592         std::binary_function, put back into anon namespace
3593
3594         * lyxfind.C (MatchString): inherig from std::binary_function
3595         (findChange): use empty() istead of !size()
3596
3597         * format.C (FormatNamesEqual): new functor
3598         (getFormat): use it
3599         (getNumber): use it
3600         (add): use it
3601         (erase): use it
3602         (setViewer): use it
3603
3604         * converter.C (compare_Converter): rename to...
3605         (ConverterEqual): ...this, and fixup a bit.
3606         (getConverter): use it, and make function const
3607         (getNumber): use it, and make function const
3608         (add): use it
3609         (erase): use it:
3610
3611         * bufferlist.C: add using boost::bind
3612
3613         * MenuBackend.C (MenuNamesEqual): new functor
3614         (hasMenu): use it, and make function const
3615         (hasSubmenu): use nested bind to get rid of compare_memfun.
3616
3617 2004-01-30  André Pönitz  <poenitz@gmx.net>
3618
3619         * BufferView_pimpl.C:
3620         * cursor.C:
3621         * cursor.h:
3622         * cursor_slice.[Ch]:
3623         * lyxfunc.C:
3624         * lyxtext.h:
3625         * paragraph_funcs.C:
3626         * paragraph_funcs.h:
3627         * rowpainter.C:
3628         * text.C:
3629         * text2.C:
3630         * text3.C: move some of the edit(x,y) handling to the insets
3631         some coordinate changes.
3632
3633 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3634
3635         * text.C: add using statements for std::advance and std::distance
3636
3637         * paragraph.C: add using statement for std::distance
3638
3639         * lyxfind.C: add using statement for std::advance
3640
3641         * cursor.C (region): remove std:: from swap
3642         (openable): use nucleus in stead of operator->
3643
3644         * BufferView.C: add using statements for std::distance and std::swap
3645
3646 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3647
3648         * iterators.C: Remove the pimple, move the needed structures to
3649         the header file. Create accessor for the positions stack.
3650         (asPosIterator): remove function
3651
3652         * PosIterator.C (PosIterator): move constructors to top of file
3653         (PosIterator): reimplement the constructor taking a ParIterator in
3654         terms of setFrom.
3655         (setFrom): new function
3656         (operator!=): inline it
3657
3658 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3659
3660         * lyxfind.C (replaceAll): use std::advance
3661
3662         * iterators.h: inherit from std::iterator.
3663
3664         * PosIterator.C (advance, distance): remove
3665         * PosIterator.h: interit from std::iterator.
3666
3667 2004-01-26  André Pönitz  <poenitz@gmx.net>
3668
3669         * BufferView.[Ch]:
3670         * BufferView_pimpl.[Ch]:
3671         * InsetList.[Ch]:
3672         * PosIterator.[Ch]:
3673         * buffer.h:
3674         * bufferview_funcs.C:
3675         * cursor.[Ch]:
3676         * cursor_slice.h:
3677         * factory.[Ch]:
3678         * iterators.[Ch]:
3679         * lyxfind.C:
3680         * lyxfunc.C:
3681         * lyxtext.h:
3682         * output_docbook.C:
3683         * output_latex.C:
3684         * output_linuxdoc.C:
3685         * output_plaintext.C:
3686         * paragraph.[Ch]:
3687         * paragraph_funcs.[Ch]:
3688         * paragraph_pimpl.[Ch]:
3689         * rowpainter.C:
3690         * tabular.C:
3691         * tabular.h:
3692         * text.C:
3693         * text2.C:
3694         * text3.C: more IU:  dumps most of the rest of the mathcursor
3695     implementation into cursor.[Ch]; "globalize" a bit of it.
3696
3697 2004-01-25  Angus Leeming  <leeming@lyx.org>
3698
3699         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3700
3701 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3702
3703         * LaTeXFeatures.h: add nice_ and nice() const
3704         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3705
3706 2004-01-20  André Pönitz  <poenitz@gmx.net>
3707
3708         * BufferView.[Ch]:
3709         * BufferView_pimpl.C:
3710         * PosIterator.C:
3711         * bufferview_funcs.C:
3712         * cursor.[Ch]:
3713         * cursor_slice.[Ch]:
3714         * factory.C:
3715         * iterators.C:
3716         * lyx_cb.C:
3717         * lyxfind.C:
3718         * lyxfunc.C:
3719         * lyxtext.h:
3720         * rowpainter.C:
3721         * text.C:
3722         * text2.C:
3723         * text3.C:
3724         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3725           LCursor and mathcursor parts to LCursor and InsetBase.
3726
3727 2004-01-15  André Pönitz  <poenitz@gmx.net>
3728
3729         * cursor_slice.[Ch]: add a few covienience functions
3730
3731         * funcrequest.[Ch]: remove BufferView * member
3732
3733         * BufferView_pimpl.C:
3734         * cursor.C:
3735         * factory.[Ch]:
3736         * lyxfind.[Ch]:
3737         * lyxfunc.C:
3738         * lyxtext.h:
3739         * text3.C:
3740         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3741
3742 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3743
3744         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3745         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3746
3747 2004-01-13  André Pönitz  <poenitz@gmx.net>
3748
3749         * textcursor.[Ch]:
3750         * lyxtext.h: hide cursor and selection anchor behind accessor function
3751
3752         * BufferView.C:
3753         * BufferView_pimpl.[Ch]:
3754         * PosIterator.C:
3755         * bufferview_funcs.C:
3756         * cursor.h:
3757         * lyxfind.C:
3758         * lyxfunc.C:
3759         * text.C:
3760         * text2.C:
3761         * text3.C:
3762         * undo.C: adjust
3763
3764         * cursor.h:
3765         * cursor_slice.[Ch]: some integer type changes for inset unification
3766
3767         * lyxcursor.[hC]: remove, it's CursorSlice now.
3768
3769         * Makefile.am:
3770         * BufferView_pimpl.[Ch]:
3771         * bufferview_funcs.C:
3772         * cursor_slice.C:
3773         * lyxtext.h:
3774         * text.C:
3775         * text2.C:
3776         * text3.C:
3777         * textcursor.[Ch]: adjust
3778
3779 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3780
3781         * text2.C (undoSpan): add and use
3782         * text.C (breakParagraph): use undoSpan (fix bug 578)
3783         * lyxtext.h: adjust
3784
3785 2004-01-08  Angus Leeming  <leeming@lyx.org>
3786
3787         * BufferView_pimpl.C (MenuInsertLyXFile):
3788         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3789         * lyxfunc.C (menuNew, open, doImport):
3790         FileFilterList change to the FileDialog open and save functions.
3791
3792 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * ShareContainer.h: make isEqual and isUnique adaptable
3795
3796         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3797
3798 2004-01-07  Angus Leeming  <leeming@lyx.org>
3799
3800         * LyXAction.C:
3801         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3802
3803         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3804
3805         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3806         functions replacing find, replace and replaceAll.
3807
3808         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3809         LFUN_WORDFIND(FORWARD|BACKWARD).
3810
3811 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3812
3813         * text.C (breakParagraph): remove an outdated #warning
3814
3815 2004-01-07  André Pönitz  <poenitz@gmx.net>
3816
3817         * lyxfind.C: somewhat clearer logic
3818
3819         * text.C: prevent crash in cursorX on unitialized row cache
3820
3821 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3822
3823         * lyxcursor.[Ch] (operator>): add
3824         * textcursor.C (selStart, selEnd): use std::min and std::max
3825
3826 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * Chktex.C: include boost/format.hpp
3829
3830 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3831
3832         * InsetList.C: replace functor MathcIt with adaptable functor
3833         InsetTablePosLess
3834         (insetIterator): modify accordingly
3835
3836         * BranchList.h: move the BranchNamesEqual functor here from...
3837         * BranchList.C: ... to here
3838
3839         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3840         SameName and match.
3841         (add): replace a finding loop with std::find_if.
3842
3843 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3844
3845         * output_docbook.C: moving LatexParam functionality into
3846         .layout files
3847
3848 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3849
3850         * buffer.C: increment format to 229.
3851
3852 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3853
3854         * LaTeXFeatures.C:
3855         * lyx_sty.[Ch]: remove minipageindent_def
3856
3857         * LyXAction.C:
3858         * factory.C:
3859         * lfuns.h:
3860         * lyxfunc.C:
3861         * text3.C: remove LFUN_INSET_MINIPAGE
3862
3863 2003-12-28  Angus Leeming  <leeming@lyx.org>
3864
3865         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3866
3867 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3868
3869         * text2.C (setParagraph): fix off-by-one crash
3870
3871 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3872
3873         * output_docbook.C: header stuff for AGU
3874
3875 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3876
3877         * text2.C (redoCursor): remove
3878         * text.C:
3879         * text3.C:
3880         * BufferView_pimpl.C: remove calls to redoCursor and
3881         setCursor(cursor.par(), cursor.pos()) all around
3882
3883 2003-12-15  Angus Leeming  <leeming@lyx.org>
3884
3885         * buffer.C: up the format to 228.
3886
3887 2003-12-15  André Pönitz  <poenitz@gmx.net>
3888
3889         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3890         slices
3891
3892         * Makefile.am:
3893
3894         * BufferView_pimpl.C:
3895         * cursor.[Ch]:
3896         * lyxcursor.[Ch]:
3897         * rowpainter.[Ch]:
3898         * lyxtext.h:
3899         * text.C:
3900         * text2.C:
3901         * text3.C: adjust
3902
3903 2003-12-15  Angus Leeming  <leeming@lyx.org>
3904
3905         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3906         than getFromGUIName to manipulate the color.
3907
3908 2003-12-14  Angus Leeming  <leeming@lyx.org>
3909
3910         * BranchList.[Ch]: minimize the API.
3911         (Branch::getBranch, getColor): now return a 'const &'.
3912         (Branch::setSelected) now returns a bool set to true if the
3913         selection status changes.
3914         (BranchList::clear, size, getColor, setColor, setSelected,
3915         allBranches, allSelected, separator): removed.
3916         (BranchList::find): new functions, returning the Branch with
3917         the given name.
3918         (BranchList::add, remove): return a bool indicating that
3919         the operation was successful.
3920
3921         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3922         new InsetBranch::isBranchSlected member function.
3923
3924         * LColor.[Ch]: mimimize the API.
3925         (fill): renamed as addColor and made private.
3926         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3927         versions of these functions taking a string arg have been removed.
3928
3929         * bufferparams.C (readToken):
3930         * lyxfunc.C (dispatch):
3931         * lyxrc.C (read): changes due to the altered BranchList and
3932         LColor APIs.
3933
3934         * factory.C (createInset, readInset): changes due to altered
3935         InsetBranch c-tor.
3936
3937 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3938
3939         * factory.C:
3940         * lyxfunc.C: remove insetminipage. "minipage-insert"
3941         now produces a frameless minipage box inset.
3942
3943 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3944
3945         * textcursor.[Ch] (selStart,selEnd): add new methods
3946         remove selection::start, end, use LyXCursor::operator<
3947         * lyxcursor.[Ch] (operator<): add
3948         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3949         * BufferView.[Ch] (unsetXSel): add
3950         * text2.C (clearSelection): use unsetXSel,adjust
3951         * text.C: adjust
3952         * text3.C: adjust
3953         * rowpainter.C: adjust
3954         * bufferview_funcs.C (put_selection_at): adjust
3955
3956 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3957
3958         * BufferView_pimpl.C: small coord. correction
3959
3960 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3961
3962         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3963         dragging over the splash screen.
3964
3965 2003-12-11  Angus Leeming  <leeming@lyx.org>
3966
3967         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3968         as it is now handled in LyXText::dispatch.
3969
3970         * text3.C (doInsertInset): remove a level of nesting.
3971
3972 2003-12-11  Angus Leeming  <leeming@lyx.org>
3973
3974         * factory.C (createInset): changes due to the changed interface to
3975         InsetCommandMailer::string2params.
3976
3977 2003-12-10  Angus Leeming  <leeming@lyx.org>
3978
3979         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3980         'dialog-show-new-inset <inset name>'
3981
3982 2003-12-10  Angus Leeming  <leeming@lyx.org>
3983
3984         * buffer.C: up the format to 227.
3985
3986         * factory.C: the box inset is now identified simply by 'Box'.
3987
3988 2003-12-10  Angus Leeming  <leeming@lyx.org>
3989
3990         * buffer.C: up the format to 226.
3991
3992         * factory.C: the note inset is now identified simply by 'Note'.
3993
3994 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3995
3996         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3997         when a pit is enough. Standarize a couple of loops.
3998
3999 2003-12-05  Angus Leeming  <leeming@lyx.org>
4000
4001         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4002         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4003         data to the re-worked "log" dialog.
4004
4005 2003-12-03  André Pönitz  <poenitz@gmx.net>
4006
4007         * PosIterator.C:
4008         * iterators.C:
4009         * lyxtext.h:
4010         * output_latex.C:
4011         * paragraph_funcs.C:
4012         * text.C:
4013         * text2.C: use Inset::getText instead of Inset::getParagraph
4014
4015 2003-12-03  André Pönitz  <poenitz@gmx.net>
4016
4017         * buffer.[Ch]:
4018         * lyxtext.h:
4019         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4020         InsetText::read() as LyXText::read()
4021
4022 2003-12-02  Angus Leeming  <leeming@lyx.org>
4023
4024         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4025         type. Add a comment in the implementation that the function uses
4026         the stream's bad() function rather than fail() as the std::streams
4027         would do.
4028
4029 2003-12-02  André Pönitz  <poenitz@gmx.net>
4030
4031         * lyxlex.[Ch]: make interface more similar to std::stream
4032
4033         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4034
4035 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4036
4037         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4038
4039 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4040
4041         * vspace.[Ch]: remove VSpace::NONE
4042
4043 2003-12-01  André Pönitz  <poenitz@gmx.net>
4044
4045         * buffer.[Ch]:
4046         * lyxtext.h: move ParagraphList member to LyXText
4047         rename LyXText::ownerParagraphs to LyXText::paragraph
4048
4049         * CutAndPaste.C:
4050         * bufferview_funcs.C:
4051         * iterators.[Ch]:
4052         * lyx_cb.C:
4053         * paragraph.C:
4054         * rowpainter.C:
4055         * tabular.C:
4056         * text.C:
4057         * text2.C:
4058         * text3.C: adjust
4059
4060         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4061
4062         * undo.C: fix cursor positioning
4063
4064 2003-12-01  John Levon  <levon@movementarian.org>
4065
4066         * BufferView_pimpl.C: fix a crash on exit with
4067         a buffer open
4068
4069 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4070
4071         * BranchList.C: fix setSelected() method.
4072
4073 2003-11-28  André Pönitz  <poenitz@gmx.net>
4074
4075         * ParagraphParameters.[Ch]:
4076         * ParameterStruct.h: remove space above/below from Paragraph to
4077          InsetVSpace
4078
4079         * BufferView_pimpl.C:
4080         * factory.C:
4081         * lyxfunc.C:
4082         * lyxtext.h:
4083         * output_latex.C:
4084         * paragraph.C:
4085         * paragraph_funcs.C:
4086         * rowpainter.[Ch]:
4087         * text.C:
4088         * text2.C:
4089         * text3.C: adjust
4090
4091 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4092
4093         * factory.C: Syntax change for CharStyles
4094
4095 2003-11-28  André Pönitz  <poenitz@gmx.net>
4096
4097         * BufferView.[Ch]:
4098         * BufferView.[Ch]:
4099         * buffer.[Ch]:
4100         * buffer.[Ch]: move LyXText member
4101
4102 2003-11-28  André Pönitz  <poenitz@gmx.net>
4103
4104         * BufferView.[Ch]: make LyXText * text a private member
4105
4106         * BufferView_pimpl.C:
4107         * cursor.C:
4108         * iterators.C:
4109         * lyx_cb.C:
4110         * lyxfind.C:
4111         * lyxtext.h:
4112         * rowpainter.[Ch]:
4113         * text.C:
4114         * text2.C:
4115         * undo.C: adjust
4116
4117         * output_plaintext.C: cleanup
4118
4119 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4120
4121         * buffer.C:
4122         * lyxtextclass.[Ch]: parametrize SGML document header
4123
4124 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4125
4126         * converter.[Ch]:
4127         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4128         getFlavor().
4129
4130 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * text2.C (setFont): rework using PosIterator (no more recursive)
4133         (setCharFont): no more needed
4134         (setLayout): no more selection cursors fiddling (done by redoCursor)
4135         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4136         destroy remaining ones)
4137
4138 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4139
4140         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4141         * lyxtext.h: ditto
4142         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4143         selection cursors
4144         * lyxfunc.C: adjust
4145         * text3.C: adjust + re-allow multi par depth changes
4146         * textcursor.C: simplify a bit
4147
4148 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4149
4150         * src/buffer.C:
4151         * src/lyxlayout.C:
4152         * src/lyxlayout.h:
4153         * src/lyxtext.h:
4154         * src/output_docbook.C:
4155         * src/output_latex.C:
4156         * src/paragraph.C:
4157         * src/paragraph.h:
4158         * src/sgml.C:
4159         * src/sgml.h:
4160         * src/text2.C: Introducing a number of tags parametrizing various
4161         XML formats that we may want to support
4162
4163 2003-11-25  André Pönitz  <poenitz@gmx.net>
4164
4165         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4166
4167         * lyxtext.h (leftMargin/rightMargin): simplify interface
4168
4169         * rowpainter.C:
4170         * text.C:
4171         * text2.C:
4172         * text3.C: adjust
4173
4174 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4175
4176         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4177         master file to any child files. Fixes bug 546.
4178
4179 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4180
4181         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4182
4183 2003-11-24  André Pönitz  <poenitz@gmx.net>
4184
4185         * rowpainter.C: simplification
4186
4187         * text2.C (updateCounters): remove call to redoParagraph on
4188         changed labels as this is far too expensive.
4189
4190 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4191
4192         * converter.C (convert): fix a crash: this function gets
4193         called with buffer == 0 from importer code.
4194
4195 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * text3.C (cursorPrevious): make sure that we do not compare
4198         iterators form different containers.
4199         (cursorNext): ditto
4200
4201         * rowpainter.C (paintSelection): make sure that we do not compare
4202         iterators from different containers.
4203
4204         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4205         iterators from different ParagraphList containers.
4206         [NEXT] ditto
4207
4208         * text2.C (LyXText): change order of initialization slightly
4209         (operator=): new function. copy all variables except cache_par_
4210         (moveUp): make sure that we do not compare iterators from
4211         different ParagraphList constainers.
4212         (moveDown): ditto
4213
4214         * text.C (firstPar): new function
4215         (lastPar): new function
4216         (endPar): new function
4217
4218         * lyxtext.h: move things around and group public functions, public
4219         variables, private functions, private variables
4220
4221 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4222
4223         * factory.C: change call to InsetERT constructor to avoid
4224         additional invocation of method status
4225         * text2.C (toggleInset): remove redundant update() call
4226         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4227         instead of a Bufferview pointer
4228
4229 2003-11-21  André Pönitz  <poenitz@gmx.net>
4230
4231         * rowpainter.C: simplification
4232
4233 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4234
4235         * text3.C (dispatch): make possible to extend a word/row selection
4236         with the mouse
4237
4238 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4239
4240         * lyxtext.h: x0_,y0_ -> xo_,yo_
4241         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4242         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4243         * rowpainter.C (paintRows): paint full paragraphs
4244
4245 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4246
4247         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4248         screen coordinates)
4249
4250 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4251
4252         * lyxtext.h: add x0_, y0_
4253         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4254         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4255
4256 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4257
4258         * text2.C (setCursorIntern): move the x_target update here *
4259         * text3.C: change some bv() to true/false in calls to
4260         cursorUp/Down/Right/Left
4261         * cursor.C: use helper function.
4262
4263 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4264
4265         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4266         * paragraph_funcs.[Ch]: correct comment
4267         * rowpainter.C: do not paint selections away from bv->cursor()
4268         Fix a long standing selection painting bug.
4269         * text3.C: generalize mouse-selection code to LyXTexts other that
4270         top one
4271         * textcursor.C: do not use y coords if we can use par offsets
4272
4273 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4274
4275         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4276         cursor position after e.g. inset insert)
4277
4278 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4279
4280         * lyxfind.C (replace): adjust to locking removal + some
4281         code simplification
4282
4283 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4284
4285         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4286         of the path
4287
4288 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4289
4290         * lyxlayout.[Ch]:
4291         * output_docbook.C: XML sanitation: new layout
4292         parameters InnerTag and CommandDepth
4293
4294 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4295
4296         * BufferView_pimpl.C:
4297         * factory.C:
4298         * text3.C: Fix the insertion and modification of button-style
4299         insets
4300
4301 2003-11-13  André Pönitz  <poenitz@gmx.net>
4302
4303         * InsetList.[Ch]: remove deleteLyXText
4304
4305         * paragraph.[Ch]: cache beginOfBody position
4306
4307         * Bidi.C:
4308         * text.C:
4309         * text2.C:
4310         * text3.C: remove superfluous update() calls
4311
4312         * vspace.C: cleanup
4313
4314 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4315
4316         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4317         * BufferView.C (fitLockedInsetCursor): remove
4318         * cursor.[Ch] (getDim): add
4319         * text.C (getRowNearY): add faster version
4320         * text3.C: remove some update calls
4321
4322 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4323
4324         * LaTeXFeatures.C:
4325         * LyXAction.C:
4326         * MenuBackend.C:
4327         * MenuBackend.h:
4328         * dispatchresult.h:
4329         * factory.C:
4330         * lfuns.h:
4331         * lyxfunc.C:
4332         * lyxtextclass.C:
4333         * lyxtextclass.h:
4334         * text3.C: The Character Style /XML short element patch.
4335
4336 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4337
4338         * text3.C:
4339         * factory.C: Small step to solving 'unable to insert some insets'
4340         problem
4341
4342 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4343
4344         * cursor.[Ch] (updatePos): new function for updating the y
4345         position of the tip inset
4346         * bufferview_funcs.C (put_selection_at):
4347         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4348
4349 2003-11-11  André Pönitz  <poenitz@gmx.net>
4350
4351         * text.C: remove big comment on invalid Paragraph pointers as it is
4352         not valid anymore
4353
4354 2003-11-11  André Pönitz  <poenitz@gmx.net>
4355
4356         * text_funcs.[Ch]: merge with ...
4357
4358         * text.C: ... this
4359
4360         * lyxtext.h:
4361         * text2.C:
4362         * text3.C: adjust
4363
4364         * Makefile.am: remove text_funcs.[Ch]
4365
4366 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4367
4368         * cursor.C (getPos): return absolute cached y coord
4369
4370         * BufferView_pimpl.C (fitCursor): new simplistic code
4371         (workAreaDispatch): add a fitCursor call
4372
4373 2003-11-10  André Pönitz  <poenitz@gmx.net>
4374
4375         * BufferView.[Ch]:
4376         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4377
4378 2003-11-10  André Pönitz  <poenitz@gmx.net>
4379
4380         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4381         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4382         indicate that the cursor needs to leave an inset
4383
4384         * lyxtext.h: remove inset locking
4385
4386         * cursor.[Ch]: re-implement functionality provided by inset locking
4387
4388         * BufferView.[Ch]:
4389         * BufferView_pimpl.[Ch]:
4390         * LyXAction.C:
4391         * bufferview_funcs.[Ch]:
4392         * factory.C:
4393         * funcrequest.[Ch]:
4394         * iterators.C:
4395         * lyx_cb.C:
4396         * lyxfind.C:
4397         * lyxfunc.C:
4398         * text.C:
4399         * text2.C:
4400         * text3.C:
4401         * undo.C: adjust
4402
4403 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4404
4405         * PosIterator.[Ch]: replace the stack with a vector, add inset
4406         accesor
4407         * iterators.[C]: adjust
4408
4409 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4410
4411         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4412         replaced
4413         * paragraph_funcs.C (readParToken): put the correct id in the
4414         error item, not the id of the top paragraph
4415
4416 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4419         * bufferview_funcs.C (put_selection_at): use the above
4420
4421 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4424
4425 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4426
4427         * output_linuxdoc.h:
4428         * output_plaintext.h:
4429         * output.h:
4430         * output_docbook.h: add #include statements
4431
4432 2003-11-05  José Matos  <jamatos@lyx.org>
4433
4434         * output_docbook.[Ch]:
4435         * output_latex.[Ch]:
4436         * output_linuxdoc.[Ch]:
4437         * output_plaintext.[Ch]: New files for output formats.
4438         * output.[Ch]: New file for helper functions.
4439
4440         * buffer.[Ch]:
4441         * paragraph_funcs.[Ch]: output functions moved to new files.
4442
4443         * outputparams.h: rename of latexrunparams.h
4444
4445         * LaTeX.[Ch]:
4446         * buffer.[Ch]:
4447         * bufferlist.[Ch]:
4448         * converter.[Ch]:
4449         * exporter.C:
4450         * paragraph.[Ch]:
4451         * paragraph_funcs.[Ch]:
4452         * paragraph_pimpl.[Ch]:
4453         * tabular.[Ch]: rename ascii to plaintext
4454         and LatexRunParams to OutputParams.
4455
4456 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * iterators.[Ch] (text): require bv argument
4459         * undo.C (recordUndo):
4460         * lyxfunc.C (dispatch):
4461         * bufferview_funcs.C (put_selection_at): adjust
4462
4463 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4464
4465         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4466
4467 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4468
4469         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4470         nestings
4471
4472 2003-11-04  André Pönitz  <poenitz@gmx.net>
4473
4474         * cursor.[Ch]: restructure
4475
4476         * BufferView.[Ch]:
4477         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4478
4479         * iterators.[Ch] (asCursor): remove
4480
4481         * lfuns.h: remove LFUN_INSET_EDIT
4482
4483         * lyxfunc.C:
4484         * tabular.C:
4485         * text.C:
4486         * text2.C:
4487         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4488
4489 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4490
4491         * lyxfind.[Ch]: complete overhaul
4492         * BufferView_pimpl.C:
4493         * lyxfunc.C: adjust
4494         * paragraph.[Ch] (insert): add
4495
4496 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4497
4498         * BufferView.[Ch]:
4499         * lyxtext.h:
4500         * text.C: remove dead spellcheck code
4501
4502 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4503
4504         * dispatchresult.h: add a val setter
4505
4506         * cursor.C (dispatch): use a tempvar for data_[i]
4507
4508 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4509
4510         * PosIterator.[Ch]: compile fix
4511
4512 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * text.C (cursorPar): deactivate the cursor cache
4515
4516 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4519
4520 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * text3.C (dispatch): adjust for new DisptchResult semantics.
4523
4524         * lyxfunc.C (dispatch): handle update when return from
4525         Cursor::dispatch, adjust for new DispatchResult semantics.
4526
4527         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4528         DispatchResult(true) mean to not update. Add class functions for
4529         setting dispatched and update, as well as reading.
4530
4531         * cursor.C (dispatch): don't handle update here
4532
4533 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4534
4535         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4536         * trans_mgr.C: adjust
4537
4538         * paragraph_funcs.C (readParToken): exception safety
4539
4540         * lyxvc.h: store the vcs pointer in a scoped_ptr
4541         * lyxvc.C: adjust
4542
4543         * lyxsocket.C (serverCallback): exception safety
4544
4545         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4546
4547         * ispell.C (clone): make it return a auto_ptr
4548
4549         * factory.C (createInset): exception safety
4550         (readInset): exception safety
4551
4552         * bufferlist.C (newBuffer): exception safety
4553
4554         * Thesaurus.C (Thesaurus): use initialization for aik_
4555
4556         * MenuBackend.C (expandToc): exception safety.
4557
4558 2003-11-03  André Pönitz  <poenitz@gmx.net>
4559
4560         * buffer.C:
4561         * buffer.h:
4562         * bufferview_funcs.C: remove getInsetFromId()
4563
4564         * lyxcursor.[Ch]:
4565         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4566
4567         * lyxfunc.C:
4568         * text2.C:
4569         * text3.C: adjust
4570
4571 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4572
4573         * PosIterator.C (distance, advance): new
4574         * bufferview_funcs.[Ch] (put_selection_at): new
4575         * iterators.[Ch] (lockPath): new
4576
4577 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4578
4579         * iterators.[Ch] (asPosIterator): added
4580         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4581         * PosIterator.[Ch]: added
4582
4583 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4584
4585         * text3.C:
4586         * lyxfunc.C:
4587         * cursor.C (dispatch):
4588         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4589
4590         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4591         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4592         contructor, add a class function dispatched. Remove operator>=
4593
4594 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * debug.C: only use the default constructor for debugstream
4597         (lyxerr) here.
4598
4599         * main.C (main): include debug.h and setup the lyxerr streambuf
4600         here.
4601
4602 2003-10-31  José Matos  <jamatos@lyx.org>
4603
4604         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4605
4606         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4607         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4608         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4609         * paragraph_pimpl.C (simpleTeXSpecialC):
4610         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4611         add LatexRunParams argument.
4612
4613         * exporter.C (Export): change call accordingly.
4614
4615         * latexrunparams.h: add new member to take care of the other backends.
4616 2003-10-30  José Matos  <jamatos@lyx.org>
4617
4618         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4619         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4620         factorise code for paragraph output.
4621         * buffer.[Ch]:
4622         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4623         move functions.
4624
4625 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4626
4627         * text3.C (dispatch):
4628         * lyxfunc.C (dispatch):
4629         * cursor.C (dispatch):
4630         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4631
4632         * dispatchresult.h: make the dispatch_result_t ctor explicit
4633
4634 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4635
4636         * sgml.[Ch]:
4637         * buffer.C: small refactoring of docbook stuff
4638
4639 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4640
4641         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4642         meaning.
4643
4644 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4645
4646         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4647         operator dispatch_result_t, and operators for == != and >=
4648
4649         * cursor.C (dispatch): adjust for operator dispatch_result_t
4650         removal. comment out call to update
4651
4652         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4653
4654 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4655
4656         * text3.C:
4657         * text2.C:
4658         * text.C:
4659         * lyxtext.h:
4660         * lyxfunc.C:
4661         * cursor.C:
4662         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4663         (dispatch):
4664
4665         * dispatchresult.h: new file, DispatchResult broken out of
4666         insets/insetbase.h
4667
4668         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4669
4670 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4671
4672         * text.C (rowBreakPoint): put a hack inside #if 0
4673
4674 2003-10-28  André Pönitz  <poenitz@gmx.net>
4675
4676         * lyxtext.h:
4677         * metricsinfo.C:
4678         * paragraph_funcs.C:
4679         * rowpainter.C:
4680         * text.C:
4681         * text2.C: general cleanup (lots of small stuff)
4682
4683 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4684
4685         * text2.C (cursorEnd): simple fix to the "end key goes to one
4686         before the end on last row" bug
4687
4688 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * text.C (backspace): fix the "zombie characters"
4691
4692 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4693
4694         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4695
4696 2003-10-27  André Pönitz  <poenitz@gmx.net>
4697
4698         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4699
4700         * factory.C: handle new InsetPagebreak, InsetLine
4701
4702         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4703         and move handling into new InsetPagebreak, InsetLine
4704
4705         * BufferView_pimpl.C:
4706         * LyXAction.C:
4707         * ParagraphParameters.C:
4708         * ParameterStruct.h:
4709         * lyxfunc.C:
4710         * lyxtext.h:
4711         * paragraph.C:
4712         * paragraph.h:
4713         * paragraph_funcs.C:
4714         * paragraph_pimpl.C:
4715         * rowpainter.C:
4716         * text.C:
4717         * text2.C:
4718         * text3.C: adjust
4719
4720 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * text.C:
4723         * lyxrow_funcs.[Ch]:
4724         * Bidi.C:
4725         * paragraph.C:
4726         * lyxtext.h:
4727         * rowpainter.C:
4728         * text2.C:
4729         * text3.C: remove lastPos uses in favour of Row::endpos
4730
4731 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4732
4733         * undo.C (performUndoOrRedo): fix two crashes by setting a
4734         cursor by hand and reordering some calls. Use bv->lockInset instead
4735         of inset->edit because the latter loses cursor information
4736
4737 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4738
4739         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4740         by Martin
4741         (rowBreakPoint): fix width. change point to point + 1.
4742         Add a missing check.
4743
4744 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4745
4746         * MenuBackend.C:
4747         * lyxfunc.C: fix (at least partly) the problems
4748         with the Nav menu and headers inside branch insets
4749         reported by Kayvan
4750
4751 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4752
4753         * paragraph.C (getChar): add strong asserts
4754
4755         * lyxrow_funcs.C (lastPos): remove hideous hack
4756
4757         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4758         (fill): adjust to that (avoid an infinite loop)
4759
4760 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4761
4762         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4763
4764 2003-10-23  André Pönitz  <poenitz@gmx.net>
4765
4766         * RowList_fwd.h: change list<> to vector<> to gain speed
4767         after suggestion from Alfredo
4768
4769 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4770
4771         * lyxtext.h: move the bidi stuff from here...
4772         * text.C: and here
4773         * text2.C: and here
4774         * Bidi.[Ch]: ... to here
4775
4776 2003-10-23  André Pönitz  <poenitz@gmx.net>
4777
4778         * lyxtext.h:
4779         * text.C (isLastRow, isFirstRow): new functions
4780
4781         * paragraph.h: new width cache member
4782
4783         * rowpainter.C: replace RowList::iterator with Row & where possible
4784
4785         * lyxfunc.C: replace several view()->text with a single call
4786
4787         * toc.C: fix 'unused' warning
4788
4789 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4790
4791         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4792         when woring with stream::pos_type
4793         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4794
4795 2003-10-22  André Pönitz  <poenitz@gmx.net>
4796
4797         * lyxtext.h:
4798         * text.C: use Row & instead of RowList::iterator
4799
4800         * lyxrow.h: rename end() to endpos()
4801
4802         * rowpainter.C:
4803         * text.C:
4804         * text2.C: adjust
4805
4806 2003-10-22  Angus Leeming  <leeming@lyx.org>
4807
4808         * buffer.[Ch] (fully_loaded): new member function, returning true
4809         only when the file has been loaded fully.
4810         Used to prevent the premature generation of previews and by the
4811         citation inset to prevent computation of the natbib-style label.
4812
4813         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4814         templates are all set up.
4815
4816         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4817
4818 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4819
4820         * text.C: fixed an "oops" in the "is a bit silly"
4821         bug fix
4822
4823 2003-10-21  André Pönitz  <poenitz@gmx.net>
4824
4825         * FuncStatus.[Ch]: small stuff, whitespace
4826
4827         * lyxfont.[Ch]: operator<<() for debug reasons
4828
4829         * lyxfunc.C:
4830         * lyxrow_funcs.C:
4831         * lyxtext.h: whitespace, spelling
4832
4833         * paragraph.C: naming of variables
4834
4835         * text.C:
4836         * text2.C: small stuff
4837
4838
4839 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4840
4841         * text.C: (1) finish off the inset display() work;
4842         (2) fix the "is a bit silly" bug (accessing char
4843         past end of par).
4844
4845 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4846
4847         * text.C: re-introduce display() for insets, fixing the
4848         various bugs (stretch of line above, math inset
4849         positioning, ...)
4850
4851 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4852
4853         * text.C (rightMargin): remove spurious semicolon
4854
4855         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4856         1415)
4857
4858 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4859
4860         * text3.C: fix one crash due to wrong cursor def
4861
4862 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * vc-backend.C (scanMaster): make the regex static
4865
4866         * LaTeX.C (scanAuxFile): make the regexs static
4867
4868         * text3.C (doInsertInset, dispatch, dispatch):
4869         * text2.C (cursorUp, cursorDown):
4870         * text.C (selectNextWordToSpellcheck):
4871         * BufferView_pimpl.C (dispatch):
4872         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4873
4874 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4875
4876         * lyxsocket.C: include <cerrno>
4877
4878 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * lyxfunc.C (dispatch): remove textcache stuff
4881
4882         * bufferlist.C (release): remove textcache stuff
4883         (closeAll): ditto
4884
4885         * TextCache.C: delete file
4886         * TextCache.h: delete file
4887
4888         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4889
4890         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4891         delete of the bv_->text.
4892         (resizeCurrentBuffer): remove texcache stuff
4893         (workAreaResize): ditto
4894
4895 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4898         action.
4899
4900 2003-10-16  André Pönitz  <poenitz@gmx.net>
4901
4902         * lyxrow.[Ch]:
4903         * paragraph.h:
4904         * rowpainter.C:
4905         * text.C:
4906         * text2.C:
4907         * text3.C: speed up by storing y positions per paragraph plus per-row
4908         offset instead of having a 'full' y position in the row.
4909
4910 2003-10-15  André Pönitz  <poenitz@gmx.net>
4911
4912         * iterators.[Ch]:
4913         * iterators.[Ch]:
4914         * undo.[Ch]: make undo aware of inner insets
4915
4916 2003-10-14  Angus Leeming  <leeming@lyx.org>
4917
4918         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4919         static member functions LyX::ref() and LyX::cref.
4920         (lastfiles): new accessor functions for the new lastfiles_ member var.
4921         (addLyXView, views_): add a new LyXView to the list of views_.
4922         (updateInset): loop over all LyXViews to call their own updateInset
4923         member function, returning a pointer to the Buffer owning the inset.
4924
4925         * BufferView_pimpl.C (loadLyXFile):
4926         * MenuBackend.C (expandLastfiles):
4927         * bufferlist.C (MenuWrite, QuitLyX):
4928         lastfiles is no longer a global variable.
4929         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4930
4931         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4932         static function. Access through LyX::cref().emergencyCleanup().
4933
4934 2003-10-14  André Pönitz  <poenitz@gmx.net>
4935
4936         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4937
4938         * undo.[Ch]: restoring part of 'undo in insets'
4939
4940         * Makefile.am:
4941         * undo_funcs.[Ch]: merge with undo.[Ch]
4942
4943         * tabular.C: small cleansing stuff
4944
4945 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * paragraph_funcs.C (readParToken): report unknown insets as error
4948         boxes. Use the outer paragraph as location (also for unknown
4949         tokens).
4950
4951         * factory.C (readInset): do not abort on reading an unknown inset.
4952         Eat it and return 0.
4953
4954 2003-10-13  Angus Leeming  <leeming@lyx.org>
4955
4956         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4957
4958         * lyxrc.C: displayTranslator is now a function,
4959         declared in GraphicsTypes.h.
4960
4961 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4962
4963         * format.C: new placeholder $$a to pass the socket address.
4964
4965         * bufferlist.[Ch]: new function getBufferFromTmp.
4966
4967         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4968           files in the temporary dir.
4969
4970 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4971
4972         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4973
4974         * Makefile.am: add lyxsocket.[Ch].
4975
4976         * lyx_main.C (error_handler): handle SIGPIPE.
4977
4978 2003-10-13  André Pönitz  <poenitz@gmx.net>
4979
4980         * BufferView_pimpl.C:
4981         * lyxtext.h:
4982         * text.C:
4983         * text2.C:
4984         * text3.C:
4985         * undo_funcs.[Ch]: use paroffset_type instead of
4986           ParagraphList::iterators to prevent multiple conversion
4987           (and get a more robust interface)
4988
4989 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4992         * lyxtext.h: ditto
4993         * text3.C (dispatch): ditto
4994
4995 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4998         move the onlyfile, use onlyfile instead of foundfile in a couple
4999         of places.
5000
5001         * DepTable.C (update): flush the error stream a bit more
5002
5003 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5004
5005         * lyxserver.C (callback): adjust
5006
5007         * lyxfunc.C (getStatus): add a missing brace in commented code
5008         (ensureBufferClean): reindent
5009         (dispatch): delete version taking a string
5010
5011 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * LaTeX.C (deplog): move found file handlig from here...
5014         (handleFoundFile): .. to new function here.
5015         (deplog): make sure to discover several files mentioned on the
5016         same log line.
5017
5018 2003-10-10  André Pönitz  <poenitz@gmx.net>
5019
5020         * lyxfunc.C:
5021         * lyxtext.h:
5022         * tabular.C:
5023         * text.C:
5024         * text2.C:
5025         * text3.C: fix some of the tabular crashes
5026
5027 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5028
5029         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5030
5031         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5032
5033 2003-10-09  André Pönitz  <poenitz@gmx.net>
5034
5035         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5036
5037         * BufferView.C:
5038         * BufferView_pimpl.C:
5039         * bufferview_funcs.C:
5040         * lyx_cb.C:
5041         * lyxcursor.C:
5042         * lyxfind.C:
5043         * lyxfunc.C:
5044         * lyxtext.h:
5045         * text.C:
5046         * text2.C:
5047         * text3.C:
5048         * text_funcs.[Ch]:
5049         * textcursor.[Ch]:
5050         * undo_funcs.C: adjust
5051
5052 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * text2.C (incrementItemDepth): new function, use a backtracking
5055         algorithm to discover the correct item depth.
5056         (resetEnumCounterIfNeeded): new function, use a backtracking
5057         algorithm to discover if counter reset is needed.
5058         (setCounter): use them. Simplify a bit. Add different labels for
5059         different item depths for itemize.
5060
5061         * paragraph.C (Paragraph): remove initialization of enumdepth
5062         (operator=): ditto
5063
5064         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5065         enumerate and itemize. Change the type of itemdepth to signed char.
5066
5067 2003-10-08  André Pönitz  <poenitz@gmx.net>
5068
5069         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5070           thing assignable.
5071         * text.C:
5072         * text2.C: adjust
5073
5074         * tabular.[Ch]: fix crash after 'row-insert'
5075
5076 2003-10-08  Angus Leeming  <leeming@lyx.org>
5077
5078         Fix doxygen warnings.
5079
5080         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5081         Remove CutAndPaste:: prefix from header file declaration.
5082
5083         * LColor.h (fill): remove LColor:: prefix from declaration.
5084
5085         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5086         use lyx::depth_type rather than Paragraph::depth_type so that
5087         header file and .C file match.
5088
5089         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5090
5091         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5092         * aspell.C: \file aspell_local.C -> \file aspell.C
5093         * gettext.C: \file gettext.C -> \file src/gettext.C
5094         * gettext.h: \file gettext.h -> \file src/gettext.h
5095         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5096         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5097         * text.C: \file text.C -> \file src/text.C
5098
5099         * toc.C: move comment so that doxygen is not confused.
5100
5101 2003-10-07  Angus Leeming  <leeming@lyx.org>
5102
5103         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5104
5105 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5106
5107         * aspell.C:
5108         * aspell_local.h: add forgotten std::string's.
5109
5110 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5111
5112         * LaTeXFeatures.C:
5113         * LyXAction.C:
5114         * factory.C:
5115         * lfuns.h:
5116         * lyxfunc.C:
5117         * text3.C: The Box patch. Fancybox support, minipage, parbox
5118
5119 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5120
5121         * CutAndPaste.h:
5122         * DepTable.h:
5123         * FloatList.h:
5124         * LaTeXFeatures.h:
5125         * ParagraphParameters.h:
5126         * TextCache.h:
5127         * Thesaurus.h:
5128         * bufferlist.h:
5129         * exporter.h:
5130         * importer.h:
5131         * lastfiles.h:
5132         * lyxfind.h:
5133         * lyxfont.h:
5134         * lyxlex.h:
5135         * lyxtextclasslist.h:
5136         * messages.h:
5137         * paragraph.h:
5138         * paragraph_pimpl.C:
5139         * textcursor.h: add <string> and other small fixes to make Lars'
5140         std::string patch compile with STLport.
5141
5142 2003-10-06  Angus Leeming  <leeming@lyx.org>
5143
5144         * LColor.h: Add missing #include <string>.
5145
5146 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * All most all file in all subdirs: Make <string> be the prefered
5149         way of getting to std::string, add using declarations.
5150
5151 2003-10-06  André Pönitz  <poenitz@gmx.net>
5152
5153         * metricsinfo.C: initialize LyXFont before changing attribute.
5154         (fixes the 'math in \emph is upright' bug)
5155
5156 2003-10-06  André Pönitz  <poenitz@gmx.net>
5157
5158         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5159
5160 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5161
5162         * graph.C:
5163         * paragraph_pimpl.C: Small fixes to build using STLport
5164
5165 2003-10-02  André Pönitz  <poenitz@gmx.net>
5166
5167         * lyxfunc.C:
5168         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5169
5170 2003-10-01  André Pönitz  <poenitz@gmx.net>
5171
5172         * factory.C: assert early
5173
5174 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * lyx_main.C: remove the global debug object
5177
5178         * debug.h: adjust for new debugstream
5179
5180         * debug.C: adjust for new debugstream and keep the global debug
5181         object here.
5182
5183 2003-09-22  Angus Leeming  <leeming@lyx.org>
5184
5185         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5186         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5187         an incomplete class LyXFont.
5188
5189 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5190
5191         * factory.C: bug fix in branches
5192
5193 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * lyxfunc.C (processKeySym): adjust
5196         (dispatch): adjust
5197         (dispatch): change arg name from ev to func, adjust
5198         (sendDispatchMessage): ditto
5199
5200         * lyx_main.C (defaultKeyBindings): adjust keybindings
5201         (deadKeyBindings): ditto
5202
5203         * kbsequence.C (addkey): return a FuncRequest
5204
5205         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5206
5207         * kbmap.C (bind): take a FuncRequest as arg, adjust
5208         (read): adjust
5209         (lookup): adjust
5210         (defkey): change to take a FuncRequest as arg, adjust
5211         (findbinding): take a FuncRequest as arg, adjust.
5212
5213         * funcrequest.h (operator=): added
5214
5215         * funcrequest.C (FuncRequest): default kb_action changed from
5216         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5217
5218         * buffer.C (dispatch): simplify
5219         (dispatch): adjust to take a FuncRequest as arg, adjust
5220
5221         * boost.C (assertion_failed): change assertion message slightly
5222
5223         * ToolbarBackend.C (read): simplify
5224
5225         * MenuBackend.C (binding): adjust call to findbinding, add a
5226         message if no binding is found.
5227         (read): simplify
5228         (expandToc): correct by adding a empty FuncRequest
5229
5230         * LyXAction.C: include <boost/assert.hpp>
5231         (isPseudoAction): delete function
5232         (LookupFunc): change name to...
5233         (lookupFunc): this. change return type to FuncRequest.
5234         (getActionName): take kb_action as arg, simplify
5235         (funcHasFlag): add an assert, simplify.
5236
5237 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5238
5239         * toc.C (action): return a FuncRequest, simplify
5240
5241         * lyxfunc.C (processKeySym): adjust
5242         (getStatus): delete version that takes an int.
5243         (getStatus): adjust
5244         (dispatch): delete version that takes action as int
5245         (dispatch): adjust
5246         (sendDispatchMessage): simplify and adjust
5247
5248         * funcrequest.C (getArg): take unsigned int as arg
5249
5250         * ToolbarBackend.C (read): adjust
5251         (add): delete version that takes func as a string.
5252         (getIton): take a FuncRequest as arg
5253
5254         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5255         action.
5256
5257         * MenuBackend.C (MenuItem): add a new construct that only takes a
5258         Kind, simplify the constructor use for submenus.
5259         (add): adjust
5260         (expandLastfiles): adjust
5261         (expandDocuments): adjust
5262         (expandFormats): adjust
5263         (expandFloatListInsert): adjust
5264         (expandFloatInsert): adjust
5265         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5266
5267         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5268         Remove class variables lyx_pseudo_map and lyx_arg_map
5269
5270         * LyXAction.C (searchActionArg): delete function
5271         (getPseudoAction): delete function
5272         (retrieveActionArg): delete function
5273         (LookupFunc): make it return kb_action, simplify.
5274         (getActionName): simplify
5275
5276         * factory.C (createInset): fix new bug
5277
5278 2003-09-19  Angus Leeming  <leeming@lyx.org>
5279
5280         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5281         masterFilename_ parameter in the include inset.
5282
5283         * factory.C (createInset): changes due to the changes to InsetInclude.
5284
5285 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5286
5287         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5288
5289 2003-09-18  Angus Leeming  <leeming@lyx.org>
5290
5291         * buffer.C:
5292         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5293         Inset::fillWithBibKeys.
5294         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5295
5296 2003-09-18  Angus Leeming  <leeming@lyx.org>
5297
5298         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5299         variables.
5300         (ctor): pass and store a 'Buffer const &'
5301         (buffer): new member function.
5302
5303         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5304         '*this' to the LaTeXFeatures ctor.
5305
5306 2003-09-18  Angus Leeming  <leeming@lyx.org>
5307
5308         * LColor.h:
5309         * lyxfont.C:
5310         * lyxfont.h:
5311         * lyxtext.h:
5312         * text.C: rename EnumLColor as LColor_color.
5313
5314 2003-09-18  Angus Leeming  <leeming@lyx.org>
5315
5316         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5317         remove #include "insets/insetbase.h" from cursor.h.
5318
5319 2003-09-18  Angus Leeming  <leeming@lyx.org>
5320
5321         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5322         InsetOld_code to remove #include "inset.h".
5323
5324         * iterators.C: add #include "insets/inset.h"
5325
5326 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5327
5328         * BufferView.C: remove more locking stuff that apparently doesn't
5329         do anything sensible.
5330
5331 2003-09-16  André Pönitz  <poenitz@gmx.net>
5332
5333         * paragraph.[Ch]:
5334         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5335           performance boost.
5336
5337 2003-09-16  Angus Leeming  <leeming@lyx.org>
5338
5339         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5340
5341         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5342         arg/return type.
5343
5344         * paragraph.h: remove #include "lyxfont.h". Forward declare
5345         LyXFont_size.
5346
5347 2003-09-16  Angus Leeming  <leeming@lyx.org>
5348
5349         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5350         of support/textutils.h.
5351         (isWord): move the contents of support/textutils.h's IsWordChar here.
5352
5353         * buffer.C:
5354         * lyxfind.C:
5355         * rowpainter.C:
5356         * text.C:
5357         * text2.C: add #include "paragraph.h".
5358
5359         * rowpainter.C:
5360         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5361
5362 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * main.C:
5365         * lyx_main.C:
5366         * lyx_cb.C:
5367         * buffer.C:
5368         * LaTeX.C: use namespace alias for lyx::support::os
5369
5370 2003-09-16  Angus Leeming  <leeming@lyx.org>
5371
5372         * bufferparams.C:
5373         * bufferview_funcs.C:
5374         * factory.C:
5375         * lyxfunc.C:
5376         * paragraph_pimpl.C:
5377         * rowpainter.C:
5378         * text.C: add #include "LColor.h".
5379
5380 2003-09-16  Angus Leeming  <leeming@lyx.org>
5381
5382         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5383         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5384         return LyXFont &.
5385         Store the FontBits::color variable as an int rather than as an
5386         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5387         file.
5388
5389         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5390         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5391         string calls together.
5392
5393         * lyxrc.C: add #include "LColor.h".
5394
5395 2003-09-15  Angus Leeming  <leeming@lyx.org>
5396
5397         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5398         a cow_ptr.
5399
5400 2003-09-15  Angus Leeming  <leeming@lyx.org>
5401
5402         * LColor.h: add an EnumLColor wrapper for LColor::color.
5403
5404         * lyxfont.[Ch] (color, setColor, realColor):
5405         * lyxtext.h, text.C (backgroundColor):
5406         pass EnumLColor args to/from the functions, rather than LColor::color
5407         ones.
5408
5409         * lyxfont.h:
5410         * lyxtext.h: forward declare EnumLColor.
5411
5412         * lyx_main.C: add #include "LColor.h".
5413
5414 2003-09-15  Angus Leeming  <leeming@lyx.org>
5415
5416         * .cvsignore: add lyx-gtk.
5417
5418 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5419
5420         * Chktex.C
5421         * LaTeX.C
5422         * LaTeXFeatures.C
5423         * ParagraphParameters.C
5424         * Spacing.C
5425         * buffer.C
5426         * bufferparams.C
5427         * bufferview_funcs.C
5428         * chset.C
5429         * counters.C
5430         * funcrequest.C
5431         * lyxfont.C
5432         * lyxgluelength.C
5433         * lyxlength.C
5434         * paragraph.C
5435         * paragraph_funcs.C
5436         * text3.C
5437         * vc-backend.C: remove usage of STRCONV
5438
5439 2003-09-15  Angus Leeming  <leeming@lyx.org>
5440
5441         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5442         explicitly define the color passed to the painter.
5443
5444 2003-09-15  Angus Leeming  <leeming@lyx.org>
5445
5446         * bufferparams.C (BufferParams): reorder member initializers to avoid
5447         compiler warning.
5448
5449 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5450
5451         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5452         * text.C (updateRowPositions): remove an unusual nop
5453
5454 2003-09-12  André Pönitz  <poenitz@gmx.net>
5455
5456         * BufferView_pimpl.C:
5457         * Bullet.C:
5458         * layout.h:
5459         * lyxfunc.C:
5460         * lyxlayout.[Ch]:
5461         * lyxtextclass.C:
5462         * rowpainter.C:
5463         * text.C:
5464         * text2.C:
5465         * Counters.[Ch]: finish the 'automatic counters' job
5466
5467 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5468
5469         * aspell.C: include <boost/assert.cpp> (compile fix)
5470
5471 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5472
5473         * boost.C (assertion_failed): use lyx::support::abort instead of
5474         assert.
5475
5476 2003-09-10  Angus Leeming  <leeming@lyx.org>
5477
5478         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5479         with their _fwd progeny.
5480
5481 2003-09-09  Angus Leeming  <leeming@lyx.org>
5482
5483         134 files throughtout the source tree: replace 'using namespace abc;'
5484         directives with the appropriate 'using abc::xyz;' declarations.
5485
5486 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5487
5488         * boost.C (emergencyCleanup): moved here from LAssert.c
5489         (assertion_failed): new function, called by BOOST_ASSERT
5490
5491         * several files: change Assert to BOOST_ASSERT
5492
5493 2003-09-09  Angus Leeming  <leeming@lyx.org>
5494
5495         * buffer.[Ch]: Add an Impl class and move Buffer's member
5496         variables into it. As a result move several header files out of
5497         buffer.h.
5498
5499         Add header files to lots of .C files all over the tree as a result.
5500
5501 2003-09-09  Angus Leeming  <leeming@lyx.org>
5502
5503         * buffer.[Ch]: make Buffer's member variables private. Add
5504         accessor functions.
5505
5506         Lots of changes all over the tree as a result.
5507
5508 2003-09-08  Angus Leeming  <leeming@lyx.org>
5509
5510         * graph.C: #include <config.h>.
5511
5512 2003-09-08  Angus Leeming  <leeming@lyx.org>
5513
5514         * BranchList.C:
5515         * BufferView.C:
5516         * BufferView_pimpl.C:
5517         * CutAndPaste.C:
5518         * DepTable.C:
5519         * LaTeX.C:
5520         * LaTeXFeatures.C:
5521         * LyXAction.C:
5522         * MenuBackend.C:
5523         * TextCache.C:
5524         * aspell.C:
5525         * buffer.C:
5526         * bufferlist.C:
5527         * changes.C:
5528         * chset.C:
5529         * converter.C:
5530         * counters.C:
5531         * debug.C:
5532         * graph.C:
5533         * ispell.C:
5534         * lyx_cb.C:
5535         * lyxfind.C:
5536         * lyxfunc.C:
5537         * lyxlex_pimpl.C:
5538         * lyxrc.C:
5539         * lyxrow.C:
5540         * paragraph.C:
5541         * rowpainter.C:
5542         * texrow.C:
5543         * text.C:
5544         * text2.C:
5545         * toc.C: remove redundant using directives.
5546
5547 2003-09-07  Angus Leeming  <leeming@lyx.org>
5548
5549         * LaTeXFeatures.h: remove #include "support/types.h".
5550         * ToolbarBackend.h: remove #include <algorithm>.
5551         * changes.h: remove #include <ctime>.
5552         * debug.h: remove #include <iosfwd>.
5553         * graph.h: remove #include "support/std_string.h".
5554         * lyx_main.h: remove #include <csignal>.
5555         * lyxlex_pimpl.h: remove #include <fstream>.
5556         * sgml.h: remove #include <algorithm>, <utility>.
5557         * toc.h: remove #include "support/std_ostream.h".
5558         Add #include <iosfwd>.
5559
5560 2003-09-07  Angus Leeming  <leeming@lyx.org>
5561
5562         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5563
5564         * converter.h: forward declare LatexRunParams.
5565         * encoding.h: remove #include "lyxrc.h".
5566         * lyxtext.h: remove #include "LColor.h".
5567         * lyxtextclass.h: remove #include "support/types.h".
5568         * trans.h: remove #include "tex-accent.h".
5569         * trans_mgr.h: remove #include "tex-accent.h".
5570         * insets/inset.h: remove #include "support/types.h", <vector>.
5571         * insets/insetcollapsable.h: remove #include "LColor.h".
5572         * insets/insetinclude.h: remove #include "dimension.h".
5573         * insets/insetlatexaccent.h: remove #include "dimension.h".
5574         * insets/insetoptarg.h:: remove #include "insettext.h".
5575         * insets/insettext.h: remove #include "dimension.h",
5576         <boost/shared_ptr.hpp>
5577
5578         * insets/renderers.h: add #include "dimension.h".
5579         * insets/updatableinset.h: add #include "support/types.h".
5580
5581         * many .C files: Associated changes.
5582
5583 2003-09-06  Angus Leeming  <leeming@lyx.org>
5584
5585         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5586         one, inside testInvariant.
5587
5588         * PrinterParams.C: new file.
5589         * PrinterParams.[Ch]: move the function bodies out of line.
5590
5591 2003-09-06  Angus Leeming  <leeming@lyx.org>
5592
5593         * ParagraphParameters.h: forward declare ParameterStruct rather than
5594         including its header file.
5595         (depth): moved out-of-line.
5596
5597 2003-09-06  Angus Leeming  <leeming@lyx.org>
5598
5599         * BufferView_pimpl.h:
5600         * kbmap.h:
5601         * kbsequence.h:
5602         * lyxfunc.h: forward declare LyXKeySym rather than
5603         #include "frontends/LyXKeySym.h".
5604
5605         * BufferView_pimpl.C:
5606         * kbmap.C:
5607         * kbsequence.C:
5608         * lyxfunc.C: associated changes.
5609
5610 2003-09-06  Angus Leeming  <leeming@lyx.org>
5611
5612         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5613         As a result, can remove the #include "insets/inset.h" from BufferView.h
5614
5615 2003-09-06  Angus Leeming  <leeming@lyx.org>
5616
5617         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5618         As a result, can remove the #include "insets/inset.h" from BufferView.h
5619
5620 2003-09-06  Angus Leeming  <leeming@lyx.org>
5621
5622         * buffer_funcs.C:
5623         * buffer.h:
5624         * bufferlist.C:
5625         * BufferView.C:
5626         * bufferview_funcs.C:
5627         * BufferView_pimpl.C:
5628         * CutAndPaste.C:
5629         * lyx_cb.C:
5630         * lyxfunc.C:
5631         * paragraph.h:
5632         * ParagraphParameters.C:
5633         * tabular.C:
5634         * text3.C:
5635         * toc.C:
5636         * undo_funcs.C:
5637         * frontends/controllers/ControlDocument.C:
5638         * insets/insetcaption.C: rearrange the #includes into some sort of
5639         coherent order.
5640
5641         * buffer.h: remove #includes ErrorList.h, undo.h
5642
5643 2003-09-06  Angus Leeming  <leeming@lyx.org>
5644
5645         * support/types.h: add a 'depth_type' typedef, used to store the
5646         nesting depth of a paragraph.
5647
5648         * paragraph.h:
5649         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5650         defining explicitly.
5651
5652         * buffer.h:
5653         * paragraph_funcs.h:
5654         * ParagraphParameters.h:
5655         * sgml.h: use lyx::depth_type rather than Paragraph or
5656         ParameterStruct's depth_type.
5657
5658         * buffer.h
5659         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5660
5661         * BufferView.C:
5662         * BufferView_pimpl.C:
5663         * CutAndPaste.C:
5664         * ParagraphParameters.C:
5665         * buffer_funcs.C:
5666         * bufferlist.C:
5667         * bufferview_funcs.C:
5668         * lyx_cb.C:
5669         * lyxfunc.C:
5670         * tabular.C:
5671         * text3.C:
5672         * toc.C:
5673         * undo_funcs.C:
5674         * frontends/LyXView.C:
5675         * frontends/controllers/ControlDocument.C:
5676         * frontends/controllers/ControlErrorList.C:
5677         * insets/insetbibitem.C:
5678         * insets/insetbranch.C:
5679         * insets/insetcaption.C:
5680         * insets/insetcollapsable.C:
5681         * insets/insetenv.C:
5682         * insets/insetert.C:
5683         * insets/insetfloat.C:
5684         * insets/insetfoot.C:
5685         * insets/insetfootlike.C:
5686         * insets/insetnewline.C:
5687         * insets/insetquotes.C:
5688         * insets/insettabular.C:
5689         * insets/insettext.C:
5690         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5691
5692         * frontends/controllers/ControlChanges.C: #include "changes.h".
5693
5694 2003-09-06  Angus Leeming  <leeming@lyx.org>
5695
5696         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5697         than #including paragraph.h.
5698
5699         * ParagraphList.h:
5700         * RowList.h: deleted. Superfluous.
5701
5702         * CutAndPaste.h:
5703         * iterators.h:
5704         * lyxcursor.h:
5705         * lyxtext.h:
5706         * text_funcs.h:
5707         * undo.h:
5708         * undo_funcs.h:
5709         * insets/inset.h:
5710         * insets/insettext.h: use ParagraphList_fwd.h rather than
5711         ParagraphList.h.
5712
5713         * paragraph.h: don't forward declare ParagraphList.
5714
5715         * buffer.h:
5716         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5717         rather than ParagraphList.h. paragraph.h is still needed for the
5718         Paragraph::depth_type parameters.
5719
5720         * textcursor.h: enable it to compile stand-alone in light of the
5721         above changes.
5722
5723         * bufferview_funcs.C:
5724         * iterators.C:
5725         * lyxfunc.C:
5726         * lyxrow_funcs.C:
5727         * paragraph.C:
5728         * rowpainter.C:
5729         * text.C:
5730         * text2.C:
5731         * text3.C:
5732         * text_funcs.C:
5733         * textcursor.C:
5734         * undo.C:
5735         * frontends/controllers/ControlParagraph.C:
5736         * frontends/controllers/ControlTabular.C:
5737         * insets/insetmarginal.C:
5738         * insets/insetminipage.C:
5739         * insets/insetnote.C:
5740         * insets/insetoptarg.C: add header files needed to compile again.
5741
5742 2003-09-06  Angus Leeming  <leeming@lyx.org>
5743
5744         * RowList_fwd.h: new file, forward-declaring Row rather than
5745         #including lyxrow.h.
5746
5747         * lyxrow_funcs.h:
5748         * lyxtext.h:
5749         * paragraph.h:
5750         * insets/insettext.h: use it instead of RowList.h
5751
5752         * bufferview_funcs.C:
5753         * lyxfunc.C:
5754         * lyxrow_funcs.C:
5755         * paragraph.C:
5756         * rowpainter.C:
5757         * text.C:
5758         * text2.C:
5759         * text3.C: #include "RowList.h".
5760
5761 2003-09-05  Angus Leeming  <leeming@lyx.org>
5762
5763         * factory.C (createInset):
5764         * vspace.C (c-tor): replace sscanf call with an istringstream.
5765         * ispell.C: re-add missing HP/UX headers.
5766         * lyxserver.C: re-add missing  os2 headers.
5767
5768 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5769
5770         * BranchList.C:
5771         * graph.C:
5772         * ispell.C:
5773         * lastfiles.C:
5774         * lyx_cb.C:
5775         * lyxserver.C:
5776         * texrow.C:
5777         * text3.C: re-add missing system headers, needed for 2.95.2.
5778
5779 2003-09-05  Angus Leeming  <leeming@lyx.org>
5780
5781         Changes most place everywhere due to the removal of using directives
5782         from support/std_sstream.h.
5783
5784 2003-09-05  Angus Leeming  <leeming@lyx.org>
5785
5786         Replace LString.h with support/std_string.h,
5787         Lsstream.h with support/std_sstream.h,
5788         support/LIstream.h with support/std_istream.h,
5789         support/LOstream.h with support/std_ostream.h.
5790
5791         Changes resulting throughout the tree.
5792
5793 2003-09-05  Angus Leeming  <leeming@lyx.org>
5794
5795         * sgml.h: ensure that the header file can be compiled stand-alone.
5796         * *.C: strip out redundant #includes. (320 in total.)
5797
5798 2003-09-04  Angus Leeming  <leeming@lyx.org>
5799
5800         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5801         here (from getPackages).
5802
5803         * debug.[Ch]: add a new EXTERNAL tag.
5804
5805 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5806
5807         * text2.C (cursorEnd): simplify
5808         (setCursor): adjust
5809         (getColumnNearX): adjust
5810
5811         * text.C (computeBidiTables): adjust
5812         (fill): adjust
5813
5814         * rowpainter.C (paintChars): adjust
5815         (paintSelection): adjust
5816         (paintChangeBar): adjust
5817         (paintText): adjust
5818
5819         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5820         lastPos instead.
5821         (numberOfSeparators): adjust
5822
5823 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5824
5825         * LyXAction.C:
5826         * box.[Ch]:
5827         * lfuns.h:
5828         * lyxfunc.C:
5829         * text3.C: Restricts the mouse click functionality
5830         of insets like bibtex, include, toc and floatlist to the visible
5831         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5832         up the dialogs. Cursor has to be in front of the inset (i.e.
5833         start of row) for this to function.
5834
5835 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5836
5837         * bufferview_funcs.C (currentState): output row information
5838
5839 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5840
5841         * bufferview_funcs.C (currentState): output paragraph position
5842
5843 2003-09-04  Angus Leeming  <leeming@lyx.org>
5844
5845         * FloatList.h: move out #include "Floating.h".
5846         * LaTeX.h: move out #include "DepTable.h".
5847         * LyXAction.h: move out #include "funcrequest.h".
5848         * buffer.h: move out #include "author.h", "iterators.h".
5849         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5850         * lyx_main.h: move out #include "errorlist.h".
5851         * lyxfunc.h: move out #include "FuncStatus.h".
5852         * lyxtext: move out #include "lyxcursor.h".
5853         * paragraph_pimpl.h: move out #include "counters.h".
5854
5855 2003-09-03  Angus Leeming  <leeming@lyx.org>
5856
5857         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5858         preamble_snippets list, enabling us to add snippets to the preamble
5859         only if the snippet was not there already.
5860
5861 2003-09-04  Angus Leeming  <leeming@lyx.org>
5862
5863         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5864
5865 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5868         update
5869
5870 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5871
5872         * BranchList.C: point fix, earlier forgotten
5873
5874 2003-09-02  Angus Leeming  <leeming@lyx.org>
5875
5876         * box.C (contains): renamed from 'contained' after a fantastic
5877         amount of hot air.
5878
5879 2003-09-02  John Levon  <levon@movementarian.org>
5880
5881         * BufferView.C:
5882         * lyxcursor.h:
5883         * lyxcursor.C:
5884         * lyxfunc.C:
5885         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5886
5887 2003-09-02  John Levon  <levon@movementarian.org>
5888
5889         * text2.C: simplification of cursorEnd(), including partial
5890         fix for bug 1376
5891
5892 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * buffer.C (readFile): add a space
5895
5896 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5897
5898         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5899
5900 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * buffer.C (readFile): new function, take a filename and a
5903         ParagraphList::iterator
5904         (readFile): adjust
5905         (readFile): adjust, make it private. don't use setStream, make
5906         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5907         always contain the filename.
5908
5909         * BufferView.C (insertLyXFile): simplify and make it work for
5910         gzipped files.
5911
5912 2003-08-30  John Levon  <levon@movementarian.org>
5913
5914         * Makefile.am: fix dist (from Kayvan)
5915
5916 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5917
5918         * most files: change to use const Buffer refs
5919
5920 2003-08-27  André Pönitz  <poenitz@gmx.net>
5921
5922         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5923         on top of ownerPar().
5924
5925 2003-08-27  John Levon  <levon@movementarian.org>
5926
5927         * funcrequest.C: properly initialise POD members
5928
5929 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5930
5931         * lyxtext.h (top_y): move top_y from here
5932         * text.C:
5933         * text2.C:
5934         * text3.C:
5935         * BufferView.[Ch]:
5936         * BufferView_pimpl.[Ch]: to here
5937         * frontends/screen.C:
5938         * insets/insettabular.C:
5939         * insets/insettext.C: adjust
5940         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5941
5942 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5943
5944         * BufferView.[Ch]:
5945         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5946
5947 2003-08-26  André Pönitz  <poenitz@gmx.net>
5948
5949         * paragraph_func.[Ch] (outerPar): new function
5950
5951         * paragraph.C:
5952         * paragraph_funcs.C:
5953         * paragraph_funcs.h:
5954         * paragraph_pimpl.C:
5955         * text2.C: remove Inset::par_owner
5956
5957 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5958
5959         * lyxrow_funcs.C:
5960         * lyxtext.h:
5961         * text.C:
5962         * text2.C: eliminates the needFullRow/display() stuff
5963         altogether, putting the logic in metrics/draw in the insets.
5964
5965 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5966
5967         * text2.C (redoParagraphInternal, redoParagraphs):
5968         * text.C (redoParagraph): add a call to updateRowPositions at the
5969         end of each 'metrics-like' call. Remove all others.
5970         (getRow): remove the 'y-computing' version.
5971         (getRowNearY): do not compute nor return the real y. Solve the
5972         'y < 0' problem and simplify.
5973
5974 2003-08-22  Angus Leeming  <leeming@lyx.org>
5975
5976         * *.[Ch]: clean-up of licence and author blurbs.
5977         Also move config.h out of a few .h files and into a few .C files.
5978
5979 2003-08-22  André Pönitz  <poenitz@gmx.net>
5980
5981         * lyxrow.[Ch]: add x_ and *fill_ members
5982
5983         * lyxtext.h:
5984         * text.C:
5985         * rowpainter.C:
5986         * text2.C: adjust/remove prepareToPrint() calls
5987
5988 2003-08-22  André Pönitz  <poenitz@gmx.net>
5989
5990         * lyxrow.[Ch]: add  end_ member
5991
5992         * lyxrow_funcs.C: use LyXRow::end_
5993
5994         * lyxtext.h (singleWidth): add LyXFont parameter
5995
5996         * rowpainter.C:
5997         * text2.C: adjust LyXText::singleWidth() calls
5998
5999         * text.C (redoParagraph): simplify row breaking logic
6000
6001
6002 2003-08-19  André Pönitz  <poenitz@gmx.net>
6003
6004         * funcrequest.C: initialize button_ member
6005
6006         * text3.C:
6007         * rowpainter.[Ch]: interface consolidation
6008
6009 2003-08-18  André Pönitz  <poenitz@gmx.net>
6010
6011         * BufferView.C:
6012         * BufferView_pimpl.C:
6013         * lyxfind.C:
6014         * paragraph_funcs.C:
6015         * rowpainter.C:
6016         * text3.C: remove LyXScreen::draw() and fitCursor calls
6017
6018         * BranchList.h: remove spurious semicolons
6019
6020         * MenuBackend.C: fix branchlist related crash
6021
6022 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6023
6024         * BranchList.[Ch]:
6025         * InsetList.[Ch]:
6026         * LColor.[Ch]:
6027         * LyXAction.C:
6028         * Makefile.am:
6029         * MenuBackend.[Ch]:
6030         * bufferparams.[Ch]:
6031         * factory.C:
6032         * lfuns.h:
6033         * lyxfunc.C:
6034         * text3.C: implements the 'branch inset'
6035         idea. This allows the output of various versions of a document
6036         from a single source version, selectively outputing or suppressing
6037         output of parts of the text.
6038         This implementation contains a 'branch list editor' in a separate
6039         tab of the document settings dialog. Branches are user definable
6040         and have a "display colour" to distinguish them on-screen.
6041
6042         ColorHandler was somewhat cleaned up.
6043         (1) make possible a dynamically growing LColor list by allowing
6044         the graphic context cache to grow along (vector);
6045         (2) eliminate an IMHO unnecessary step in colour allocation.
6046
6047 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6048
6049         * BufferView_pimpl.C: compile fix
6050
6051 2003-08-15  André Pönitz  <poenitz@gmx.net>
6052
6053         * rowpainter.C: remove extra metrics calls
6054
6055         * lyxtext.h: merge the two constructors into a single one,
6056           pass reference to owner's par list
6057
6058         * BufferView_pimpl.C:
6059         * text.C:
6060         * text2.C: adjust
6061
6062 2003-08-15  André Pönitz  <poenitz@gmx.net>
6063
6064         * lyxrow_funcs.[Ch]:
6065         * lyxtext.h:
6066         * paragraph.h:
6067         * paragraph_funcs.C:
6068         * rowpainter.C:
6069         * text.C:
6070         * text2.C:
6071         * text3.C:
6072         * text_funcs.C: split LyXText::rowlist_ into individual
6073         Paragraph::rows_ chunks
6074
6075         * BufferView.[Ch]:
6076         * BufferView_pimpl.[Ch]:
6077         * lyxfind.C:
6078         * lyxtext.h:
6079         * text3.C: remove toggleSelection()
6080
6081 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6082
6083         * bufferlist.C: beautify two alerts (shorter text of buttons)
6084         * buffer.C: Remove redundant ' ' from message
6085         * tabular.h:
6086         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6087         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6088         rename VALIGN_CENTER to VALIGN_MIDDLE
6089
6090 2003-08-11  André Pönitz  <poenitz@gmx.net>
6091
6092         * lyxtext.h (getPar):
6093         * text.C: new function
6094
6095 2003-08-11  André Pönitz  <poenitz@gmx.net>
6096
6097         * Makefile.am:
6098         * tracer.[Ch]: remove unneeded files
6099
6100         * InsetList.[Ch]: remove resizeInsetsLyXText()
6101
6102         * lyxtext.h:
6103         * text.C:
6104         * text2.C:
6105         * text3.C: merge insertParagraphs() and appendParagraph()
6106         remove breakAgain(), update()
6107
6108         * BufferView_pimpl.[Ch]:
6109         * bufferview_funcs.[Ch]:
6110         * lyxfunc.C:
6111         * paragraph.[Ch]:
6112         * rowpainter.C:
6113         * tabular.C: adjust after text & InsetList changes.
6114
6115 2003-08-08  André Pönitz  <poenitz@gmx.net>
6116
6117         * text.C (insertChar, backspace): replace rowlist fiddling
6118         with rebreak of full par
6119
6120         * lyxtext.h:
6121         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6122         checkParagraph, updateInset): removed
6123
6124 2003-08-07  André Pönitz  <poenitz@gmx.net>
6125
6126         * paragraph.C:
6127         * text3.C: merge some LFUN handlers, remove dead code
6128
6129 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6130
6131         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6132
6133 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6134
6135         * text2.C (DEPM): fix part of bug 1255 and 1256
6136
6137 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6138
6139         * BufferView_pimpl.C (workAreaDispatch): change to use
6140         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6141         that are no mouse related.
6142
6143 2003-08-05  André Pönitz  <poenitz@gmx.net>
6144
6145         * BufferView.[Ch]:
6146         * BufferView_pimpl.[Ch]:
6147         * bufferview_funcs.C:
6148         * text2.C:
6149         * text3.C: rip out "deep update"
6150
6151         * textcursor.[Ch] (last_sel_cursor): remove unused member
6152
6153 2003-08-04  André Pönitz  <poenitz@gmx.net>
6154
6155         * BufferView.[Ch]:
6156         * BufferView_pimpl.[Ch]:
6157         * ParagraphParameters.C:
6158         * bufferview_funcs.C:
6159         * lyx_cb.C:
6160         * lyxfind.C:
6161         * lyxfunc.C:
6162         * text.C:
6163         * text2.C:
6164         * text3.C: replace "complicated" BufferView::update(...) calls with
6165         simpler ones.
6166
6167         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6168
6169 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6170
6171         * Makefile.am (lyx_SOURCES): add paper.h
6172
6173 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6174
6175         * Makefile.am: move things around so that both lyx-qt and
6176         lyx-xforms can be built (according to --with-frontend). Then lyx
6177         is a symbolic link to lyx-[firstfrontend]
6178
6179 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6180
6181         * Always use std::endl with lyxerr
6182
6183 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6184
6185         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6186
6187 2003-08-01  André Pönitz  <poenitz@gmx.net>
6188
6189         * BufferView.[Ch]:
6190         * BufferView_pimpl.[Ch]:
6191         * lyxfunc.C:
6192         * text3.C: merge BufferView::repaint() and BufferView::update()
6193
6194 2003-08-01  José Matos  <jamatos@lyx.org>
6195
6196         * buffer.[Ch]: file_format is no longer a buffer data element.
6197
6198 2003-08-01  André Pönitz  <poenitz@gmx.net>
6199
6200         * BufferView.C:
6201         * lyxtext.h:
6202         * text.C:
6203         * text2.C: make redoParagraph more independent of current cursor
6204
6205         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6206         * text.C:
6207         * text2.C: remove unneeded members
6208
6209 2003-07-30  André Pönitz  <poenitz@gmx.net>
6210
6211         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6212
6213         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6214           create a single function...
6215
6216         * paragraph_funcs.C (moveItem): ... here.
6217
6218         * text.C:
6219           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6220
6221 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6222
6223         * LColor.[Ch]: Add comment and greyedout logical colors.
6224
6225 2003-07-30  André Pönitz  <poenitz@gmx.net>
6226
6227         * tabular.C: don't use Assert too heavily. This crashes where it
6228           shouldn't
6229
6230 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6231
6232         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6233         is disabled (bug 1232)
6234
6235 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6236
6237         * factory.C: limited 'arg' scope
6238
6239 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6240
6241         * factory.C: fixed Note submenu issues
6242
6243 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6244
6245         * factory.C: submenu for Note/Comment/Greyedout
6246
6247 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6248
6249         * lyx_main.C (LyX):
6250         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6251
6252 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6253
6254         * LaTeXFeatures.C:
6255         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6256         greyedout. Patch provided by Jürgen Spitzmüller.
6257
6258 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6259
6260         * kbmap.C (read): fix error message when reading bind files
6261
6262 2003-07-29  Angus Leeming  <leeming@lyx.org>
6263
6264         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6265         certainly does not do what it purports to do. I am doing it, and
6266         us, a favour by killing it.
6267
6268 2003-07-28  José Matos  <jamatos@lyx.org>
6269
6270         * buffer.C (readBody, do_writeFile):
6271         * paragraph.C(readParagraph): \end_document replaces \the_end.
6272
6273 2003-07-29  André Pönitz  <poenitz@gmx.net>
6274
6275         * BufferView.[Ch]:
6276         * BufferView_pimpl.[Ch]:
6277         * lyxfunc.C:
6278         * text2.C:
6279         * text3.C:
6280         * textcursor.[Ch]: remove toggleToggle & Co
6281
6282 2003-07-28  José Matos  <jamatos@fep.up.pt>
6283
6284         * buffer.C (readParagraph):
6285         * params_func (readParToken, readParagraph):
6286         * paragraph.C (write): \layout -> \begin_layout.
6287
6288 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6289
6290         * lyxlex_pimpl.C (setFile): clean up slightly.
6291
6292         * bufferparams.h: add compressed var
6293
6294         * buffer_funcs.C (readFile): adjust for LyXLex change
6295         (newFile): ditto + simplify
6296
6297         * buffer.C (writeFile): handle writing of compressed files
6298
6299         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6300         Check if the file is compressed and set a bufferparm if so.
6301
6302         * Makefile.am (lyx_LDADD): remove explicit -lz
6303
6304 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6305
6306         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6307         makeDocBookFile): put the real LyX version in the first line of
6308         the file
6309
6310         * version.h:
6311         * version.C.in: remove lyx_docversion
6312
6313         * tabular.C (write_attribute): add a template-based version to
6314         write enums properly
6315
6316 2003-07-28  André Pönitz  <poenitz@gmx.net>
6317
6318         * lyxtext.h:
6319         * text.C:
6320         * text2.C:
6321         * text3.C: use doubles again for x-coordinates. They are needed.
6322
6323 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * messages.C (getLocaleDir): use lyx_localedir()
6326
6327         * lyxlex_pimpl.C (setFile): compress stuff
6328
6329         * buffer.C (writeFile): add some compression stuff
6330         (do_writeFile): new func, dont call expliti close... will this
6331         breake anything?
6332
6333         * Makefile.am (lyx_LDADD): add -lz
6334
6335 2003-07-28  José Matos  <jamatos@fep.up.pt>
6336
6337         * buffer.C: increment file format.
6338         * paragraph_funcs (readParagraph, readParToken):
6339         * paragraph.C (readParagraph): add \end_layout.
6340
6341 2003-07-27  Angus Leeming  <leeming@lyx.org>
6342
6343         * Makefile.am: remove special casing for configure-time setting of
6344         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6345
6346         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6347         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6348
6349 2003-07-26  André Pönitz  <poenitz@gmx.net>
6350
6351         * paragraph_func.[Ch]:
6352         * paragraph.C (realizeFont): inline it whereever it is used
6353
6354         * rowpainter.C:
6355         * text.C:
6356         * text2.C:
6357         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6358
6359
6360 2003-07-26  André Pönitz  <poenitz@gmx.net>
6361
6362         *       lyxtext.h:
6363         * text.C:
6364         * text2.C: get rid of LyXText::need_break_row
6365
6366 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6367
6368         * toc.[Ch]: put namespace toc inside namespace lyx
6369
6370         * MenuBackend.C (expandToc2): adjust for lyx::toc
6371         (expandToc): ditto
6372
6373         * lyxfunc.C (dispatch): adjust for lyx::find
6374
6375         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6376         lyx::find instead. Reorganize a bit.
6377         (LyXReplace): rename to replace
6378         (LyXFind): rename to find
6379
6380         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6381         (dispatch): ditto
6382
6383 2003-07-26  André Pönitz  <poenitz@gmx.net>
6384
6385         * text.C (setHeightOfRow): restrict scope of temporary variable
6386
6387         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6388           code (never has been used?)
6389
6390 2003-07-27  Asger Alstrup  <alstrup@local>
6391
6392         * text.C (fill): Optimise algorithm to exploit that we can reuse
6393         the LyXFont for many characters.
6394         (setHeightOfRow): Same thing.
6395         (rowBreakPoint): Same thing.
6396
6397 2003-07-26  Asger Alstrup  <alstrup@local>
6398
6399         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6400
6401         * text.C (singleWidth): Spurious font copying in hot-spot
6402         singleWidth avoided. Reorder tests for arabic for efficiency.
6403
6404         * text.C (fill): handle empty paragraphs better.
6405
6406 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6407
6408         * ispell.C:
6409         * encoding.h: add includes
6410
6411         * lyxrc.C: remove reading of bind files
6412
6413         * lyx_main.C (init): setup bindings and menus only if we have a
6414         gui.
6415
6416         * kbmap.C (read): new method. Do the actual reading of bind
6417         files.
6418
6419         * converter.C (dvipdfm_options):
6420         * bufferparams.C:
6421         * lyxrc.C (read):
6422         (output): adapt PAPER_* enums.
6423
6424         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6425
6426         * bufferparams.h: remove paper-related enums from there
6427
6428         * paper.h: New file. A trivial header file to hold paper-related
6429         enums. It should later expand to contain many paper-related
6430         horrors access.
6431
6432         * lyxrc.C: declare extern displayTranslator
6433
6434 2003-07-27  José Matos  <jamatos@fep.up.pt>
6435
6436         * tabular.[Ch] (linuxdoc): add support for tables and figures
6437         (linuxdoc).
6438
6439 2003-07-27  José Matos  <jamatos@fep.up.pt>
6440
6441         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6442         consistency in both functions.
6443         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6444
6445 2003-07-26  Asger Alstrup  <alstrup@local>
6446
6447         * rowpainter.C (paintRows): Change algorithm to work directly on
6448         the insets rather than asking every character in the document
6449         whether its an inset.
6450
6451 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6452
6453         * buffer.C (openFileWrite): factorize some code
6454
6455 2003-07-26  Angus Leeming  <leeming@lyx.org>
6456
6457         * lyx_cb.C:
6458         * lyx_main.[Ch]: replace occurances of system_tempdir with
6459         os::getTmpDir().
6460
6461 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6462
6463         * rename Inset to InsetOld
6464
6465 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6466
6467         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6468         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6469         which I think is a bit clearer. EDIT is gone, since it was
6470         premature optimisation, and broken for mathed anyway.
6471         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6472         with cursor positioning in insets as well (math insets still do not
6473         work, but that's a different story anyway.) It mysteriously
6474         crashes sometimes with undo in the first paragraph, but I'm fairly
6475         confident that this is a compiler bug.
6476
6477 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6478
6479         * paragraph.C (Paragraph): adjust for new clone return type
6480         (operator==): ditto
6481         (copyIntoMinibuffer): ditto
6482
6483 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6484
6485         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6486         by not having a special case, and always doing a full rebreak of
6487         the document after undo.
6488
6489 2003-07-23  Angus Leeming  <leeming@lyx.org>
6490
6491         * factory.C (createInset): InsetExternal::setParams now takes a
6492         Buffer const * arg.
6493
6494 2003-07-23  Angus Leeming  <leeming@lyx.org>
6495
6496         * factory.C (createInset): changed interface to the external and
6497         graphics mailers' string2params functions.
6498
6499 2003-07-23  Angus Leeming  <leeming@lyx.org>
6500
6501         * factory.C (createInset): pass a
6502         Buffer const * parameter to InsetExternalMailer's string2params.
6503
6504 2003-07-22  John Levon  <levon@movementarian.org>
6505
6506         * Thesaurus.h: include the right aiksaurus header
6507
6508 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6509
6510         * MenuBackend.C (expand): check menu shortcuts unconditionally
6511
6512 2003-07-21  Angus Leeming  <leeming@lyx.org>
6513
6514         * factory.C (createInset): pass a
6515         buffer_path parameter to InsetGraphicsMailer's string2params.
6516
6517 2003-07-21  Angus Leeming  <leeming@lyx.org>
6518
6519         * BufferView_pimpl.C (buffer):
6520         * buffer.C (d-tor):
6521         * lyx_main.C (LyX):
6522         * lyxfunc.C (dispatch):
6523         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6524         rather than the grfx shortcut.
6525
6526 2003-07-21  André Pönitz  <poenitz@gmx.net>
6527
6528         * rowpainter.C: remove unused variables
6529
6530         * tabular_funcs.C:
6531         * tabular_funcs.h: move to tabular.C
6532         * Makefile.am: adjust
6533
6534         * tabular.[Ch]: basic optical cleaning
6535
6536         * author.h: pass references, not values
6537
6538 2003-07-18  André Pönitz  <poenitz@gmx.net>
6539
6540         * lyxtext.h:
6541         * metricsinfo.C:
6542         * metricsinfo.h:
6543         * rowpainter.C:
6544         * text.C:
6545         * text2.C:
6546         * text3.C: two-phase drawing for InsetText and InsetTabular
6547         some float -> int changes.
6548
6549 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6550
6551         * lyx_main.C: fix the fix
6552
6553 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6554
6555         * lyx_main.C: fix a crash in batch mode if no files specified
6556         * converter.C: ws
6557
6558 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6559
6560         * format.[Ch] (papersize): moved to BufferParams
6561         * converter.[Ch] (dvips_options): moved to BufferParams
6562         (dvipdfm_options): moved to anon namespace
6563         * bufferparams.[Ch]: added above functions.
6564
6565 2003-07-17  André Pönitz  <poenitz@gmx.net>
6566
6567         * lyxtext.h:
6568         * rowpainter.C:
6569         * text2.C: don't call inset->update() anymore
6570
6571         * metricsinfo.[Ch]: add convenience constructor
6572
6573 2003-07-16  André Pönitz  <poenitz@gmx.net>
6574
6575         * lyxcursor.[Ch]:
6576         * lyxfunc.[Ch]:
6577         * text.C:
6578         * text2.C: replace the LyXCursor::irow_ member with
6579          on-demand computation of the value
6580
6581 2003-07-16  John Levon  <levon@movementarian.org>
6582
6583         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6584
6585 2003-07-15  André Pönitz  <poenitz@gmx.net>
6586
6587         * text.C:
6588         * text2.C: remove no more needed refresh_row
6589
6590 2003-07-15  André Pönitz  <poenitz@gmx.net>
6591
6592         * lyxtext.h:
6593         * rowpainter.C:
6594         * text2.C:
6595         * text3.C: refresh_status tristate -> need_update bool
6596
6597 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6598
6599         * lyxtext.h (init): remove reinit argument (act as if always true)
6600         * text2.C: adjust to that
6601
6602 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6603
6604         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6605         * text3.C: use it to delete selections in some cases
6606         (bugs 441, 673, 702, 954).
6607
6608 2003-07-14  André Pönitz  <poenitz@gmx.net>
6609
6610         * rowpainter.[Ch]: reduce interface
6611
6612 2003-07-14  André Pönitz  <poenitz@gmx.net>
6613
6614         * BufferView_pimpl.C:
6615         * text2.C: adjust after removing unused BufferView * argument
6616
6617 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6618
6619         * text2.C (init): fix a crash fired on resize
6620
6621 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6622
6623         * buffer.[Ch]: added new closing signal
6624         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6625         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6626         BufferView::Pimpl via the closing the signal
6627
6628 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6629
6630         * buffer.[Ch]: take out all bv-related from buffer
6631         * BufferView.C:
6632         * BufferView_pimpl.[Ch]: connect to new signals
6633         * CutAndPaste.C: removed useless asserts
6634         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6635         * lyxvc.[Ch]:
6636         * vc-backend.[Ch]:
6637         * lyxfunc.C: moved view-related funciontality from vc here
6638         * paragraph.C: removed outdated comments
6639         * text.C: ws
6640
6641 2003-07-10  André Pönitz  <poenitz@gmx.net>
6642
6643         * BufferView_pimpl.C:
6644         * tabular.h:
6645         * tabular_funcs.C:
6646         * text.C:
6647         * text2.C: remove InsetText::InnerCache, clean up consequences
6648
6649 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6650
6651         * ispell.C: fix two typos in error messages
6652
6653 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6654
6655         * Extend Note inset to other forms of annotation like Comment
6656         and Greyedout. Right button click gives dialog.
6657
6658         Files modified or added (+):
6659
6660         * insetnote.[Ch]
6661         * FormNote.[Ch]      +
6662         * ControlNote.[Ch]   +
6663         * form_note.fd       +
6664         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6665         frontends/controllers
6666         * xforms/Dialogs.C
6667         * factory.C
6668
6669 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6670
6671         * aspell.C: add missing namespace lyx::support
6672
6673 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6674
6675         * BufferView.[Ch] (newFile): Add
6676         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6677         * LaTeX.[Ch] (message): added this signal and use it
6678         * buffer.[Ch] (busy, message): added these signals and use them
6679         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6680         * converter.C:
6681         * exporter.C:
6682         * format.C:
6683         * importer.C: use buffer signals instead of direct bv calling
6684         * lyx_cb.[Ch] (ShowMessage): removed
6685         * lyx_main.C:
6686         * lyxfunc.C:
6687         * paragraph_funcs.C:
6688         * text2.C: use buffer signals
6689
6690 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6691
6692         * introduce namespace lyx::graphics
6693
6694 2003-07-02  André Pönitz  <poenitz@gmx.net>
6695
6696         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6697
6698 2003-07-01  André Pönitz  <poenitz@gmx.net>
6699
6700         * text.C:
6701         * text2.C:
6702         * text3.C:
6703         * text_funcs.[Ch]:
6704         * textcursor.h:
6705         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6706           text*.C to text_func.C
6707
6708 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6709
6710         * introduce namespace lyx::support
6711
6712 2003-06-30  André Pönitz  <poenitz@gmx.net>
6713
6714         * Chktex.C:
6715         * funcrequest.C:
6716         * lyxtext.h:
6717         * text.C: re-enable --with-included-string
6718
6719 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6720
6721         * textcursor.C: add <config.h>
6722
6723         * text.C (getWord): remove const from word_location arg
6724
6725         * lyxvc.C (getLogFile): fix const type order
6726
6727         * lyxtext.h: remove const from word_location arg, add arg name
6728
6729         * lyxlayout.h: currect type on labeltype.
6730
6731         * importer.C: correct \file
6732
6733         * converter.C (intToFormat): use std:: on ret val, ws changes
6734
6735         * bufferlist.h: correct \file
6736
6737         * buffer.C (makeLinuxDocFile): fix const type order
6738         (makeDocBookFile): ditto
6739         (fillWithBibKeys): use std:: on stdlib args.
6740
6741         * CutAndPaste.C: fix authors.
6742         (availableSelections): use std:: on return vector
6743
6744 2003-06-27  André Pönitz  <poenitz@gmx.net>
6745
6746         * BufferView_pimpl.C:
6747         * bufferview_funcs.C:
6748         * lyxcursor.C:
6749         * lyxcursor.h:
6750         * lyxfunc.C:
6751         * lyxtext.h:
6752         * rowpainter.C:
6753         * text.C:
6754         * text2.C:
6755         * text3.C: remove LyXCursor::row_ member
6756
6757         * lyxtext.h:
6758         * text.C: rename fullRebreak() to partialRebreak() and implement
6759           a fullRebreak() that really bereks fully
6760
6761         * textcursor.h: new struct for cursor-related data
6762
6763 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6764
6765         * lyx_main.C (LyX): get full path of document loaded on the
6766         command line
6767
6768 2003-06-26  André Pönitz  <poenitz@gmx.net>
6769
6770         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6771           remove unused/broken operator>,<,>=.
6772
6773         *       text.C: remove only use of broken operator<= in an Assert().
6774
6775 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6776
6777         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6778         moved errorlist_.clear to showErrorList
6779
6780 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6781
6782         * converter.C (scanLog, runLaTeX):
6783         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6784         move the bv->showErrorList call to the callers
6785         * lyxfunc.C: i.e. here...
6786         * text2.C: and here
6787         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6788         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6789         namespace, the second to...
6790         * buffer_funcs (BufferFormat, parseErrors): added
6791         * errorlist.C (ErrorList(TeXErrors const &)): removed
6792
6793 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6794
6795         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6796
6797 2003-06-24  "Garst R. Reese" <reese@isn.net>
6798
6799         * debug.C: fix typo
6800
6801 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6802
6803         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6804
6805         * version.C.in: change docversion to 1.4
6806
6807 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6808
6809         * buffer.C: fix a bug just introduced
6810
6811 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6812
6813         * buffer.[Ch]: added the parseError signal and use it, removed
6814         sgmlError
6815         * BufferView.[Ch] (addError): moved to ...
6816         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6817         to the Buffer::parseError signal to catch (guess what) parse errors
6818         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6819
6820 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6821
6822         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6823         ability to create a buffer and to return an existing one from
6824         the list. Moved these functions to...
6825         * buffer_funcs.[Ch]: added
6826         * BufferView.[Ch] (loadLyXFile): added
6827         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6828         job removed from bufferlist::loadLyXFile.
6829         * buffer.C (setReadOnly): make it work without view
6830         (i.e added an if (users))
6831
6832 2003-06-19  Angus Leeming  <leeming@lyx.org>
6833
6834         * lfuns.h:
6835         * LyXAction.C (init):
6836         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6837         with LFUN_DIALOG_SHOW <name> <data>.
6838
6839 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6840
6841         * CutAndPaste.C (availableSelections): small compilation fix for
6842         ancient (gcc 2.9x) compilers
6843
6844 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * text3.C (cursorNext): add tmp var
6847
6848         * text2.C (updateCounters): for function calling out of for clause
6849         (replaceSelectionWithString): ditto
6850         (insertStringAsParagraphs): ditto
6851         (getColumnNearX): add tmp var
6852         (setCursorFromCoordinates): add tmp var
6853         (cursorDownParagraph): add tmp var
6854         (deleteEmptyParagraphMechanism): add tmp var
6855
6856         * text.C (insertChar): add tmp var
6857
6858         * rowpainter.C (paintDepthBar): add tmp var
6859
6860         * CutAndPaste.C (availableSelections): potentially check all
6861         paragraphs in a cut to fill the shown strings.
6862
6863 2003-06-18  André Pönitz  <poenitz@gmx.net>
6864
6865         * kbmap.[Ch]: use vector<> instead of list<>
6866
6867 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6868
6869         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6870         pasteSelection with index
6871
6872         * text2.C (pasteSelection): modify, call pasteSelection with index
6873
6874         * paragraph.C (asString): reimplement version with no interval to
6875         call the one with interval.
6876
6877         * lyxtext.h: add index arg to pasteSelection
6878
6879         * MenuBackend.C (MenuItem): handle PasteRecent
6880         (Menu::read::Menutags): add md_pasterecent
6881         (read): handle it
6882         (expandPasteRecent): new function
6883         (expand): use it
6884
6885         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6886
6887         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6888         the limited stack
6889         (availableSelections): new function
6890
6891 2003-06-17  Angus Leeming  <leeming@lyx.org>
6892
6893         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6894
6895 2003-06-17  Angus Leeming  <leeming@lyx.org>
6896
6897         * lfuns.h:
6898         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6899
6900         * lyxfunc.C (dispatch): invoke it.
6901
6902 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6903
6904         * iterators.C (operator++, ParPosition): reintroduce some
6905         const_cast for the benefit of older compilers.
6906
6907 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6908
6909         * text3.C (dispatch): do not modify clipboard when doing
6910         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6911         LFUN_DELETE_SKIP on a selection selection
6912
6913 2003-06-16  André Pönitz  <poenitz@gmx.net>
6914
6915         * BufferView.C:
6916         * buffer.C:
6917         * buffer.h:
6918         * paragraph.C:
6919         * tabular.[Ch]: IU of clone() and getLabelList();
6920
6921 2003-06-13  André Pönitz  <poenitz@gmx.net>
6922
6923         * tabular.h: compactification
6924
6925 2003-06-12  André Pönitz  <poenitz@gmx.net>
6926
6927         * tabular.C:
6928         * tabular.h:
6929         * tabular_funcs.h: some renaming plus whitespace
6930
6931 2003-06-12  André Pönitz  <poenitz@gmx.net>
6932
6933         * BufferView.C:
6934         * BufferView_pimpl.C:
6935         * CutAndPaste.C:
6936         * buffer.C:
6937         * iterators.[Ch]:
6938         * lyxfunc.C:
6939         * text.C:
6940         * toc.C: Return a Paragraph & for ParIterator::operator*()
6941
6942 2003-06-11  John Levon  <levon@movementarian.org>
6943
6944         * lyx_main.C:
6945         * ToolbarBackend.h:
6946         * ToolbarBackend.C: add "Toolbars" section and
6947         put the flags there
6948
6949 2003-06-10  Angus Leeming  <leeming@lyx.org>
6950
6951         * lfuns.h:
6952         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6953
6954         * lyxfunc.C (dispatch): invoke it.
6955
6956 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * main.C: protect <ios> with HAVE_IOS
6959         (main): protect sync_with_stdio with HAVE_IOS
6960
6961 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6962
6963         * text2.C (cutSelection): adjust
6964         (pasteSelection): adjust
6965
6966         * messages.C: handle get of empty string
6967
6968         * main.C (main): use sync_with_stdio(false)
6969
6970         * lyxfunc.C (dispatch): adjust
6971
6972         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6973         (WriteAs): remove unneeded BufferView arg.
6974
6975         * bufferparams.h: use correct types on papersize, papersize2 and
6976         paperpackage.
6977
6978         * bufferparams.C (readToken): adjust for type
6979         (writeLaTeX): add missing cases to switch.
6980
6981         * bufferlist.C (quitWriteBuffer): adjust
6982         (close): adjust
6983
6984         * buffer.C (asciiParagraph): remove some commented code.
6985
6986         * CutAndPaste.C: remove current_view extern variable.
6987         (cutSelection): add BufferParams arg.
6988         (eraseSelection): add BufferParams arg.
6989         (pasteSelection): add Buffer const & arg
6990
6991 2003-06-07  John Levon  <levon@movementarian.org>
6992
6993         * buffer.C:
6994         * paragraph_funcs.C:
6995         * paragraph_pimpl.C:
6996         * text.C:
6997         * text2.C:
6998         * paragraph.h:
6999         * paragraph.C: allow InsetERT to freely space lines,
7000         and some consolidation of code
7001
7002 2003-06-06  José Matos  <jamatos@fep.up.pt>
7003
7004         * buffer.C (makeDocBookFile): fix bug #821
7005
7006 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7007
7008         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7009
7010 2003-06-04  Angus Leeming  <leeming@lyx.org>
7011
7012         * buffer.C: bump format to 224.
7013
7014 2003-06-05  André Pönitz  <poenitz@gmx.net>
7015
7016         * text2.C (redoParagraphs): remove two const_cast<>
7017
7018 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7019
7020         * ParagraphList.h: remove last remnants of NO_STD_LIST
7021
7022 2003-06-03  Angus Leeming  <leeming@lyx.org>
7023
7024         * factory.C (createInset): small change to the way InsetExternal's params
7025         are set.
7026
7027 2003-06-04  André Pönitz  <poenitz@gmx.net>
7028
7029         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7030
7031         * paragraph_pimpl.h:
7032         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7033
7034         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7035
7036         * undo_funcs.C: make some simple cases of undo work again
7037
7038 2003-06-03  John Levon  <levon@movementarian.org>
7039
7040         * ispell.C: HPUX doesn't have sys/select.h
7041         (from Albert Chin)
7042
7043 2003-06-03  John Levon  <levon@movementarian.org>
7044
7045         * CutAndPaste.C: update tabular and include inset
7046         buffer references
7047
7048         * buffer.h:
7049         * paragraph.h:
7050         * paragraph.C: remove owningBuffer(), don't pass Buffer
7051         to clone()
7052
7053         * factory.C: insetGraphicsParams changed
7054
7055 2003-06-02  John Levon  <levon@movementarian.org>
7056
7057         * LyXAction.C:
7058         * factory.C:
7059         * lfuns.h:
7060         * lyxfunc.C:
7061         * text3.C: remove insetparent
7062
7063 2003-06-02  John Levon  <levon@movementarian.org>
7064
7065         * buffer.h:
7066         * buffer.C: fix inset_iterator.end(), move out of line
7067         (bug 1149)
7068
7069 2003-06-01  John Levon  <levon@movementarian.org>
7070
7071         * text3.C: use a proper cut/paste when doing inset
7072         insert (from Jürgen Spitzmüller)
7073
7074 2003-06-01  John Levon  <levon@movementarian.org>
7075
7076         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7077
7078 2003-05-30  André Pönitz  <poenitz@gmx.net>
7079
7080         * rowpainter.C: unify second drawing phase
7081
7082 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * trans_mgr.C: remove one case of current_view
7085
7086         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7087
7088         * paragraph_funcs.h: remove paragraph.h include
7089
7090         * paragraph.h: delete NO_STD_LIST stuff
7091
7092         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7093
7094         * buffer.h: remove paragraph.h include
7095
7096         * ParagraphList.C: delete file
7097
7098         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7099
7100         * toc.C (getTocList): adjust
7101
7102         * paragraph_pimpl.C (validate): adjust
7103
7104         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7105
7106         * paragraph.C (Paragraph): adjust
7107         (getPositionOfInset): use const_iterator, adjust
7108         (bibitem): use const_iterator, adjust
7109         (setInsetOwner): adjust
7110
7111         * iterators.C (operator++): adjust
7112
7113         * InsetList.[Ch]: Replace selfmade iterator with standard
7114         vector::iterator also introduce const_iterator. Remove getPos,
7115         getInset and setInset from InsetTable. Adjust accordingly.
7116
7117         * BufferView.C (lockInset): adjust
7118         (ChangeInsets): adjust
7119
7120         * tabular.[Ch]: delete commented same_id functions
7121
7122 2003-05-28  John Levon  <levon@movementarian.org>
7123
7124         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7125
7126 2003-05-28  André Pönitz  <poenitz@gmx.net>
7127
7128         * metricsinfo.[Ch]: remove 'fullredraw' member
7129
7130 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7131
7132         * lyxtextclass.C (operator): remove caching.
7133
7134 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7135
7136         * text3.C: adjust
7137
7138         * text2.C (cursorBottom): adjust
7139         (setCounter): use ParagraphList::find, adjust
7140
7141         * text.C (workWidth): use ParagraphList::find, adjust
7142
7143         * lyxcursor.C (LyXCursor): adjust
7144
7145         * buffer.C (inset_iterator): adjust
7146
7147         * ParagraphList.h: make iterator(value_type) private, make
7148         ParagraphList a friend of iterator.
7149
7150         * ParagraphList.C (find): new function
7151
7152         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7153
7154 2003-05-27  André Pönitz  <poenitz@gmx.net>
7155
7156         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7157
7158 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7159
7160         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7161
7162 2003-05-26  John Levon  <levon@movementarian.org>
7163
7164         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7165
7166 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * remove same_id from function signatures, adjust.
7169
7170 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7173
7174         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7175
7176         * paragraph.C (Paragraph): get rid of same_ids parameter
7177
7178         * ParagraphList.C (insert): adjust
7179         (push_back): adjust
7180
7181 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * paragraph_funcs.C (breakParagraph): adjust
7184         (breakParagraphConservative): adjust
7185
7186         * buffer.C (readParagraph): adjust
7187
7188         * ParagraphList.C (insert): take a reference instead of a pointer
7189         (insert): adjust
7190
7191         * paragraph.[Ch] (id): new function
7192
7193         * bufferlist.C (newFile): adjust
7194
7195         * ParagraphList.C (ParagraphList): adjust
7196         (assign): adjust
7197         (push_back): take a reference instead of a pointer.
7198
7199         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7200
7201         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7202         instead.
7203
7204         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7205         set else use old code.
7206
7207         * ParagraphList.C: remove all NO_NEXT code and only compile this
7208         code of NO_STD_LIST is set.
7209
7210 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7211
7212         * BufferView_pimpl.C:
7213         * TextCache.C:
7214         * TextCache.h:
7215         * bufferlist.C:
7216         * errorlist.h:
7217         * format.C:
7218         * format.h:
7219         * graph.C:
7220         * lyxfunc.C:
7221         * lyxrc.C:
7222         * graphics/GraphicsConverter.C:
7223         * graphics/PreviewLoader.C: header adjustment
7224
7225 2003-05-23  Angus Leeming  <leeming@lyx.org>
7226
7227         * LaTeXFeatures.[Ch] (useBabel): new method.
7228         * bufferparams.C (writeLaTeX): use it.
7229
7230 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7231
7232         * ParagraphList.h (set): remove unused function.
7233
7234 2003-05-23  André Pönitz  <poenitz@gmx.net>
7235
7236         * BufferView.C:
7237         * BufferView_pimpl.C:
7238         * buffer.C:
7239         * buffer.h:
7240         * lyxfunc.C:
7241         * undo_funcs.C: setUndo reworked
7242
7243         * iterators.[Ch]: add access to topmost ParagraphList
7244
7245         * lyxtext.[Ch] (workWidth): add a const
7246
7247 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7248
7249         * texrow.[Ch] (increasePos): remove function
7250         * exporter.C (export): removed unused var and outdated comment
7251
7252 2003-05-23  Angus Leeming  <leeming@lyx.org>
7253
7254         * latexrunparams.h: rename fragile as moving_arg.
7255         * paragraph.C (simpleTeXOnePar): ditto.
7256         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7257
7258 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7259
7260         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7261         (createUndo): ditto
7262         (textUndoOrRedo): comment out a currently unused var.
7263
7264         * paragraph.h (NO_NEXT): enable NO_NEXT
7265
7266         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7267
7268         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7269
7270         * exporter.C (Export): adjust for removeAutoInsets removal.
7271
7272         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7273
7274         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7275
7276         * BufferView.[Ch] (removeAutoInsets): delete function
7277
7278 2003-05-22  Angus Leeming  <leeming@lyx.org>
7279
7280         * latexrunparams.h: add a free_spacing variable.
7281
7282         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7283         to pass moving_arg, as the data is stored in runparams.fragile.
7284
7285         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7286         to Inset::latexOptional or to simpleTeXOnePar.
7287
7288         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7289         free_spacing arg to Inset::latexOptional.
7290
7291         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7292         free_spacing arg.
7293
7294 2003-05-22  Angus Leeming  <leeming@lyx.org>
7295
7296         * latexrunparams.h: add fragile and use_babel variables.
7297
7298         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7299         * buffer.C (makeLaTeXFile): store this returned value in
7300         runparams.use_babel, thus passing it to the inset::latex methods.
7301
7302         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7303         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7304
7305         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7306         longer has a fragile arg, as it is stored in runparams.fragile.
7307
7308         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7309         moving_arg parameter as the data is stored in runparams.fragile.
7310
7311         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7312         a fragile parameter as the data is stored in runparams.fragile.
7313
7314 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7315
7316         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7317
7318 2003-05-22  Angus Leeming  <leeming@lyx.org>
7319
7320         * latexrunparams.h: add a 'bool nice' which defaults to false.
7321
7322         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7323         now encapsulated within runparams.
7324
7325         * bufferlist.C (updateIncludedTeXfiles):
7326         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7327
7328 2003-05-22  Angus Leeming  <leeming@lyx.org>
7329
7330         * latexrunparams.h: new file containing struct LatexRunParams.
7331         * Makefile.am: add new file.
7332
7333         * LaTeX.[Ch] (c-tor, run):
7334         * buffer.[Ch] (makeLaTeXFile):
7335         * bufferlist.[Ch] (updateIncludedTeXfiles):
7336         * converter.C (convert, scanLog):
7337         * converter.[Ch] (runLaTeX):
7338         * exporter.C (Export):
7339         * paragraph.[Ch] (simpleTeXOnePar):
7340         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7341         * paragraph_funcs.[Ch] (latexParagraphs):
7342         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7343         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7344         pass around a LatexRunParams parameter.
7345
7346 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * paragraph.[Ch]: remove unused constructor
7349
7350         * ParagraphList.C (erase): new function, taking two iterators
7351
7352 2003-05-22  André Pönitz  <poenitz@gmx.net>
7353
7354         * undo_funcs.C: remove duplicated code
7355
7356         * iterator.[Ch]: operator=
7357
7358 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * tabular.C (SetMultiColumn): ws changes
7361
7362         * rowpainter.C (paintFirst): get rid of a ->previous
7363
7364         * lyx_cb.C (getPossibleLabel): parlist simplification
7365
7366         * BufferView.C (ChangeInsets): simplify slightly.
7367
7368 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7369
7370         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7371         * lfuns.h: new LFUN_SPACE
7372         * lyxfunc.C: protected space has a new lfun
7373         * paragraph_funcs.C: read new space insets
7374         * text3.C:
7375         * factory.C: handle new space insets
7376
7377 2003-05-22  André Pönitz  <poenitz@gmx.net>
7378
7379         * BufferView.C:
7380         * BufferView_pimpl.C:
7381         * buffer.[Ch]:
7382         * lyxfunc.C:
7383         * undo_funcs.C: return a ParIterator from getParFromID.
7384
7385         * iterators.[Ch]: add two const's
7386
7387 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * toc.C (getTocList): adjust
7390
7391         * iterators.[Ch]: rework for parlist
7392
7393         * buffer.C (par_iterator_begin): adjust
7394         (par_iterator_end): adjust
7395
7396         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7397
7398         * BufferView.C (removeAutoInsets): adjust
7399         (ChangeInsets): adjust
7400
7401 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7402
7403         * text.C (top_y): fix bug 1110
7404
7405 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7406
7407         * errorlist.[Ch]: added
7408         * buffer.C:
7409         * BufferView.[Ch]:
7410         * BufferView_pimpl.C:
7411         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7412         instead
7413
7414 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7415
7416         * Makefile.am: ensure that lyx is relinked upon changes to the
7417         various "convenience" libs.
7418
7419 2003-05-20  Angus Leeming  <leeming@lyx.org>
7420
7421         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7422         files are compiled in alphabetical order again.
7423
7424         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7425
7426 2003-05-19  Angus Leeming  <leeming@lyx.org>
7427
7428         * gettext.[Ch]: remove "char const * _(char const *)".
7429
7430 2003-05-19  André Pönitz  <poenitz@gmx.net>
7431
7432         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7433
7434         * Makefile.am:
7435         * BufferView.C:
7436         * DepTable.h:
7437         * LaTeXFeatures.C:
7438         * buffer.C:
7439         * lyxfont.C:
7440         * lyxlex.h:
7441         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7442
7443 2003-05-19  André Pönitz  <poenitz@gmx.net>
7444
7445         * buffer.C:
7446         * lyxlayout.[Ch]:
7447         * lyxtextclass.[Ch]:
7448         * paragraph.C:
7449         * paragraph_funcs.[Ch]:
7450         * text2.C:
7451         * text3.C: more insetenv work
7452
7453 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7454
7455         * ParagraphParameters.C (params2string): small bug fixed
7456
7457 2003-05-16  André Pönitz  <poenitz@gmx.net>
7458
7459         * debug.C:
7460         * bufferview_funcs.C: patch from Kornel Benko to prevent
7461           crash when _(...) is called twice in a statement
7462
7463 2003-05-16  André Pönitz  <poenitz@gmx.net>
7464
7465         * BufferView.C:
7466         * lyxfunc.C:
7467         * text.C:
7468         * text2.C:
7469         * text3.C:
7470         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7471
7472 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7473
7474         * lyx_main.C (init): remove spurious static_cast
7475
7476 2003-05-14  André Pönitz  <poenitz@gmx.net>
7477
7478         * BufferView.C: fix format string
7479
7480 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7481
7482         * BufferView.[Ch] (insertErrors): removed
7483         * BufferView.[Ch] (showErrorList): added
7484         * buffer.C (runChkTeX):
7485         * converter.C (scanLog): call showErrorList instead of inserterrors
7486
7487 2003-05-13  André Pönitz  <poenitz@gmx.net>
7488
7489         * BufferView_pimpl.C:
7490         * buffer.C:
7491         * bufferview_func.C:
7492         * MenuBackend.C:
7493         * lyxfunc.C:
7494         * lyxrc.C:
7495         * tex-accent.C:
7496         * text3.C:
7497         * toc.C:
7498         * tabular_funcs.h: tostr() from its own header
7499
7500         * ParagraphParameters.C:
7501         * ToolbarBackend.C:
7502         * bufferparams.C:
7503         * format.C:
7504         * lyxlex_pimpl.C:
7505         * text3.C: STRCONV()
7506
7507 2003-05-12  André Pönitz  <poenitz@gmx.net>
7508
7509         * BufferView.C:
7510         * BufferView_pimpl.C:
7511         * CutAndPaste.C:
7512         * LaTeX.C:
7513         * LaTeXFeatures.C:
7514         * ParagraphParameters.C:
7515         * buffer.C:
7516         * bufferlist.C:
7517         * bufferparams.C:
7518         * bufferview_funcs.C:
7519         * converter.C:
7520         * counters.C:
7521         * debug.C:
7522         * exporter.C:
7523         * format.C:
7524         * importer.C:
7525         * lyx_cb.C:
7526         * lyx_main.C:
7527         * lyxfont.C:
7528         * lyxfunc.C:
7529         * lyxvc.C:
7530         * paragraph.C:
7531         * paragraph_funcs.C:
7532         * tabular.C:
7533         * tabular_funcs.C:
7534         * text2.C:
7535         * text3.C:  boost::format -> bformat  all over the place
7536
7537
7538 2003-05-09  André Pönitz  <poenitz@gmx.net>
7539
7540         * LColor.[Ch]: Pimpl the #include <map> away
7541
7542 2003-05-09  John Levon  <levon@movementarian.org>
7543
7544         * bufferlist.C: never remove emergency saves
7545
7546 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7547
7548         * Makefile.am: better lib building
7549
7550 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7553         instead.
7554         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7555         (simpleTeXSpecialChars): adjust
7556         (simpleTeXSpecialChars): adjust
7557         * paragraph.C (simpleTeXOnePar): adjust
7558         * buffer.C (makeLaTeXFile): adjust
7559
7560         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7561
7562         * text2.C (changeDepth): parlist cleanup
7563         (getColumnNearX): ditto
7564
7565         * rowpainter.C (getLabelFont): parlist cleanup
7566
7567         * bufferlist.C (newFile): parlist cleanup
7568
7569         * CutAndPaste.C (eraseSelection): parlist cleanup
7570
7571         * BufferView_pimpl.C (trackChanges): parlist cleanup
7572         (dispatch): ditto
7573
7574         * BufferView.C (lockInset): parlist cleanup.
7575         (ChangeInsets): ditto
7576
7577 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7578
7579         * CutAndPaste.h: Update file header.
7580
7581         * CutAndPaste.C: Update file header.
7582         Store the parts cut out of the Document in a limited_stack.
7583         (copySelection): adjust
7584         (pasteSelection): new function, takes the index in the limited stack.
7585         (nrOfParagraphs): adjust
7586         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7587         simplify error inset insertion.
7588         (checkPastePossible): adjust
7589
7590 2003-05-06  John Levon  <levon@movementarian.org>
7591
7592         * text2.C: don't cast wrap inset to float
7593
7594 2003-05-05  André Pönitz  <poenitz@gmx.net>
7595
7596         * iterator.C:
7597         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7598
7599         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7600           few naked Paragraph *.
7601
7602 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7603
7604         * bufferparams.C: Output warning if a document with missing
7605         TeX document class is loaded
7606         * exporter.C: Disable TeX exports if the document class is missing
7607         * lyxtextclass.C:
7608         * lyxtextclass.h:
7609         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7610         isTeXClassAvailable()
7611
7612 2003-05-03  John Levon  <levon@movementarian.org>
7613
7614         * BufferView.h:
7615         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7616         explicit cursor show/hide
7617
7618         * BufferView_pimpl.h:
7619         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7620         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7621
7622         * lyxfunc.C: hide cursor before dispatching.
7623
7624         * lyx_cb.C:
7625         * lyxfind.C:
7626         * text.C:
7627         * text3.C: remove explicit cursor hides
7628
7629 2003-05-02  André Pönitz  <poenitz@gmx.net>
7630
7631         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7632
7633         * undo_funcs.C:
7634         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7635           linked lists
7636
7637         * text2.C: tiny whitespace
7638
7639 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7640
7641         * undo_funcs.C: almost only ws changes.
7642
7643         * ParagraphList.C (splice): just return if pl is empty.
7644
7645 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7646
7647         * ParagraphList.C (splice): new function.
7648
7649         * CutAndPaste.C (pasteSelection): use it
7650
7651 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7652
7653         * CutAndPaste.C (pasteSelection): remove the last next and
7654         previous from this file.
7655
7656 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * CutAndPaste.C (pasteSelection): more clean up, user proper
7659         ParagraphList functions for pasteing.
7660
7661         * ParagraphList.C (insert): new function, three arg insert
7662
7663 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * ParagraphList.C (insert): new function, three arg insert
7666
7667         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7668         not on paragraphs.
7669
7670 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7673
7674 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7675
7676         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7677
7678 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7679
7680         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7681         (copySelection): clean up a bit.
7682         (pasteSelection): use make_pair
7683
7684         * ParagraphList.C (ParagraphList): implement copy constructor
7685         (operator=): implement, base on copy constructor.
7686         (assign): new func
7687
7688         * paragraph.C (erase): return a bool
7689
7690         * paragraph_pimpl.C (erasePos): remove function, move contents...
7691         (erase): ... here. Return a bool.
7692         (erase): call erase instead of erasePos.
7693
7694 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7695
7696         * ParagraphList.h: define PitPosPair
7697         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7698         ParagraphList, fix a bug on pasting multiple pars
7699         * text2.C: change interface to C&P
7700
7701 2003-04-30  André Pönitz  <poenitz@gmx.net>
7702
7703         * undo_func.C: revert part of yesterday's patch 2
7704
7705 2003-04-30  John Levon  <levon@movementarian.org>
7706
7707         * LColor.C: s/tabular/table/
7708
7709 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7710
7711         * text3.C (dispatch): do not convert iterator -> pointer
7712         * undo_funcs.C (setCursorParUndo): ditto
7713         * text_funcs.C (transposeChars): ditto
7714
7715         * text2.C (setLayout): ws changes only
7716
7717         * text.C (breakParagraph): do not convert iterator -> pointer
7718         (insertChar): ditto
7719         (acceptChange): ditto
7720         (rejectChange): ditto
7721         (changeCase): ditto
7722         (Delete): ditto
7723         (backspace): ditto
7724
7725         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7726         pointer
7727
7728 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7729
7730         * text3.C (gotoInset): YABG (yet another bad getChar)
7731
7732 2003-04-29  André Pönitz  <poenitz@gmx.net>
7733
7734         * paragraph.h: make operator= private unimplemented as long as
7735           it is unusable
7736
7737         * ParagraphList.C: whitespace
7738
7739         * paragraph.[Ch]:
7740         * paragraph_pimpl.[Ch]:
7741         * paragraph_funcs.C:
7742         * CutAndPaste.C:
7743         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7744
7745         * text2.C:
7746           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7747
7748 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7749
7750         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7751         * paragraph.[Ch] (erase):
7752         * paragraph_pimpl.[Ch] (erase): change return type and value
7753         * text2.C (cutSelection): some rework
7754
7755 2003-04-28  John Levon  <levon@movementarian.org>
7756
7757         * bufferlist.C: changes for unsaved changes dialog
7758
7759 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7760
7761         * bufferlist.C (newFile): set language (messages_) for new
7762         documents also.
7763
7764         * buffer.C (readFile): ws changes only.
7765
7766 2003-04-28  André Pönitz  <poenitz@gmx.net>
7767
7768         * undo_funcs.C:
7769         * lyxfunc.C:
7770         * buffer.[Ch]:
7771         * BufferView_pimpl.C:
7772         * BufferView.C: getParFromID related ParagraphList::iterator changes
7773
7774 2003-04-28  André Pönitz  <poenitz@gmx.net>
7775
7776         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7777           Changes
7778
7779 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7780
7781         * messages.C: remove one more localedir class variable.
7782
7783 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * messages.C (getLocaleDir): singleton generation function
7786         (Pimpl): use it.
7787         (Messages): add a default constructor.
7788
7789         * main.C (main): do not setup localedir here, do not call
7790         gettext_init.
7791
7792         * gettext.C (_): use it.
7793         (gettext_init): delete funciton
7794
7795 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7796
7797         * gettext.C (getLyXMessages): new singleton generating function.
7798
7799         * buffer.C (updateDocLang): adjust
7800
7801         * Makefile.am (messages.o): add target
7802         (main.o): remove target
7803
7804 2003-04-27  John Levon  <levon@movementarian.org>
7805
7806         * bufferlist.C:
7807         * lyx_cb.C:
7808         * lyxfunc.C:
7809         * lyxvc.C: specify cancel button in Alert::prompt
7810
7811 2003-04-26  John Levon  <levon@movementarian.org>
7812
7813         * text3.C:
7814         * lyxfunc.C:
7815         * lfuns.h:
7816         * LyXAction.C: add LFUN_INSET_SETTINGS
7817
7818         * lyxfunc.C: don't enable tabular-feature when there's
7819         just any locking inset
7820
7821 2003-04-26  John Levon  <levon@movementarian.org>
7822
7823         * bufferlist.C: re-add Cancel to buffer close question
7824
7825         * lyxfunc.C: fix import UI a bit
7826
7827 2003-04-25  John Levon  <levon@movementarian.org>
7828
7829         * gettext.C: remove the broken asserts for now
7830
7831 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * messages.C: make case where setlocale cannot comply work better.
7834
7835         * buffer.C (updateDocLang): new function
7836         (changeLanguage): use it
7837         (readFile): use it
7838
7839         * text2.C (setCounter): use B_ a bit.
7840
7841         * lyxlayout.C (Read): be sure to trim the label strings.
7842
7843         * messages.C (Messages): fix typo in comment
7844
7845         * buffer.C (readFile): set message_ after file is loaded.
7846         (makeDocBookFile): remove double return
7847         (changeLanguage): reset message_ upon language change.
7848         (B_): new func, use this to get translated buffer strings.
7849
7850         * main.C: add myself and Jean Marc as authors.
7851
7852 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7853
7854         * messages.[hC]: pimplify Messages, and three different pimpls to be
7855         used in different circumstances.
7856
7857         * gettext.[Ch]: change for use with new message code.
7858
7859 2003-04-24 André Pönitz <poenitz@gmx.net>
7860
7861         * factory.C: support for eqref
7862
7863 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7864
7865         * messages.[Ch]: add missing char
7866
7867         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7868
7869         * messages.[Ch]: New files
7870
7871 2003-04-18  John Levon  <levon@movementarian.org>
7872
7873         * BufferView.h:
7874         * BufferView.C:
7875         * BufferView_pimpl.C:
7876         * lfuns.h:
7877         * LyXAction.C:
7878         * lyxtext.h:
7879         * text2.C: remove layout-copy/paste (bug 778)
7880
7881 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7882
7883         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7884
7885 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7886
7887         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7888         if they succeed. Act accordingly.
7889
7890 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * text2.C (setCharFont): adjust
7893         (setCounter): adjust
7894         (insertStringAsLines): adjust
7895
7896         * text.C (leftMargin): adjust
7897         (setHeightOfRow): adjust
7898
7899         * rowpainter.C (paintFirst): adjust
7900         (paintLast): adjust
7901
7902         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7903         (outerHook): ditto
7904         (isFirstInSequence): ditto
7905         (getEndLabel): ditto
7906         (outerFont): adjust
7907
7908         * paragraph.C (getParLanguage): comment out some hard stuff.
7909
7910         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7911         (sgmlError): ditto
7912         (simpleDocBookOnePar): ditto
7913         (makeDocBookFile): use ParagraphList::iterator
7914
7915         * CutAndPaste.C (pasteSelection): adjust
7916
7917 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7918
7919         * text2.C (getFont): adjust
7920         (getLayoutFont): adjust
7921         (getLabelFont): adjust
7922
7923         * paragraph_funcs.C (TeXOnePar): adjust
7924
7925         * buffer.C (simpleLinuxDocOnePar): adjust
7926         (simpleDocBookOnePar): adjust
7927
7928         * CutAndPaste.C (pasteSelection): adjust
7929
7930         * BufferView.C (getEncoding): adjust
7931
7932         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7933
7934 2003-04-16  John Levon  <levon@movementarian.org>
7935
7936         * lyxfind.C: use parlist stuff for search/changes
7937
7938 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7939
7940         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7941
7942         * text2.C (deleteEmptyParagraphMechanism): adjust
7943
7944         * text2.[Ch] (ownerParagraph): delete func (both of them
7945
7946 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7949
7950 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7951
7952         * ParagraphList.C: prepare for NO_NEXT
7953
7954 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7955
7956         * text2.C (getFont): adjust
7957         (getLayoutFont): adjust
7958         (getLabelFont): adjust
7959
7960         * paragraph.C (getFont): adjust
7961         (getLabelFont): adjust
7962         (getLayoutFont): adjust
7963
7964         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7965
7966 2003-04-15  John Levon  <levon@movementarian.org>
7967
7968         From Angus Leeming
7969
7970         * lyx_main.C: handle Include in .ui files
7971
7972 2003-04-15  John Levon  <levon@movementarian.org>
7973
7974         * MenuBackend.C: make the doc files length shorter
7975
7976         * ToolbarBackend.h:
7977         * ToolbarBackend.C: handle toolbar placement flags,
7978         Minibuffer
7979
7980 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7981
7982         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7983         adjust
7984
7985         * paragraph_funcs.C (TeXOnePar): adjust
7986
7987         * paragraph.C (getLabelFont): add outerfont arg, adjust
7988         (getLayoutFont): ditto
7989         (simpleTeXOnePar): adjust
7990
7991         * paragraph_pimpl.C (realizeFont): delete func
7992
7993 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7994
7995         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7996         row argument, constify cur argument.
7997
7998 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * text2.C (getFont): adjust
8001         (getLayoutFont): adjust
8002         (getLabelFont): adjust
8003
8004         * paragraph_funcs.C (TeXOnePar): adjust
8005         (outerFont): new func...
8006         (realizeFont): ...moved out from here, changed this to facilitate
8007         transition
8008
8009         * paragraph.C (getFont): take outerfont as arg, adjust
8010         (simpleTeXOnePar): add outerfont arg, adjust
8011
8012         * buffer.C (simpleLinuxDocOnePar): adjust
8013         (simpleDocBookOnePar): adjust
8014
8015         * CutAndPaste.C (pasteSelection): adjust
8016
8017         * BufferView.C (getEncoding): adjust
8018
8019 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8020
8021         * text2.C (setCharFont): adjust
8022         (setCounter): adjust
8023
8024         * text.C (leftMargin): adjust
8025         (setHeightOfRow): adjust
8026
8027         * rowpainter.C (paintFirst): adjust
8028         (paintLast): adjust
8029
8030         * paragraph_pimpl.C (realizeFont): adjust
8031
8032         * paragraph.C (isFirstInSequence): move from here...
8033         * paragraph_funcs.C (isFirstInSequence): ...to here
8034
8035         * paragraph.C (outerHook): move from here...
8036         * paragraph_funcs.C (outerHook): ...to here
8037
8038         * paragraph.C (depthHook): move from here...
8039         * paragraph_funcs.C (depthHook): ...to here
8040
8041         * paragraph.C (getEndLabel): move from here...
8042         * paragraph_funcs.C (getEndLabel): ...to here
8043
8044         * text2.C (realizeFont): move from here...
8045         * paragraph_funcs.C (realizeFont): ...to here
8046
8047 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8050
8051 2003-04-14  Angus Leeming  <leeming@lyx.org>
8052
8053         * LColor.[Ch]: scrap LColor mathcursor.
8054
8055 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * lyxlex.[Ch] (text): delete function
8058         * trans.C (Load): adjust
8059         * paragraph_funcs.C (readParToken): adjust
8060
8061 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8062
8063         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8064         vector<char> instead of a char[].
8065
8066         * lyxlex_pimpl.C (getString): adjust
8067         (next): adjust
8068         (lex): use getString
8069         (eatLine): adjust
8070         (nextToken): adjust
8071
8072         * lyxlex.C (text): use pimpl_->getString()
8073         (getBool): ditto
8074         (findToken): ditto
8075
8076 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8079         (makeFontEntriesLayoutSpecific): temp var for par.size()
8080         (setLayout): temp var for ownerParagraphs().end()
8081         (fullRebreak): temp var for rows().end()
8082         (selectionAsString): temp var for boost::next(startpit), realize
8083         that the while really is a regular for loop.
8084         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8085         setCursor in one place.
8086         (setParagraph): temp vr for ownerParagraphs().end()
8087         (updateCounters): make the while loop a for loop
8088         (cutSelection): temp var for ownerParagraphs().end()
8089         (updateInset): make the do {} while() a regular for loop
8090         (getCursorX): use temp vars
8091         (setCurrentFont): use temp vars
8092         (getColumnNearX): use temp vars
8093
8094 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8095
8096         * text.C (transformChar): use temp var for getChar
8097         (computeBidiTables): use temp var for row->par()
8098         (fill): move temp vars for row->par() and pit->layout() earlier in
8099         the function.
8100         (labelFill): use temp var for row->par()
8101         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8102         asc and desc, realize that pit never changes and that firstpit is
8103         just a duplicate and not needed. Exchange rit->par() with pit in a
8104         lot of places.
8105         (breakAgain): use a temp var for boost::next(rit)
8106         (breakAgainOneRow): ditto
8107         (breakParagraph): use a temp var for rows().begin()
8108         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8109         (cursorRightOneWord): use temp var for cursor.par() and
8110         cursor.pos(), remove usage of tmpcursor.
8111         (cursorLeftOneWord): use temp var for cursor.par() and
8112         cursor.pos() only set cur at end of function.
8113
8114 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * text.C, text2.C: exchange all usage of Paragraph::next with
8117         boost::next(ParagraphList::iterator)
8118
8119         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8120
8121         * text2.C (cursorTop): simplify implementation
8122         (cursorBottom): ditto
8123         (setParagraph): use ParagraphList::iterator
8124         (setCurrentFont): adjust
8125         (getColumnNearX): adjust
8126         (cursorRight): adjust
8127         (cursorLeft): remove usage of Paragraph::previous
8128         (cursorUpParagraph): ditto
8129         (deleteEmptyParagraphMechanism): slight cleanup
8130
8131         * text.C (isBoundary): take a Paragraph const & instead of a
8132         pointer as arg.
8133         (addressBreakPoint): ditto
8134         (leftMargin): remove usage of Paragraph::previous.
8135         (setHeightOfRow): ditto
8136         (cursorLeftOneWord): ditto
8137         (selectNextWordToSpellcheck): ditto
8138         (Delete): ditto
8139         (backspace): ditto
8140         (breakParagraph): remove one usage of Paragraph::next
8141         (redoParagraph): ditto
8142         (acceptChange): ditto
8143         (insertChar): adjust
8144         (rowBreakPoint): adjust
8145
8146         * bufferview_funcs.C (toggleAndShow): adjust
8147
8148 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8149
8150         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8151         methods to access it.
8152         * lyxtext.h:
8153         * text.C: Added updateRowPositions to compute all row positions.
8154         Make top_y and getRowNearY() to use the cached y position
8155
8156 2003-04-11  John Levon  <levon@movementarian.org>
8157
8158         * text.C (rowBreakPoint): reintroduce the labelEnd
8159         checks, code copied from the row fill stuff. Deep voodoo.
8160
8161         * text.C (fill): add a comment and debugging for the
8162         next poor soul.
8163
8164 2003-04-11  John Levon  <levon@movementarian.org>
8165
8166         * text.C: make sure fullrow insets get wrapped to the next line,
8167         even when they're in a manual label
8168
8169 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8170
8171         * text2.C (insertParagraph): make it take ParagraphList::iterator
8172         as arg.
8173         (setLayout): make it return ParagraphList::iterator
8174         (redoParagraphs): ditto
8175         (setCounter): ditto
8176         (checkParagraph): ditto
8177
8178         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8179
8180         * text2.C: adjust several funcs.
8181         (realizeFont): take a ParagraphList::iterator as arg.
8182         (getLayoutFont): ditto
8183         (getLabelFont): ditto
8184         (setCharFont): ditto
8185
8186         * text.C: adjust several funcs.
8187
8188 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8189
8190         * text.C (selectNextWordToSpellcheck): don't accidentally
8191         skip insets
8192
8193 2003-04-10  John Levon  <levon@movementarian.org>
8194
8195         * ToolbarBackend.C (getIcon): special handling for
8196         LFUN_MATH_DELIM
8197
8198 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8199
8200         * text2.C (cursorRight): a getChar assert fixed
8201
8202 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8203
8204         * text2.C (getFont): change to take a ParagraphList::iterator
8205         instead of Paragraph*
8206         Adjust several functions.
8207
8208         * text.C (transformChar): change to take a ParagraphList::iterator
8209         instead of Paragraph*
8210         (singleWidth): ditto
8211         Adjust several functions.
8212
8213         * rowpainter.C: adjust several functions
8214         * rowpainter.h:store a ParagraphList::iterator and not a
8215         Paragraph&.
8216
8217
8218 2003-04-09  John Levon  <levon@movementarian.org>
8219
8220         * lyxfunc.C:
8221         * lfuns.h:
8222         * LyXAction.h:
8223         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8224         and the "help" bits as well
8225
8226 2003-04-09  John Levon  <levon@movementarian.org>
8227
8228         * ToolbarBackend.h:
8229         * ToolbarBackend.C: allow multiple toolbars
8230
8231 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8232
8233         * undo_funcs.C (setCursorParUndo): adjust
8234
8235         * text_funcs.C (transposeChars): adjust
8236
8237         * text3.C (gotoNextInset): adjust
8238         (dispatch): adjust
8239
8240         * text2.C (setLayout): adjust
8241         (changeDepth): adjust
8242         (setFont): adjust
8243         (redoParagraphs): adjust
8244         (selectionAsString): adjust
8245         (setParagraph): adjust
8246         (insertInset): adjust
8247         (cutSelection): adjust
8248         (copySelection): adjust
8249         (pasteSelection): adjust
8250         (insertStringAsLines): adjust
8251         (updateInset): adjust
8252         (setCursor): change to take a ParagraphList::iterator parameter
8253         (setCursorIntern): change to take a ParagraphList::iterator parameter
8254         (setCurrentFont): adjust
8255         (cursorLeft): adjust
8256         (cursorRight): adjust
8257         (deleteEmptyParagraphMechanism): adjust
8258
8259         * text.C (breakParagraph): adjust
8260         (insertChar): adjust
8261         (acceptChange): adjust
8262         (rejectChange): adjust
8263         (selectNextWordToSpellcheck): adjust
8264         (changeCase): adjust
8265         (Delete): adjust
8266         (backspace): adjust
8267
8268         * lyxfind.C (SearchForward): adjust
8269         (SearchBackward): adjust
8270         (nextChange): adjust
8271
8272         * lyxcursor.C (par): adjust
8273
8274         * lyxcursor.h: store a ParagraphList::iterator instead of a
8275         Paragraph*
8276
8277         * lyx_cb.C (getPossibleLabel): adjust
8278
8279         * bufferview_funcs.C (toggleAndShow): adjust
8280
8281         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8282         (dispatch): adjust
8283
8284         * BufferView.C (removeAutoInsets): adjust
8285         (lockedInsetStoreUndo): adjust
8286
8287 2003-04-09  John Levon  <levon@movementarian.org>
8288
8289         * ToolbarBackend.C: try icon without argument
8290         if with argument fails
8291
8292 2003-04-08  John Levon  <levon@movementarian.org>
8293
8294         * ToolbarBackend.h:
8295         * ToolbarBackend.C: add getIcon(), handle tooltip,
8296         and change from "Icon" to "Item".
8297
8298 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8299
8300         * BufferView.C (lockInset): another bad getchar crunched
8301
8302 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8303
8304         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8305         again)
8306
8307 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8308
8309         * lyxfind.C (searchForward, searchBackwards): bug 782
8310
8311 2003-04-07  John Levon  <levon@movementarian.org>
8312
8313         * paragraph.C: remove dead comment
8314
8315         * text.C: remove troublesome depth-fiddling code
8316         in leftMargin() and rightMargin() (bug 1017)
8317
8318         * text.C: fix breaking of rows in nested lists
8319         (bug 1004)
8320
8321         * text2.C (updateCounters): fix up depth values
8322         (bug 1013)
8323
8324 2003-04-07  John Levon  <levon@movementarian.org>
8325
8326         * BufferView_pimpl.C: clear message when doc finishes resizing,
8327         and after a mouse event
8328
8329         * lyxfunc.C: clear message after exiting inset
8330
8331 2003-04-07  John Levon  <levon@movementarian.org>
8332
8333         * bufferview_funcs.C: show math status not outside
8334         status in the statusbar
8335
8336 2003-04-07  John Levon  <levon@movementarian.org>
8337
8338         * lyxfunc.C: note status changed after a depth change
8339
8340 2003-04-04  Angus Leeming  <leeming@lyx.org>
8341
8342         * LaTeX.h: move AuxInfo operator==, != out of line.
8343         Remove LaTeX virtual destructor; nothing derives from it.
8344         Move operator()() out of public area and rename it startscript().
8345         Change protected for private.
8346
8347 2003-04-04  Angus Leeming  <leeming@lyx.org>
8348
8349         * lyxfunc.C:
8350         * text2.C: remove unneeded #includes.
8351
8352 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8353
8354         * text2.C (dEPM): fix the heigth of the next row
8355
8356 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8357
8358         * text.C: squashed an invalid getChar requester + some ws changes
8359
8360 2003-04-03  John Levon  <levon@movementarian.org>
8361
8362         * bufferview_funcs.h:
8363         * bufferview_funcs.C:
8364         * lyxfunc.C:
8365         * lyxtext.h:
8366         * text2.C: make getStatus work for the env depth lfuns
8367
8368 2003-04-03  John Levon  <levon@movementarian.org>
8369
8370         * bufferview_funcs.h:
8371         * bufferview_funcs.C:
8372         * lyxfunc.C:
8373         * lyxtext.h:
8374         * text2.C: parlistize decDepth(), by merging it with incDepth()
8375
8376 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8377
8378         * lyxrow.h: store a ParagraphList::iterator instead of a
8379         Paragraph* and adjust other class functions to suit.
8380
8381         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8382         above.
8383
8384 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8385
8386         * text2.C (setCursor): do not anchor to cursor row for the time being
8387
8388 2003-04-02  John Levon  <levon@movementarian.org>
8389
8390         * LyXAction.C:
8391         * lfuns.h:
8392         * lyx_main.C:
8393         * lyxtext.h:
8394         * text.C:
8395         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8396
8397 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * paragraph.h: make ParagraphList and ParagraphList::iterator
8400         friends of Paragraph.
8401
8402         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8403
8404         * ParagraphList.C: Use the private next_ and previous_ from
8405         Paragraph.
8406
8407 2003-04-01  John Levon  <levon@movementarian.org>
8408
8409         * ToolbarBackend.h:
8410         * ToolbarBackend.C:
8411         * Makefile.am: rename, remove defaults gunk
8412
8413         * MenuBackend.h:
8414         * MenuBackend.C: remove defaults gunk
8415
8416         * Languages.h:
8417         * Languages.C: remove defaults gunk
8418
8419         * lyx_main.h:
8420         * lyx_main.C: error out if files couldn't be found.
8421
8422 2003-04-02  John Levon  <levon@movementarian.org>
8423
8424         * text2.C: make incDepth() use parlist
8425
8426 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8427
8428         * undo_funcs.C (firstUndoParagraph): adjust
8429
8430         * text3.C (gotoInset): adjust
8431         (dispatch): adjust, and rewrite loop.
8432
8433         * text2.C (init): adjust, and rewrite loop.
8434         (redoParagraphs): adjust
8435         (updateInset): adjust, and rewrite loop.
8436         (deleteEmptyParagraphMechanism): adjust
8437
8438         * tabular.C (LyXTabular): adjust
8439         (SetMultiColumn): adjust
8440         (TeXRow): adjust
8441
8442         * lyxtext.[Ch] (ownerParagraph): delete function
8443         (ownerParagraphs): new function returns a ParagraphList.
8444
8445         * BufferView.C (removeAutoInsets): adjust
8446         (insertErrors): adjust
8447         (setCursorFromRow): adjust
8448
8449 2003-04-01  Angus Leeming  <leeming@lyx.org>
8450
8451         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8452         in the frontends.
8453
8454 2003-04-02  John Levon  <levon@movementarian.org>
8455
8456         * lyxtext.h:
8457         * text.C:
8458         * Makefile.am:
8459         * text_funcs.h:
8460         * text_funcs.C: make transposeChars a free function
8461
8462         * lyxrow_funcs.C: remove wrong comment
8463
8464 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8465
8466         * lyxtext.h: adjust
8467         * rowpainter.C: adjust
8468         * text.C: adjust
8469         * text2.C: adjust
8470         * text3.C: adjust
8471
8472         * lyxrow_funcs. [Ch]: new files
8473
8474         * lyxrow.[Ch]: remove next and previous pointers
8475         (next,previous): remove accessor functions
8476         (isParEnd): move to lyxrow_funcs
8477         (lastPos): move to lyxrow_funcs
8478         (nextRowIsAllInset): move to lyxrow_funcs
8479         (lastPrintablePos): move to lyxrow_funcs
8480         (numberOfSeparators): move to lyxrow_funcs
8481         (numberOfHfills): move to lyxrow_funcs
8482         (numberOfLabelHfills): move to lyxrow_funcs
8483         (hfillExpansion): move to lyxrow_funcs
8484
8485         * lyxfunc.C: adjust
8486
8487         * bufferview_funcs.C (toggleAndShow): adjust
8488
8489         * RowList.h: Remove class RowList from file leave just a
8490         std::list<Row>.
8491
8492         * RowList.C: delete file
8493
8494         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8495         and lyxrow_funcs.h
8496
8497 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * text3.C (cursorPrevious): adjust
8500         (cursorNext): adjust
8501         (dispatch): adjust
8502
8503         * text2.C (redoHeightOfParagraph): adjust
8504         (redoDrawingOfParagraph): adjust
8505         (setCursor): adjust
8506
8507         * text.C (breakParagraph): adjust
8508         (insertChar): adjust
8509         (backspace): adjust
8510
8511         * rowpainter.C (RowPainter): adjust
8512         (leftMargin): simplify and adjust
8513         (most rowpainter functions): adjust.
8514
8515         * rowpainter.h: store the row as RowList::iterator not as Row*
8516
8517         * lyxcursor.C (row): taka RowList::iterator as arg
8518         (irow): ditto
8519
8520         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8521         of Row*.
8522
8523 2003-04-01  Angus Leeming  <leeming@lyx.org>
8524
8525         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8526         stuff like bool Bool.
8527
8528 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8529
8530         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8531         rewrite a loop
8532
8533 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8534
8535         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8536         RowList::iterator.
8537
8538         * lyxtext.h (rows): drop one version and leve a const variant that
8539         returns a RowList::iterator.
8540
8541 2003-03-31  Angus Leeming  <leeming@lyx.org>
8542
8543         * text.C (fill): ensure that the signature is the same as that in the
8544         header file.
8545
8546 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8547
8548         * text2.C (redoParagraphs): adjust
8549         (updateCounters): adjust
8550         (checkParagraph): adjust
8551         (getColumnNearX): adjust and reformat a bit.
8552
8553         * text.C (top_y): adjust
8554         (workWidth): adjust
8555         (leftMargin): adjust
8556         (prepareToPrint): adjust
8557         (getRow): adjust
8558         (getRowNearY): adjust
8559
8560         * lyxtext.h: make rowlist_ mutable.
8561
8562         * RowList.h: add const_iterator
8563         * RowList.C: adjust for RowList::const_iterator.
8564
8565         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8566         adjust.
8567
8568 2003-03-31  John Levon  <levon@movementarian.org>
8569
8570         * lyxrc.h:
8571         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8572
8573         * lyx_main.C: set default fonts from using lyx_gui funcs
8574
8575         * exporter.C: pdf_mode moved from lyxrc
8576
8577         * lyx_cb.C:
8578         * lyxfunc.C: changes from above
8579
8580 2003-03-31  John Levon  <levon@movementarian.org>
8581
8582         * lyx_main.C: fix to the last fix
8583
8584 2003-03-31  John Levon  <levon@movementarian.org>
8585
8586         * bufferlist.C: "Load original" -> "Load Original"
8587
8588         * converter.C:
8589         * exporter.C:
8590         * importer.C:
8591         * lyx_main.C:
8592         * format.C: more Alert cleanups
8593
8594 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8595
8596         * text2.C (removeParagraph): make it take a RowList::iterator as
8597         arg, adjust.
8598         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8599         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8600
8601         * text.C (anchor_row): make it take a RowList::iterator as arg,
8602         adjust.
8603         (computeBidiTables): make it take a const reference to Row instead
8604         of Row pointer, adjust.
8605         (leftMargin): make it take a RowList::iterator as arg, adjust.
8606         (rowBreakPoint): adjust
8607         (breakAgainOneRow): make it take a RowList::iterator as arg,
8608         adjust.
8609         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8610
8611         * bufferview_funcs.C (toggleAndShow): adjust
8612
8613 2003-03-30  John Levon  <levon@movementarian.org>
8614
8615         * Makefile.am:
8616         * BoostFormat.h:
8617         * boost-inst.C: moved to support
8618
8619         * several files: changes as a result
8620
8621 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8622
8623         * text2.C (LyXText): adjust.
8624         (init): adjust
8625         (removeRow): make it take a RowList::iterator as arg, adjust.
8626         (fullRebreak): adjust
8627         (deleteEmptyParagraphMechanism): adjust
8628         (clearPaint): adjust
8629         (postPaint): adjust
8630
8631         * text.C (top_y): adjust
8632         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8633         (breakAgain): make it take a RowList::iterator as arg, adjust.
8634         (breakParagraph): adjust
8635         (insertChar): adjust
8636         (backspace): adjust
8637
8638         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8639         need_break_row, and refresh_row.
8640
8641         * text3.C (dispatch): adjust
8642
8643         * text2.C (checkParagraph): adjust
8644         (setCursor): adjust
8645         (setCursorFromCoordinates): adjust
8646
8647         * text.C (top_y): adjust
8648         (workWidth): adjust
8649         (getRow): make it return a RowList::iterator, adjust
8650         (getRowNearY): make it return a RowList::iterator, adjust
8651
8652         * text2.C (init): adjust
8653         (insertRow): remove function
8654         (insertParagraph): adjust
8655         (redoParagraphs): adjust
8656         (fullRebreak): adjust
8657         (updateCounters): adjust
8658
8659         * text.C (top_y): rewrite to use RowList iterators.
8660         (top_y): adjust
8661         (setHeightOfRow): rewrite to sue RowList iterators.
8662         (appendParagraph): adjust
8663         (breakAgain): adjust
8664         (breakAgainOneRow): adjust
8665         (breakParagraph): adjust
8666         (getRow): adjust
8667         (getRowNearY): adjust, and remove commented code.
8668
8669         * lyxtext.h (firstRow): delete function
8670         (lastRow): delete function
8671         (rows): new function (const and non-const versions.)
8672         (insertRow): delete function
8673
8674         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8675
8676 2003-03-29  John Levon  <levon@movementarian.org>
8677
8678         * BufferView_pimpl.C: always update scrollbar top
8679         because pasting text when we're anchored could mean we
8680         miss an update altogether
8681
8682 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8683
8684         * text2.C (init): use rowlist_.end() and not 0.
8685         (insertRow): change to take a RowList::iterator as arg, adjust
8686         for this.
8687         (insertParagraph): change to take a RowList::iterator as arg,
8688         adjust for this.
8689         (redoParagraphs): remove some debug msgs.
8690
8691         * text.C (appendParagraph): change to take a RowList::iterator
8692         arg, adjust for this.
8693         (breakAgain): add an assert
8694         (breakAgainOneRow): ditto
8695
8696 2003-03-29  John Levon  <levon@movementarian.org>
8697
8698         * text2.C: do not clear selection after inc/decDepth
8699         (bug 550)
8700
8701 2003-03-29  John Levon  <levon@movementarian.org>
8702
8703         * BufferView.C:
8704         * buffer.C: fix broken strerrors according to Lars
8705
8706 2003-03-29  John Levon  <levon@movementarian.org>
8707
8708         * converters.C: more Alert cleanups
8709
8710 2003-03-29  John Levon  <levon@movementarian.org>
8711
8712         * bufferview_funcs.C: remove pointless Alert
8713
8714         * buffer.C: fix confusing error message when
8715         a template is chmoded 000
8716
8717 2003-03-29  John Levon  <levon@movementarian.org>
8718
8719         * BufferView.C:
8720         * BufferView.h:
8721         * BufferView_pimpl.C: Alert fixes
8722
8723         * Makefile.am:
8724         * tabular.C:
8725         * tabular-old.C: remove unused table compat reading
8726
8727 2003-03-29  John Levon  <levon@movementarian.org>
8728
8729         * BufferView.C:
8730         * buffer.C:
8731         * lyx_cb.h:
8732         * lyx_cb.C: more Alert cleanups
8733
8734         * lyxfunc.C: don't allow chktex if not latex document
8735
8736 2003-03-29  John Levon  <levon@movementarian.org>
8737
8738         * lyx_cb.C:
8739         * BufferView.C:
8740         * buffer.C: warnings pushed down from support/,
8741         kill err_alert
8742
8743 2003-03-29  John Levon  <levon@movementarian.org>
8744
8745         * lyxfunc.C: safety check for C-r (revert)
8746
8747 2003-03-29  John Levon  <levon@movementarian.org>
8748
8749         * bufferlist.h:
8750         * bufferlist.C: several UI fixes using Alert::prompt.
8751         Fix the pointless looping quit code. Fix stupid revert
8752         behaviour (bug 938)
8753
8754         * lyxvc.h:
8755         * lyxvc.C:
8756         * lyx_cb.C: use Alert::prompt
8757
8758         * lyx_main.C: remove a silly question
8759
8760         * lyxfunc.C: remove a couple of silly questions,
8761         use Alert::prompt
8762
8763 2003-03-28  John Levon  <levon@movementarian.org>
8764
8765         * text2.C: fix bug 974 (End on empty par)
8766
8767 2003-03-28  John Levon  <levon@movementarian.org>
8768
8769         * BufferView_pimpl.C:
8770         * LyXAction.C:
8771         * lfuns.h: remove do-nothing math greek lfuns
8772
8773 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * lyxgluelength.h (isValidGlueLength): add default arg on
8776         parameter 2. Remove default arg from friend in class.
8777
8778         * lyxlength.h (isValidLength): add default arg on parameter 2.
8779         Remove default arg from friend in class.
8780
8781         * text2.C (LyXText): adjust, initialize refresh_row.
8782         (init): adjust
8783         (removeRow): adjust
8784         (insertRow): adjust
8785         (insertParagraph): adjst
8786         (redoParagraphs): adjust
8787         (fullRebreak): adjust
8788         (updateCounters): adjust
8789         (deleteEmptyParagraphMechanism): first attempt at fixing a
8790         crashing bug.
8791
8792         * text.C (top_y): adjust
8793         (setHeightOfRow): adjust
8794         (getRow): adjust
8795         (getRowNearY): adjust
8796
8797         * lyxtext.h: include RowList.h
8798         (~LyXText): not needed anymore, deleted.
8799         (firstRow): modify for RowList
8800         (lastRow): new function
8801         Delete firstrow and lastrow class variables, add a Rowlist
8802         rowlist_ class variable.
8803
8804         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8805         paragraph is empty.
8806
8807         * RowList.C (insert): fix case where it == begin().
8808
8809 2003-03-26  Angus Leeming  <leeming@lyx.org>
8810
8811         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8812         the thesaurus dialog.
8813
8814 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8815
8816         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8817
8818         * RowList.[Ch]: new files
8819
8820         * ParagraphList.C (erase): handle the case where it == begin
8821         correctly.
8822
8823 2003-03-25  John Levon  <levon@movementarian.org>
8824
8825         * Makefile.am:
8826         * aspell_local.h:
8827         * aspell.C: add new aspell support
8828
8829         * lyxrc.h:
8830         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8831         have it accessible.
8832
8833 2003-03-25  Angus Leeming  <leeming@lyx.org>
8834
8835         * lfuns.h:
8836         * LyXAction.C (init): new LFUN_INSET_INSERT.
8837
8838         * BufferView_pimpl.C (dispatch): split out part of the
8839         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8840
8841         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8842         LFUN_INSET_APPLY.
8843
8844 2003-03-25  Angus Leeming  <leeming@lyx.org>
8845
8846         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8847
8848 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8849
8850         * text2.C:
8851         * text3.C: remove useless row->height(0)
8852
8853 2003-03-25  John Levon  <levon@movementarian.org>
8854
8855         * lyxtext.h:
8856         * text2.C:
8857         * text3.C: rename the refreshing stuff to better names
8858
8859 2003-03-24  John Levon  <levon@movementarian.org>
8860
8861         * BufferView_pimpl.h:
8862         * BufferView_pimpl.C: update layout choice on a mouse
8863         press/release
8864
8865 2003-03-23  John Levon  <levon@movementarian.org>
8866
8867         * Makefile.am: fix commandtags.h reference
8868
8869 2003-03-22  John Levon  <levon@movementarian.org>
8870
8871         * BufferView_pimpl.C:
8872         * lyxtext.h:
8873         * rowpainter.C:
8874         * rowpainter.h:
8875         * text.C:
8876         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8877
8878 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8879
8880         * lyxtext.h:
8881         * text.C: take the rtl methods out of line
8882
8883 2003-03-21 André Pönitz <poenitz@gmx.net>
8884
8885         * metricsinfo.[Ch]: new files containing structures to be passed around
8886         during the two-phase-drawing...
8887
8888 2003-03-21 André Pönitz <poenitz@gmx.net>
8889
8890         * lyxtextclass.C: read 'environment' tag.
8891
8892 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8893
8894         * text2.C (removeRow): fix bug 964
8895
8896 2003-03-20  John Levon  <levon@movementarian.org>
8897
8898         * rowpainter.C:
8899         * text.C:
8900         * text2.C: paint cleanups. Inset::update() dropped font
8901         parameter
8902
8903 2003-03-19  John Levon  <levon@movementarian.org>
8904
8905         * lyxfunc.C: only fitcursor/markDirty if available()
8906
8907 2003-03-19  John Levon  <levon@movementarian.org>
8908
8909         * commandtags.h: rename to ...
8910
8911         * lfuns.h: ... this, and renumber / cleanup
8912
8913 2003-03-19  John Levon  <levon@movementarian.org>
8914
8915         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8916         fit the cursor after an lfun
8917
8918         * BufferView.h:
8919         * BufferView.C:
8920         * BufferView_pimpl.h:
8921         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8922
8923         * LyXAction.C: layout-character should have ReadOnly
8924
8925         * ParagraphParameters.C:
8926         * buffer.C:
8927         * bufferview_funcs.C:
8928         * lyx_cb.C:
8929         * lyxfind.C:
8930         * lyxtext.h:
8931         * text.C:
8932         * text2.C:
8933         * text3.C:
8934         * undo_funcs.C: changes from above
8935
8936 2003-03-18  John Levon  <levon@movementarian.org>
8937
8938         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8939         remove it from update()
8940
8941         * lyxfunc.C: update layout choice after an lfun
8942
8943         * text3.C: remove extra updateLayoutChoice()s
8944
8945 2003-03-18  John Levon  <levon@movementarian.org>
8946
8947         * text.C: top_y change means full repaint, fix
8948         a drawing bug with cursor movement
8949
8950 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8951
8952         * lyxtext.h:
8953         * text.C:
8954         * text2.C: anchor row on setCursor
8955
8956 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8957
8958         * lyxtext.h: remove almost all mutable keywords
8959         * text.C:
8960         * text2.C:
8961         * text3.C: remove const keywords accordingly
8962
8963 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8964
8965         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8966         anon namespace
8967         (TeXEnvironment): ditto
8968         (TeXOnePar): ditto
8969
8970 2003-03-17  John Levon  <levon@movementarian.org>
8971
8972         * text.C (rowBreakPoint): remove attempt to fix displayed
8973         math insets inside a manual label
8974
8975 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8976
8977         * lyxtext.h: remove BufferView* as first arg from almost all class
8978         functions.
8979         * other files: adjust.
8980
8981 2003-03-17  John Levon  <levon@movementarian.org>
8982
8983         * lyxtext.h:
8984         * undo_funcs.C:
8985         * text2.C: more paint cleanups
8986
8987         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8988
8989         * rowpainter.h:
8990         * rowpainter.C: remove "smart" background painting code
8991
8992 2003-03-16  John Levon  <levon@movementarian.org>
8993
8994         * lyxtext.h:
8995         * text.C:
8996         * text2.C:
8997         * text3.C: add helper functions for setting refresh_row/y
8998
8999 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9000
9001         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9002         newline inset which *can* get inserted in the pass_thru layouts.
9003         This is primarily for literate documents.
9004
9005 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9006
9007         * buffer.C: increment LYX_FORMAT to 223
9008
9009 2003-03-14 André Pönitz <poenitz@gmx.net>
9010
9011         * textclass.h: prepare for environment handling, ws changes
9012         * lyxlayout.C: read latexheader and latexfooter tags
9013
9014 2003-03-14  John Levon  <levon@movementarian.org>
9015
9016         * text2.C: rewrite ::status() a bit
9017
9018 2003-03-13  John Levon  <levon@movementarian.org>
9019
9020         * lyxtext.h: add some docs
9021
9022 2003-03-13  John Levon  <levon@movementarian.org>
9023
9024         * lyxtext.h:
9025         * text.C:
9026         * text2.C:
9027         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9028
9029 2003-03-13  John Levon  <levon@movementarian.org>
9030
9031         * text3.C: fix appendix redrawing
9032
9033 2003-03-13  John Levon  <levon@movementarian.org>
9034
9035         * text.C (setHeightOfRow):
9036         * rowpainter.h:
9037         * rowpainter.C: make appendix mark have the text
9038           "Appendix" so the user knows what it is
9039
9040         * LColor.h:
9041         * LColor.C: s/appendixline/appendix/ from above
9042
9043 2003-03-13  John Levon  <levon@movementarian.org>
9044
9045         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9046
9047         * text.C: fix a getChar(pos) bug properly
9048
9049 2003-03-13  Angus Leeming  <leeming@lyx.org>
9050
9051         * commandtags.h:
9052         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9053         Probably only temporary. Let's see how things pan out.
9054
9055         * BufferView.C (unlockInset):
9056         * BufferView_pimpl.C (fitCursor):
9057         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9058
9059         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9060         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9061
9062         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9063         new functions that convert ParagraphParameters to and from a string.
9064
9065         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9066         BufferView::Pimpl's dispatch.
9067         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9068
9069 2003-03-13 André Pönitz <poenitz@gmx.net>
9070
9071         * lyxfunc.C:
9072         * text3.C:
9073         * factory.C: make it aware of InsetEnv
9074
9075 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9076
9077         * text2.C (setCursor): never ask for one past last
9078         (setCursor): add some debugging messages.
9079
9080         * text.C (singleWidth): never ask for one past last
9081         (singleWidth): ditto
9082         (leftMargin): ditto
9083         (rightMargin): ditto
9084         (rowBreakPoint): ditto
9085         (setHeightOfRow): ditto
9086         (prepareToPrint): ditto
9087
9088         * rowpainter.C (paintBackground): never ask for one past last
9089         (paintText): never ask for one past last
9090
9091         * paragraph_pimpl.C (getChar): make the assert stricter, never
9092         allow the one past last pos to be taken
9093
9094         * paragraph.C (getChar): ws changes only
9095
9096         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9097         (numberOfSeparators): ditto
9098         (numberOfHfills): ditto
9099
9100 2003-03-12  John Levon  <levon@movementarian.org>
9101
9102         * author.h:
9103         * author.C:
9104         * bufferparams.h:
9105         * bufferparams.C:
9106         * paragraph_funcs.C: fix per-buffer authorlists
9107
9108 2003-03-12  John Levon  <levon@movementarian.org>
9109
9110         * text.C: fix newline in right address
9111
9112 2003-03-12  Angus Leeming  <leeming@lyx.org>
9113
9114         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9115         duplicate those in LyXFunc::dispatch.
9116
9117         * commandtags.h:
9118         * LyXAction.C:
9119         * ToolbarDefaults.C:
9120         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9121         Add LFUN_FONTFREE_UPDATE.
9122
9123         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9124         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9125
9126         * bufferview_func.[Ch]: several new functions to facilliate
9127         transfer of data to and from the character dialog.
9128
9129 2003-03-12  John Levon  <levon@movementarian.org>
9130
9131         * buffer.C:
9132         * paragraph.h:
9133         * paragraph.C:
9134         * paragraph_funcs.C:
9135         * paragraph_pimpl.C:
9136         * sgml.C:
9137         * tabular.C:
9138         * text.C:
9139         * text3.C: remove META_NEWLINE in favour of an inset
9140
9141         * rowpainter.h:
9142         * rowpainter.C: remove paintNewline (done by inset)
9143
9144 2003-03-12  John Levon  <levon@movementarian.org>
9145
9146         * paragraph_pimpl.C: complain about bad getChar()s
9147         for a while at least
9148
9149 2003-03-12  John Levon  <levon@movementarian.org>
9150
9151         * buffer.h:
9152         * buffer.C: move paragraph read into a separate function,
9153         a little renaming to reflect that.
9154
9155         * bufferparams.h:
9156         * bufferparams.C: remove the author_ids map, not necessary now
9157
9158         * factory.h:
9159         * factory.C: moved Buffer::readInset to here
9160
9161         * paragraph_funcs.h:
9162         * paragraph_funcs.C: readParagraph free function moved from
9163         buffer.C
9164
9165         * tabular.C: name change
9166
9167 2003-03-12  John Levon  <levon@movementarian.org>
9168
9169         * buffer.C:
9170         * ParagraphParameters.C: move par params input to
9171         a read() method
9172
9173         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9174         behave like a normal read from the stream wrt reading
9175         a line vs. a \\token
9176
9177 2003-03-12  John Levon  <levon@movementarian.org>
9178
9179         * paragraph.C:
9180         * ParagraphParameters.h:
9181         * ParagraphParameters.C: move output code to a
9182         ::write() method
9183
9184 2003-03-12  John Levon  <levon@movementarian.org>
9185
9186         * BufferView.C (insertLyXFile):
9187         * buffer.h:
9188         * buffer.C:
9189         * tabular.C: use a parlist iterator for creating the
9190           document.
9191
9192 2003-03-12  John Levon  <levon@movementarian.org>
9193
9194         * buffer.C: make current_change static local not
9195           static file-scope
9196
9197 2003-03-12  John Levon  <levon@movementarian.org>
9198
9199         * buffer.C: fix insertStringAsLines for change tracking
9200
9201 2003-03-12  John Levon  <levon@movementarian.org>
9202
9203         * BufferView.C:
9204         * tabular.C:
9205         * buffer.h:
9206         * buffer.C:
9207         * bufferparams.h:
9208         * bufferparams.C: move author list into params. Rename some
9209           functions. Move the header reading into a separate token
9210           loop. Move the header token reading into BufferParams.
9211
9212 2003-03-12  John Levon  <levon@movementarian.org>
9213
9214         * changes.C: put debug inside lyxerr.debugging() checks
9215
9216 2003-03-11 André Pönitz <poenitz@gmx.net>
9217
9218         * factory.C: make it aware of InsetHFill
9219
9220 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9221
9222         * buffer.C (latexParagraphs): move function from here...
9223         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9224         args.
9225
9226 2003-03-10  Angus Leeming  <leeming@lyx.org>
9227
9228         * LyXAction.C (init): fix bug in poplating array with multiple entries
9229         with the same LFUN (spotted by JMarc).
9230
9231 2003-03-10  John Levon  <levon@movementarian.org>
9232
9233         * text.C:
9234         * text2.C: move getColumnNearX() near its
9235         only call site
9236
9237 2003-03-10  John Levon  <levon@movementarian.org>
9238
9239         * text.C: fix break before a minipage
9240
9241 2003-03-10  John Levon  <levon@movementarian.org>
9242
9243         * text.C: fix the last commit
9244
9245 2003-03-09  John Levon  <levon@movementarian.org>
9246
9247         * lyxtext.h:
9248         * text.C:
9249         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9250         bug 365 (don't break before insets unless needed). Don't
9251         return a value > last under any circumstances.
9252
9253 2003-03-09  Angus Leeming  <leeming@lyx.org>
9254
9255         * BufferView_pimpl.C (trackChanges, dispatch): call
9256         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9257
9258 2003-03-09  Angus Leeming  <leeming@lyx.org>
9259
9260         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9261         than Dialogs::showAboutlyx().
9262
9263 2003-03-09  Angus Leeming  <leeming@lyx.org>
9264
9265         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9266         than Dialogs::showTabularCreate().
9267
9268 2003-03-09  John Levon  <levon@movementarian.org>
9269
9270         * lyxtext.h:
9271         * text.C:
9272         * text2.C: 3rd arg to nextBreakPoint was always the same.
9273           Use references.
9274
9275 2003-03-08  John Levon  <levon@movementarian.org>
9276
9277         * lyxrow.C:
9278         * paragraph.C:
9279         * paragraph.h:
9280         * rowpainter.C:
9281         * text.C:
9282         * text2.C: Remove the "main" bit from the "main body"
9283           notion.
9284
9285 2003-03-08  John Levon  <levon@movementarian.org>
9286
9287         * text.C (leftMargin): The left margin of an empty
9288         manual label paragraph should not include the label width
9289         string length.
9290
9291         * text.C (prepareToPrint): don't attempt to measure hfills
9292         for empty manual label paragraphs - the answer should be 0
9293
9294 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * CutAndPaste.C: remove commented code and reindent.
9297
9298 2003-03-08  John Levon  <levon@movementarian.org>
9299
9300         * lyxfunc.h:
9301         * lyxfunc.C: move reloadBuffer()
9302
9303         * BufferView.h:
9304         * BufferView.C: to here
9305
9306         * lyxvc.C: add comment
9307
9308         * vc-backend.h:
9309         * vc-backend.C: call bv->reload() to avoid
9310           getStatus() check on MENURELOAD
9311
9312 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9313
9314         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9315         to an old format .dep file.
9316
9317 2003-03-07  Angus Leeming  <leeming@lyx.org>
9318
9319         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9320         when the LFUN_MOUSE_RELEASE should have been handled by
9321         inset->localDispatch.
9322
9323 2003-03-07  Angus Leeming  <leeming@lyx.org>
9324
9325         * BufferView_pimpl.C (dispatch):
9326         * LyXAction.C (init):
9327         * ToolbarDefaults.C (init):
9328         * commandtags.h:
9329         * lyxfunc.C (getStatus):
9330         remove LFUN_INSET_GRAPHICS.
9331
9332         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9333
9334 2003-03-07  Angus Leeming  <leeming@lyx.org>
9335
9336         * commandtags.h:
9337         * LyXAction.C (init):
9338         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9339
9340         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9341
9342         * commandtags.h:
9343         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9344
9345         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9346         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9347
9348 2003-03-07  Angus Leeming  <leeming@lyx.org>
9349
9350         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9351         remove "ert".
9352
9353 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9354
9355         * ParagraphList.C (front): new function
9356         (back): implement
9357
9358 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9359
9360         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9361         and top_row_offset_. removed var first_y.
9362         * text.C (top_y):
9363         * text2.C (LyXText, removeRow):
9364         * text3.C:
9365         * BufferView_pimpl.C:
9366         use these methods instead of using first_y
9367
9368 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9369
9370         * text2.C (pasteSelection): adjust for checkPastePossible
9371
9372         * CutAndPaste.C: remove Paragraph * buf and replace with
9373         ParagraphList paragraphs.
9374         (DeleteBuffer): delete
9375         (cutSelection): change the tc type to textclass_type
9376         (copySelection): change the tc type to textclass_type
9377         (copySelection): adjust for ParagraphList
9378         (pasteSelection): change the tc type to textclass_type
9379         (pasteSelection): adjust for Paragraphlist
9380         (nrOfParagraphs): simplify for ParagraphList
9381         (checkPastePossible): simplify for ParagraphList
9382         (checkPastePossible): remove unused arg
9383
9384         * ParagraphList.C (insert): handle the case where there are no
9385         paragraphs yet.
9386
9387         * CutAndPaste.h: make CutAndPaste a namespace.
9388
9389         * text3.C (dispatch): adjust
9390
9391         * text.C (breakParagraph): add a ParagraphList as arg
9392
9393         * paragraph_funcs.C (breakParagraph): change to take a
9394         BufferParams and a ParagraphList as args.
9395         (breakParagraphConservative): ditto
9396         (mergeParagraph): ditto
9397         (TeXDeeper): add a ParagraphList arg
9398         (TeXEnvironment): ditto
9399         (TeXOnePar): ditto
9400
9401         * buffer.C (readLyXformat2): adjust
9402         (insertStringAsLines): adjust
9403         (latexParagraphs): adjust
9404
9405         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9406         (cutSelection): adjust
9407         (pasteSelection): adjust
9408
9409         * BufferView_pimpl.C (insertInset): adjust
9410
9411 2003-03-05  Angus Leeming  <leeming@lyx.org>
9412
9413         * commandtags.h:
9414         * LyXAction.C (init):
9415         * BufferView_pimpl.C (dispatch):
9416         * lyxfunc.C (getStatus):
9417         remove LFUN_CHILD_INSERT.
9418
9419         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9420
9421 2003-03-05  Angus Leeming  <leeming@lyx.org>
9422
9423         * commandtags.h:
9424         * LyXAction.C (init):
9425         * src/factory.C (createInset):
9426         * lyxfunc.C (getStatus):
9427         * text3.C (dispatch):
9428         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9429
9430         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9431
9432 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9433
9434         * ParagraphList.C (insert): handle insert right before end()
9435         (erase): fix cases where it can be first or last paragraph.
9436
9437 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9438
9439         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9440         Paragraph::next and Paragraph::previous
9441         (TeXOnePar): ditto
9442
9443         * text.C (breakParagraph): adjust
9444
9445         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9446         BufferParams& as arg.
9447         (breakParagraph): use ParagraphList::insert
9448         (breakParagraphConservative): take a Buffer* instead of a
9449         BufferParams& as arg.
9450         (breakParagraphConservative): use ParagraphList::insert.
9451
9452         * buffer.C (insertStringAsLines): un-const it
9453         (insertStringAsLines): adjust
9454
9455         * ParagraphList.C (insert): new function
9456
9457         * CutAndPaste.C (pasteSelection): adjust
9458
9459         * text.C (backspace): adjust
9460
9461         * tabular.C (SetMultiColumn): adjust
9462
9463         * CutAndPaste.C (cutSelection): adjust
9464         (pasteSelection): adjust
9465
9466         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9467         Buffer const * as arg
9468
9469         * ParagraphList.C (erase): new function
9470         * paragraph_funcs.C (mergeParagraph): use it
9471         (mergeParagraph): make it take a Buffer* instead of a
9472         BufferParams* as arg
9473
9474         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9475         as arg
9476         (breakParagraphConservative): ditto
9477
9478         * paragraph.h: remove the breakParagraph friend
9479
9480         * paragraph.C (eraseIntern): new function
9481         (setChange): new function
9482
9483         * paragraph_funcs.C (mergeParagraph): make it take a
9484         ParagraphList::iterator instead of a Paragraph *, adjust
9485         accordingly.
9486
9487         * paragraph.h: move an #endif so that the change tracking stuff
9488         also works in the NO_NEXT case.
9489
9490 2003-03-04  Angus Leeming  <leeming@lyx.org>
9491
9492         * commandtags.h:
9493         * LyXAction.C: new LFUN_INSET_MODIFY.
9494
9495         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9496         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9497
9498 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9499
9500         * several files: ws changes only
9501
9502         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9503         (TeXEnvironment): ditto
9504         (TeXDeeper): ditto
9505
9506         * buffer.C (makeLaTeXFile): adjust
9507         (latexParagraphs): make it take ParagraphList::iterator as args
9508
9509 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9510
9511         * buffer.C (latexParagraphs): adjust
9512
9513         * paragraph.C (TeXOnePar): move function...
9514         (optArgInset): move function...
9515         (TeXEnvironment): move function...
9516         * paragraph_pimpl.C (TeXDeeper): move function...
9517         * paragraph_funcs.C: ...here
9518
9519         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9520
9521 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9522
9523         * buffer.C (readInset): remove compability code for old Figure and
9524         InsetInfo insets
9525
9526 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9527
9528         * buffer.C: ws changes
9529         (readInset):
9530
9531         * BufferView_pimpl.C: ditto
9532         * author.C: ditto
9533         * buffer.h: ditto
9534         * bufferlist.h: ditto
9535         * changes.h: ditto
9536         * lyxfunc.C: ditto
9537
9538 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9539
9540         * converter.[Ch]: split into itself +
9541         * graph.[Ch]
9542         * format.[Ch]
9543         * Makefile.am: += graph.[Ch] + format.[Ch]
9544         * MenuBackend.C
9545         * buffer.C
9546         * exporter.C
9547         * importer.C
9548         * lyx_main.C
9549         * lyxfunc.C
9550         * lyxrc.C: added #include "format.h"
9551
9552 2003-02-27  Angus Leeming  <leeming@lyx.org>
9553
9554         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9555           a label.
9556
9557         * factory.C (createInset): add "label" to the factory.
9558
9559         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9560           string and do no more.
9561
9562 2003-02-27  Angus Leeming  <leeming@lyx.org>
9563
9564         * commandtags.h:
9565         * LyXAction.C (init):
9566         * factory.C (createInset):
9567         * BufferView_pimpl.C (dispatch):
9568           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9569
9570         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9571
9572         * lyxfunc.C (dispatch):
9573         * text3.C (dispatch): pass name to params2string.
9574
9575 2003-02-26  Angus Leeming  <leeming@lyx.org>
9576
9577         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9578           blocks together.
9579           Rearrange the ~includes. Strip out the unnecessary ones.
9580
9581         * factory.C (createInset): reformat.
9582           create new insets for the various LFUN_XYZ_APPLY lfuns.
9583
9584 2003-02-26  John Levon  <levon@movementarian.org>
9585
9586         * lyxrow.h:
9587         * lyxrow.C: add isParStart,isParEnd helpers
9588
9589         * paragraph.h: make isInserted/DeletedText take refs
9590
9591         * paragraph_funcs.h:
9592         * paragraph_funcs.C: remove #if 0'd code
9593
9594         * lyxtext.h:
9595         * text3.C:
9596         * text2.C:
9597         * text.C: use lyxrow helpers above.
9598           Move draw and paint routines to RowPainter.
9599           Make several methods use refs not pointers.
9600           Make backgroundColor() const.
9601           Add markChangeInDraw(), isInInset().
9602           Merge changeRegionCase into changeCase.
9603           Make workWidth() shouldn't-happen code into an Assert.
9604
9605         * rowpainter.h:
9606         * rowpainter.C: new class for painting a row.
9607
9608         * vspace.h:
9609         * vspace.C: make inPixels take a ref
9610
9611 2003-02-26  Angus Leeming  <leeming@lyx.org>
9612
9613         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9614         LFUN_REF_APPLY.
9615
9616 2003-02-25  John Levon  <levon@movementarian.org>
9617
9618         * ispell.C: give the forked command a more accurate name
9619
9620 2003-02-22  John Levon  <levon@movementarian.org>
9621
9622         * toc.h:
9623         * toc.C: make TocItem store an id not a Paragraph *
9624           (bug #913)
9625
9626 2003-02-21  Angus Leeming  <leeming@lyx.org>
9627
9628         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9629           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9630           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9631           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9632           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9633           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9634
9635         * BufferView_pimpl.C (dispatch):
9636         * LyXAction.C (init):
9637         * factory.C (createInset):
9638         * lyxfunc.C (getStatus, dispatch):
9639         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9640
9641 2003-02-21  Angus Leeming  <leeming@lyx.org>
9642
9643         * BufferView_pimpl.C (MenuInsertLyXFile):
9644         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9645         * lyxfunc.C (menuNew, open, doImport):
9646           no longer pass a LyXView & to fileDlg.
9647
9648 2003-02-21  Angus Leeming  <leeming@lyx.org>
9649
9650         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9651         * LyXAction.C: change, BIBKEY to BIBITEM.
9652         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9653         Change InsetBibKey to InsetBibitem.
9654         Change BIBKEY_CODE to BIBITEM_CODE.
9655         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9656         * factory.C: replace insetbib.h with insetbibitem.h.
9657         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9658         * paragraph.C: replace insetbib.h with insetbibitem.h.
9659         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9660         Change bibkey() to bibitem().
9661         * text.C: remove insetbib.h.
9662         * text2.C: replace insetbib.h with insetbibitem.h.
9663         change bibkey() to bibitem().
9664         * text3.C: remove insetbib.h.
9665         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9666
9667 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9668
9669         * lyxrc.C (output): enclose user email in quotes (in case there are
9670         several words)
9671
9672 2003-02-18  John Levon  <levon@movementarian.org>
9673
9674         * buffer.h: add std::
9675
9676 2003-02-17  John Levon  <levon@movementarian.org>
9677
9678         * SpellBase.h:
9679         * ispell.h:
9680         * ispell.C:
9681         * pspell.h:
9682         * pspell.C: reworking. Especially in ispell, a large
9683           number of clean ups and bug fixes.
9684
9685         * lyxfunc.C: fix revert to behave sensibly
9686
9687 2003-02-17 André Pönitz <poenitz@gmx.net>
9688
9689         * LyXAction.C:
9690         * commandtags.h: new LFUN_INSERT_BIBKEY
9691
9692         * layout.h:
9693         * lyxlayout.C:
9694         * buffer.C:
9695         * factory.C:
9696         * text.C:
9697         * text2.C:
9698         * text3.C:
9699         * paragraph.[Ch]:
9700         * paragraph_func.C: remove special bibkey handling
9701
9702 2003-02-17  John Levon  <levon@movementarian.org>
9703
9704         * text.C (Delete): fix case where delete at the end of
9705           the very first paragraph would not merge the pars
9706
9707 2003-02-17  John Levon  <levon@movementarian.org>
9708
9709         * lyxrow.C: fix lastPrintablePos()
9710
9711 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9712
9713         * bufferparams.C (writeLaTeX): add a std:here
9714
9715         * buffer.C: and remove a using directive there
9716
9717 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9718
9719         * buffer.C (makeLaTeXFile): move the code that generates the
9720           preamble...
9721
9722         * bufferparams.C (writeLaTeX): ... in this new method
9723
9724         * LaTeXFeatures.C (getEncodingSet): make const
9725           (getLanguages): make const
9726
9727         * MenuBackend.C (binding): returns the binding associated to this
9728           action
9729           (add): sets the status of each item by calling getStatus. Adds
9730           some intelligence.
9731           (read): add support for OptSubMenu
9732           (expand): remove extra separator at the end of expanded menu
9733
9734 2003-02-15  John Levon  <levon@movementarian.org>
9735
9736         * BufferView.C:
9737         * BufferView_pimpl.C:
9738         * bufferlist.h:
9739         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9740           inset code that had no actual effect. Remove unneeded status
9741           code.
9742
9743 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9744
9745         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9746           in preamble
9747
9748 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9749
9750         * text.C (drawLengthMarker): also draw an arrow marker for
9751           symbolic lengths (medskip...)
9752
9753 2003-02-14  John Levon  <levon@movementarian.org>
9754
9755         * tabular.h:
9756         * tabular.C: better method names
9757
9758 2003-02-14  John Levon  <levon@movementarian.org>
9759
9760         * BufferView_pimpl.C:
9761         * bufferlist.C:
9762         * buffer.C:
9763         * converter.C:
9764         * lyx_cb.C:
9765         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9766           it's a more accurate name. Remove some pointless uses.
9767
9768 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9769
9770         * text2.C (LyXText): change order of initilizers to shut off
9771           warnings
9772
9773 2003-02-14  John Levon  <levon@movementarian.org>
9774
9775         * buffer.C: use ParIterator for getParFromID()
9776
9777         * paragraph.h:
9778         * paragraph.C:
9779         * paragraph_pimpl.h:
9780         * paragraph_pimpl.C: remove unused getParFromID()
9781
9782 2003-02-14  John Levon  <levon@movementarian.org>
9783
9784         * buffer.C: remove some very old #if 0'd parse code
9785
9786 2003-02-13  John Levon  <levon@movementarian.org>
9787
9788         * text.h:
9789         * text.C:
9790         * text2.C: move hfillExpansion(), numberOfSeparators(),
9791           rowLast(), rowLastPrintable(), numberofHfills(),
9792           numberOfLabelHfills() ...
9793
9794         * lyxrow.h:
9795         * lyxrow.C: ... to member functions here.
9796
9797         * paragraph.h:
9798         * paragraph.C:
9799         * lyxtext.h:
9800         * text.C: remove LyXText::beginningOfMainBody(), and call
9801           p->beginningOfMainBody() directly. Move the check for
9802           LABEL_MANUAL into the latter.
9803
9804         * text.h:
9805         * text.C:
9806         * text2.C:
9807         * vspace.C:
9808         * BufferView.h:
9809         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9810
9811         * text.h:
9812         * text.C:
9813         * text2.C:
9814         * text3.C:
9815         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9816           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9817
9818 2003-02-13  John Levon  <levon@movementarian.org>
9819
9820         * CutAndPaste.C: remove debug
9821
9822 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9823
9824         * paragraph.C (asString): remove two unused variables
9825
9826         * lyxtextclass.C (readTitleType):
9827           (Read):
9828           (LyXTextClass): handle new members titletype_ and titlename_
9829
9830         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9831
9832 2003-02-09  John Levon  <levon@movementarian.org>
9833
9834         * buffer.h:
9835         * buffer.C: replace hand-coded list with a map for the dep clean
9836
9837 2003-02-08  John Levon  <levon@movementarian.org>
9838
9839         * LaTeX.C: consolidate code into showRunMessage() helper
9840
9841 2003-02-08  John Levon  <levon@movementarian.org>
9842
9843         * lyxfind.C:
9844         * lyxtext.h:
9845         * text2.C:
9846         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9847           and pass the size in explicitly
9848
9849         * BufferView_pimpl.h:
9850         * BufferView_pimpl.C:
9851         * BufferView.h:
9852         * BufferView.C: add getCurrentChange()
9853
9854         * BufferView_pimpl.h:
9855         * BufferView_pimpl.C: handle change lfuns
9856
9857         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9858           for changes. Mark pasted paragraphs as new.
9859
9860         * support/lyxtime.h:
9861         * support/lyxtime.C:
9862         * DepTable.C: abstract time_t as lyx::time_type
9863
9864         * LColor.h:
9865         * LColor.C: add colours for new text, deleted text, changebars
9866
9867         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9868           package use "usenames" option.
9869
9870         * commandtags.h:
9871         * lyxfunc.C:
9872         * LyXAction.C: add change lfuns
9873
9874         * Makefile.am:
9875         * author.h:
9876         * author.C: author handling
9877
9878         * buffer.h:
9879         * buffer.C: add a per-buffer author list, with first entry as
9880           current author. Handle new .lyx tokens for change tracking. Output
9881           author list to .lyx file. Output dvipost stuff to .tex preamble.
9882           Bump lyx format to 222.
9883
9884         * bufferlist.h:
9885         * bufferlist.C: add setCurrentAuthor() to reset current author details
9886           in all buffers.
9887
9888         * bufferparams.h:
9889         * bufferparams.C: add param for tracking
9890
9891         * bufferview_funcs.C: output change info in minibuffer
9892
9893         * Makefile.am:
9894         * changes.h:
9895         * changes.C: add change-tracking structure
9896
9897         * debug.h:
9898         * debug.C: add CHANGES debug flag
9899
9900         * lyxfind.h:
9901         * lyxfind.C: add code for finding the next change piece
9902
9903         * lyxrc.h:
9904         * lyxrc.C: add user_name and user_email
9905
9906         * lyxrow.h:
9907         * lyxrow.C: add a metric for the top of the text line
9908
9909         * lyxtext.h:
9910         * text.C: implement accept/rejectChange()
9911
9912         * lyxtext.h:
9913         * text.C: paint changebars. Paint new/deleted text in the chosen
9914         colours. Strike through deleted text.
9915
9916         * paragraph.h:
9917         * paragraph.C:
9918         * paragraph_pimpl.h:
9919         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9920           in the current change to the insert functions. Rework erase to
9921           mark text as deleted, adding an eraseIntern() and a range-based
9922           erase(). Implement per-paragraph change lookup and
9923           accept/reject.
9924
9925         * paragraph_funcs.C: Fixup paste for change tracking.
9926
9927         * tabular.C: mark added row/columns as new.
9928
9929         * text.C: fix rowLast() to never return -1. Don't allow
9930           spellchecking of deleted text. Track transpose changes. Don't
9931           allow paragraph break or merge where appropriate.
9932
9933         * text2.C: leave cursor at end of selection after a cut.
9934
9935 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9936
9937         * text.C (getLengthMarkerHeight):
9938         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9939         visible on screen too.
9940
9941 2003-02-07  John Levon  <levon@movementarian.org>
9942
9943         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9944
9945 2003-02-05  Angus Leeming  <leeming@lyx.org>
9946
9947         * lyxserver.C (read_ready): revert my patch of 11 September last year
9948         as it sends PC cpu through the roof. Presumably this means that
9949         the lyxserver will no longer run on an Alpha...
9950
9951 2003-01-30  Angus Leeming  <leeming@lyx.org>
9952
9953         * factory.C (createInset): create an InsetCommandParam of type "index"
9954         and use it to 'do the right thing'.
9955
9956         * text2.C (getStringToIndex): ensure that cursor position is always
9957         reset to the reset_cursor position.
9958
9959 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9960
9961         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9962         disabled.
9963
9964 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9965
9966         * bufferview.C:
9967         * lyxcb.C:
9968         * lyxfunc.C: Output messages with identical spelling, punctuation,
9969         and spaces
9970
9971 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9972
9973         * MenuBackend.C (expandFormats): List only viewable export formats
9974         in "View" menu
9975
9976         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9977         message
9978
9979         * lyxfunc.C (getStatus): Make sure that formats other than
9980         "fax" can also be disabled
9981
9982 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9983
9984         * text3.C (dispatch): put the lfuns that insert insets in 3
9985         groups, and call doInsertInset with appropriate arguments.
9986         (doInsertInset): new function, that creates an inset and inserts
9987         it according to some boolean parameters.
9988
9989 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9990
9991         * buffer.C (readFile): remember to pass on 'par' when calling
9992         readFile recursively.
9993
9994 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9995
9996         * MenuBackend.C (expandFormats): add "..." to import formats.
9997
9998 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9999
10000         * paragraph.C (asString): Remove XForms RTL hacks.
10001
10002 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10003         * buffer.C: fix typo
10004
10005 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10006
10007         * Makefile.am (LIBS): delete var
10008         (lyx_LDADD): add @LIBS@ here instead.
10009
10010 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10011
10012         * Clarify the meaning of "wheel mouse jump"
10013
10014 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10015
10016         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10017         tabular in a float
10018
10019 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10020
10021         * importer.C (Loaders): do not preallocate 3 elements in the
10022         vector, since one ends up with 6 elements otherwise
10023
10024 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10025
10026         * DepTable.C (write): write the file name as last element of the
10027         .dep file (because it may contain spaces)
10028         (read): read info in the right order
10029
10030 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10031
10032         * paragraph_pimpl.C (simpleTeXBlanks):
10033         (simpleTeXSpecialChars):
10034         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10035
10036         * tabular.C (latex): add some missing case statements. Reindent.
10037
10038         * MenuBackend.C (expandToc): remove unused variable.
10039
10040 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10041
10042         * LColor.C:
10043         * LaTeX.C:
10044         * LyXAction.C:
10045         * MenuBackend.C:
10046         * buffer.C:
10047         * exporter.C:
10048         * lyxfunc.C:
10049         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10050         and the like.
10051
10052 2003-01-05  John Levon  <levon@movementarian.org>
10053
10054         * BufferView.h:
10055         * BufferView.C: add getEncoding()
10056
10057         * kbsequence.h:
10058         * kbsequence.C: do not store last keypress
10059
10060         * lyxfunc.h:
10061         * lyxfunc.C: store last keypress here instead. Pass encoding
10062           to getISOEncoded()
10063
10064 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10065
10066         * lyx_main.C (init): remove annoying error message when following
10067         symbolic links (bug #780)
10068
10069 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10070
10071         * text.C (insertChar):
10072         * lyxrc.C (getDescription): remove extra spaces
10073
10074 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10075
10076         * lyxrc.C (getDescription): remove extra spaces
10077
10078 2002-12-20  John Levon  <levon@movementarian.org>
10079
10080         * text3.C: hack fix for page up/down across tall rows
10081
10082 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10083
10084         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10085         not been invoked
10086
10087 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10088
10089         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10090         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10091         thesaurus is not compiled in
10092
10093 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10094
10095         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10096
10097 2002-12-16  Angus Leeming  <leeming@lyx.org>
10098
10099         * lyxrc.[Ch]:
10100         * lyx_main.C (init): remove override_x_deadkeys stuff.
10101
10102 2002-12-12  John Levon  <levon@movementarian.org>
10103
10104         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10105           insert. Only remove shift modifier under strict
10106           circumstances.
10107
10108 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10109
10110         * MenuBackend.C (expandToc): fix crash.
10111
10112 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10113
10114         * MenuBackend.C (expandToc): gettext on float names.
10115
10116 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10117
10118         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10119         implement bool empty() [bug 490]
10120
10121 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10122
10123         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10124
10125 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10126
10127         * several files: ws changes
10128
10129 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10130
10131         * text2.C (setCounter): clean up a bit, use boost.format.
10132         (updateCounters): initialize par upon declaration.
10133
10134         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10135         if the layout exists. We do not just store the layout any more.
10136         (SwitchLayoutsBetweenClasses): use boost.format
10137
10138 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10139
10140         * converter.C (convert): if from and to files are the same, use a
10141         temporary files as intermediary
10142
10143 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10144
10145         * commandtags.h:
10146         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10147
10148 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10149
10150         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10151
10152 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10153
10154         * tabular.C (asciiPrintCell): use string(size, char) instead of
10155         explicit loop.
10156
10157         * sgml.C (openTag): fix order of arguments to string constructor
10158         (closeTag): ditto
10159
10160         * lyxfunc.C (dispatch): use boost.format
10161
10162         * lots of files: change "c" -> 'c'
10163
10164 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10165
10166         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10167
10168 2002-11-25  Angus Leeming  <leeming@lyx.org>
10169
10170         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10171
10172         * lyx_main.C (init): compile fix.
10173
10174 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10175
10176         * lyx_cb.C (start): boost.formatify
10177         do not include <iostream>
10178
10179         * lengthcommon.C: ws only
10180
10181         * boost-inst.C,BoostFormat.h: add more explict instantations
10182
10183 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10184
10185         * lots of files: handle USE_BOOST_FORMAT
10186
10187 2002-11-21  John Levon  <levon@movementarian.org>
10188
10189         * pspell.C: fix compile
10190
10191 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10192
10193         * lyxfunc.C (dispatch): use boost::format
10194         (open): ditto
10195         (doImport): ditto
10196
10197         * lyxfont.C (stateText): use boost::format
10198
10199         * lyx_main.C (LyX): use boost::format
10200         (init): ditto
10201         (queryUserLyXDir): ditto
10202         (readRcFile): ditto
10203         (parse_dbg): ditto
10204         (typedef boost::function): use the recommened syntax.
10205
10206         * importer.C (Import): use boost::format
10207
10208         * debug.C (showLevel): use boost::format
10209
10210         * converter.C (view): use boost::format
10211         (convert): ditto
10212         (move): ditto
10213         (scanLog): ditto
10214
10215         * bufferview_funcs.C (currentState): use boost::format
10216
10217         * bufferlist.C (emergencyWrite): use boost::format
10218
10219         * buffer.C (readLyXformat2): use boost::format
10220         (parseSingleLyXformat2Token): ditto
10221
10222         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10223
10224         * LaTeX.C (run): use boost::format
10225
10226         * Chktex.C (scanLogFile): use boost::format
10227
10228         * BufferView_pimpl.C (savePosition): use boost::format
10229         (restorePosition): ditto
10230         (MenuInsertLyXFile): ditto
10231
10232         * BoostFormat.h: help file for explicit instation.
10233
10234 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10235
10236         * tabular.C (latex): Support for block alignment in fixed width
10237         columns.
10238
10239 2002-11-17  John Levon  <levon@movementarian.org>
10240
10241         * BufferView_pimpl.C:
10242         * lyx_cb.C:
10243         * lyxfunc.C: split filedialog into open/save
10244
10245 2002-11-08  Juergen Vigna  <jug@sad.it>
10246
10247         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10248         by my last patch (hopefully).
10249
10250 2002-11-08  John Levon  <levon@movementarian.org>
10251
10252         * iterators.h:
10253         * iterators.C:
10254         * buffer.h:
10255         * buffer.C:
10256         * paragraph.h:
10257         * paragraph.C:
10258         * toc.h:
10259         * toc.C: ParConstIterator, and use it (from Lars)
10260
10261 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10262
10263         * lyxtextclass.[Ch]: revise and add doxygen comments
10264
10265 2002-11-07  John Levon  <levon@movementarian.org>
10266
10267         * text.C: fix progress value for spellchecker
10268
10269         * toc.C: fix navigate menu for insetwrap inside minipage
10270
10271         * paragraph_funcs.C: added FIXME for suspect code
10272
10273 2002-11-07  John Levon  <levon@movementarian.org>
10274
10275         * BufferView_pimpl.C: fix redrawing of insets
10276           on buffer switch
10277
10278 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10279
10280         * text2.C (updateCounters): fix bug 668
10281
10282 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10283
10284         * text3.C (dispatch): Do not make the buffer dirty when moving the
10285         cursor.
10286
10287 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10288
10289         * vc-backend.C: STRCONV
10290         (scanMaster): ditto
10291
10292         * text2.C (setCounter): STRCONV
10293
10294         * paragraph.C (asString): STRCONV
10295
10296         * lyxlength.C (asString): STRCONV
10297         (asLatexString): ditto
10298
10299         * lyxgluelength.C (asString): STRCONV
10300         (asLatexString): ditto
10301
10302         * lyxfunc.C (dispatch): STRCONV
10303         (open): ditto
10304
10305         * lyxfont.C (stateText): STRCONV
10306
10307         * importer.C (Import): STRCONV
10308
10309         * counters.C (labelItem): STRCONV
10310         (numberLabel): ditto
10311         (numberLabel): remove unused ostringstream o
10312
10313         * chset.C: STRCONV
10314         (loadFile): ditto
10315
10316         * bufferview_funcs.C (currentState): STRCONV
10317
10318         * buffer.C (readFile): STRCONV
10319         (asciiParagraph): ditto
10320         (makeLaTeXFile): ditto
10321
10322         * Spacing.C (writeEnvirBegin): STRCONV
10323
10324         * LaTeXFeatures.C (getLanguages): STRCONV
10325         (getPackages): ditto
10326         (getMacros): ditto
10327         (getBabelOptions): ditto
10328         (getTClassPreamble): ditto
10329         (getLyXSGMLEntities): ditto
10330         (getIncludedFiles): ditto
10331
10332         * LaTeX.C: STRCONV
10333         (run): ditto
10334         (scanAuxFile): ditto
10335         (deplog): ditto
10336
10337         * LString.h: add the STRCONV macros
10338
10339         * BufferView_pimpl.C (savePosition): STRCONV
10340         (restorePosition): ditto
10341         (MenuInsertLyXFile): ditto
10342
10343         * vc-backend.C (scanMaster): change from submatch[...] to
10344         submatch.str(...)
10345
10346         * funcrequest.C: include config.h
10347
10348         * factory.C: include config.h
10349
10350         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10351
10352         * box.C: include config.h
10353
10354         * LaTeX.C (scanAuxFile): change from submatch[...] to
10355         submatch.str(...)
10356         (deplog): ditto
10357
10358 2002-10-25  Angus Leeming  <leeming@lyx.org>
10359
10360         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10361
10362         * ispell.[Ch] (setError): new method.
10363         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10364         Use setError() insetead of goto END.
10365
10366         * lyx_cb.C (AutoSave): move out child process into new class
10367         AutoSaveBuffer.
10368
10369 2002-10-30  John Levon  <levon@movementarian.org>
10370
10371         * text3.C: make start appendix undoable
10372
10373 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10374
10375         * lyxlength.C (inPixels): Fix returned value.
10376
10377         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10378         environment.
10379
10380 2002-10-24  Angus Leeming  <leeming@lyx.org>
10381
10382         * lyxgluelength.h: no need to forward declare BufferParams
10383         or BufferView, so don't.
10384
10385 2002-10-21  John Levon  <levon@movementarian.org>
10386
10387         * BufferView.C: menuUndo ->undo, redo
10388
10389         * BufferView.h: document, remove dead, make some methods private
10390
10391         * paragraph_funcs.h:
10392         * paragraph_funcs.C:
10393         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10394
10395         * buffer.h:
10396         * buffer.C:
10397         * sgml.h:
10398         * sgml.C: move sgml open/close tag into sgml.C
10399
10400         * bufferview_funcs.h: unused prototype
10401
10402         * lyxfunc.h:
10403         * lyxfunc.C: remove unused
10404
10405         * lyxtext.h:
10406         * text.C: remove unused
10407
10408 2002-10-21  John Levon  <levon@movementarian.org>
10409
10410         * BufferView.h:
10411         * BufferView.C:
10412         * BufferView_pimpl.h:
10413         * BufferView_pimpl.C: fix mouse wheel handling based on
10414           patch from Darren Freeman
10415
10416 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10417
10418         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10419
10420 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10421
10422         * lyxlength.C (inPixels): Fix hanfling of negative length.
10423         Fix LyXLength::MU case.
10424
10425 2002-10-16  John Levon  <levon@movementarian.org>
10426
10427         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10428
10429 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10430
10431         * converter.C (view): add support for $$i (file name) and $$p
10432         (file path) for the viewer command. If $$i is not specified, then
10433         it is appended to the command (for compatibility with old syntax)
10434
10435 2002-10-14  Juergen Vigna  <jug@sad.it>
10436
10437         * undo_funcs.C (textHandleUndo): alter the order in which the
10438         new undopar is added to the LyXText, as we have to set first
10439         the right prev/next and then add it as otherwise the rebuild of
10440         LyXText is not correct. Also reset the cursor to the right paragraph,
10441         with this IMO we could remove the hack in "redoParagraphs()".
10442
10443 2002-10-09  Angus Leeming  <leeming@lyx.org>
10444
10445         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10446         to turn off an optimisation if a new inset is to be inserted.
10447
10448 2002-10-11 André Pönitz <poenitz@gmx.net>
10449
10450         * lyxtext.h: make some functions public to allow access
10451         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10452
10453 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10454
10455         * text3.C (dispatch): when changing layout, avoid an infinite loop
10456         [bug #652]
10457
10458 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10459
10460         * lyxrc.C (read): treat a viewer or converter command of "none" as
10461         if it were empty.
10462
10463         * MenuBackend.C (expandFormats): for an update, also allow the
10464         formats that are not viewable
10465
10466         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10467         script if it is newer than the lyxrc.defaults in user directory
10468
10469 2002-10-07 André Pönitz <poenitz@gmx.net>
10470
10471         * text.C: Vitaly Lipatov's small i18n fix
10472
10473 2002-09-25  Angus Leeming  <leeming@lyx.org>
10474
10475         * ispell.h: doxygen fix.
10476
10477 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10478
10479         * buffer.h (readFile): Add a new argument to the method, to allow
10480         reading of old-format templates.
10481
10482 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10483
10484         * toc.C (getTocList): Get TOC from InsetWrap.
10485
10486 2002-09-16  John Levon  <levon@movementarian.org>
10487
10488         * lyxfunc.C: check tabular for cut/copy too
10489
10490 2002-09-12  John Levon  <levon@movementarian.org>
10491
10492         * LyXAction.C: tidy
10493
10494         * factory.h:
10495         * factory.C: add header
10496
10497         * paragraph_funcs.h:
10498         * paragraph_funcs.C: cleanup
10499
10500 2002-09-11  John Levon  <levon@movementarian.org>
10501
10502         * PrinterParams.h: odd/even default to true
10503
10504 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10505
10506         * PrinterParams.h: update printer parameters for new xforms dialog
10507
10508 2002-09-11  Angus Leeming  <leeming@lyx.org>
10509
10510         * lyxserver.C (read_ready): re-write to make it more transparent
10511         and to make it work in coherent fashion under Tru64 Unix.
10512
10513 2002-09-11  André Pönitz <poenitz@gmx.net>
10514
10515         * commandtags.h:
10516         * LyXAction.C:
10517         * text3.C: implement LFUN_WORDSEL
10518
10519 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10520
10521         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10522         make floatlist_ a boost::shared_ptr<FloatList>
10523
10524         * lyxtextclass.C: include FloatList.h
10525         (LyXTextClass): initialize floatlist_
10526         (TextClassTags): add TC_NOFLOAT
10527         (Read): match "nofloat" to TC_NOFLOAT and use it.
10528         (readFloat): modify call to floatlist_
10529         (floats): ditto
10530         (floats): ditto
10531
10532         * FloatList.[Ch] (FloatList): remove commented out float
10533         initialization.
10534         (erase): new function
10535
10536 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10537
10538         * MenuBackend.C (expandToc): fix crash when there is no document
10539         open
10540
10541 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10542
10543         * many files: Add insetwrap.
10544
10545 2002-09-09  John Levon  <levon@movementarian.org>
10546
10547         * text2.C: remove confusing and awkward depth wraparound
10548
10549 2002-09-09  John Levon  <levon@movementarian.org>
10550
10551         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10552
10553         * buffer.h:
10554         * buffer.C: remove getIncludeonlyList()
10555
10556         * paragraph.C:
10557         * lyxfunc.C: remove headers
10558
10559 2002-09-09  Juergen Vigna  <jug@sad.it>
10560
10561         * text.C (getColumnNearX): fix form Michael this is most
10562         probably a cut&paste bug.
10563
10564 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10565
10566         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10567
10568         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10569         references, ws changes.
10570
10571         * text2.C (init): update counters after init
10572         (insertParagraph): no need to set counter on idividual paragraphs.
10573         (setCounter): access the counters object in the textclass object
10574         on in the buffer object.
10575         (updateCounters): ditto
10576
10577         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10578         shared_ptr<Counters> to avoid loading counters.h in all
10579         compilation units.
10580         (LyXTextClass): initialize ctrs_
10581         (TextClassTags): add TC_COUNTER, and ...
10582         (Read): use it here.
10583         (CounterTags): new tags
10584         (readCounter): new function
10585         (counters): new funtion
10586         (defaultLayoutName): return a const reference
10587
10588         * counters.C (Counters): remove contructor
10589         (newCounter): remove a couple of unneeded statements.
10590         (newCounter): simplify a bit.
10591         (numberLabel): some small formatting changes.
10592
10593         * buffer.[Ch]: remove all traces of counters, move the Counters
10594         object to the LyXTextClass.
10595
10596 2002-09-06  Alain Castera  <castera@in2p3.fr>
10597
10598         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10599         package to set the horizontal alignment on fixed width columns.
10600
10601         * lyx_sty.C:
10602         * lyx_sty.h: added tabularnewline macro def.
10603
10604         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10605
10606 2002-09-06  John Levon  <levon@movementarian.org>
10607
10608         * LyXAction.C: tooltips for sub/superscript
10609
10610         * MenuBackend.C: a bit more verbose
10611
10612         * lyxfunc.C: tiny clean
10613
10614         * undo_funcs.C: document undo_frozen
10615
10616 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10617
10618         * counters.C (Counters): add missing algorithm counter.
10619
10620         * text2.C (setCounter): lookup the counter with layouts latexname
10621         instead of by section number.
10622         (setCounter): use a hackish way to lookup the correct enum
10623         counter.
10624         a float name->type change
10625         reset enum couners with counter name directly instead of depth value.
10626
10627         * counters.C (Counters): remove the push_backs, change to use the
10628         float type not the float name.
10629         (labelItem): remove unused string, float name->type change
10630
10631         * counters.h: don't include vector, loose the enums and sects vectors
10632
10633 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10634
10635         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10636         (Read): add float->TC_FLOAT to textclassTags
10637         (Read): and handle it in the switch
10638         (readFloat): new function
10639
10640         * FloatList.C (FloatList): comment out the hardcoded float
10641         definitions.
10642
10643         * lyxlayout.h: ws change.
10644
10645 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10646
10647         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10648
10649 2002-09-03  Angus Leeming  <leeming@lyx.org>
10650
10651         * BufferView_pimpl.h: qualified name is not allowed in member
10652         declaration: WorkArea & Pimpl::workarea() const;
10653
10654         * factory.C: added using std::endl directive.
10655
10656         * text3.C: added using std::find and std::vector directives.
10657
10658 2002-08-29  André Pönitz <poenitz@gmx.net>
10659
10660         * lyxtext.h:
10661         * text2.C: remove unused member number_of_rows
10662
10663         * Makefile.am:
10664         * BufferView2.C: remove file, move contents to...
10665         * BufferView.C: ... here
10666
10667         * BufferView_pimpl.C:
10668         * factory.C: move more inset creation to factory
10669
10670         * vspace.C: avoid direct usage of LyXText, ws changes
10671
10672         * BufferView.[Ch]:
10673                 don't provide direct access to WorkArea, use two simple
10674                 acessors haveSelction() and workHeight() instead
10675
10676
10677 2002-08-29  John Levon  <levon@movementarian.org>
10678
10679         * BufferView_pimpl.C (dispatch): do not continue when
10680           no buffer
10681
10682 2002-08-28  André Pönitz <poenitz@gmx.net>
10683
10684         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10685
10686         * BufferView.h:
10687         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10688
10689 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10690
10691         * buffer.C: increment LYX_FORMAT to 221
10692
10693         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10694         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10695
10696         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10697
10698         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10699
10700 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * factory.C (createInset): use LyXTextClass::floats
10703
10704         * MenuBackend.C (expandFloatListInsert):
10705         (expandFloatInsert):
10706         (expandToc):
10707
10708         * text2.C (setCounter):
10709
10710         * LaTeXFeatures.C (useFloat):
10711         (getFloatDefinitions):
10712
10713         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10714
10715         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10716         floatlist_, with accessor floats().
10717
10718         * FloatList.h: remove global FloatList
10719
10720 2002-08-26  André Pönitz <poenitz@gmx.net>
10721
10722         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10723
10724         * BufferView.h:
10725         * BufferView2.C:
10726         * BufferView_pimpl.C:
10727         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10728
10729 2002-08-25  John Levon  <levon@movementarian.org>
10730
10731         * LyXAction.C: fix margin note description
10732
10733 2002-08-24  John Levon  <levon@movementarian.org>
10734
10735         * buffer.C:
10736         * bufferlist.C:
10737         * bufferview_funcs.C:
10738         * lyxfont.C:
10739         * undo_funcs.C: cleanups
10740
10741         * lyxfunc.C: disable CUT/COPY when no selection
10742
10743 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10744
10745         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10746         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10747
10748         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10749         Add backward compatibility to "mono", "gray" and "no".
10750
10751 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10752
10753         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10754         (and file_format >= 200).
10755
10756 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10759
10760 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10761
10762         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10763
10764 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10765
10766         * BufferView_pimpl.C:
10767         * LyXAction.C:
10768         * buffer.C:
10769         * commandtags.h:
10770         * lyxfunc.C:
10771         * paragraph.[Ch]:
10772         * text2.C:
10773         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10774         inset and code to make it  work with the paragraph code. The inset
10775         can be anywhere in the paragraph, but will only do the expected
10776         thing in LaTeX if the layout file contains the parameter line
10777                         OptionalArgs    1
10778         (or more generally, a nonzero value) for that layout.
10779
10780 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10781
10782         * paragraph.h: remove the declaration of undefined counters class
10783         function.
10784
10785 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10786
10787         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10788         Dr. Richard Hawkins.
10789
10790 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10791
10792         * paragraph_funcs.h: remove some unneeded includes
10793
10794         * text.C (backspace): pasteParagraph now in global scipe
10795
10796         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10797         (pasteSelection): ditto
10798
10799         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10800         * paragraph_funcs.C (pasteParagraph): ... here
10801
10802 2002-08-20  André Pönitz <poenitz@gmx.net>
10803
10804         * commandtags.h: new LFUNs for swapping/copying table row/colums
10805
10806         * LyXAction.C:
10807         * lyxfunc.C: support for new lfuns
10808
10809 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10810
10811         * tabular.C:
10812         * buffer.[Ch]: remove NO_COMPABILITY stuff
10813
10814 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10815
10816         * boost.C (throw_exception): new file, with helper function for
10817         boost compiled without exceptions.
10818
10819         * paragraph.h:
10820         * lyxlength.C:
10821         * buffer.C:
10822         * ParameterStruct.h:
10823         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10824
10825         * bufferlist.C (emergencyWriteAll): use boost bind
10826
10827         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10828
10829         * text.C: include paragraph_funcs.h
10830         (breakParagraph): breakParagraph is now in global scope
10831
10832         * paragraph_funcs.[Ch]: new files
10833
10834         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10835         global scope
10836
10837         * buffer.C: include paragraph_funcs.h
10838         (insertStringAsLines): breakParagraph is now in global scope
10839
10840         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10841         paragraph_funcs.C
10842
10843         * CutAndPaste.C: include paragraph_funcs.h
10844         (cutSelection): breakParagraphConservative is now in global scope
10845         (pasteSelection): ditto
10846
10847         * buffer.h: declare oprator== and operator!= for
10848         Buffer::inset_iterator
10849
10850         * bufferlist.C (emergencyWrite): don't use fmt(...)
10851
10852         * text3.C: add using std::endl
10853
10854         * BufferView.C (moveCursorUpdate): remove default arg
10855
10856 2002-08-20  André Pönitz <poenitz@gmx.net>
10857
10858         * buffer.[Ch]: move inline functions to .C
10859
10860         * BufferView2.C:
10861         * BufferView_pimpl.C:
10862         * text.C:
10863         * buffer.[Ch]: use improved inset_iterator
10864
10865         * buffer.C:
10866         * paragraph.[Ch]: write one paragraph at a time
10867
10868 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10869
10870         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10871         style if style is not specified.
10872
10873 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10874
10875         * text2.C (setCounter): when searching for right label for a
10876         caption, make sure to recurse to parent insets (so that a caption
10877         in a minipage in a figure float works) (bug #568)
10878
10879 2002-08-20  André Pönitz <poenitz@gmx.net>
10880
10881         * text3.C: new file for LyXText::dispatch() and helpers
10882
10883         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10884
10885         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10886
10887 2002-08-19  André Pönitz <poenitz@gmx.net>
10888
10889         * lyxtext.h:
10890         * text.C: new LyXText::dispatch()
10891
10892         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10893
10894 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10895
10896         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10897
10898         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10899         Hebrew text.
10900
10901 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10902
10903         * Makefile.am: use $(variables) instead of @substitutions@
10904
10905 2002-08-15  André Pönitz <poenitz@gmx.net>
10906
10907         * lyxfunc.C:
10908         * BufferView_pimpl.C: streamlining mathed <-> outer world
10909         interaction
10910
10911         * commandtags.h:
10912         * LyXAction.C: remove unused LFUN_MATH
10913
10914 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10915
10916         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10917
10918 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10919
10920         * paragraph.C (Paragraph): reformat a bit
10921         (cutIntoMinibuffer): use builtin InsetList function instad of
10922         doing it manually.
10923         (getInset): ditto
10924
10925         * buffer.C: include boost/bind.hpp, add using std::for_each
10926         (writeFileAscii): use ParagraphList iterators
10927         (validate): use for_each for validate traversal of paragraphs
10928         (getBibkeyList): use ParagraphList iterators
10929         (resizeInsets): use for_each to resizeInsetsLyXText for all
10930         paragraphs.
10931         (getParFromID): use ParagraphList iterators
10932
10933         * BufferView2.C (lockInset): use paragraph list and iterators
10934
10935 2002-08-14  John Levon  <levon@movementarian.org>
10936
10937         * lyxserver.C: remove spurious xforms include
10938
10939 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10940
10941         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10942
10943 2002-08-13  André Pönitz <poenitz@gmx.net>
10944
10945         * LyXAction.[Ch]:
10946         * lyxfunc.C: further cleaning
10947
10948 2002-08-13  André Pönitz <poenitz@gmx.net>
10949
10950         * funcrequest.h: new constructor
10951
10952         * funcrequest.C: move stuff here from .h
10953
10954         * Makefile.am:
10955         * BufferView_pimpl.C:
10956         * LyXAction.C:
10957         * toc.C:
10958         * lyxfunc.C: subsequent changes
10959
10960         * lyxfunc.h: new view() member function
10961
10962         * lyxfunc.C: subsequent changes
10963
10964 2002-08-13  Angus Leeming  <leeming@lyx.org>
10965
10966         * BufferView2.C:
10967         * BufferView_pimpl.C:
10968         * buffer.C:
10969         * converter.C:
10970         * importer.C:
10971         * lyxfunc.C:
10972         * lyxvc.C:
10973         * toc.C:
10974         * vc-backend.C:
10975         changes due to the changed LyXView interface that now returns references
10976         to member variables not pointers.
10977
10978 2002-08-13  Angus Leeming  <leeming@lyx.org>
10979
10980         * WordLangTuple (word, lang_code): return references to strings,
10981         not strings.
10982
10983         * BufferView.h:
10984         * SpellBase.h:
10985         * lyxtext.h: forward-declare WordLangTuple.
10986
10987         * BufferView2.C:
10988         * ispell.C:
10989         * pspell.C:
10990         * text.C: #include "WordLangTuple.h".
10991
10992         * lyxtext.h:
10993         * text.C: (selectNextWordToSpellcheck): constify return type.
10994
10995 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10996
10997         * buffer.C:
10998         * buffer.h:
10999         * lyxtext.h:
11000         * paragraph.C:
11001         * paragraph_pimpl.h:
11002         * text.C:
11003         * text2.C:
11004         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11005         suggested by Angus.
11006         Made updateCounter always count from start of buffer, and removed
11007         second argument (par).
11008         Reverted floats number display to '#'. Perhaps I'll try again when the
11009         code base is sanitized a bit.
11010
11011 2002-08-12  Angus Leeming  <leeming@lyx.org>
11012
11013         * buffer.[Ch] (getLabelList): constify.
11014
11015 2002-08-07  André Pönitz <poenitz@gmx.net>
11016
11017         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11018
11019         * funcrequest.h: extension to keep mouse (x,y) position
11020
11021 2002-08-12  Juergen Vigna  <jug@sad.it>
11022
11023         * BufferView2.C (insertErrors): forbid undo when inserting error
11024         insets.
11025
11026         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11027
11028 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11029
11030         * ParagraphList.[Ch]: new files
11031
11032         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11033
11034         * BufferView2.C (lockInset): ParagraphList changes
11035         * toc.C: ditto
11036         * text2.C: ditto
11037         * bufferlist.C: ditto
11038         * buffer.h: ditto
11039         * buffer.C: ditto
11040
11041 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11042
11043         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11044         unused class variable counter_,
11045
11046         * paragraph.[Ch] (getFirstCounter): delete unused function
11047
11048         * counters.C: include LAssert.h
11049         (reset): add a new function with no arg, change other version to
11050         not have def. arg and to not allow empty arg.
11051
11052         * text2.C (setCounter): remove empty arg from call to Counters::reset
11053
11054 2002-08-11  John Levon  <levon@movementarian.org>
11055
11056         * Makefile.am: add WordLangTuple.h
11057
11058 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11059
11060         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11061         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11062
11063         * insets/insettext.C: InsetList changes
11064
11065         * graphics/GraphicsSupport.C (operator()): InsetList changes
11066
11067         * toc.C (getTocList): InsetList changes
11068
11069         * paragraph_pimpl.[Ch]: InsetList changes
11070
11071         * paragraph.[Ch]: InsetList changes
11072
11073         * buffer.C (inset_iterator): InsetList changes
11074         (setParagraph): ditto
11075         * buffer.h (inset_iterator): ditto
11076         * iterators.C (operator++): ditto
11077         * iterators.h: ditto
11078
11079         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11080
11081         * InsetList.[Ch]: new files, most InsetList handling moved out of
11082         paragraph.C.
11083
11084         * BufferView2.C (removeAutoInsets): InsetList changes
11085         (lockInset): ditto
11086         (ChangeInsets): ditto
11087
11088 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11089
11090         * paragraph_pimpl.h (empty): new function
11091
11092         * paragraph.[Ch] (empty): new function
11093
11094         * other files: use the new Paragraph::empty function
11095
11096 2002-08-09  John Levon  <levon@movementarian.org>
11097
11098         * lyxtext.h: remove unused refresh_height
11099
11100 2002-08-09  John Levon  <levon@movementarian.org>
11101
11102         * Makefile.am:
11103         * sgml.h:
11104         * sgml.C:
11105         * buffer.C:
11106         * paragraph.h:
11107         * paragraph.C: move sgml char escaping out of paragraph
11108
11109         * paragraph.h:
11110         * paragraph.C: remove id setter
11111
11112         * buffer.C:
11113         * paragraph.C:
11114         * paragraph_pimpl.C: remove dead tex_code_break_column
11115
11116         * bufferview_funcs.C: small cleanup
11117
11118         * lyxfunc.C: remove dead proto
11119
11120         * lyxtext.h: make some stuff private. Remove some dead stuff.
11121
11122         * lyxgluelength.C: make as[LyX]String() readable
11123
11124 2002-08-08  John Levon  <levon@movementarian.org>
11125
11126         * LyXAction.h:
11127         * LyXAction.C:
11128         * MenuBackend.C:
11129         * ToolbarDefaults.C:
11130         * lyxfunc.C:
11131         * lyxrc.C:
11132         * toc.C: lyxaction cleanup
11133
11134 2002-08-08  John Levon  <levon@movementarian.org>
11135
11136         * BufferView2.C: small cleanup
11137
11138         * lyxfind.h:
11139         * lyxfind.C: move unnecessary header into the .C
11140
11141 2002-08-08  John Levon  <levon@movementarian.org>
11142
11143         * funcrequest.h: just tedious nonsense
11144
11145         * lyx_main.h:
11146         * lyx_main.C: cleanups
11147
11148         * buffer.C:
11149         * vspace.C: remove dead header lyx_main.h
11150
11151 2002-08-07  Angus Leeming  <leeming@lyx.org>
11152
11153         * Paragraph.[Ch]:
11154         * paragraph_pimpl.h:
11155         Forward declare class Counters in paragraph.h by moving the ctrs member
11156         variable into Paragraph::Pimpl.
11157         (counters): new method, returning a reference to pimpl_->ctrs.
11158
11159         * text2.C: ensuing changes.
11160
11161 2002-08-07  John Levon  <levon@movementarian.org>
11162
11163         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11164
11165         * BufferView_pimpl.C: announce X selection on double/triple
11166           click
11167
11168         * lyx_main.C: use correct bool in batch dispatch
11169
11170         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11171
11172 2002-08-07  André Pönitz <poenitz@gmx.net>
11173
11174         * funcrequest.h: new class to wrap a kb_action and its argument
11175
11176         * BufferView.[Ch]:
11177         * BufferView_pimpl[Ch]:
11178         * LaTeX.C:
11179         * LyXAction.[Ch]:
11180         * lyxfunc.[Ch]:
11181         * lyxrc.C: subsequent changes
11182
11183
11184 2002-08-07  John Levon  <levon@movementarian.org>
11185
11186         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11187           document options change.
11188
11189 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11190
11191         * counters.[Ch]
11192         * text2.C
11193         * paragraph.[Ch]
11194         * makefile.am: move counters functionality over from
11195         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11196
11197 2002-08-06  John Levon  <levon@movementarian.org>
11198
11199         * WordLangTuple.h: new file for word + language code tuple
11200
11201         * SpellBase.h:
11202         * pspell.h:
11203         * pspell.C:
11204         * ispell.h:
11205         * ispell.C:
11206         * lyxtext.h:
11207         * text.C:
11208         * text2.C:
11209         * BufferView.h:
11210         * BufferView2.C: use WordLangTuple
11211
11212         * layout.h:
11213         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11214
11215 2002-08-06  John Levon  <levon@movementarian.org>
11216
11217         * lyx_main.C: fix cmdline batch handling
11218
11219 2002-08-06  André Pönitz <poenitz@gmx.net>
11220
11221         * lyxrc.C: set default for show_banner to true
11222
11223 2002-08-06  John Levon  <levon@movementarian.org>
11224
11225         * pspell.C: fix a crash, and allow new aspell to work
11226
11227 2002-08-06  John Levon  <levon@movementarian.org>
11228
11229         * lyxfunc.C:
11230         * kbmap.C: small cleanup
11231
11232         * vspace.h:
11233         * vspace.C: add const
11234
11235 2002-08-05  John Levon  <levon@movementarian.org>
11236
11237         * LyXAction.C: back to tabular-insert
11238
11239 2002-08-04  John Levon  <levon@movementarian.org>
11240
11241         * BufferView.h:
11242         * BufferView.C: cosmetic change
11243
11244         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11245
11246         * bufferlist.C:
11247         * buffer.h:
11248         * buffer.C:
11249         * lyxcb.h:
11250         * lyxcb.C:
11251         * lyxserver.C:
11252         * lyxvc.C:
11253         * vc-backend.C:
11254         * BufferView2.C: purge all "Lyx" not "LyX" strings
11255
11256         * lyxcursor.h:
11257         * lyxcursor.C: attempt to add some documentation
11258
11259         * lyxfunc.C:
11260         * commandtags.h:
11261         * LyXAction.C:
11262         * ToolbarDefaults.C:
11263         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11264           merge with LFUN_TABULAR_INSERT
11265
11266         * Makefile.am:
11267         * SpellBase.h:
11268         * ispell.h:
11269         * ispell.C:
11270         * pspell.h:
11271         * pspell.C: split up i/pspell implementations into separate
11272           files, many cleanups
11273
11274         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11275
11276         * text2.C: some cleanup
11277
11278         * lyxfunc.C: don't check for isp_command == "none" any more, it
11279           didn't make any sense
11280
11281 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11282
11283         * counters.[Ch]
11284         * text2.C
11285         * paragraph.[Ch]
11286         * makefile.am: move counters functionality over
11287         from text2.C/paragraph.[Ch] to counters.[Ch], and
11288         make proper C++.
11289 2002-08-02  John Levon  <levon@movementarian.org>
11290
11291         * buffer.C: s/lyxconvert/lyx2lyx/
11292
11293 2002-08-02  Angus Leeming  <leeming@lyx.org>
11294
11295         * lyxlex.C: revert John's change as it breaks reading of the user
11296         preamble.
11297
11298 2002-08-02  Angus Leeming  <leeming@lyx.org>
11299
11300         * importer.C (Import):
11301         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11302         changes due to LyXView::view() now returning a boost::shared_ptr.
11303
11304 2002-08-02  John Levon  <levon@movementarian.org>
11305
11306         * lyxlex.C: small cleanup
11307
11308 2002-08-02  John Levon  <levon@movementarian.org>
11309
11310         * text2.C (status): small cleanup, no logic change
11311
11312 2002-08-01  John Levon  <levon@movementarian.org>
11313
11314         * buffer.h:
11315         * buffer.C (writeFile): don't output alerts, caller
11316           handles this
11317
11318         * bufferlist.C:
11319         * lyx_cb.C: from above
11320
11321         * lyxfunc.C: allow to open non-existent files
11322
11323 2002-07-31  John Levon  <levon@movementarian.org>
11324
11325         * lyxserver.C: don't let incidental errors get
11326           in the way (errno)
11327
11328 2002-07-30  John Levon  <levon@movementarian.org>
11329
11330         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11331
11332 2002-07-30  John Levon  <levon@movementarian.org>
11333
11334         * lyxserver.h:
11335         * lyxserver.C: remove I/O callback too
11336
11337 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11338
11339         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11340         log.
11341
11342 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11343
11344         * many files: strip,frontStrip -> trim,ltrim,rtrim
11345
11346 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11347
11348         * PrinterParams.h: remove extern containsOnly, and include
11349         support/lstrings.h instead.
11350
11351         * LaTeX.C (scanAuxFile): modify because of strip changes
11352         (deplog): ditto
11353         * buffer.C (makeLaTeXFile): ditto
11354         * bufferparams.C (writeFile): ditt
11355         * lyxfont.C (stateText): ditto
11356         * lyxserver.C (read_ready): ditto
11357         * vc-backend.C (scanMaster): ditto
11358
11359         * BufferView_pimpl.h: ws changes
11360
11361         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11362
11363 2002-07-26  André Pönitz <poenitz@gmx.net>
11364
11365         * kb_sequence.C: remove unnedred usings
11366
11367 2002-07-26  Juergen Vigna  <jug@sad.it>
11368
11369         * lyxfind.C (LyXReplace): we have to check better if the returned
11370         text is not of theLockingInset()->getLockingInset().
11371
11372 2002-07-25  Juergen Vigna  <jug@sad.it>
11373
11374         * lyxfind.C (LyXReplace): don't replace if we don't get the
11375         right LyXText.
11376
11377         * undo_funcs.C (createUndo): remove debugging code.
11378
11379 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11380
11381         * buffer.C (parseSingleLyXformat2Token): Use default placement
11382         when reading old floats.
11383
11384         * FloatList.C (FloatList): Change the default placement of figure
11385         and tables to "tbp".
11386
11387 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11388
11389         * MenuBackend.C: using std::max
11390
11391 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11392
11393         * MenuBackend.C (expandToc):
11394         (expandToc2): code moved from xforms menu frontend. It is now
11395         generic and TOCs are transparent to menu frontends.
11396
11397 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * toc.C (getTocList): protect against buf=0
11400
11401         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11402         Menu as first parameter. Now, this calls itself recursively to
11403         expand a whole tree (this will be useful for TOC handling)
11404         (expandFloatInsert): remove 'wide' version of floats
11405
11406         * MenuBackend.h (submenuname): returns the name of the submenu.
11407         (submenu): returns the submenu itself, provided it has been
11408         created by MenuBackend::expand
11409
11410 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11411
11412         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11413         insets which have noFontChange == true. (bug #172)
11414
11415 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * BufferView_pimpl.C: add connection objects and use them...
11418         (Pimpl): here.
11419
11420 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11421
11422         * MenuBackend.C (expandLastfiles):
11423         (expandDocuments):
11424         (expandFormats):
11425         (expandFloatListInsert):
11426         (expandFloatInsert):
11427         (expand): split expand in parts
11428
11429 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * lyx_gui.C: use lyx_gui::exit()
11432
11433 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * LyXAction.C: show the failing pseudo action
11436
11437 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11438
11439         * buffer.C (readFile): Run the lyxconvert script in order to read
11440         old files.
11441
11442 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * LyXAction.C:
11445         * commandtags.h:
11446         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11447
11448 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * LyXAction.C:
11451         * commandtags.h:
11452         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11453
11454 2002-07-22  Herbert Voss  <voss@lyx.org>
11455
11456         * lengthcommon.C:
11457         * lyxlength.[Ch]: add support for the vertical lengths
11458
11459 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * toc.[Ch]: std:: fixes
11462
11463 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11464
11465         * lyxrc.C: do not include lyx_main.h
11466
11467         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11468         for layouts
11469
11470         * lyxrc.C:
11471         * encoding.C:
11472         * bufferlist.C:
11473         * BufferView2.C: include "lyxlex.h"
11474
11475         * tabular.h:
11476         * bufferparams.h: do not #include "lyxlex.h"
11477
11478         * lyxtextclasslist.C (Add): remove method
11479         (classlist): renamed to classlist_
11480
11481         * paragraph_pimpl.C:
11482         * paragraph.C:
11483         * text2.C:
11484         * CutAndPaste.C:
11485         * bufferview_funcs.C:
11486         * bufferlist.C:
11487         * text.C:
11488         * LaTeXFeatures.C:
11489         * buffer.C:
11490         * toc.C (getTocList): use BufferParams::getLyXTextClass
11491
11492         * toc.C (getTocList): use InsetFloat::addToToc
11493
11494         * toc.[Ch]: new files, containing helper functions to handle table
11495         of contents
11496
11497         * lyxfunc.C (dispatch): no need to remove spaces around command
11498         given as a string
11499         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11500         first command of the sequence; it is not very clever, but I do not
11501         have a better idea, actually
11502
11503         * LyXAction.C (LookupFunc): make sure to remove space at the
11504         beginning and end of the command
11505
11506 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11507
11508         * MenuBackend.C (getMenubar): new method: return the menubar of
11509         this menu set
11510         (read): treat differently reading of menu and menubar (in
11511         particular, the menubar has no name now)
11512         (Menu::menubar): remove
11513
11514         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11515         saving is finished
11516
11517 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11518
11519         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11520         a bibitem inset in a RTL paragraph.
11521
11522 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11523
11524         * paragraph_pimpl.C: constify
11525
11526         * BufferView_pimpl.C:
11527         * LaTeX.C:
11528         * lyxfunc.C: fix dispatch in a nicer way
11529
11530 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11531
11532         * lyxfunc.C (dispatch):
11533         * BufferView_pimpl.C:
11534         * BufferView_pimpl.h:
11535         * BufferView.C:
11536         * BufferView.h: rename Dispatch() to dispatch()
11537
11538         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11539
11540         * lyxlayout.C (Read): honor DependsOn tag
11541
11542         * lyxlayout.[Ch] (depends_on): new method
11543
11544         * version.C.in: update lyx_docversion
11545
11546         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11547
11548         * paragraph.C (validate): remove from here...
11549         * paragraph_pimpl.C (validate): ... and move here
11550         (isTextAt): make it const
11551
11552         * buffer.C (getLists): ws cleanup
11553
11554 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11555
11556         * language.C (read): Use iso8859-1 encoding in latex_lang
11557         (this prevents LyX from crashing when using iso10646-1 encoding).
11558
11559 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11560
11561         * text2.C (toggleInset): if cursor is inside an inset, close the
11562         inset and leave cursor _after_ it
11563
11564 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11565
11566         * lyxfunc.C: move minibuffer completion handling out of here
11567
11568 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * BufferView_pimpl.C:
11571         * LaTeX.C: fix dispatch calls
11572
11573 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11574
11575         * text.C (drawChars): Fix Arabic text rendering.
11576
11577 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * LyXAction.C:
11580         * commandtags.h:
11581         * lyxfunc.C: remove message-push/pop
11582
11583         * lyxserver.C:
11584         * lyxfunc.h:
11585         * lyxfunc.C: rationalise some code by removing verboseDispatch
11586           in favour of a bool argument to dispatch()
11587
11588 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11589
11590         * lyx_main.C (init): make sure to read symlinks as absolute paths
11591
11592 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * lyxfunc.h:
11595         * lyxfunc.C: no need for commandshortcut to be a member
11596
11597 2002-07-15  André Pönitz <poenitz@gmx.net>
11598
11599         * converter.C: add support for $$s (scripts from lib/scripts dir)
11600         * lyx_main.C: white space
11601
11602 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * bufferlist.C:
11605         * lyxrc.h:
11606         * lyxrc.C: remove second exit confirmation
11607
11608 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * BufferView.h:
11611         * BufferView.C:
11612         * BufferView2.C:
11613         * BufferView_pimpl.h:
11614         * BufferView_pimpl.C:
11615         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11616
11617 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11618
11619         * MenuBackend.C (expand): add numeric shortcuts to document menu
11620
11621         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11622
11623 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11624
11625         * lyxfont.C (setLyXFamily):
11626         (setLyXSeries):
11627         (setLyXShape):
11628         (setLyXSize):
11629         (setLyXMisc):
11630         (lyxRead):
11631         * debug.C (value):
11632         * buffer.C (asciiParagraph): use ascii_lowercase
11633
11634 2002-07-15  Mike Fabian  <mfabian@suse.de>
11635
11636         * lyxlex_pimpl.C (search_kw):
11637         * lyxlex.C (getLongString):
11638         * converter.h (operator<):
11639         * converter.C (operator<):
11640         * buffer.C (parseSingleLyXformat2Token):
11641         (asciiParagraph):
11642         * ToolbarDefaults.C (read):
11643         * MenuBackend.C (checkShortcuts):
11644         (read):
11645         * LColor.C (getFromGUIName):
11646         (getFromLyXName): use the compare_ascii_no_case instead of
11647         compare_no_case, because in turkish, 'i' is not the lowercase
11648         version of 'I', and thus turkish locale breaks parsing of tags.
11649
11650 2002-07-16  Angus Leeming  <leeming@lyx.org>
11651
11652         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11653         now takes a Buffer const & argument.
11654
11655 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11656
11657         * BufferView.C (resize): check there's a buffer to resize
11658
11659 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11660
11661         * lyxfunc.C: remove dead code
11662
11663         * lyxserver.h:
11664         * lyxserver.C: use lyx_guii::set_read_callback
11665
11666 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11667
11668         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11669         an inset in a RTL paragraph.
11670
11671 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * lyxfunc.C: repaint after a font size update
11674
11675 2002-07-15  André Pönitz <poenitz@gmx.net>
11676
11677         * lyxlength.C: inBP should be able to return negative values
11678
11679 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * lyxfunc.C: use lyx_gui::update_fonts()
11682
11683 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * lyxfunc.C: use lyx_gui::update_color()
11686
11687 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * bufferlist.C:
11690         * lyxfunc.h:
11691         * lyxfunc.C:
11692         * lyxrc.h:
11693         * lyxrc.C: remove file->new asks for name option, and let
11694           buffer-new take an argument
11695
11696 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * BufferView_pimpl.C: remove unneeded extra repaint()
11699
11700 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * LyXAction.C: allow command-sequence with NoBuffer
11703
11704         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11705
11706 2002-07-10  Angus Leeming  <leeming@lyx.org>
11707
11708         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11709
11710 2002-07-09  Angus Leeming  <leeming@lyx.org>
11711
11712         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11713
11714 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * lengthcommon.h: whitespace
11717
11718         * lyxfunc.C: update scrollbar after goto paragraph
11719
11720         * lyxtext.h: factor out page break drawing, and fix it so
11721           page break/added space paints as selected nicely
11722
11723 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * BufferView_pimpl.C: add FIXMEs, clean up a little
11726
11727 2002-07-09  André Pönitz <poenitz@gmx.net>
11728
11729         * lyxfont.[Ch]: support for wasy symbols
11730
11731 2002-07-08  André Pönitz <poenitz@gmx.net>
11732
11733         * BufferView_pimpl.C: apply John's patch for #93.
11734
11735 2002-07-05  Angus Leeming  <leeming@lyx.org>
11736
11737         * BufferView_pimpl.C (buffer): generate previews if desired.
11738
11739         * LColor.h: add "preview" to the color enum.
11740
11741         * LColor.C (LColor): add a corresponding entry to the items array.
11742
11743         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11744         with this buffer.
11745
11746 2002-07-05  Angus Leeming  <leeming@lyx.org>
11747
11748         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11749         The body of the code is now in the method that is passed an ostream &
11750         rather than a file name.
11751         Pass an additional only_preamble parameter, useful for the forthcoming
11752         preview stuff.
11753
11754 2002-07-03  André Pönitz <poenitz@gmx.net>
11755
11756         * lyxfunc.C: simplify getStatus() a bit for math stuff
11757
11758 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11759
11760         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11761
11762 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11763
11764         * text.C (changeRegionCase): do not change case of all the
11765         document when region ends at paragraph end (bug #461)
11766
11767 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11768
11769         * paragraph.C (startTeXParParams):
11770         (endTeXParParams): add \protect when necessary
11771
11772 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * BufferView_pimpl.C (workAreaExpose): remove warning
11775
11776 2002-06-27  Angus Leeming  <leeming@lyx.org>
11777
11778         * Makefile.am: add lyxlayout_ptr_fwd.h.
11779
11780 2002-06-26  André Pönitz <poenitz@gmx.net>
11781
11782         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11783
11784 2002-06-25  Angus Leeming  <leeming@lyx.org>
11785
11786         * lyxfunc.C (dispatch): Comment out the call to
11787         grfx::GCache::changeDisplay. The method no longer exists now that the
11788         pixmap generation part of the graphics loader has been moved into
11789         InsetGraphics.
11790
11791 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * text2.C: layout as layout
11794
11795         * text.C: layout as layout
11796
11797         * tabular.C (OldFormatRead): layout as layout
11798
11799         * paragraph_pimpl.C (TeXDeeper): layout as layout
11800         (realizeFont): layout as layout
11801
11802         * paragraph.C (writeFile): layout as layout
11803         (validate): layout as layout
11804         (getFont): layout as layout
11805         (getLabelFont): layout as layout
11806         (getLayoutFont): layout as layout
11807         (breakParagraph): layout as layout
11808         (stripLeadingSpaces): layout as layout
11809         (getEndLabel): layout as layout
11810         (getMaxDepthAfter): layout as layout
11811         (applyLayout): layout as layout
11812         (TeXOnePar): layout as layout
11813         (simpleTeXOnePar): layout as layout
11814         (TeXEnvironment): layout as layout
11815         (layout): layout as layout
11816         (layout): layout as layout
11817
11818         * lyxtextclass.C (compare_name): new functor to work with
11819         shared_ptr, layout as layout
11820         (Read): layout as layout
11821         (hasLayout): layout as layout
11822         (operator): layout as layout
11823         (delete_layout): layout as layout
11824         (defaultLayout): layout as layout
11825
11826         * lyxlayout_ptr_fwd.h: new file
11827
11828         * lyxlayout.C (Read): layout as layout
11829
11830         * lyx_cb.C (MenuInsertLabel): layout as layout
11831
11832         * bufferlist.C (newFile): layout as layout
11833
11834         * buffer.C (readLyXformat2): layout as layout
11835         (parseSingleLyXformat2Token): layout as layout
11836         (insertStringAsLines): layout as layout
11837         (asciiParagraph): layout as layout
11838         (latexParagraphs): layout as layout
11839         (makeLinuxDocFile): layout as layout
11840         (simpleLinuxDocOnePar): layout as layout
11841         (makeDocBookFile): layout as layout
11842         (simpleDocBookOnePar): layout as layout
11843         (getLists): layout as layout
11844
11845         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11846
11847         * CutAndPaste.C (cutSelection): layout as layout
11848         (pasteSelection): layout as layout
11849         (SwitchLayoutsBetweenClasses): layout as layout
11850
11851         * BufferView_pimpl.C (Dispatch): layout as layout
11852         (smartQuote): layout as layout
11853
11854         * BufferView2.C (unlockInset): layout as layout
11855
11856 2002-06-24  André Pönitz <poenitz@gmx.net>
11857
11858         * lyxfunc.C: fix #487
11859
11860 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * lyxrc.h:
11863         * lyxrc.C:
11864         * lyxfunc.C: remove display_shortcuts, show_banner
11865
11866 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * Buffer_pimpl.C: oops, update on resize
11869
11870 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11871
11872         * buffer.C:
11873         * converter.C:
11874         * exporter.C:
11875         * lyxfunc.C:
11876         * BufferView.h:
11877         * BufferView.C: use repaint()
11878
11879         * BufferView_pimpl.h:
11880         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11881           as it's a clearer description. Remove superfluous
11882           redraws.
11883
11884 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * text.C: fix bug 488. Not ideal, but getting
11887           getWord() to work properly for the insets that
11888           matter is more difficult ...
11889
11890 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11891
11892         * BufferView_pimpl.C:
11893         * LyXAction.C:
11894         * commandtags.h:
11895         * lyxfunc.C: remove the six million index lyxfuncs to just
11896           one, and DTRT (bug 458)
11897
11898 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * BufferView.h:
11901         * BufferView.C:
11902         * BufferView_pimpl.h:
11903         * BufferView_pimpl.C: clean up resize() stuff,
11904           and unnecessary updateScreen()s
11905
11906 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11907
11908         * BufferView.h:
11909         * BufferView.C:
11910         * BufferView_pimpl.h:
11911         * BufferView_pimpl.C:
11912         * lyxfind.h:
11913         * lyxfind.C:
11914         * minibuffer.C: remove focus management of workarea,
11915           not needed. Use screen's greyOut()
11916
11917 2002-06-17  Herbert Voss  <voss@lyx.org>
11918
11919         * converter.C: (convert) do not post a message, when converting
11920         fails, let the calling function decide what to do in this case
11921
11922 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11923
11924         * lyxfunc.C: tidy up a little
11925
11926 2002-06-16    <alstrup@diku.dk>
11927
11928         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11929         Got rid of FORMS_H_LOCATION include. Now we are
11930         GUII.
11931
11932 2002-06-15  LyX Development team  <lyx@rilke>
11933
11934         * buffer.[Ch] (sgmlOpenTag):
11935         (sgmlCloseTag): Added support for avoiding pernicious mixed
11936         content. Return number of lines written.
11937
11938         (makeLinuxDocFile):
11939         (makeDocBookFile): Fixed calls to sgml*Tag.
11940         Simple white space clean.
11941
11942         (simpleDocBookOnePar): Simple white space clean.
11943
11944         * tabular.[Ch] (docBook): Renamed to docbook and got another
11945         argument to related with the pernicious mixed content.
11946
11947         (docbookRow): Fixed calls for docbook inset method.
11948
11949 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11950
11951         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11952         so it's X11 independent.
11953
11954         * kb*.[Ch]: ditto.
11955
11956         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11957
11958 2002-06-15  Lyx Development team  <lyx@electronia>
11959
11960         * intl.h: Renamed getTrans to getTransManager.
11961
11962 2002-06-14  Angus Leeming  <leeming@lyx.org>
11963
11964         * Makefile.am: nuke forgotten stl_string_fwd.h.
11965
11966 2002-06-12  Angus Leeming  <leeming@lyx.org>
11967
11968         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11969
11970 2002-06-13  Angus Leeming  <leeming@lyx.org>
11971
11972         * LaTeX.C:
11973         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11974
11975 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11976
11977         * kbmap.C (getiso): add support for cyrillic and greek
11978
11979 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * BufferView.h:
11982         * BufferView.C:
11983         * BufferView_pimpl.h:
11984         * BufferView_pimpl.C: move bogus scrolling logic
11985           to xforms
11986
11987 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11988
11989         * lyxfunc.C:
11990         * BufferView_pimpl.C: view->resize() change
11991
11992 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * BufferView_pimpl.C: topCursorVisible
11995           prototype change
11996
11997 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * Makefile.am:
12000         * lyx_gui.h:
12001         * lyx_gui.C: move to frontends/
12002
12003         * main.C:
12004         * lyx_main.h:
12005         * lyx_main.C: changes from above
12006
12007 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * intl.C:
12010         * intl.h:
12011         * kbmap.C:
12012         * kbsequence.C:
12013         * lyx_cb.C:
12014         * lyx_main.C: minor tidy
12015
12016 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * BufferView_pimpl.h:
12019         * BufferView_pimpl.C:
12020         * BufferView.h:
12021         * BufferView.C: make painter() const,
12022           remove dead code
12023
12024         * BufferView2.C: use screen() accessor
12025
12026         * lyx_main.h:
12027         * lyx_main.C: some minor cleanup
12028
12029 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12030
12031         * BufferView_pimpl.h:
12032         * BufferView_pimpl.C: remove enter/leaveView,
12033           use workHeight()
12034
12035 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12036
12037         * BufferView.h:
12038         * BufferView.C:
12039         * BufferView2.C:
12040         * BufferView_pimpl.h:
12041         * BufferView_pimpl.C: only construct screen once,
12042           rename
12043
12044         * lyxrc.C: remove pointless comment
12045
12046 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * BufferView.h:
12049         * BufferView.C: remove active() and belowMouse()
12050
12051         * BufferView_pimpl.h:
12052         * BufferView_pimpl.C: use workarea() not workarea_,
12053           and make it use a scoped_ptr instead
12054
12055 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12056
12057         * lyx_gui.C: add debug message on BadWindow
12058
12059 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12060
12061         * sp_spell.C: fdopen is not part of the C++ standard.
12062
12063         * paragraph.C (InsetIterator): use >= instead of ==
12064
12065 2002-06-07  Angus Leeming  <leeming@lyx.org>
12066
12067         Fixes needed to compile with Compaq cxx 6.5.
12068         * BufferView_pimpl.C:
12069         * DepTable.C:
12070         * buffer.C:
12071         * converter.C:
12072         * encoding.C:
12073         * lyx_gui.C:
12074         * lyx_main.C:
12075         * lyxtextclasslist.C:
12076         * minibuffer.C:
12077         * sp_spell.C:
12078         * tabular_funcs.C:
12079         * vc-backend.C:
12080         all c-library variables have been moved into namespace std. Wrap
12081         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12082
12083         * lyxlength.C:
12084         * tabular-old.C:
12085         * tabular.C:
12086         Add a using std::abs declaration.
12087
12088         * kbmap.h (modifier_pair):
12089         * paragraph.h (InsetTable, InsetList):
12090         * lyxfont.h (FontBits):
12091         type definition made public.
12092
12093         * bufferlist.C (emergencyWriteAll): the compiler complains that
12094         there is more than one possible lyx::class_fun template to choose from.
12095         I re-named the void specialisation as lyx::void_class_fun.
12096
12097         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12098
12099         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12100         the compiler is is unable to find tostr in write_attribute.
12101
12102 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * buffer.C (sgmlError): hide #warning
12105
12106 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12107
12108         * xtl/*: get rid of xtl, which is not in use anyway
12109
12110         * LyXAction.C (init):
12111         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12112         were unimplemented xtl experimentation
12113
12114 2002-06-04  André Pönitz <poenitz@gmx.net>
12115
12116         * lyxfunc.C: disable array operation on simple formulae
12117
12118 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12119
12120         * converter.C: constify a bit
12121
12122 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12123
12124         * lyx_gui.C: check xforms version correctly
12125
12126 2002-04-30  Herbert Voss  <voss@lyx.org>
12127
12128         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12129         "keep" option
12130
12131 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12132
12133         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12134           attempt to register it with a VCS)
12135
12136 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12137
12138         * lyx_main.C (init): honor variables LYX_DIR_13x and
12139         LYX_USERDIR_13x
12140
12141 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12142
12143         * buffer.h:
12144         * buffer.C:
12145         * lyx_main.C: fix a crash on bad command line,
12146           and give a useful exit status on error
12147
12148         * lyxfunc.C (doImport): allow -i lyx to work
12149
12150 2002-03-30  André Pönitz <poenitz@gmx.net>
12151
12152         * lyxfunc.C: mathed font changes
12153
12154 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12155
12156         * LaTeX.C:
12157         * importer.h:
12158         * importer.C:
12159         * lyx_sty.h:
12160         * lyx_sty.C:
12161         * lyxlex.C:
12162         * lyxrow.h:
12163         * lyxtext.h:
12164         * paragraph.h:
12165         * paragraph.C:
12166         * texrow.h:
12167         * texrow.C:
12168         * text.C:
12169         * trans_mgr.h: srcdocs, and some minor cleanups
12170
12171 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12172
12173         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12174         call getFont all the time)
12175
12176 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * switch from SigC signals to boost::signals
12179
12180 2002-05-29  André Pönitz <poenitz@gmx.net>
12181
12182         * paragraph_pimpl.C (getChar): don't call size() too often...
12183
12184 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * paragraph_pimpl.C (insertChar): do not try to update tables when
12187         appending (pos == size())
12188
12189         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12190         in order to reduce drastically the number of comparisons needed to
12191         parse a large document
12192
12193 2002-05-29  André Pönitz <poenitz@gmx.net>
12194
12195         * text.C:
12196         * text2.C:
12197         * lyxtextclass.C:
12198         * sp_pspell.h:
12199         * textclasslist.[Ch]:
12200         * sp_ispell.h: whitespace change
12201
12202 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12203
12204         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12205         lyxaction directly now.
12206
12207 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12208
12209         * trans.C:
12210         * lyxfont.C:
12211         * lyxvc.C: remove unused headers
12212
12213 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12214
12215         * Makefile.am:
12216         * buffer.h:
12217         * undostack.h:
12218         * undostack.C:
12219         * undo_funcs.h:
12220         * undo_funcs.C: some cleanups. Use shared_ptr
12221           and a template for the undo stacks.
12222
12223 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12224
12225         * BufferView_pimpl.h:
12226         * BufferView_pimpl.C:
12227         * kbmap.h:
12228         * kbmap.C:
12229         * kbsequence.h:
12230         * kbsequence.C:
12231         * lyxfunc.h:
12232         * lyxfunc.C:
12233         * text2.C: use key_state/mouse_state
12234
12235 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12236
12237         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12238         and LSubstring
12239
12240         * chset.C: change include order
12241         (loadFile): use boost regex and get rid of LRegex and LSubstring
12242
12243         * Makefile.am (BOOST_LIBS): new variable
12244         (lyx_LDADD): use it
12245
12246         * LaTeX.C: change include order.
12247         (scanAuxFile): use boost regex and get rid of LRegex and
12248         LSubstring
12249         (deplog): ditto
12250
12251 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * ColorHandler.h:
12254         * ColorHandler.C:
12255         * FontInfo.h:
12256         * FontInfo.C: moved to frontends/xforms/
12257
12258         * FontLoader.h:
12259         * FontLoader.C: moved into frontends for GUIIzation
12260
12261         * Makefile.am:
12262         * lyx_gui.C:
12263         * lyxfont.C:
12264         * lyxfunc.C: changes from above
12265
12266 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12267
12268         * LColor.C: remove spurious X include
12269
12270         * BufferView_pimpl.C:
12271         * Makefile.am:
12272         * font.h:
12273         * font.C:
12274         * text.C:
12275         * text2.C: move font metrics to frontends/
12276
12277 2002-05-24  Juergen Vigna  <jug@sad.it>
12278
12279         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12280         setting the undo_cursor.
12281
12282         * ParagraphParameters.h: include local includes first.
12283
12284 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12285
12286         * BufferView_pimpl.C:
12287         * BufferView_pimpl.h:
12288         * Makefile.am:
12289         * WorkArea.h:
12290         * WorkArea.C:
12291         * screen.C: move WorkArea into frontends/
12292
12293         * lyxscreen.h:
12294         * screen.C:
12295         * text.C:
12296         * BufferView.C:
12297         * BufferView2.C: move LyXScreen into frontends/
12298
12299         * lyxlookup.h:
12300         * lyxlookup.C:
12301         * lyx_gui.C: move lyxlookup into frontends/xforms/
12302
12303 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12304
12305         * BufferView2.C:
12306         * BufferView_pimpl.C:
12307         * FontLoader.C:
12308         * LyXView.h:
12309         * LyXView.C:
12310         * Makefile.am:
12311         * WorkArea.C:
12312         * XFormsView.h:
12313         * XFormsView.C:
12314         * buffer.C:
12315         * bufferlist.C:
12316         * bufferview_funcs.C:
12317         * converter.C:
12318         * importer.C:
12319         * lyx_cb.C:
12320         * lyx_gui.C:
12321         * lyx_main.C:
12322         * lyx_find.C:
12323         * lyxfunc.C:
12324         * lyxvc.C:
12325         * minibuffer.C:
12326         * text.C:
12327         * text2.C:
12328         * trans.C:
12329         * vc-backend.C: move LyX/XFormsView into frontends/
12330
12331 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12332
12333         * Makefile.am:
12334         * PainterBase.C:
12335         * PainterBase.h:
12336         * Painter.C:
12337         * Painter.h:
12338         * WorkArea.C:
12339         * WorkArea.h:
12340         * screen.C:
12341         * tabular.C:
12342         * text.C:
12343         * text2.C: move Painter to frontends/
12344
12345 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12346
12347         * buffer.C: comment out some some code that depend upon lyx_format
12348         < 220
12349
12350         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12351         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12352
12353         * buffer.h (NO_COMPABILITY): turn off compability
12354
12355         * ColorHandler.C: include scoped_array.hpp
12356
12357         * font.C: Use more specific smart_ptr header.
12358         * Painter.C: ditto
12359         * gettext.C: ditto
12360         * ShareContainer.h: ditto
12361         * lyx_main.h: ditto
12362         * kbmap.h: ditto
12363         * FontInfo.h: ditto
12364         * BufferView_pimpl.h: ditto
12365         * ColorHandler.h: ditto
12366
12367         * kbmap.C (defkey): change call to shared_ptr::reset
12368
12369 2002-05-21  Juergen Vigna  <jug@sad.it>
12370
12371         * buffer.C (insertErtContents): fix to insert ert asis if it is
12372         non empty. Skip it completely if it contains only whitespaces.
12373
12374 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12375
12376         * BufferView_pimpl.C:
12377         * BufferView2.C: clear selection on paste (bug 393)
12378
12379 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12380
12381         * DepTable.C: include ctime
12382
12383 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12384
12385         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12386
12387 2002-05-14  Juergen Vigna  <jug@sad.it>
12388
12389         * text.C (breakParagraph): fixed function to honor the keepempty
12390         layout in the right maner and also to permit the right breaking
12391         algorithm on empty or non empyt keepempty paragraphs.
12392
12393         * paragraph.C (breakParagraph): we have to check also if the par
12394         is really empty (!size()) for isempty otherwise we do the wrong
12395         paragraph break.
12396
12397 2002-05-10  Juergen Vigna  <jug@sad.it>
12398
12399         * buffer.[Ch] : The following are only changes to the ert
12400         compatibility read reading old LaTeX layout and font stuff and
12401         convert it to ERTInsets.
12402
12403         * buffer.h: added isErtInset().
12404
12405         * buffer.C (struct ErtComp): add a fromlayout bool to check
12406         if we're inside a LaTeX layout.
12407         (isErtInset): new helper function.
12408         (insertErtContents): look for other ert insets before this one
12409         and insert the contents there, so that we don't have subsequent
12410         ERT insets with nothing between them. This way we create only one
12411         inset with multiple paragraphs. Also check if we don't insert only
12412         spaces ' ' as they are ignored anyway afterwards in the .tex file
12413         so if we have only spaces we will ignore this latex part in the
12414         new file.
12415         (parseSingleLyXformat2Token \\layout): better compatibility when
12416         reading layout-latex stuff.
12417         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12418         language tag.
12419         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12420         stuff after reading the inset only get the information back from
12421         the stack.
12422
12423 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12424
12425         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12426
12427         * LaTeXFeatures.C (getBabelOptions): New method.
12428
12429 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12430
12431         * BufferView_pimpl.C (Dispatch): work around missing argument for
12432         'layout'
12433
12434 2002-05-08  Juergen Vigna  <jug@sad.it>
12435
12436         * text.C (leftMargin): handle paragraph leftindent.
12437
12438         * paragraph.C (writeFile): write the new \\leftindent tag.
12439         (validate): handle leftindent code.
12440         (TeXEnvironment): handle paragraphleftindent code again.
12441
12442         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12443
12444         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12445         for paragrap_extra indent code and new token \\leftindent.
12446         (latexParagraphs): handle the leftindent as environment.
12447
12448         * ParameterStruct.h: added leftindent support.
12449
12450         * ParagraphParameters.C (leftIndent): added support functions for
12451         the paragraph left indent.
12452
12453         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12454         more appropriate.
12455
12456 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12457
12458         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12459         inside insetERT.
12460
12461         * text.C (computeBidiTables): No bidi in insetERT.
12462
12463         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12464         in RTL documents.
12465
12466 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * version.C.in: pre 5
12469
12470 2002-05-02  José Matos  <jamatos@fep.up.pt>
12471         * buffer.C (makeDocBookFile): white space changes, add newline to
12472         command styles.
12473         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12474
12475         * tabular.C (docBook): fix typo.
12476
12477 2002-05-03  Juergen Vigna  <jug@sad.it>
12478
12479         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12480         change in LyXText as we can not be sure it was not freed.
12481         (drawOneRow): remove unused code.
12482
12483         * text.C (drawInset): redo the calculation of the need_break_row as
12484         it could have a row which was already freed.
12485         (draw): look at the return value of drawInset and return false if
12486         it also returned false.
12487         (paintRowText): look at the return value of draw and return false if
12488         it also returned false.
12489
12490         * lyxtext.h: added bool return type to drawInset() and draw() so that
12491         if we have a change in the row so that the rowbreak has to be redone
12492         we abort drawing as it will be called again.
12493
12494 2002-05-02  Juergen Vigna  <jug@sad.it>
12495
12496         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12497         a change in the maintext also if we're inside an inset.
12498         (Dispatch): set the cursor again after a break line and after the
12499         screen has been updated as it could be we're in a different row.
12500
12501         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12502         to set the cursor behind the pargraph with > size().
12503         (setCursor): check also for the same paragraph when checking where
12504         to put the cursor if we have a NFR inset.
12505
12506         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12507         parts of layout read further up as it still was in the wrong
12508         position.
12509
12510 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12511
12512         * screen.C (drawFromTo): change sine fullRebreak always return
12513         true.
12514
12515         * buffer.C (parseSingleLyXformat2Token): reindent some
12516
12517         * BufferView_pimpl.C (update): change since fullRebreak always
12518         return true.
12519         (Dispatch): git rid of the last hardcoded "Standard"s.
12520
12521 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * text2.[Ch] (fullRebreak): make it return void now that we always
12524         returned true.
12525
12526 2002-04-30  Juergen Vigna  <jug@sad.it>
12527
12528         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12529         ert compatibility check for "latex" layout.
12530
12531 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12532
12533         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12534         minipages: use col% instead of p%, and also use the current font.
12535         (makeLaTeXFile): Fix use babel condition.
12536         (parseSingleLyXformat2Token): Correct font when reading old floats.
12537
12538 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12539
12540         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12541         inserting list of floats.
12542
12543 2002-04-25  Herbert Voss  <voss@lyx.org>
12544
12545         * MenuBackend.C (expand): don't add the graphics extensions to the
12546         export menu
12547
12548 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12549
12550         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12551         non-existing layout, do not complain if it was the default layout
12552         of the original class (bug #342)
12553
12554 2002-04-24  Juergen Vigna  <jug@sad.it>
12555
12556         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12557         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12558
12559 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12560
12561         * buffer.C (getBibkeyList): If using \bibliography, return the
12562         option field with the reference itself. Enables us to provide natbib
12563         support when using \bibliography.
12564
12565 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12566
12567         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12568
12569         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12570         natbib is provided by the LaTeX class.
12571
12572 2002-04-23  Juergen Vigna  <jug@sad.it>
12573
12574         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12575         Wakeup functions.
12576
12577         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12578
12579 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12580
12581         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12582
12583         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12584         ensuremath around textordmasculine, textordfeminine and
12585         textdegree.
12586
12587 2002-04-19  Juergen Vigna  <jug@sad.it>
12588
12589         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12590         reinitializing the buffer otherwise row-dimensions may be wrong.
12591         (update): reset also the selection cursors if they do exits otherwise
12592         their x/y positions may be wrong.
12593
12594         * text2.C (cursorDown): don't enter the inset if we came from a row
12595         above and are one row over the inset.
12596
12597         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12598         really leaving an inset.
12599
12600 2002-04-18  Juergen Vigna  <jug@sad.it>
12601
12602         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12603         of the selected paragraph does not have the selected layout also if
12604         the last one had!
12605
12606         * text2.C (setLayout): fixed bug which did not change last selected
12607         paragraph.
12608
12609         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12610         changed the read and substituted \\end_float with \\end_inset!
12611
12612         * BufferView_pimpl.C (cursorPrevious):
12613         (cursorNext): fixed to make it work with rows heigher than the work
12614         area without moving the cursor only the draw of the row.
12615         (workAreaMotionNotify): fix jumping over high rows.
12616
12617 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12618
12619         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12620         Ressler.
12621
12622 2002-04-16  Juergen Vigna  <jug@sad.it>
12623
12624         * text2.C (setCursor): set also the irow().
12625         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12626         (cursorUp):
12627         (cursorDown): support for locking an inset if the x_fix value goes
12628         inside it. That way I can transverse insets too with cursor up/down.
12629
12630         * lyxrow.h: added irow helper function same as other (i) functions.
12631
12632         * BufferView_pimpl.C (cursorPrevious):
12633         (cursorNext): fixed for insets!
12634
12635 2002-04-15  Juergen Vigna  <jug@sad.it>
12636
12637         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12638         position otherwise it is wrong in some cases.
12639
12640         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12641         inside the inset before the call.
12642
12643 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12644
12645         * buffer.[Ch] (getBibkeyList): make it const.
12646
12647 2002-04-12  Juergen Vigna  <jug@sad.it>
12648
12649         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12650
12651         * text2.C (getCursorX): new helper function
12652         (setCursor): compute also ix_
12653         (setCursorFromCoordinates): set also ix.
12654
12655         * lyxcursor.h: added ix_ and helper functions.
12656
12657         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12658
12659         * buffer.C (insertStringAsLines): dont break paragraph if the this
12660         paragraph is inside an inset which does not permit it!
12661
12662         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12663         also with no chars on this paragraph.
12664         (paintRowText): only paint stuff if it's inside the workarea!
12665
12666         * paragraph.C (breakParagraph): honor keepempty flag and break the
12667         paragraph always below not above.
12668
12669         * BufferView2.C (unlockInset): update the paragraph layout on inset
12670         unlock as we changed paragraph in such a case.
12671
12672         * lyxfind.C (LyXFind): clear the former selection if not found!
12673
12674         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12675         again called in insertChar().
12676
12677         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12678         an inset which uses the whole row!
12679         (rightMargin): ditto.
12680         (insertChar): force a rebreak if we inserted an inset!
12681
12682 2002-03-28  Herbert Voss  <voss@lyx.org>
12683
12684         * lyxlength.[Ch]: add inBP() to get the right PS-point
12685         units (BigPoint). With inPixels we have rounding errors
12686
12687 2002-04-11  Juergen Vigna  <jug@sad.it>
12688
12689         * text2.C (setCursorFromCoordinates): set iy to the right value.
12690         (setCursor): add check if row->previous exists!
12691
12692         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12693         an old float_type as this was the case in the old code!
12694
12695         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12696
12697         * BufferView2.C (showLockedInsetCursor): use iy
12698         (fitLockedInsetCursor): ditto
12699
12700         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12701         locked insets as there we have the right value now.
12702
12703         * lyxcursor.C: added iy_ variable and iy functions to set to the
12704         baseline of cursor-y of the locked inset.
12705
12706         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12707         (setCursor): fixed for insets which need a full row.
12708
12709         * text.C (rowLastPrintable): don't ignore the last space when before
12710         an inset which needs a full row.
12711         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12712         as last character of a row when before a inset which needs a full row.
12713
12714 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * version.C.in: update date
12717
12718         * text2.C (fullRebreak): try to always return true and see what
12719         happens...
12720
12721 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * MenuBackend.C (expand): use Floating::listName
12724
12725         * FloatList.C (FloatList): add listName argument to the built-in
12726         floats
12727
12728         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12729         text associated with the float.
12730
12731 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12732
12733         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12734
12735 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * ShareContainer.h: add a couple of missing typenames.
12738
12739 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12740
12741         * lyxrc.C (getDescription): use _() correctly rather than N_().
12742
12743 2002-03-28  Herbert Voss  <voss@lyx.org>
12744
12745         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12746         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12747
12748 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12749
12750         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12751         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12752
12753 2002-03-29  Juergen Vigna  <jug@sad.it>
12754
12755         * lyxfunc.C (dispatch): add a missing fitCursor call.
12756
12757         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12758         it was scrolled by a cursor move, so return the bool status.
12759
12760         * BufferView.C (fitCursor): return the bool flag also to the outside
12761         world as this is needed.
12762
12763         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12764
12765         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12766         call the edit() as it is not needed (and wrong) IMO.
12767         (workAreaButtonPress): set the screen_first variable before evt.
12768         unlock the inset as this may change screen_first and then we have
12769         a wrong y position for the click!
12770
12771 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * MenuBackend.C (expand): another translation that I missed
12774
12775 2002-03-28  Juergen Vigna  <jug@sad.it>
12776
12777         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12778
12779         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12780
12781 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12782
12783         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12784
12785         * MenuBackend.C (expand): fix export/view/update when there is no
12786         document open.
12787
12788 2002-03-27  Herbert Voss  <voss@lyx.org>
12789
12790         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12791         and text%
12792
12793 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12794
12795         * bufferview_funcs.C (currentState): only show paragraph number
12796         for is DEVEL_VERSION is set.
12797
12798         * lyxfunc.C (dispatch): put warning in INFO channel
12799
12800         * MenuBackend.C (expand): translate the name of floats
12801
12802         * FloatList.C (FloatList): mark the float names for translation
12803
12804         * converter.C (convert): use LibScriptSearch
12805
12806 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12807
12808         * MenuBackend.C (defaults): fix default menu (we might as well get
12809         rid of it...)
12810
12811 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12814         directory.
12815
12816 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12817
12818         * lyxvc.C: reorder includes.
12819
12820 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12821
12822         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12823           properly
12824
12825 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * CutAndPaste.C: change layouts earlier on paste
12828           to avoid crashing when calling getFont()
12829
12830 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12831
12832         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12833         irritating #error.
12834
12835 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * WorkArea.C: remove 'Pending' debug message.
12838
12839         * most files: ws cleanup
12840
12841         * buffer.[Ch]: ws changes
12842
12843         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12844
12845 2002-03-21  Juergen Vigna  <jug@sad.it>
12846
12847         * tabular.C (SetMultiColumn): collapse also the contents of the
12848         cells and set the last border right. Added a Buffer const * param.
12849
12850 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12851
12852         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12853         linking or not.
12854
12855 2002-03-19  Juergen Vigna  <jug@sad.it>
12856
12857         * text2.C (clearSelection): reset also xsel_cache.
12858
12859         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12860         where it needs to be called (John tells us to do so too :)
12861         (selectionLost): reset sel_cache.
12862
12863         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12864
12865 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12866
12867         * text2.C (setCursorIntern): put debuging code in INSETS channel
12868
12869 2002-03-19  André Pönitz <poenitz@gmx.net>
12870
12871         * lyxfunc.C: tiny whitespace change
12872
12873 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12874
12875         * ToolbarDefaults.C (init):
12876         * LyXAction.C (init):
12877         * commandtags.h:
12878         * BufferView_pimpl.C (Dispatch):
12879         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12880
12881 2002-03-19  Allan Rae  <rae@lyx.org>
12882
12883         * exporter.C (Export): removeAutoInsets before doing anything else.
12884         While I've just introduced a dependency on BufferView this really is
12885         the best place to clean the buffer otherwise you need to cleanup in
12886         a dozen places before calling export or cleanup in a dozen functions
12887         that export calls.
12888
12889         * converter.C (runLaTeX):
12890         (scanLog): Better handling of removeAutoInsets and screen updates.
12891
12892         * lyxfunc.C (dispatch): small whitespace changes
12893
12894 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * WorkArea.C (C_WorkAreaEvent): return a value.
12897         (event_cb): return 1 if we handled the event, 0 otherwise.
12898
12899         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12900
12901 2002-03-18  Juergen Vigna  <jug@sad.it>
12902
12903         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12904         (GetAdditionalWidth): ditto.
12905         (RightLine): ditto.
12906         (LeftLine): ditto.
12907
12908         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12909         inset if we're there actually (probably not used right now but this
12910         is the direction to go for unifying code).
12911         (paste): disable code to clear the selection.
12912
12913         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12914         inside an InsetText and move the check further up as it is in the
12915         wrong place.
12916
12917         * text2.C (pasteSelection): set a selection over the pasted text.
12918
12919 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12920
12921         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12922         and libgraphics to build on Cygwin.
12923
12924 2002-03-15  Juergen Vigna  <jug@sad.it>
12925
12926         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12927         inserting an Inset into the paragraph. I know this is not the best
12928         fix but we already use current_view in CutAndPaste so we will remove
12929         all of it's using at the same time.
12930
12931         * buffer.C (sgmlError): deactivated function till it is rewritten in
12932         the right mode, now it can create problems.
12933
12934         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12935         before accessing it.
12936
12937 2002-03-14  Juergen Vigna  <jug@sad.it>
12938
12939         * undo_funcs.C (textHandleUndo): do the right thing when updating
12940         the inset after the undo/redo.
12941
12942         * text2.C (setCursor): just some testcode for #44 not ready yet.
12943
12944         * undo_funcs.C (textHandleUndo): set the next() and previous()
12945         pointers of the paragraph to 0 before deleting otherwise we have
12946         problems with the Paragraph::[destructor].
12947
12948         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12949         on a paragraph insertion.
12950
12951 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * buffer.C (asciiParagraph): use += operator for char append to
12954         string.
12955
12956         * paragraph.C (getFontSettings): compare >= not just >
12957         (highestFontInRange): ditto
12958         (setFont): ditto
12959
12960 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12961
12962         * paragraph.C: change several algorithm to be more appripriate for
12963         the problem domain. This is lookip in FontList and in the InsetList.
12964
12965 2002-03-13  André Pönitz <poenitz@gmx.net>
12966
12967         * commandtags.h:
12968         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12969
12970 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12971
12972         * commandtags.h:
12973         * LyXAction.C:
12974         * lyxfunc.C:
12975         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12976
12977 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12978
12979         * Painter.C (display): anon helper function, adjust code for this
12980         change.
12981         (pixmap): remove function.
12982
12983         * Painter.h: remove private display variable.
12984
12985         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12986
12987 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12988
12989         * WorkArea.[Ch]: remove figinset_canvas cruft.
12990
12991 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12992
12993         * lyxtextclass.C (operator): add one item cache optimization.
12994
12995         * bufferlist.h: doxy changes
12996
12997         * bufferlist.C: ws changes
12998
12999         * DepTable.[Ch] (ext_exist): place const in the right spot.
13000
13001         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13002         call resizeInsets.
13003         (workAreaExpose): call resizeInsets when the with BufferView changes.
13004         (Dispatch): adjust for protectedBlank removal
13005         (specialChar): call updateInset if the insert went ok.
13006
13007         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13008         specialChar instead.
13009
13010         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13011
13012         * BufferView.h: doxy change
13013
13014         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13015
13016         * lyxtextclass.C (operator[]): remove non-const version
13017         (defaultLayout): remove non-const version
13018
13019 2002-03-12  Juergen Vigna  <jug@sad.it>
13020
13021         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13022         did resize the LyXText too.
13023
13024         * buffer.C (readLyXformat2): set layout information on newly allocated
13025         paragraphs.
13026
13027         * tabular.C (OldFormatRead): set layout information on the paragraph.
13028
13029 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13030
13031         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13032
13033 2002-03-11  Juergen Vigna  <jug@sad.it>
13034
13035         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13036         plainly wrong.
13037         (resizeCurrentBuffer): force also the insets to resize themselfes.
13038         (moveCursorUpdate): fixed up for InsetText.
13039
13040 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13041
13042         * commandtags.h:
13043         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13044         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13045         value of Dialogs::tooltipsEnabled().
13046         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13047
13048 2002-03-08  Juergen Vigna  <jug@sad.it>
13049
13050         * BufferView_pimpl.C (updateInset): update inset inside inset also
13051         if it isn't inside theLockingInset().
13052
13053 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13054
13055         * buffer.C (asciiParagraph): redo some of the word and line length
13056         handling.
13057         (getLists): look for Caption instead of caption.
13058
13059 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13060
13061         * buffer.C (Buffer): initialize niceFile to true
13062         (makeLaTeXFile):
13063         (makeLinuxDocFile):
13064         (makeDocBookFile): make sure niceFile is true on exit
13065
13066 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13067
13068         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13069
13070 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13071
13072         * LyXSendto.C: remove.
13073         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13074         * lyx_gui.C: remove now-redundant comment.
13075         * ColorHandler.h: remove forward declaration of class WorkArea.
13076         * lyxfunc.C: remove #include "WorkArea.h".
13077
13078 2002-03-07  Juergen Vigna  <jug@sad.it>
13079
13080         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13081         got moved away with the DEPM and also set the inset_owner always
13082         right which before could have been omitted.
13083
13084 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13087         wanted layout is not found.
13088
13089 2002-03-07  Juergen Vigna  <jug@sad.it>
13090
13091         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13092
13093 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13094
13095         * paragraph.C (breakParagraph): use default layout not layout of
13096         prev paragraph.
13097         (Paragraph): clear ParagraphParameters.
13098
13099 2002-03-06  Juergen Vigna  <jug@sad.it>
13100
13101         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13102         otherwise it would not be a valid lenght. Fixed a special case in
13103         the minipage compatibility read where we end the document with a
13104         minipage.
13105
13106         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13107         was set as it could be 0 for InsetTexts first entry.
13108
13109 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13110
13111         * paragraph.C (writeFile): if layout is empty write out
13112         defaultLayoutName().
13113
13114         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13115         file without named layout we set layout to defaultLayoutName().
13116
13117 2002-03-06  Juergen Vigna  <jug@sad.it>
13118
13119         * CutAndPaste.C (copySelection): set layout for new paragraph.
13120
13121         * text.C (prepareToPrint): leave ERT inset left aligned
13122         (leftMargin): don't indent paragraphs inside ERT insets
13123
13124 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13125
13126         * paragraph.C (breakParagraph): dont call clear do the work manually
13127
13128         * paragraph.[Ch] (clear): remove function
13129
13130 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13131
13132         * paragraph.C (Paragraph): dont call clear, the work has already
13133         been done.
13134
13135         * lyxtextclass.C (operator): assert if n is empty
13136
13137         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13138         work manually instead.
13139
13140 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13141
13142         * BufferView_pimpl.C: protect selectionLost against text == 0
13143
13144 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * text.C (breakParagraph): fix a setting layout to '0' problem.
13147
13148 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13149
13150         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13151         final location of file, for the included files, and graphics.
13152
13153 2002-03-05  Juergen Vigna  <jug@sad.it>
13154
13155         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13156
13157 2002-03-04  Juergen Vigna  <jug@sad.it>
13158
13159         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13160
13161         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13162         last column of multicolumn cells.
13163         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13164
13165 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13166
13167         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13168         file if it doesn't go to a temporary file.
13169
13170         * buffer.C (sgmlOpenTag):
13171         (sgmlCloseTag):  remove extra newline insertion.
13172
13173 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13174
13175         * text.C (getRowNearY): comment out debug msg
13176
13177 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13178
13179         * text2.C: first -> first_y
13180
13181         * text.C (getRowNearY): add some attemts at a possible
13182         optimization, not working.
13183
13184         * tabular.[Ch]: add BufferParams to several function so that newly
13185         created paragraph can be initialized to he default layotu for the
13186         buffers textclass.
13187
13188         * tabular-old.C (ReadOld): add buf->params to call of Init
13189
13190         * screen.C: rename text->first to text->first_y
13191
13192         * paragraph.C (breakParagraph): always set layout in the broken
13193         paragraph
13194
13195         * lyxtextclass.C (Read): remove lowercase
13196         (hasLayout): ditto
13197         (operator): ditto
13198         (delete_layout): ditto
13199
13200         * lyxtext.h: rename first -> first_y
13201
13202         * lyxlayout.C (Read): remove lowercase
13203         (name): ditto
13204         (setName): ditto
13205         (obsoleted_by): ditto
13206
13207         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13208
13209         * buffer.C (insertErtContents): add params are to InsetERT
13210         (parseSingleLyXformat2Token): add code to check if a paragraphs
13211         layout really exist.
13212         (parseSingleLyXformat2Token): add params to several inset
13213         constructors
13214         (asciiParagraph): remove lowercase, do the layout comparisons with
13215         no_case
13216
13217         * BufferView_pimpl.C (cursorNext): first -> first_y
13218         (resizeCurrentBuffer): first -> first_y
13219         (updateScrollbar): first -> first_y
13220         (scrollCB): first -> first_y
13221         (workAreaMotionNotify): first -> first_y
13222         (workAreaButtonPress): first -> first_y
13223         (checkInsetHit): first -> first_y
13224         (cursorPrevious): first -> first_y
13225         (cursorNext): first -> first_y
13226         (Dispatch): add buffer_->params to severl inset contructors
13227
13228 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * lyxlayout.C (Read): remove some debug info that I forgot.
13231
13232         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13233         clean up the code slightly.
13234         (makeLinuxDocFile): ditto
13235         (makeDocBookFile): ditto
13236
13237         * text2.C: layout as string
13238
13239         * text.C: layout as string
13240
13241         * paragraph_pimpl.C: layout as string
13242
13243         * paragraph.[Ch]: layout as string
13244
13245         * lyxtextclasslist.[Ch]: layout as string
13246
13247         * lyxtextclass.[Ch]: layout as string
13248
13249         * lyxtext.h: layout as string
13250
13251         * lyxlayout.[Ch]: layout as string
13252
13253         * lyx_cb.C: layout as string
13254
13255         * bufferview_funcs.C: layout as string
13256
13257         * bufferparams.C: layout as string
13258
13259         * buffer.C: layout as string
13260
13261         * LyXView.[Ch]: layout as string
13262
13263         * LaTeXFeatures.[Ch]: layout as string
13264
13265         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13266
13267         * BufferView_pimpl.C: change current_layout to string, remove
13268         lyx::layout_type.
13269         (Dispatch):
13270         (smartQuote):
13271         (insertInset):
13272         (workAreaButtonRelease): layout as string
13273
13274         * BufferView2.C (unlockInset): adjust
13275
13276         * vspace.C (asLatexCommand): use an explict temp variable.
13277
13278 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13279
13280         * Makefile.am: use FRONTEND_*
13281
13282 2002-03-01  Juergen Vigna  <jug@sad.it>
13283
13284         * tabular.C (SetWidthOfMulticolCell): changed to something better
13285         I hope but still work in progress.
13286         (recalculateMulticolumnsOfColumn): renamed function from
13287         recalculateMulticolCells as it is more appropriate now.
13288         (SetWidthOfCell): calculate multicols better.
13289
13290 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13291
13292         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13293
13294         * lyxfunc.C (processKeySym): print sequence also if it is
13295         `deleted' (complete)
13296
13297         * kbsequence.C (print): print sequence even if it is deleted
13298         (complete would be a better word, actually).
13299
13300         * lyxfunc.C (dispatch): print complete options after a prefix key
13301
13302         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13303
13304 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13305
13306         * text2.C (setCharFont): eliminate setCharFont code duplication.
13307
13308 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13309
13310         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13311         LFUN_TABULAR_FEATURE (bug #177)
13312
13313 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13314
13315         * Makefile.am: remove figure.h
13316
13317 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13318
13319         * Bufferview_pimpl.C:
13320         * CutAndPasteC:
13321         * LaTeX.C:
13322         * LyXSendto.C:
13323         * buffer.C:
13324         * bufferlist.C:
13325         * converter.C:
13326         * language.C:
13327         * lyxfunc.C:
13328         * lyxvc.C:
13329         * paragraph.C:
13330         * text.C:
13331         * text2.C: remove #include "lyx_gui_misc.h".
13332
13333         * LaTeX.C: added #include <cstdio>
13334
13335 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13336
13337         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13338         that the paragraph following this one can have.
13339
13340         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13341
13342         * vspace.C (asLatexCommand): fix bogus gcc warning
13343
13344         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13345
13346 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13347
13348         * text2.C (setLayout): get rid of redundant code
13349
13350 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13351
13352         * text2.C (incDepth): make sure depth cannot be increased beyond
13353         reasonable values.
13354
13355 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13356
13357         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13358         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13359
13360         * PainterBase.h (image):
13361         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13362         a LyXImage const *.
13363
13364 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13365
13366         * BufferView.C:
13367         * BufferView.h:
13368         * BufferView_pimpl.C:
13369         * BufferView_pimpl.h:
13370         * LaTeXFeatures.C:
13371         * LyXAction.C:
13372         * LyXView.C:
13373         * Makefile.am:
13374         * UpdateList.h:
13375         * UpdateList.C:
13376         * buffer.C:
13377         * figure.h:
13378         * figureForm.C:
13379         * figureForm.h:
13380         * figure_form.C:
13381         * figure_form.h:
13382         * lyx_cb.C:
13383         * lyx_gui.C:
13384         * lyx_gui_misc.C:
13385         * lyxfunc.C:
13386         * sp_base.h:
13387         * sp_ispell.h:
13388         * sp_pspell.h:
13389         * sp_spell.C: remove fig inset, and the crap house of
13390           cards that follows it
13391
13392 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13393
13394         * Makefile.am:
13395         * lyxserver.C:
13396         * os2_defines.h:
13397         * os2_errortable.h:
13398         * nt_defines.h: move .h into support/
13399
13400         * vms_defines.h: remove
13401
13402         * WorkArea.C: add space in debug output
13403
13404         * text2.C:
13405         * paragraph.C:
13406         * buffer.C: add WITH_WARNINGS
13407
13408         * vc-backend.h:
13409         * vc-backend.C:
13410         * bufferlist.C: s/retrive/retrieve/, add docs
13411
13412         * vspace.h:
13413         * vspace.C:
13414         * kbmap.h:
13415         * lyxlength.h:
13416         * lyxgluelength.h:
13417         * length_common.h:
13418         * chset.h:
13419         * chset.C: add docs
13420
13421         * lyxgui.C: add ID to X error handler
13422
13423         * lyxtestclass.c: fix typo
13424
13425 2002-02-26  Juergen Vigna  <jug@sad.it>
13426
13427         * tabular_funcs.C (write_attribute): changed so that some default
13428         attributes are not written at all.
13429         (getTokenValue): set default values before trying to read the
13430         value so we have the return value always set as default if we don't
13431         find the token we search for.
13432
13433         * tabular.C (Write): write bools as bools not as strings!
13434
13435 2002-02-22  Juergen Vigna  <jug@sad.it>
13436
13437         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13438         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13439
13440         * text.C (leftMargin): don't add an indent for paragraphs inside
13441         tabular cells (fix #208).
13442
13443 2002-02-21  José Matos  <jamatos@fep.up.pt>
13444
13445         * tabular.C (docBook): fixed support for long tables.
13446
13447 2002-02-20  Juergen Vigna  <jug@sad.it>
13448
13449         * text2.C (getFont): get the drawing font of the Inset if this
13450         paragraph is inside an inset (only important for InsetERT for now).
13451
13452         * buffer.C (insertErtContents): use new lanugage params in ERT
13453         constructor.
13454
13455         * CutAndPaste.C: commenting out seemingly uneeded code.
13456
13457 2002-02-19  Allan Rae  <rae@lyx.org>
13458
13459         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13460         Iterators might be simple to use but they also get invalidated.
13461         (removeAutoInsets): renamed saved cursor tracking variables and added
13462         some comments to clarify what everything does.
13463
13464 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13465
13466         * Chktex.C:
13467         * LaTeX.C:
13468         * LyXSendto.C:
13469         * converter.C:
13470         * lyx_cb.C:
13471         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13472         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13473
13474         * lyxfunc.C:
13475         * vc-backend.h: remove #include "support/syscall.h"
13476
13477         * LaTeX.C:
13478         * LyXSendto.C:
13479         * converter.C: rearrange #includes in Lars' approved fashion.
13480
13481         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13482         forward declare class Timeout in the header file.
13483
13484         * XFormsView.C: changes due to the above.
13485
13486         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13487         similar to LyXView.
13488
13489         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13490         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13491
13492 2002-02-18  José Matos  <jamatos@fep.up.pt>
13493
13494         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13495         insets contents.
13496
13497 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13498
13499         * a lot of small ws changes
13500         * add a lot of using std::XXX
13501         * use std construcs some places where approp.
13502         * use some exisint stuff from lyxfunctional where approp.
13503         * Make file changes to use partial linking (lets test this now...)
13504
13505 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13506
13507         * Chktex.C:
13508         * buffer.C:
13509         remove #include "support/syscontr.h" as it's redundant. Always has been.
13510
13511         * Chktex.C:
13512         * LaTeX.C:
13513         * LyXSendto.C:
13514         * converter.C:
13515         * lyx_cb.C:
13516         * vc-backend.C:
13517         change Systemcalls::System to Systemcalls::Wait and
13518         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13519         No change of functionality, just reflects the stripped down Systemcalls
13520         class.
13521
13522 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13523
13524         * debug.[Ch]: add a GRAPHICS type to the enum.
13525
13526 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13527
13528         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13529
13530         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13531         there is an inset.
13532
13533 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13534
13535         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13536         match the changes below.
13537
13538         * text2.C (toggleInset): if there is not editable inset at cursor
13539         position, try to see if cursor is _inside_ a collapsable inset
13540         and close it.
13541
13542 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13543
13544         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13545         document menu has a nice checkbox
13546
13547 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13548
13549         * lyxlength.C (asLatexString): change PW to output as percent of
13550         \textwidth.
13551
13552         * lengthcommon.C: change '%' to 't%'
13553
13554         * lyxfunc.C (dispatch): a few comments from Martin
13555
13556 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13557
13558         * WorkArea.h:
13559         * WorkArea.C:
13560         * BufferView_pimpl.h:
13561         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13562           the X selection.
13563
13564 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13565
13566         * vspace.C (inPixels): fix compiler warning
13567
13568 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13569
13570         * lyxfunc.C (getStatus): fix status message for disabled commands.
13571
13572 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13573
13574         * BufferView_pimpl.C: fix crash on close buffer
13575         during selection (#227)
13576
13577 2002-01-27  Herbert Voss  <voss@lyx.org>
13578
13579         * buffer.C: link old Figure to new graphic inset
13580
13581 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13582
13583         * FontLoader.C (getFontinfo): Change the latex font names in order
13584         to match the names of type1inst.
13585
13586 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13587
13588         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13589
13590         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13591         (extchanged): ditto
13592         (ext_exist): ditto
13593         (remove_files_with_extension): ditto
13594         (remove_file): ditto
13595         (write): ditto
13596
13597         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13598         document is smaller than the work area height. Do not initialize
13599         static variables to 0.
13600
13601 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13602
13603         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13604
13605         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13606         LFUN_LAYOUT_PARAGRAPHS.
13607
13608         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13609         tabular. It is possible to provide a possible cell, which will
13610         typically be the actcell from the corresponding insettabular
13611
13612         * lyxfunc.C (getStatus): small cleanup; disable
13613         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13614         true
13615
13616 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13617
13618         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13619
13620         * paragraph.C (startTeXParParams):
13621         (endTeXParParams): new methods. The LaTeX code to
13622         start/end paragraph formatting
13623         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13624         empty (fixes bug #200)
13625
13626         * vspace.C (inPixels): adapt to the change below
13627         (inPixels): [later] more cleanups (remove unused variables)
13628
13629         * lyxlength.C (inPixels): change to use a width and a height as
13630         parameter.
13631
13632 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13633
13634         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13635         Replaced with \paperwidth
13636
13637         * DepTable.C (insert): add std:: qualifier
13638
13639 2002-01-18  Allan Rae  <rae@lyx.org>
13640
13641         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13642         updated also?
13643
13644         * text.C (drawInset): Turned out I didn't know enough about how
13645         rebreaking worked.  This fixes most of the redraw problems.  I see
13646         an occasional cursor trail when a line is broken now and the cursor
13647         placement can seem out by a few pixels also after a rebreak.
13648
13649 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13650
13651         * buffer.C (parseSingleLyXformat2Token): update because minipage
13652         width is now a LyXLength
13653
13654         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13655
13656         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13657         math insets
13658
13659 2002-01-17  Juergen Vigna  <jug@sad.it>
13660
13661         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13662
13663         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13664         is set correctly and the inset is updated correctly.
13665
13666 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13667
13668         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13669         the beginning of the loop.
13670
13671 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * lyxrc.C: improve help for use_scalable_fonts
13674
13675 2002-01-17  Allan Rae  <rae@lyx.org>
13676
13677         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13678
13679 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13680
13681         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13682         make sure to set their inset_owner to the right value (bug #171)
13683
13684 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13685
13686         * DepTable.h
13687         * DepTable.C: Implement mtime checking to reduce time spent doing
13688         CRCs.
13689
13690 2002-01-16  Juergen Vigna  <jug@sad.it>
13691
13692         * tabular.C (GetAdditionalHeight): one of error fixed.
13693
13694         * lyxrc.C (output): small fix in writing use_pspell.
13695
13696 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13697
13698         * sp_base.h: #include LString.h
13699
13700 2002-01-16  Allan Rae  <rae@lyx.org>
13701
13702         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13703         Can someone check this please?
13704
13705         * text.C (drawInset): It was possible that p.row would be removed by
13706         breakAgainOneRow upsetting a few other settings.  There may be another
13707         small tweak possible by setting need_break_row = 0 when p.row has been
13708         removed but I don't know enough about the logic here.
13709
13710 2002-01-15  Allan Rae  <rae@lyx.org>
13711
13712         * text.C (insertChar): removed conditional truism.
13713
13714         * BufferView2.C (removeAutoInsets): More tweaks.
13715         cur_par_prev could be a stray pointer.  Check for trailing empty line
13716         in case last line was cur_par and only had an error inset on it.
13717
13718 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13719
13720         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13721         absolute
13722
13723         * vc-backend.C (most methods):
13724         * exporter.C (Export):
13725         * converter.C (convert):
13726         (runLaTeX):
13727         * LyXSendto.C (SendtoApplyCB):
13728         * lyxfunc.C (dispatch):
13729         (menuNew):
13730         (open):
13731         (doImport):
13732         * lyx_cb.C (AutoSave):
13733         (InsertAsciiFile):
13734         * BufferView_pimpl.C (MenuInsertLyXFile):
13735         * buffer.C (runChktex): use Buffer::filePath().
13736
13737         * buffer.h: rename filename to filename_; rename filepath to
13738         filepath_ and make it private
13739         (filePath): new method
13740
13741         * buffer.C (writeFile): use fileName()
13742         (getLatexName):
13743
13744         * lyx_main.C (init): fix starting  of LyX when the binary is a
13745         link from so,ewhere else.
13746
13747         * minibuffer.C: include <cctype> for isprint
13748
13749 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13750
13751         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13752         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13753         name clash with InsetCollapsable's width function.
13754
13755 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13756
13757         * lastfiles.C: include <iterator>
13758
13759 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13760
13761         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13762         std::count.
13763
13764         * buffer.C (makeLaTeXFile): ditto.
13765         Also make loop operation more transparent.
13766
13767 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * ToolbarDefaults.C: remove trailing comma closing namespace.
13770
13771         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13772
13773         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13774         as in WorkArea.
13775
13776         * trans.C (Load): comment out unused variable, allowed.
13777
13778 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13779
13780         * minibuffer.[Ch] (append_char): new method to recieve input from the
13781         drop-down completion browser. If a key was pressed, then recieve this
13782         char and append it to the existing string.
13783         (peek_event): modify the positioning data passed to the completion
13784         browser so that it can be placed above the minibuffer rather than below.
13785 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13786
13787         * LyXAction.C (init): alloe error-next for readonly documents.
13788
13789         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13790         count.
13791
13792 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13793
13794         * bufferlist.C (readFile): create the buffer _after_ checking that
13795         the file exists.
13796
13797         * lyxfunc.C (verboseDispatch): fix handling of arguments
13798
13799         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13800
13801         * lyxrc.C: use string::erase() instead of initializing to "".
13802
13803
13804 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * BufferView_pimpl.h:
13807         * BufferView_pimpl.C:
13808         * WorkArea.h:
13809         * WorkArea.C:
13810         * text2.C: tell X when we have made a selection for copying
13811
13812 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13813
13814         * BufferView_pimpl.C (MenuInsertLyXFile):
13815         * lyxfunc.C (menuNew):
13816         (open):
13817         (doImport): add shortcuts to directory buttons
13818
13819         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13820         open a float)
13821
13822         * lyxfunc.C (setStatusMessage):
13823         (getStatusMessage): new methods
13824         (getStatus):use setStatusMessage instead of setErrorMessage
13825         (dispatch): when function is disabled, set error message here
13826         [instead of in getStatus previously]
13827
13828         * BufferView_pimpl.C (workAreaButtonRelease): update
13829         toolbar/menubar here too.
13830
13831 2002-01-13  Allan Rae  <rae@lyx.org>
13832
13833         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13834         Now seems indestructible.  Remaining task is to audit all other
13835         code affected by deleteEmptyParagraphMechanism.  One small quirk
13836         left is that an empty document with an error in the preamble can
13837         be made to report an error but no error box appears.  I don't know
13838         where it goes.
13839         (removeAutoInsets): Improved comments.
13840
13841 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13842
13843         * Thesaurus.h:
13844         * Thesaurus.C: update for Aiksaurus 0.14
13845
13846 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * text2.C (firstParagraph): removed member function, all uses
13849         replaces with ownerParagraph
13850         (redoParagraphs): here
13851         (updateInset): here
13852         (toggleAppendix): here
13853         * BufferView2.C (insertErrors): here
13854         (setCursorFromRow): here
13855
13856 2002-01-13  Allan Rae  <rae@lyx.org>
13857
13858         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13859         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13860         There is still a way to segfault this although you may have to do this
13861         multiple times: Have an InsetERT with an unknown command in it.
13862         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13863         <down-arrow>, <Enter> again, View->DVI, BANG!
13864
13865         * text2.C (setCursor):
13866         (deleteEmptyParagraphMechanism):
13867         * lyxtext.h (setCursor):
13868         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13869         Making use of the return value may help fix other bugs.
13870
13871 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13872
13873         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13874
13875         * LyXView.C (updateMenubar): call MenuBar::update here
13876         (updateToolbar): but not here
13877         (showState): do not update toolbar/menubar
13878
13879         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13880         should need to care about that.
13881
13882         * lyxfunc.C (verboseDispatch): simplify a bit
13883         (getStatus): have a version which takes a pseudoaction, and
13884         another which requires a (kb_action,string).
13885
13886         * LyXAction.C (retrieveActionArg): make it work also when action
13887         is not a pseudo-action.
13888         (getActionName): simplify a bit
13889         (helpText):
13890
13891 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13892
13893         * lyxfunc.C (verboseDispatch): new families of methods with
13894         several ways to specify a command and a bool to indicate whether
13895         the command name and shortcut should be displayed in minibuffer
13896         (eventually, we could extend that to a finer bitmask like
13897         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13898         (dispatch): the pristine dispatch command which just, well,
13899         dispatchs! Note it still sets its result to minibuffer; I'm not
13900         sure we want that.
13901
13902         * lyxfunc.h: remove setHintMessage
13903
13904         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13905
13906 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13907
13908         * BufferView_pimpl.C (specialChar): delete new inset if we have
13909         not been able to insert it.
13910
13911         * kbmap.C: revert to using int instead of kb_action, since all we
13912         are dealing with is pseudo-actions.
13913
13914         * LyXAction.C (searchActionArg): change to return int instead of
13915         kb_action, since the result is a pseudoaction.
13916
13917 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13918
13919         * buffer.C (insertErtContents): Fix (partially) the font bug.
13920
13921 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13922
13923         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13924         as the other one is broken on my machine!
13925
13926 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13927
13928         * commandtags.h:
13929         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13930
13931 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13932
13933         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13934         reflect their actual use. Provide compatibility code for older lyxrc
13935         files.
13936
13937         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13938         FL_NORMAL_STYLE.
13939         change names of popup font variables in line with the changes to lyxrc.C
13940
13941 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13942
13943         * buffer.C (asciiParagraph): avoid outputing a word twice after
13944         an inset.
13945
13946         * lyxrc.C (getDescription): document that document_path and
13947         template_path can be empty.
13948
13949 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13950
13951         * LaTeXFeatures.C (getMacros):
13952         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13953
13954         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13955
13956         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13957         getPackages.
13958         (getPackages): rename feature "floats" to "float". Use an array to
13959         iterate over 'simple' features (i.e. just a \usepackage). Add
13960         handling of "amsmath" (renamed from "amsstyle").
13961
13962 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13963
13964         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13965         features list.
13966
13967 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13970         FuncStaus::FuncStatus & FuncStaus::some_method().
13971
13972 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13973
13974         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13975         of the func_satus stuff. Edited and massaged in various ways by
13976         JMarc.
13977
13978         * lyxfunc.C (getStatus): use FuncStatus
13979
13980 2002-01-08  Juergen Vigna  <jug@sad.it>
13981
13982         * text.C (nextBreakPoint): use function Inset::isChar().
13983
13984         * paragraph.C (TeXOnePar): use function
13985         Inset::forceDefaultParagraphs.
13986
13987         * buffer.C (latexParagraphs): use function
13988         Inset::forceDefaultParagraphs.
13989
13990 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13991
13992         * lyx_gui.C (init): set the style of the menu popups to
13993         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13994
13995 2002-01-07  Juergen Vigna  <jug@sad.it>
13996
13997         * text.C (setHeightOfRow): small fix
13998         (prepareToPrint): don't look at alignment if we don't have the place
13999         for doing it.
14000
14001 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14002
14003         * box.C: New file. Move the Box methods and functions out of box.h,
14004         following Lars' suggestion.
14005
14006 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14007
14008         * box.h: #include "support/LOstream.h", needed for inlined function.
14009
14010         * lyxtextclass.C:
14011         * lyxtextclasslist.C: added some using std declarations.
14012
14013 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14014
14015         * box.h: make signed dimensions to allow insets wider than
14016           the screen (bug #162)
14017
14018         * BufferView_pimpl.C: add some insetHit debug
14019
14020 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14021
14022         * vc-backend.C: add FIXME
14023
14024 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * lyxfunc.C (getStatus): enable code for showing math font status
14027         in toolbar/menu.
14028
14029 2002-01-07  Juergen Vigna  <jug@sad.it>
14030
14031         * text.C (nextBreakPoint): removed debug output not needed anymore.
14032
14033 2002-01-06  Juergen Vigna  <jug@sad.it>
14034
14035         * text.C (nextBreakPoint): fixed up this function we had this bug
14036         since ever but now hopefully we break row better.
14037         (insertChar): we have to check if an inset is the next char as it
14038         could now happen that a large inset is causing a break.
14039
14040 2002-01-05  Juergen Vigna  <jug@sad.it>
14041
14042         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14043         if it doesn't like to be drawed.
14044
14045 2002-01-04  Juergen Vigna  <jug@sad.it>
14046
14047         * BufferView2.C (lockInset): forgot to set a cursor.
14048
14049         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14050
14051 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14052
14053         * FormMathsPanel.C:
14054         * FormMathsPanel.h
14055         * MathsSymbols.C:
14056         * form_maths_panel.C:
14057         * form_maths_panel.h:
14058         * form_maths_panel.fd: implemented sub- and super- buttons in math
14059         panel.
14060
14061         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14062         (or ^ space) to be used as in TeX (req'd by Andr�.
14063
14064         * lyxfunc.C: Allow ^ and _ again to be used both as
14065         super/subscript (mathed) and as themselves (in text).
14066
14067 2002-01-03  Allan Rae  <rae@lyx.org>
14068
14069         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14070         "LyX" or the filename of the current buffer if it has one.  This is a
14071         modified form of John Levon's patch.
14072
14073         * XFormsView.C (setWindowTitle): also set icon title.
14074
14075         * LyXView.h (setWindowTitle): signature changed.
14076         * XFormsView.h (setWindowTitle): ditto.
14077
14078 2002-01-02  Juergen Vigna  <jug@sad.it>
14079
14080         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14081
14082 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14083
14084         * screen.C (topCursorVisible): introduce a temp var for
14085         text->cursor.row(), handle the case where this row is null. (kindo
14086         hachish)
14087
14088         * text2.C (setCursor): add a couple of asserts.
14089
14090         * paragraph.h (inset_iterator): add -> operator
14091
14092         * paragraph.[Ch] (autoDeleteInsets): remove member function
14093
14094         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14095         cursor pos correctly and handle inset deletion by itself.
14096         (insertErrors): move iterator declaration out of for expression
14097
14098         * lyxtextclass.C: add <algorithm>
14099
14100         * Makefile.am: added the new files to sources, removed layout.C
14101
14102         * layout.C: removed file
14103
14104         * layout.h: remove LYX_DUMMY_LAYOUT
14105
14106         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14107         layout.
14108
14109         * lyxlayout.[Ch]:
14110         * lyxtextclass.[Ch]:
14111         * lyxtextclasslist.[Ch]: new files
14112
14113         * include order changes to a lot of files, also changes because of
14114         the six new files.
14115
14116 2001-12-27  Juergen Vigna  <jug@sad.it>
14117
14118         * buffer.C (asciiParagraph): more fixes.
14119
14120         * tabular.C (ascii): make ascii export support export of only the
14121         data separated by a column-delimiter.
14122         (ascii): better support for ascii export.
14123
14124         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14125
14126 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14127
14128         * tabular_funcs.C: use a "using std::getline" instead of the
14129         previous fix from Angus (necessary for cxx + lyxstring)
14130
14131 2001-12-24  Juergen Vigna  <jug@sad.it>
14132
14133         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14134
14135         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14136         problems. First check a minipage also if we have some ert-contents
14137         (not only on par->size(), second set the right depth of the paragraph
14138         on the relink to the root-paragraph-list!
14139
14140         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14141         which then did not anymore update the main paragraphs on undo/redo!
14142
14143 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14144
14145         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14146         code. Support all font-changing funcs (even those which are not in
14147         menu currently). Support for reporting font settings in
14148         mathed (disabled until Andre provides a function on mathed's side).
14149
14150         * func_status.h (toggle): small helper function to set toggle
14151         state on a flag.
14152
14153 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14154
14155         * tabular_funcs.C: getline -> std::getline
14156
14157 2001-12-21  Juergen Vigna  <jug@sad.it>
14158
14159         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14160         accessed and could be 0 (I couldn't generate this but it seems
14161         Michael could!).
14162
14163 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14164
14165         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14166         * tabular_funcs.h: here and include iosfwd
14167
14168 2001-12-20  Juergen Vigna  <jug@sad.it>
14169
14170         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14171         inside inset but undo_par was.
14172
14173 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14174
14175         * Thesaurus.C: always include <config.h> in sources.
14176
14177         * Painter.h:
14178         * lyxlookup.h:
14179         * box.h: do not include <config.h> in header files
14180
14181         * text.C (paintLastRow): remove unused variable
14182
14183         * text.C (transformChar):
14184         (insertChar):
14185         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14186
14187         * Painter.C (text):
14188         * font.C (width): rewrite to use uppercase() instead of
14189         islower/toupper.
14190
14191         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14192
14193 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14194
14195         * lyxfind.C: clean up of find failure position change
14196
14197 2001-12-20  Juergen Vigna  <jug@sad.it>
14198
14199         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14200
14201         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14202         (TeXRow): added to LaTeX a single tabular row.
14203         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14204         (Latex): simplified and finally good LT-h/f support.
14205         (various_functions): just small adaptions for LT-h/f support.
14206
14207         * tabular_funcs.[hC]: added and moved here all not classfunctions
14208         of LyXTabular.
14209
14210 2001-12-19  Juergen Vigna  <jug@sad.it>
14211
14212         * tabular.[Ch]: better support for longtabular options (not finished
14213         yet!)
14214
14215 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14216
14217         * text.C (paintLastRow): use the label font instead of the font of
14218         the last character to compute the size of *_BOX. This makes more
14219         sense and avoids a crash with empty paragraphs.
14220         Use Painter::rectangle to draw EMPTY_BOX.
14221
14222 2001-12-19  Juergen Vigna  <jug@sad.it>
14223
14224         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14225         the paragraphs if the replaced paragraph is not the first one!
14226         Tried to delete not used paragraphs but does not work yet so for
14227         now it's inside #ifdef's and by default off!
14228
14229 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14230
14231         * MenuBackend.C: include "lyx_main.h" instead of declaring
14232         lastfiles (actually was declared as LastFiles* instead of a
14233         scoped_ptr).
14234
14235 2001-12-17  Juergen Vigna  <jug@sad.it>
14236
14237         * tabular.C (AppendColumn): applied John's fix
14238
14239 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14240
14241         * BufferView.h:
14242         * BufferView.C:
14243         * BufferView_pimpl.h:
14244         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14245
14246         * Makefile.am:
14247         * box.h: new start of class for above
14248
14249         * lyxfunc.C: ignore space-only minibuffer dispatches.
14250           Show the command name when it doesn't exist
14251
14252         * minibuffer.C: don't add empty lines to the history
14253
14254         * minibuffer.C: add a space on dropdown completion
14255
14256 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * text.C: fix line above/below drawing in insets
14259
14260 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14261
14262         * lyxlength.C (LyXLength): Initialize private variables.
14263
14264 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14265
14266         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14267         when inserting error insets.
14268
14269 2001-12-13  Juergen Vigna  <jug@sad.it>
14270
14271         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14272         actually sometimes the before-paragraph.
14273         (setUndo): don't clear the redostack if we're not actually undoing!
14274
14275 2001-12-06  Juergen Vigna  <jug@sad.it>
14276
14277         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14278         and fixed redoing of main paragraph, so we can use it now ;)
14279
14280         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14281
14282 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14283
14284         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14285         Juergen's request
14286
14287 2001-12-13  André Pönitz <poenitz@gmx.net>
14288
14289         * undostack.[Ch]:
14290         * undo_func.C: minor cleanup
14291
14292 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14293
14294         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14295         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14296         font in urw-fonts package which is marked as -urw-fontspecific and
14297         does not work (incidentally, changing the encoding in the
14298         fonts.dir of this package to -adobe-fontspecific fixes the
14299         problem).
14300
14301         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14302         is a crash when undoing first paragraph (Juergen, please take a
14303         look). THis does not mean the undo fix is wrong, just that it
14304         uncovers problems.
14305
14306         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14307         the (Paragraph*) version when needed instead of duplicating the
14308         code.
14309
14310         * text.C (workWidth): use Inset::parOwner to find out where the
14311         inset has been inserted. This is a huge performance gain for large
14312         documents with lots of insets. If Inset::parOwner is not set, fall
14313         back on the brute force method
14314
14315         * paragraph_pimpl.C (insertInset):
14316         * paragraph.C (Paragraph):
14317         (cutIntoMinibuffer): set parOwner of insets when
14318         inserting/removing them
14319
14320         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14321
14322 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14323
14324         * commandtags.h:
14325         * LyXAction.C:
14326         * lyx_main.C:
14327         * lyxfunc.C:
14328         * mathed/formulabase.C:
14329         * mathed/math_cursor.[Ch]:
14330         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14331
14332
14333 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14334
14335         * lyxlength.[Ch] (operator!=): new function
14336
14337 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14338
14339         * text.C (workWidth): use Inset::parOwner to find out where the
14340         inset has been inserted. This is a huge performance gain for large
14341         documents with lots of insets. If Inset::parOwner is not set, fall
14342         back on the brute force method
14343
14344         * paragraph_pimpl.C (insertInset):
14345         * paragraph.C (Paragraph):
14346         (cutIntoMinibuffer): set parOwner of insets when
14347         inserting/removing them
14348
14349         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14350
14351 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14352
14353         * tabular-old.C (getTokenValue):
14354         * tabular.C (getTokenValue):
14355         (write_attribute): new versions for LyXLength
14356         (everywhere): adjust the use of widths
14357
14358         * tabular.h: change the type of widths from string to LyXLength
14359
14360 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14361
14362         * paragraph.C: fixed missing line number count when exporting
14363         Environments to LaTeX file
14364
14365         * buffer.C: added informational message for checking line numbers.
14366
14367 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14368
14369         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14370         paragraph, do the 'double space' part, but not the 'empty
14371         paragraph' one.
14372
14373         * text.C (workWidth): small optimization
14374         (getLengthMarkerHeight): use minimal size for negative lengths.
14375
14376 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14377
14378         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14379
14380         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14381
14382 2001-12-11  André Pönitz <poenitz@gmx.net>
14383
14384         * FontLoader.C:
14385         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14386
14387 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14388
14389         * text2.C: keep selection on a setFont()
14390
14391 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14392
14393         * lyx_cb.C: another bv->text misuse, from insert label
14394
14395 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14396
14397         * kbsequence.h:
14398         * kbsequence.C: re-instate nmodifier mask
14399
14400 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14401
14402         * lyx_main.h: make lyxGUI private.
14403
14404 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * lyxfind.C: place the cursor correctly on failed search
14407
14408 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14409
14410         * text.C (getLengthMarkerHeight): for small heights, the arrows
14411         are not always on top/bottom of the text
14412         (drawLengthMarker): smaller arrows; take the left margin in
14413         account; draw also vfills.
14414         (paintFirstRow):
14415         (paintLastRow): remove special code for vfill and standard spaces,
14416         since everything is handled in drawLengthMarker now.
14417
14418 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14419
14420         * buffer.C (insertErtContents): try to handle font and language
14421         interaction a bit better.g
14422
14423         * ColorHandler.C (updateColor): change the hash to cover the whole
14424         LColor enum, ws cleanup
14425         (getGCLinepars): ditto
14426         (getGCLinepars): only lookup in the linecache once.
14427
14428 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14429
14430         * iterators.C (operator++): Make the iterator more robust
14431
14432         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14433         (John's patch)
14434         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14435
14436 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14437
14438         * lyxtext.h:
14439         * text.C: better added space drawing
14440
14441 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * LyXView.C:
14444         * BufferView2.C: fix layout combo update on inset unlock
14445
14446 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14447
14448         * Makefile.am: don't compile unused files
14449
14450 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * lyxfunc.C:
14453         * commandtags.h:
14454         * LyXAction.C: remove old LFUN_LAYOUTNO
14455
14456 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14457
14458         * paragraph_pimpl.h:
14459         * paragraph_pimpl.C: isTextAt() doesn't need font param
14460
14461 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14462
14463         * lyxlex.h:
14464         * lyxlex.C: little cleanup
14465
14466 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14467
14468         * BufferView_pimpl.C: fix insertAscii for insets
14469
14470 2001-12-05  Juergen Vigna  <jug@sad.it>
14471
14472         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14473         set the right font on the "multi" paragraph paste!
14474
14475 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14476
14477         * trans_decl.h:
14478         * trans_mgr.[Ch]:
14479         * trans.[Ch]:
14480         * lyxgluelength.C:
14481         * lyxlength.C: remove out-commented code.
14482
14483         * BufferView_pimpl:
14484         * CutAndPaste.C:
14485         * DepTable.C:
14486         * buffer.C:
14487         * chset.C:
14488         * lastfiles.C:
14489         * lyxlex.C:
14490         * lyxlex_pimpl.C:
14491         * lyxserver.C:
14492         * screen.C:
14493         * tabular-old.C:
14494         * tabular.C:
14495         * text.C:
14496         * trans_mgr.C:
14497         * vc-backend.C: change "while(" to "while ("
14498
14499         * lyxlength.[Ch]: add zero function to check if length is zero or
14500         not
14501         * lyxgluelength.C: use it
14502
14503 2001-12-05  Allan Rae  <rae@lyx.org>
14504
14505         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14506         Works for 2.95.3, from what I understand of Garst's reports this should
14507         work for other g++ versions.  We're screwed if the abs(int) definition
14508         changed between bugfix releases of gcc.
14509
14510 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14511
14512         * text.C: fix chapter label offset !
14513
14514 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14515
14516         * lyxtext.h:
14517         * text.C: fix hfill at end of line, clean up
14518
14519 2001-12-04  Juergen Vigna  <jug@sad.it>
14520
14521         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14522         that we force an update of the inset and it's owners if neccessary.
14523
14524 2001-12-03  Juergen Vigna  <jug@sad.it>
14525
14526         * text.C (rowLast): simplified code
14527
14528 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14529
14530         * lyxfunc.C: fix show options on timeout
14531
14532 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14533
14534         * screen.C (topCursorVisible): scroll half a page when the cursor
14535         reached top of bottom of screen
14536
14537 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14538
14539         * minibuffer.C: deactivate on loss of focus
14540
14541 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14542
14543         * vspace.[Ch] (operator!=): add operator.
14544
14545 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14546
14547         * BufferView_pimpl.C: refuse to open an inset when
14548         there's a selection.
14549
14550 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14551
14552         * BufferView_pimpl.C: allow to click on RHS of full row insets
14553
14554 2001-11-30  Juergen Vigna  <jug@sad.it>
14555
14556         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14557         insets for undo reasons.
14558
14559 2001-11-28  André Pönitz <poenitz@gmx.net>
14560
14561         * vspace.[Ch]: cosmetical changes
14562
14563 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14564
14565         * LyXAction.h:
14566         * LyXAction.C:
14567         * lyxfunc.h:
14568         * lyxfunc.C:
14569         * kbmap.h:
14570         * kbmap.C:
14571         * lyxrc.C:
14572         * kbsequence.h:
14573         * kbsequence.C: part re-write of old kb code
14574
14575         * Painter.C:
14576         * WorkArea.C: remove Lgb_bug_find_hack
14577
14578 2001-11-30  José Matos <jamatos@fep.up.pt>
14579
14580         * buffer.C (makeDocBookFile): add a comment to point a hack.
14581         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14582         Fixed a double write of labels.
14583
14584 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14585
14586         * LaTeX.C:
14587         * LaTeX.h Fixed bug in LaTeX class where it would not
14588         re-run latex if no depfiles were changed, but the .dvi was removed.
14589
14590 2001-11-28  André Pönitz <poenitz@gmx.net>
14591
14592         * all the files from the change on 2001/11/26:
14593         use lyx::layout_type instead of LyXTextClass::size_type
14594         use lyx::textclass_type instead of LyXTextClassList::size_type
14595
14596 2001-11-29  Juergen Vigna  <jug@sad.it>
14597
14598         * text.C: added support for paragraph::isFreeSpacing()
14599
14600         * buffer.C: same as above
14601
14602         * paragraph.h: inserted isFreeSpacing() function to enable
14603         FreeSpacing inside InsetERT.
14604
14605         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14606         of the paragraph's in the cut/copy buffer to 0!
14607
14608         * text2.C (removeRow): remove the assert as it can!
14609
14610         * lyxtext.h: added helper function firstRow returning firstrow and
14611         made firstrow private again.
14612
14613         * BufferView2.C (lockInset): don't relock if we're already locked!
14614
14615         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14616         the only paragraph.
14617         (removeRow): added Assert::(firstrow)
14618
14619         * debug.C: forgot to add INSETTEXT here.
14620
14621 2001-11-28  Juergen Vigna  <jug@sad.it>
14622
14623         * sp_spell.C (initialize): changed error text to more general
14624         spellchecker command use (not only ispell!)
14625
14626         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14627
14628         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14629
14630 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14631
14632         * vspace.C: initialise lyxgluelength on failure
14633
14634 2001-11-28  Allan Rae  <rae@lyx.org>
14635
14636         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14637         declaration & definition that looks like a function declaration.
14638
14639 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * BufferView2.C (copy):
14642         (copyEnvironment): do not clear the selection when doing a copy.
14643
14644         * text.C (paintFirstRow): compilation fix
14645
14646 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14647
14648         * tabular.C (Latex): correct line count when writing latex.
14649
14650 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14651
14652         * paragraph_pimpl.h:
14653         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14654           bug a bit
14655
14656 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14657
14658         * text.C:
14659         * LColor.h:
14660         * LColor.C: change vfillline->added_space
14661
14662         * text.C: add markers and text for added space
14663
14664         * vspace.C: fix comment
14665
14666 2001-11-28  André Pönitz <poenitz@gmx.net>
14667
14668         * paragraph.C: whitespace changes
14669         * all the other files from the change on 2001/11/26:
14670         change *::pos_type into lyx::pos_type
14671
14672 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14673
14674         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14675         language of the document when inserting error insets.
14676
14677 2001-11-26  André Pönitz <poenitz@gmx.net>
14678
14679         * BufferView_pimpl.[Ch]:
14680         *       CutAndPaste.C:
14681         * buffer.[Ch]:
14682         * lyxcursor.[Ch]:
14683         * lyxfind.C:
14684         * lyxfunc.C:
14685         * lyxrow.[Ch]:
14686         * paragraph.[Ch]:
14687         * paragraph_pimpl.[Ch]:
14688         * sp_spell.C:
14689         * text.C:
14690         * text2.C: reduce header dependencies, introduce type for positions
14691
14692 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * <various>: change to use Alert.h
14695
14696 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14697
14698         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14699         when encountering an unknown token.
14700         (readLyXformat2): Show an error message if there were unknown tokens.
14701
14702 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14703
14704         * BufferView2.C:
14705         * BufferView_pimpl.C:
14706         * buffer.C:
14707         * paragraph.h:
14708         * text.C:
14709         * text2.C: use par->isInset()
14710
14711 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14712
14713         * paragraph_pimpl.h:
14714         * paragraph_pimpl.C: cleanup
14715
14716 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14717
14718         * text2.C (removeRow):
14719         * text.C (setHeightOfRow): remove useless (and costly) call to
14720         getRow.
14721
14722 2001-11-20  Allan Rae  <rae@lyx.org>
14723
14724         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14725         Now need Inset*::checkInsertChar() to return true for appropriate
14726         cases so that the characters in the minibuffer will actually be
14727         inserted.
14728
14729 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14730
14731         * text.C: change the order of the includes.
14732         (workWidth): initialize it at once.
14733         (workWidth): make maxw unsigned
14734         (setHeightOfRow): remove unused variable (inset)
14735         (selectSelectedWord): remove unused variable (inset)
14736         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14737
14738 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14739
14740         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14741         server is not running.
14742         (openConnection):
14743         (closeConnection): add debug info when server is disabled.
14744
14745         * ColorHandler.C (getGCForeground): send debug message to GUI
14746         channel.
14747
14748         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14749
14750         * kbmap.C (bind): modify because return conventions of
14751         kb_sequence::parse have changed.
14752
14753         * kbsequence.C (parse): only ignore spaces and not any stupid
14754         control character. This avoids tests like s[i] <= ' ', which are
14755         guaranteed to fail with 8bit characters and signed chars.
14756         Change return code to string::npos when there have been no error
14757         (0 was a bad idea when error is at first character)
14758
14759 2001-11-14  José Matos  <jamatos@fep.up.pt>
14760
14761         * buffer.h:
14762         * buffer.C (simpleDocBookOnePar): removed unused argument.
14763
14764 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14765
14766         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14767         insets which are part of a word. Paragraph::isLetter takes care of
14768         that now. Use Paragraph::isInset to identify insets.
14769         (selectSelectedWord): do not test for hyphenation break.
14770
14771         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14772         that protected spaces are considered as spaces.
14773
14774         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14775         Inset::isLetter.
14776
14777 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14778
14779         * lyxserver.h:
14780         * lyxserver.C: fix it. and small cleanup.
14781
14782 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14783
14784         * BufferView_pimpl.C: use inline helpers
14785
14786         * LaTeXFeatures.h:
14787         * LaTeXFeatures.C: fix typos
14788
14789         * Spacing.h:
14790         * Spacing.C: move spacing_string into class
14791
14792         * ToolbarDefaults.C: move stuff into namespace anon
14793
14794         * layout.h: update enum
14795
14796         * lyxfunc.C: use better debug
14797
14798         * minibuffer.h: fix typo
14799
14800         * debug.h:
14801         * debug.C:
14802         * WorkArea.C: add and use Debug::WORKAREA
14803
14804         * lyxtext.h:
14805         * text.C:
14806         * text2.C: code re-organisation, inline helpers
14807
14808 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14809
14810         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14811         std::vector.empty().
14812
14813 2001-11-09  Allan Rae  <rae@lyx.org>
14814
14815         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14816         '\n's after tables.  Tabular and ERT inset work now makes this no
14817         longer necessary.
14818
14819 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14820
14821         * minibuffer.h:
14822         * minibuffer.C: fix crash, improve drop-down completion
14823
14824 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * lyxserver.h:
14827         * lyxserver.C: invalidate fd's when doing endPipe()
14828
14829 2001-11-08  José Matos  <jamatos@fep.up.pt>
14830
14831         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14832         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14833
14834         * paragraph.h:
14835         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14836
14837 2001-11-07  José Matos  <jamatos@fep.up.pt>
14838
14839         * buffer.h:
14840         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14841         const qualifier.
14842
14843         * buffer.C (sgmlOpenTag):
14844         * buffer.C (sgmlCloseTag): removed debug info.
14845
14846         * buffer.h (sgmlOpenTag):
14847         * buffer.h (sgmlCloseTag): made public.
14848
14849 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14850
14851         * buffer.C (saveParamsAsDefaults):
14852         * lyx_cb.C (MenuLayoutSave): remove
14853
14854         * LyXAction.C (init):
14855         * commandtags.h:
14856         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14857
14858 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14859
14860         * buffer.C (setPaperStuff): removed from here...
14861
14862         * bufferparams.C (setPaperStuff): ... and moved there.
14863
14864 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * minibuffer.h:
14867         * minibuffer.C:
14868         * XFormsView.C: add support for drop-down completion
14869
14870 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14871
14872         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14873         commands.
14874
14875 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14876
14877         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14878         disabled.
14879
14880 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14881
14882         * lyx_main.C: change ref to known bugs
14883
14884 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14885
14886         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14887         to work around older babel problems.
14888
14889 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14890
14891         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14892
14893 2001-10-24  Juergen Vigna  <jug@sad.it>
14894
14895         * tabular-old.C (ReadOld): below variable changes reflected.
14896
14897         * tabular.[Ch]: added ltType struct for longtable header/footer
14898         defines and changed all instances where they are used. Added
14899         future support for double top/bottom rows.
14900
14901 2001-10-24  José Matos  <jamatos@fep.up.pt>
14902
14903         * buffer.h (docbookHandleCaption):
14904         * buffer.C (docbookHandleCaption): removed unused function.
14905         (makeDocBookFile): moved docbook supported version to v4.1.
14906
14907 2001-10-24  José Matos  <jamatos@fep.up.pt>
14908
14909         * tabular.h:
14910         * tabular.C (docbookRow): new function to export docbook code of a row.
14911         (DocBook): now honors the longtable flags.
14912
14913 2001-10-23  José Matos  <jamatos@fep.up.pt>
14914
14915         * LaTeXFeatures.h:
14916         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14917         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14918
14919         * buffer.C (makeLinuxDocFile):
14920         (makeDocBookFile): reworked the preamble, more clean, and with
14921         support for lyx defined entities. Changed the document declaration
14922         to be more XML friendly.
14923
14924         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14925         if we need to output XML that should be done with a filter.
14926
14927 2001-10-22  Juergen Vigna  <jug@sad.it>
14928
14929         * sp_pspell.h (class PSpell): add alive function needed in the
14930         controller to see if the spellchecker could be started.
14931
14932 2001-10-22  Juergen Vigna  <jug@sad.it>
14933
14934         * buffer.C (insertStringAsLines): modify the font for inserting
14935         chars in certain conditions by calling checkInsertChar(font).
14936
14937 2001-10-19  Juergen Vigna  <jug@sad.it>
14938
14939         * text.C (workWidth): use getRow instead of wrong algorithm.
14940         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14941
14942 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14943
14944         * lyxserver.h:
14945         * lyxserver.C:
14946         * lyx_main.h:
14947         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14948
14949 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14950
14951         * text.C (workWidth): do not search for the exact row when
14952         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14953         optimization for big documents.
14954
14955 2001-10-18  Juergen Vigna  <jug@sad.it>
14956
14957         * text.C (workWidth): new function with added Inset * parameter.
14958
14959 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14960
14961         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14962
14963         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14964         change return type of getColumnNearX.
14965
14966
14967         * text.C (changeRegionCase): use uppercase/lowercase instead of
14968         toupper/tolower.
14969         (leftMargin):
14970         (rightMargin): simplify code by factoring out the uses of
14971         textclasslist.
14972         (labelFill):
14973         (numberOfHfills):
14974         (setHeightOfRow):
14975         (appendParagraph): use Paragraph::size_type
14976
14977 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * vspace.C (asLatexString): add a missing break
14980
14981 2001-10-15  Herbert Voss  <voss@perce.de>
14982
14983         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14984
14985 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14986
14987         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14988         is not available.
14989
14990 2001-10-10  André Pönitz <poenitz@gmx.net>
14991
14992         * lyxfunc.C: removed greek_kb_flag.
14993
14994 2001-10-10  Herbert Voss  <voss@perce.de>
14995
14996         * lyx_main.C: delete global string help_lyxdir.
14997
14998 2001-10-09  Herbert Voss  <voss@perce.de>
14999
15000         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15001
15002         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15003
15004         * lyx_main.C: added global string help_lyxdir.
15005
15006         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15007
15008 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15009
15010         * lyxrc.C (set_font_norm_type): support iso8859-4
15011
15012 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15013
15014         * LaTeX.C (deplog): add another regex for MikTeX
15015
15016 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15017
15018         * lyxrc.C (set_font_norm_type): support iso8859-3
15019
15020 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15021
15022         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15023
15024         * LaTeXFeatures.C: remove special case of french and index
15025
15026         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15027         before \begin{document}). This solves several incompatibilities.
15028
15029 2001-10-03  Garst Reese  <reese@isn.net>
15030
15031         * lyx_cb.C: change CheckTex error msg.
15032
15033 2001-10-03  José Matos  <jamatos@fep.up.pt>
15034
15035         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15036
15037 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15038
15039         * .cvsignore: update
15040
15041         * lyx_main.C (commandLineVersionInfo): use new style version info.
15042
15043         * buffer.C (writeFile):
15044         (makeLaTeXFile):
15045         (makeLinuxDocFile):
15046         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15047
15048         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15049
15050         * version.h: update to use stuff in version.C
15051
15052         * version.C.in: new file. Contains version information determined
15053         at compile time. This is a merging of version.h and
15054         version_info.h.in.
15055
15056 2001-10-03  Juergen Vigna  <jug@sad.it>
15057
15058         * BufferView_pimpl.C (update): don't change "dirty" status in
15059         updateInset call.
15060
15061 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15062
15063         * WorkArea.C (c-tor): re-position version string slightly.
15064
15065 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15066
15067         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15068         revert to previous code.
15069
15070         WorkArea.[Ch]: (show, destroySplash): methods removed.
15071
15072         WorkArea.C: rework code so that it's an amalgam of the codes before and
15073         after the splash screen was moved to WorkArea.
15074
15075 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15076
15077         * lyxrc.C (read):
15078         * vspace.C (inPixels):
15079         (lyx_advance):
15080         * kbmap.C (bind):
15081         * buffer.C (insertStringAsLines):
15082         (asciiParagraph): fix types to be large enough
15083
15084         * lyxlex_pimpl.h: change member status from short to int
15085
15086         * layout.h: fix type of endlabeltype
15087
15088         * kbmap.C (bind):
15089         * kbsequence.C (parse): change return type to string::size_type
15090
15091         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15092         variable
15093
15094         * Bullet.C (bulletSize):
15095         (bulletEntry): do not use short ints as parameters
15096
15097         * BufferView2.C (insertLyXFile): change a char to an int.
15098
15099         * WorkArea.C (WorkArea): remove unneeded floats in computation
15100
15101 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15102
15103         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15104
15105         * paragraph.C (asString): Do not ignore newline/hfill chars when
15106         copying to the clipboard.
15107
15108 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15109
15110         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15111         after a multi-line inset.
15112
15113 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15114
15115         * paragraph.C (validate): Set NeedLyXFootnoteCode
15116
15117 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15118
15119         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15120         and decrease-error to decrease.
15121
15122 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15123
15124         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15125         it more readable (should be equivalent)
15126
15127 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15128
15129         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15130
15131 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15132
15133         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15134         of a cursor (row, etc.) after a character has been deleted
15135         (deleteEmptyParagraphMechanism): call the method above on _all_
15136         cursors held by the LyXText when a double space has been
15137         detected/deleted.
15138
15139 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15140
15141         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15142         pixmap.
15143         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15144
15145         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15146         background. Use greyOut() and the new show() methods to toggle between
15147         the foreground and background. Add code to remove the splash after
15148         its initial showing.
15149
15150         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15151         (create_forms): no longer call Dialogs::showSplash.
15152
15153 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * .cvsignore: add version_info.h
15156
15157 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15158
15159         * version_info.h.in: new file
15160
15161         * Makefile.am: add version_info.h.in
15162
15163         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15164         version_info.h instead of VERSION_INFO
15165
15166 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15167
15168         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15169         The ERT inset now returns string().
15170
15171 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15172
15173         * lyxtext.h, text.C (selectNextWord): renamed as
15174         selectNextWordToSpellcheck.
15175
15176         * text.C (selectNextWordToSpellcheck): Modified to not select
15177         words inside an ERT inset.
15178
15179 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15180
15181         * lyx_cb.C (MenuLayoutSave): change a bit the question
15182
15183         * sp_base.h: include <sys/types.h>
15184
15185 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15186
15187         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15188
15189 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15190
15191         * several files: fix typos in user-visible strings
15192
15193 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15194
15195         * text2.C (pasteSelection): do not set the selection, since it
15196         will be cleared later. Actually, the intent was to fix the way the
15197         selection was set, but I figured rmoving the code was just as good.
15198
15199 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15200
15201         * FontLoader.C (available): Check if font is available without
15202         loading the font.
15203
15204 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15205
15206         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15207
15208 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15209
15210         * lyxrc.[Ch]: added display_graphics variable and associated code.
15211
15212 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15213
15214         * bufferparams.C (hasClassDefaults): new method. Returns true if
15215         the buffer parameters correspond to known class defaults
15216
15217 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15218
15219         * XFormsView.C (show): set minimum size to the main window.
15220
15221 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15222
15223         * text2.C (copySelection):
15224         (cutSelection):
15225         * lyxfind.C (LyXReplace):
15226         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15227         LyXText::selectionAsString.
15228
15229         * paragraph.C (asString): add "label" argument to the second form
15230
15231         * text2.C (selectionAsString): add "label" argument and pass it to
15232         Paragraph::asString.
15233
15234 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15235
15236         * lyx_main.C (commandLineHelp): remove version information
15237
15238 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15239
15240         * lyx_main.C: add -version commandline option
15241
15242 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15243
15244         * paragraph.h: make the optional constructor arg required instead.
15245         some modifications to other files because of this.
15246
15247         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15248
15249         * lyxserver.C (C_LyXComm_callback): make it static
15250
15251         * lyx_main.C (error_handler): make it static
15252
15253         * lyx_gui.C (LyX_XErrHandler): make it static
15254
15255         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15256
15257         * WorkArea.C: make the extern "C" methods static.
15258
15259         * Makefile.am (lyx_LDADD): simplify
15260
15261 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15262
15263         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15264         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15265
15266         * LyXAction.C (init):
15267         * lyxfunc.C (dispatch): associated code removal.
15268
15269 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15270
15271         * lyxfont.h (isSymbolFont): shut off warning
15272
15273         * text.C (setHeightOfRow):
15274         (getVisibleRow): fix crash with empty paragraphs which have a
15275         bottom line
15276
15277 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15278
15279         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15280         code.
15281
15282 2001-09-04  José Matos  <jamatos@fep.up.pt>
15283         * buffer.C
15284         * buffer.h
15285         * tabular.C (docbook): rename docBook method to docbook.
15286
15287 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15288
15289         * Makefile.am: add dependencies to main.o.
15290
15291 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15292
15293         * FontLoader.C (available): Return false if !lyxrc.use_gui
15294
15295 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15296
15297         * FontInfo.C (query):
15298         * converter.C (view):
15299         * importer.C (Import):
15300         * exporter.C (Export): Can not -> cannot.
15301
15302 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15303
15304         * BufferView_pimpl.C: allow to create index inset even if
15305           string is empty
15306
15307 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15308
15309         * buffer.C (getLists): replace boost::tie code with an explicit pair
15310         as boost::tie can break some compilers.
15311
15312         * iterators.h: Added a std:: declaration to the return type of
15313         ParIterator::size.
15314
15315 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15316
15317         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15318           case.
15319
15320 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15321
15322         * iterators.[Ch]: New files. Provide paragraph iterators.
15323
15324         * buffer.C (changeLanguage): Use paragraph iterators.
15325         (isMultiLingual): ditto
15326
15327         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15328
15329 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15330
15331         * FontLoader.C: Support for cmr font.
15332
15333 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15334
15335         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15336         (available): New method.
15337
15338         * FontInfo.C (getFontname): Use scalable fonts even when
15339         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15340         found.
15341
15342 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15343
15344         * converter.C (Formats::view): reverted! Incorrect fix.
15345
15346 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15347
15348         * converter.C (Formats::view): only output the -paper option
15349         if the dvi viewer is xdvi, thereby fixing bug #233429.
15350
15351 2001-08-23  Herbert Voss  <voss@perce>
15352
15353         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15354
15355 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15356
15357         * Spacing.h (Spacing): Set space to Default on in the default
15358         constructor.
15359
15360 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15361
15362         * vc-backend.h (RCS::versionString): add RCS to version
15363         (CVS::versionString): add CVS to version
15364
15365         * vc-backend.C (scanMaster): do not add CVS to version.
15366         (scanMaster): do not add RCS to version
15367
15368         * lyxvc.C (versionString): new method
15369
15370         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15371
15372 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15373
15374         * Spacing.C (set): initialize fval
15375
15376 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15377
15378         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15379         " or \.
15380
15381 2001-08-16  Juergen Vigna  <jug@sad.it>
15382
15383         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15384
15385 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15386
15387         * BufferView_pimpl.C:
15388         * figureForm.C:
15389         * lyxtext.h:
15390         * text2.C: setParagraph takes linespacing now
15391
15392 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15393
15394         * LyxAction.C: add internal LFUN_CITATION_INSERT
15395
15396         * LyXView.C: actually apply fix
15397
15398         * bufferlist.C: fix open non-existent file
15399
15400         * lyxfind.C: fix indentation
15401
15402         * lyxfunc.C: remove unneeded assert, fix typo
15403
15404 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15405
15406         * MenuBackend.C: use "Floatname List"
15407
15408 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15409
15410         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15411         when converting LaTeX layout to insetERT.
15412         Generate a non-collapsed float when reading old float
15413
15414 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15415
15416         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15417         ERT insets.
15418
15419 2001-08-13  Juergen Vigna  <jug@sad.it>
15420
15421         * text.C (fill): return 0 instead of 20 as this seems to be the more
15422         correct value.
15423
15424 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15425
15426         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15427         lyxrc.font_norm.
15428
15429 2001-08-13  Juergen Vigna  <jug@sad.it>
15430
15431         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15432         casesensitive off.
15433         (SearchBackward): comment out the unlocking of the inset_owner this
15434         should not be needed!
15435
15436 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15437
15438         * Many files: Remove inherit_language, and add latex_language
15439
15440         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15441         collapsible insets.
15442
15443 2001-08-10  Juergen Vigna  <jug@sad.it>
15444
15445         * text.C (prepareToPrint): fixed hfill-width in draw!
15446
15447         * BufferView2.C (selectLastWord): save the selection cursor as this
15448         now is cleared in the function LyXText::clearSelection!
15449
15450 2001-08-08  Juergen Vigna  <jug@sad.it>
15451
15452         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15453         BACKSPACE type functions.
15454
15455         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15456         is only cutted from the document but not put in the cut-buffer, where
15457         still the old stuff should be.
15458
15459         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15460
15461         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15462
15463         * tabular.C (SetWidthOfCell): fixed special case where the width
15464         was not updated!
15465         (LeftLine): handle '|' in align_special.
15466         (RightLine): ditto
15467         (LeftAlreadyDrawed): ditto
15468         (SetWidthOfCell): ditto
15469
15470 2001-08-07  Juergen Vigna  <jug@sad.it>
15471
15472         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15473
15474 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15475
15476         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15477         * lyxlex.[hC]: ditto
15478
15479 2001-08-06  Juergen Vigna  <jug@sad.it>
15480
15481         * text.C (getVisibleRow): fix up row clearing a bit.
15482
15483 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15484
15485         * minibuffer.C: make sure the X server sees the changes in the input.
15486
15487 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15488
15489         * paragraph.C (getFont): split into...
15490         (getLabelFont): this
15491         (getLayoutFont): and this
15492         * paragraph_pimpl.C (realizeFont): calling this
15493
15494         * text2.C (getFont): split into...
15495         (getLayoutFont): this
15496         (getLabelFont): and this
15497         (realizeFont): all three calling this
15498
15499         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15500         files where used.
15501
15502 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15503
15504         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15505
15506 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15507
15508         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15509         layouts from the Quote inset insertion.
15510
15511 2001-08-03  Juergen Vigna  <jug@sad.it>
15512
15513         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15514
15515         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15516         only if status not is already CHANGED_IN_DRAW (second level).
15517
15518         * text.C (draw): don't set the need_break_row when inside an
15519         InsetText LyXText.
15520
15521 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15522
15523         * buffer.C (parseSingleLyXformat2Token): handle more latex
15524         conversion cases.
15525
15526         * bufferview_funcs.[hC]: change function names to
15527         begin with small char, adjust other files.
15528
15529 2001-08-02  André Pönitz <poenitz@gmx.net>
15530
15531         * lyxfunc.C:
15532         BufferView_pimpl.C: remove broken special code for math-greek
15533
15534 2001-08-02  Juergen Vigna  <jug@sad.it>
15535
15536         * BufferView_pimpl.C (update): redone this function so that we
15537         update the text again if there was a CHANGE_IN_DRAW.
15538
15539         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15540         (drawFromTo): added a new internal bool which is used by draw() and
15541         redraw() function.
15542         (general): some cursor drawing problems fixed.
15543
15544 2001-08-01  Juergen Vigna  <jug@sad.it>
15545
15546         * lyxfind.C (LyXFind): fixed
15547         (SearchForward): ditto
15548         (SearchBackward): ditto
15549
15550         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15551         spurius drawing of the cursor in the main area.
15552
15553         * text2.C (status): small fix which could lead to a segfault!
15554         (clearSelection): remove unneeded BufferView param.
15555
15556 2001-08-01  André Pönitz <poenitz@gmx.net>
15557
15558         * lyxfunc.C: small change due to changed mathed interface
15559
15560 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15563
15564 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15565
15566         * lyxfunc.c: fail gracefully if file doesn't exist
15567
15568         * LyXSendto.C:
15569         * buffer.C:
15570         * lyxfunc.C:
15571         * BufferView_pimpl.C: IsDirWriteable() proto changed
15572
15573         * LyXView.C: fix updateWindowTitle() to store the last title
15574
15575 2001-07-31  Juergen Vigna  <jug@sad.it>
15576
15577         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15578         the font (wrong since using of Paragraph::highestFontInRange).
15579
15580         * paragraph.C (highestFontInRange): added a default_size parameter.
15581
15582         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15583         (setHeightOfRow): reformat
15584
15585 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15586
15587         * converter.[hC] + affected files: move to (inital-char)lowercase
15588         function names.
15589
15590         * ParagraphParameters.C (ParagraphParameters): remove commented code
15591
15592         * PainterBase.[Ch]: remove commented code
15593
15594         * LaTeXFeatures.h: add "bool floats" for float.sty
15595
15596         * LaTeXFeatures.C (LaTeXFeatures): init floats
15597         (require): handle float
15598         (getPackages): do it with floats
15599
15600 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15601
15602         * BufferView_pimpl.C (Dispatch): improve handling of
15603         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15604
15605         * commandtags.h: #include lyxfont.h here temporarily to avoid
15606         keybinding bug.
15607
15608         * bufferlist.h: include LString.h here.
15609
15610 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15611
15612         * text2.C (getStringToIndex): new method.
15613
15614 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15615
15616         * *: Reduced header file dependencies all over.
15617
15618 2001-07-30  Baruch Even  <baruch@lyx.org>
15619
15620         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15621
15622 2001-07-29  Baruch Even  <baruch@lyx.org>
15623
15624         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15625
15626 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15627
15628         * ParameterStruct.h (endif): add a default constructor to make
15629         sure that all variables is initialized.
15630
15631         * ParagraphParameters.C (ParagraphParameters): adjust
15632
15633 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15634
15635         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15636         index; also, check that there is something to index, and that it
15637         does not span over several paragraphs.
15638         (doubleClick): use WHOLE_WORD_STRICT for double click.
15639
15640         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15641
15642         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15643         scheme.
15644
15645 2001-07-26  Baruch Even  <baruch@lyx.org>
15646
15647         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15648         an InsetFig figure, backwards compatible reading of old figure code.
15649
15650 2001-07-27  Juergen Vigna  <jug@sad.it>
15651
15652         * text2.C: font.realize function adaption.
15653
15654         * text.C (draw): add a warnings lyxerr text if needed.
15655
15656         * layout.C: font.realize function adaption.
15657
15658         * language.C: add inherit_language and implement it's handlings
15659
15660         * bufferview_funcs.C (StyleReset): remove language parameter from
15661         font creation (should be language_inherit now).
15662
15663         * bufferparams.C (writeFile): handle ignore_language.
15664
15665         * paragraph.C (getFontSettings): the language has to be resolved
15666         otherwise we have problems in LyXFont!
15667
15668         * lyxfont.C (lyxWriteChanges): added document_language parameter
15669         (update): removed unneeded language parameter
15670
15671         * paragraph.C (validate): fixed wrong output of color-package when
15672         using interface colors for certain fonts in certain environments,
15673         which should not seen as that on the final output.
15674
15675 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15676
15677         * BufferView_pimpl.C:
15678         * Thesaurus.h:
15679         * Thesaurus.C:
15680         * Makefile.am:
15681         * commandtags.h:
15682         * LyXAction.C: add thesaurus support
15683
15684         * lyxfind.h:
15685         * lyxfind.C: add "once" parameter, for thesaurus, to not
15686           move to the next match
15687
15688 2001-07-26  Juergen Vigna  <jug@sad.it>
15689
15690         * lyxfont.C (realize): honor ignore_language too!
15691         (resolved): ditto.
15692
15693         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15694
15695         * text.C (draw): one place more for ignore_language to not draw
15696         itself!
15697
15698 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15699
15700         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15701
15702 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15705         the minipage conversion problem.
15706
15707 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15708
15709         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15710         insert an inset.
15711
15712 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15713
15714         * BufferView.h: don't forward declare WorkArea
15715
15716         * BufferView.C: don't include WorkArea.h
15717
15718 2001-07-25  André Pönitz <poenitz@gmx.net>
15719
15720         * commandtags.h:
15721         * LyXAction.C:
15722         * lyxfunc.C:  new LFUN 'math-space'
15723
15724         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15725
15726 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15727
15728         * text2.C (toggleInset): call open/close
15729
15730 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15731
15732         * lyxfunc.C (dispatch): add debug for the disabled case
15733
15734         * font.C (buttonText): make similar to rectText
15735
15736         * buffer.C (readInset): comment out parsing of insetlist and
15737         insttheorem
15738
15739         * PainterBase.C (rectText): small correction
15740
15741         * BufferView_pimpl.C: comment out insettheorem and insetlist
15742         * LyXAction.C: ditto
15743         * commandtags.h: ditto
15744
15745 2001-07-24  Juergen Vigna  <jug@sad.it>
15746
15747         * text.C (draw): honor the ignore_language.
15748
15749         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15750
15751 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15752
15753         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15754         char inset.
15755
15756 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15757
15758         * lyxtext.h: remove unused (and unimplemented) methods
15759
15760 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15761
15762         * text.C (getVisibleRow): honor background color
15763
15764         * PainterBase.h:
15765         * Painter.h: remove default color argument for fillRectangle
15766
15767         * text.C (backgroundColor): new method
15768
15769 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15770
15771         * text.C (getVisibleRow): adjust
15772
15773         * font.[Ch] (rectText): new method, metrics
15774         (buttonText): new method, metrics
15775
15776         * PainterBase.[hC]: make rectText and buttonText always draw and take
15777         fewer paramteres.
15778
15779 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15780
15781         * ToolbarDefaults.C (read):
15782         * MenuBackend.C (read): allow escaping in all strings
15783
15784         * BufferView_pimpl.C (insertAndEditInset): new method.
15785         (Dispatch): use insertAndEditInset whenever appropriate.
15786
15787         * BufferView_pimpl.C (insertNote): removed
15788
15789         * BufferView_pimpl.C (smartQuote): new method, moved from
15790         BufferView; if an insetquote cannot be inserted, insert a '"'
15791         character instead.
15792
15793         * BufferView2.C: remove insertCorrectQuote();
15794
15795         * lyxfunc.C (getStatus): Add support for all remaingin
15796         inset-insert lfuns.
15797
15798         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15799
15800         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15801         command (necessary to pass " as parameter of self-insert.
15802
15803         * text.C (selectWordWhenUnderCursor):
15804         (selectWord): add word_location parameter
15805         (selectWordWhenUnderCursor): same + remove special code for word
15806         boundary.
15807         (selectNextWord): use kind() to guess type of insetspecialchar,
15808         not latex().
15809
15810         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15811         (insertErtContents): create ert insets as collapsed.
15812         (readInset): better compatibility code for Info inset.
15813
15814 2001-07-20  Juergen Vigna  <jug@sad.it>
15815
15816         * lyxfunc.C (dispatch): use always LyXFind now!
15817
15818         * text2.C (init): add a reinit flag so that the LyXText can be
15819         reinited instead of deleted and reallocated (used in InsetText).
15820
15821         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15822
15823         * text.C: ditto
15824
15825         * text2.C: ditto
15826
15827 2001-07-18  Juergen Vigna  <jug@sad.it>
15828
15829         * text.C (selectNextWord): handle insets inside inset by calling
15830         always the bv->text functions so that we can go up the_locking_inset!
15831
15832         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15833         in strange locations when inside an inset!
15834
15835         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15836         handling to include insets.
15837
15838         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15839
15840 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15841
15842         * LyXAction.C (init):
15843         * commandtags.h:
15844         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15845         LIGATURE_BREAK, since the name is so stupid.
15846
15847 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15848
15849         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15850         InsetInfos.
15851
15852         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15853
15854         * sp_form.[Ch]: remove.
15855
15856         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15857
15858         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15859         InsetInfo.
15860
15861         * src/buffer.C (readInset): ditto.
15862
15863 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15864
15865         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15866         menuSeparator(), endOfSentenceDot(), ldots() and
15867         hyphenationPoint(), which are therefore removed.
15868         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15869
15870         * LyXAction.C (init):
15871         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15872
15873         * paragraph.C (getWord): removed.
15874
15875         * BufferView_pimpl.C (Dispatch): use last word or selection for
15876         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15877
15878         * lyx_main.C (queryUserLyXDir): do not ask before creating
15879         user_dir, except if it has been named explicitely.
15880
15881 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15882
15883         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15884         a document of zero size.
15885
15886 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15887
15888         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15889         approriately in the c-tor and in require().
15890         (getPackages): output the appropriate LaTeX for natbib support.
15891
15892         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15893         variables "use_natbib" and "use_numerical_citations" when reading the
15894         LyX file.
15895         (readInset): read the various natbib cite commands.
15896         (validate): white-space change.
15897
15898         * bufferparams.[Ch]: new variables "bool use_natbib" and
15899         "bool use_numerical_citations".
15900         (writeFile): output them in the LyX file.
15901
15902 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15903
15904         * lyxfunc.C (getStatus): add support for all the inset insertion
15905         commands.
15906
15907         * text2.C (insertInset):
15908         * paragraph.C (insetAllowed):
15909         * BufferView_pimpl.C (insertInset): update to take in account the
15910         renaming of insertInsetAllowed
15911
15912         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15913
15914         * text2.C (getInset): new method. returns inset at cursor position.
15915
15916         * BufferView_pimpl.C (Dispatch): changes because of this.
15917
15918         * LyXAction.C (init): rename open-stuff to inset-toggle.
15919
15920         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15921
15922         * text2.C (toggleInset): renamed from openStuff; use
15923         Inset::open().
15924
15925 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15926
15927         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15928
15929         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15930
15931 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15932
15933         * buffer.C (readLyXformat2): Add filename to the error dialog
15934
15935 2001-07-18  Juergen Vigna  <jug@sad.it>
15936
15937         * tabular.C (GetCellNumber): put an assert here instead of the check!
15938
15939 2001-07-17  Juergen Vigna  <jug@sad.it>
15940
15941         * BufferView_pimpl.C (toggleSelection): adapted too.
15942
15943         * text.C (selectNextWord): adapted for use with insets.
15944         (selectSelectedWord): ditto
15945
15946 2001-07-17  Juergen Vigna  <jug@sad.it>
15947
15948         * sp_spell.C (PSpell): fix initialitation order.
15949
15950 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * paragraph.C: spacing
15953
15954 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15955
15956         * sp_spell.C: repair language selection for pspell
15957
15958 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15959
15960         * lyxfunc.h: change more methods to begin with lower char.
15961
15962 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15963
15964         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15965         for unknown layouts.
15966
15967 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15968
15969         * buffer.C (readLyXformat2): Generate an error dialog if there are
15970         unknown layouts.
15971
15972 2001-07-16  Juergen Vigna  <jug@sad.it>
15973
15974         * sp_spell.C: always compile ISpell part.
15975
15976         * lyxrc.C: added use_pspell entry and it's handling.
15977
15978 2001-07-13  Juergen Vigna  <jug@sad.it>
15979
15980         * sp_spell.C: removed double includes.
15981
15982 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15983
15984         Consistent use of Lsstream.h:
15985         * Lsstream.h: added using std::stringstream for consistencies sake.
15986
15987         * buffer.C: removed using std::stringstream
15988
15989         * lyxfont.C (stateText):
15990         * paragraph.C (asString):
15991         * text.C (selectNextWord, selectSelectedWord):
15992         * text2.C (setCounter):
15993         * vspace.C (asString, asLatexString):
15994         std::ostringstream -> ostringstream.
15995
15996 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15997
15998         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15999         * commandtags.h: add LFUN_HELP_ABOUTLYX
16000         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16001
16002 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16003
16004         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16005         cursorToggle()
16006         * lyx_gui_misc.C: remove spellchecker
16007         * lyxfunc.C: showSpellchecker
16008         * sp_base.h: added
16009         * sp_ispell.h: added
16010         * sp_pspell.h: added
16011         * sp_spell.C: added
16012         * sp_form.[Ch]: removed
16013         * spellchecker.[Ch]: removed
16014
16015 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16016
16017         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16018         is set.
16019         (simpleTeXSpecialChars): Simply print the input character without
16020         any special translation if pass_thru is set.
16021
16022         * layout.h: Added bool pass_thru to layout class for being able to
16023         implement pass through of a paragraph for Literate Programming.
16024
16025         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16026         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16027         * layout.C (Read): add "passthru" to list of layout tags and add
16028         code to set the pass_thru boolean when it is read.
16029
16030 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16031
16032         * trans_decl.h: remove allowed from KmodInfo
16033
16034         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16035         remove allowed code
16036         (Load): adjust
16037
16038         * paragraph_pimpl.C (erase): use boost::prior
16039
16040         * Painter.C (text): use data() instead of c_str() when length is
16041         also provided.
16042         * WorkArea.C (putClipboard): ditto
16043         * font.h (width): ditto
16044
16045         * BufferView2.C: use it-> instead of (*it). for iterators
16046         * texrow.C: ditto
16047         * paragraph_pimpl.C: ditto
16048         * paragraph.C: ditto
16049         * minibuffer.C: ditto
16050         * language.C: ditto
16051         * kbmap.C: ditto
16052         * encoding.C: ditto
16053         * counters.C: ditto
16054         * converter.C: ditto
16055         * chset.C: ditto
16056         * Variables.C: ditto
16057         * TextCache.C: ditto
16058         * MenuBackend.C: ditto
16059         * LyXAction.C: ditto
16060         * LColor.C: ditto
16061         * FloatList.C: ditto
16062         * DepTable.C: ditto
16063         * ColorHandler.C (LyXColorHandler): ditto
16064
16065 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16066
16067         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16068
16069         * text2.C (openStuff): reintroduce this method (which had been
16070         nuked in NEW_INSETS frenzy).
16071
16072         * lyxfunc.C (Dispatch): when an action has not been handled, use
16073         its name in the error message, not its number.
16074
16075         * paragraph.C (inInset): change method name to begin with lowercase.
16076
16077         * undo_funcs.C:
16078         * text2.C: updates because of this.
16079
16080 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16081
16082         * ToolbarDefaults.C (add): add spaces in error message
16083
16084 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16085
16086         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16087         (readLyXformat2): rename return_par to first_par, use lyxlex's
16088         pushToken and remove the manual push handling.
16089         (parseSingleLyXformat2Token): add another ert comp. variable:
16090         in_tabular, rename return_par to first_par. handle newlines better
16091
16092 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16093
16094         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16095
16096 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16097
16098         * text2.C (getParFromID): removed
16099
16100         * buffer.C (getParFromID): new method moved form lyxtext.
16101         * BufferView2.C (insertErrors): adjust
16102         (setCursorFromRow): adjust
16103         * BufferView_pimpl.C (restorePosition): adjust
16104         * lyxfunc.C (Dispatch): adjust
16105         * undo_funcs.C (textUndo): adjust
16106         (textRedo): adjust
16107         (textHandleUndo): adjust
16108         (textHandleUndo): adjust
16109
16110 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16111
16112         * buffer.C: up' the LYX_FORMAT
16113
16114         * lyxfont.h: turn NO_LATEX on as default
16115
16116         * buffer.C (insertErtContents): new methods of tex style compability.
16117         (parseSingleLyXformat2Token): use it several places.
16118         * tabular.C (OldFormatRead): and here
16119
16120 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16121
16122         * text2.C: remove some commented code.
16123         reindent file.
16124
16125         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16126         * trans.C: changes because of the above.
16127
16128 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16129
16130         * text2.C (setCounter): Fix counters bug with bibliography layout.
16131
16132 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16133
16134         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16135         own member functions
16136         (simpleTeXSpecialChars): ditto
16137
16138 2001-07-06  Juergen Vigna  <jug@sad.it>
16139
16140         * a lot of files: changed the access to LyXText::status and the
16141         call of undo-functions.
16142
16143         * undo.[Ch]: added a inset_id to the undo informations.
16144
16145         * undo_funcs.[Ch]: added and moved here all undo functions.
16146
16147         * lyxtext.h: give the status enum a weight, made status_ a private
16148         variable and made accessor functions for it, removed the whole bunch
16149         of undo-functions as they are now in their own file, make some
16150         functions publically available. Added function ownerParagraph with
16151         int parameter.
16152
16153         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16154         made InInset() a const function, added getParFromID() function.
16155
16156         * buffer.[Ch]: added const version for inset_iterator functions,
16157         added getInsetFromID() function.
16158
16159         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16160         changed undo functions for new version.
16161
16162 2001-07-05  Juergen Vigna  <jug@sad.it>
16163
16164         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16165         unknow mechanism does not call the proper constructor but only this
16166         one also if I request the other!?
16167
16168 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16169
16170         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16171
16172         * text2.C (LyXText): use initialization lists.
16173
16174         * lyxtext.h (Selection): initialize set_ and mark_
16175         (init): remove method
16176
16177 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16178
16179         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16180
16181 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16182
16183         * screen.[Ch]: change method names to begin with lowercase
16184
16185         * BufferView_pimpl.C (updateScrollbar): simplify further and
16186         hopefully make it a bit faster.
16187
16188 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16189
16190         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16191         calling directly xforms functions.
16192
16193         * Painter.C (Painter):
16194         * lyx_cb.C (MenuWrite):
16195         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16196         fl_display.
16197
16198         * lyx_gui.C: remove bogus guiruntime extern declaration.
16199
16200 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16201
16202         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16203         in NEW_INSETS
16204         (redoDrawingOfParagraph): ditto
16205         (redoParagraphs): ditto
16206         (cutSelection): don't create a object for CutAndPaste use the
16207         static method directly
16208         (pasteSelection): ditto
16209
16210         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16211         LyXview (+ rename)
16212
16213 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16214
16215         * modifications to some other files because of this.
16216
16217         * Makefile.am (lyx_SOURCES): add XFormsView
16218
16219         * XFormsView.[Ch]: new files
16220
16221         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16222         the main window. Move the gui dependent stuff to XFormsView
16223
16224 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16225
16226         * tabular.C (GetCellInset): update cur_cell also in the row/col
16227         version of this function.
16228
16229         * lyxfunc.C: no need to include figure_form.h here.
16230
16231         * FontLoader.h:
16232         * lyxfunc.h:
16233         * lyxscreen.h:
16234         * text2.C:
16235         * lyxvc.C: no need to include forms.h here.
16236
16237 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16238
16239         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16240
16241         * lyxfunc.C (Dispatch):
16242         * Spacing.C (set):
16243         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16244         constructor argument.
16245
16246 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * paragraph.C (Paragraph): dont't clear, and just set layout.
16249         (makeSameLayout): use params's copy contructor.
16250
16251         * ParagraphParameters.[Ch] (makeSame): delete method
16252
16253 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16254
16255         * Variables.[Ch]: fix indentation, rename set to isSet
16256
16257 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16258
16259         * lyxfunc.C (Dispatch): fix typo
16260
16261 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16262
16263         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16264         upper_bound.
16265
16266         * bufferlist.C: include assert.h for emergencyWrite().
16267
16268 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16269
16270         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16271           give up at last (bug #425202) !
16272
16273 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16274
16275         * lyx_gui_misc.C:
16276         * sp_form.h:
16277         * sp_form.C:
16278         * spellchecker.h:
16279         * spellchecker.C: strip spellchecker options and bring up
16280           preferences tab instead
16281
16282 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16283
16284         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16285         the istringstream constructor
16286
16287 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * paragraph.C (getLayout): fix return value
16290
16291         * paragraph.h: do not declare getLayout as inline.
16292
16293         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16294
16295 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16296
16297         * lyxcursor.h (operator<): new func
16298         (operator>): new func
16299         (operator>=): new func
16300         (operator<=): new func
16301
16302         * text.C (changeCase): use selection.start and selection.end
16303         (changeRegionCase): require from to be <= to. Require par to be a
16304         valid paragraph.
16305
16306         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16307
16308 2001-06-27  Juergen Vigna  <jug@sad.it>
16309
16310         * text.C (cursorLeftOneWord): changed to return the cursor and added
16311         overlay with BufferView * parameter which calls this one.
16312         (getWord): added
16313         (selectWord): use new getWord function.
16314         (changeCase): renamed from changeWordCase as and extended to work
16315         also on selections.
16316
16317         * lyxtext.h: added enum word_location
16318
16319         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16320         changeCase as this operates now also on selections.
16321
16322 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16323
16324         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16325
16326         * many files: send debug output to Debug::INFO instead of
16327         Debug::ANY.
16328
16329         * converter.C (View):
16330         (Convert):
16331         (Move): send debug output to Debug::FILES instead of console.
16332
16333 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16334
16335         * lyxfunc.C (getStatus): use func_status
16336
16337         * func_status.h: new header, describing the results of
16338         LyXFunc::getStatus;
16339
16340         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16341         LFUN_MATH_HALIGN.
16342
16343 2001-06-25  The LyX Project  <jug@sad.it>
16344
16345         * buffer.C (sgmlOpenTag):
16346         (sgmlCloseTag):
16347         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16348
16349 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16350
16351         * text2.C: remove some dead code
16352
16353         * tabular.C (GetCellInset): store the last cell checked (gotten)
16354
16355         * tabular.h: add the helper for the speedup
16356
16357         * lyxtext.h: remove some dead code
16358
16359 2001-06-26  The LyX Project  <Asger>
16360
16361         * paragraph.C: Change export to LaTeX of alignment to
16362         \begin{center} and family for better roundtrip work with reLyX.
16363
16364         * Tune the math drawing a bit.
16365
16366 2001-06-25  The LyX Project  <Asger>
16367
16368         * LColor.C (LColor): New color for math background. New color
16369         for buttons.
16370
16371 2001-06-25  The LyX Project  <jug@sad.it>
16372
16373         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16374
16375         * lyxfunc.C (Open):
16376         * bufferlist.C (newFile): do not restrict to files ending with
16377         .lyx
16378
16379         * BufferView_pimpl.C (MenuInsertLyXFile):
16380
16381 2001-06-24  The LyX Project  <jug@sad.it>
16382
16383         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16384         of compare_no_case
16385
16386 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16387
16388         * lyxtext.h: rename most methods to begin with a small char.
16389         Lots of changes because of this.
16390
16391         * paragraph.C (Paragraph): do not call fitToSize
16392         (erase): call Pimpl::erase
16393         (insertChar): call Pimpl::insertChar
16394         (insertInset): call Pipl::insertInset
16395         (breakParagraph): do not call fitToSize
16396         (breakParagraphConservative): do not call fitToSize
16397         (fitToSize): remove method
16398
16399         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16400
16401 2001-06-24  The LyX Project  <Asger>
16402
16403         * Fix Qt compilation^2
16404
16405 2001-06-24  The LyX Project  <jug@sad.it>
16406
16407         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16408         depthHook(getDepth()-1).
16409
16410         * paragraph.h:
16411         * ParagraphParameters.h:
16412         * ParameterStruct.h: change type of depth to unsigned int ==
16413         depth_type. Many adaptations to other files before of that.
16414
16415 2001-06-24  The LyX Project  <Asger>
16416
16417         * Fix Qt compilation.
16418
16419 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16420
16421         * paragraph.h: renamed several methods to begin with small letter.
16422         several changes to many parts of the code because of this.
16423
16424 2001-06-23  The LyX Project  <jug@sad.it>
16425
16426         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16427         rewritten to discard all double spaces when KeepEmpty is off
16428         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16429         to only handle newlines but not fiddle with spaces and friends.
16430
16431         * lyxfunc.C (MenuNew): when doing 'new from template', use
16432         template_path as default directory
16433
16434 2001-06-23  The LyX Project  <Asger>
16435
16436         * Clean-up of header file includes all over
16437         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16438
16439 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16440
16441         * paragraph.h: renamed from lyxparagraph.h
16442
16443 2001-06-23  Asger  <lyx@violet.home.sad.it>
16444
16445         * Buffer.h: Removed Buffer::resize
16446         * BufferList.h: Removed BufferList::resize
16447         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16448         the document lazily when we change the width, or the font settings.
16449
16450 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16451
16452         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16453
16454 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16455
16456         * buffer.h: remove out of date comment
16457
16458 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16459
16460         * lyxscreen.h:
16461         * screen.C: fix "theoretical" GC leak
16462
16463 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16464
16465         * LaTeX.C (scanAuxFile):
16466         (deplog): remove trailing \r when reading stream (useful under
16467         win32)
16468
16469 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16470
16471         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16472         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16473         and BufferView::theLockingInset(Inset*), so should use them and not
16474         access bv_->text->the_locking_inset directly.
16475
16476         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16477
16478 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16479
16480         * Makefile.am:
16481         * tex-defs.h: remove old unused file
16482
16483 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16484
16485         * BufferView_pimpl.C: fix typo, remove minibuffer message
16486           when buffer has loaded
16487
16488 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16489
16490         * lyxfunc.C (Dispatch): use stringstream
16491         (MenuNew): use stringstream
16492         (Open): use stringstream
16493
16494         * importer.C (Import): use stringstream
16495
16496         * bufferview_funcs.C (CurrentState): use stringstream
16497
16498         * LaTeX.C (run): use stringstream
16499
16500         * BufferView_pimpl.C (savePosition): use stringstream
16501         (restorePosition): use stringstream
16502         (MenuInsertLyXFile): use stringstream
16503
16504 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16505
16506         * BufferView.C:
16507         * Bullet.C:
16508         * ColorHandler.C:
16509         * FontInfo.C:
16510         * FontLoader.C:
16511         * LColor.C:
16512         * LaTeXFeatures.C:
16513         * Painter.C:
16514         * gettext.C:
16515         * lyx_gui_misc.C:
16516         * lyxserver.C:
16517         * vspace.C: removed // -*- C++ -*- as first line.
16518
16519         * lyxfind.h:
16520         * version.h: added // -*- C++ -*- as first line.
16521
16522 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16523
16524         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16525
16526         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16527         of string
16528
16529 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16530
16531         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16532         of floats.
16533
16534 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * gettext.C: include LString.h even when --disable-nls is on.
16537
16538 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16539
16540         * converter.h (Get): changed argument type from int to
16541         FormatList::size_type to avoid unnecessary conversion.
16542
16543         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16544         before using it.
16545
16546 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16547
16548         * gettext.h: include LString.h even when --disable-nls is on.
16549
16550 2001-06-07  Juergen Vigna  <jug@sad.it>
16551
16552         * text.C (BreakAgain): subst spaces with tabs.
16553
16554         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16555         (resizeInsetsLyXText): set force on resizeLyXText.
16556
16557 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16558
16559         * gettext.h (gettext_init):
16560         (locale_init): use a real definition instead of a macro
16561
16562 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16563
16564         * Bufferview_pimpl.C:
16565         * LColor.h:
16566         * LColor.C: further lcolor tidies
16567
16568 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16569
16570         * BufferView_pimpl.C (updateScrollbar): simplify.
16571
16572         * BufferView2.C: don't include insets/insetinfo.h, change
16573         prototype for insertInset and call the Pimpl version. let
16574         updateInset call Pimpl version.
16575
16576         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16577         gotoInset to BufferView::Pimpl
16578
16579 2001-06-01  Juergen Vigna  <jug@sad.it>
16580
16581         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16582         inside a LockingInset (is the update needed at all?).
16583
16584 2001-05-31  Juergen Vigna  <jug@sad.it>
16585
16586         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16587         here not the old one otherwise how should we compare it afterwards
16588         if it's the same!
16589
16590 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16591
16592         * lyxfont.C:
16593         * tabular.C:
16594         * tabular-old.C:
16595         * FontInfo.C: bring C functions into global namespace when
16596         necessary
16597
16598 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16599
16600         * LString.h: make sure config.h has been loaded before LString.h.
16601
16602         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16603         (one for each char read by EatLine!).
16604
16605         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16606         variables.
16607
16608 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16609
16610         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16611         to the same as the par we break from
16612
16613 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16614
16615         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16616
16617         * MenuBackend.C (expand): also create menu entries for wide
16618         versions of the floats.
16619
16620         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16621
16622         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16623
16624         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16625         frontends/Makefile.am
16626
16627         * text2.C: adjust
16628         * text.C: adjust
16629
16630
16631         * tabular.C (getTokenValue): add std::
16632
16633         * tabular-old.C (getTokenValue): add std::
16634         (getTokenValue): ditto
16635         (getTokenValue): ditto
16636
16637         * screen.C (ToggleSelection): adjust
16638
16639         * lyxtext.h: put selection cursors inside a Selection struct.
16640
16641         * lyxfunc.C (moveCursorUpdate): adjust
16642
16643         * lyxfont.C (latexWriteStartChanges): add std::
16644
16645         * lyxfind.C: adjust
16646
16647         * font.h: delete with(char const *, LyXFont const &)
16648
16649         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16650
16651         * FontInfo.C (getFontname): add std::
16652
16653         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16654         (workAreaButtonPress): adjust
16655         (tripleClick): adjust
16656         (update): adjust
16657         (moveCursorUpdate): adjust
16658         (Dispatch): adjust
16659
16660         * BufferView2.C (gotoInset): adjust
16661
16662 2001-05-30  Juergen Vigna  <jug@sad.it>
16663
16664         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16665         to check pspell I add this as default as I now have new pspell
16666         libraries and they seem to use this.
16667
16668 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16669
16670         * text2.C (CutSelection): make the cursor valid before the call to
16671         ClearSelection.
16672
16673 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16676         relied on 0 terminated strings and other horrors. Bug found due to
16677         the new assert in lyxstring!
16678
16679         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16680         KP_ keys.
16681
16682 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16683
16684         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16685         to latinkeys.bind.
16686
16687         * lyxfunc.C (processKeySym): change method of getting to the
16688         self-insert char.
16689
16690         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16691         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16692         * BufferView_pimpl.[Ch]: here as private methods.
16693
16694 2001-05-28  Juergen Vigna  <jug@sad.it>
16695
16696         * text.C (SetHeightOfRow): added the update() call again as it is
16697         needed to initialize inset dimensions!
16698
16699 2001-05-16  Juergen Vigna  <jug@sad.it>
16700
16701         * text2.C (SetCharFont): Add new function with BufferView * and
16702         bool toggleall parameters for setting insets internal fonts.
16703         (SetFont): Freeze the undo as we may change fonts in Insets and
16704         all this change should be inside only one Undo!
16705
16706         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16707         setting font's in insets as for them we have the SetFont function!
16708
16709 2001-05-15  Juergen Vigna  <jug@sad.it>
16710
16711         * text2.C (ClearSelection): to be sure we REALLY don't have any
16712         selection anymore!
16713
16714         * tabular.C (TeXCellPreamble): fixed the left border problem for
16715         multicolumn cells.
16716
16717 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16718
16719         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16720         dependancy file
16721
16722 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16723
16724         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16725         LFUN_BREAKPARAGRAPH.
16726
16727         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16728         help test to "internal only", similar for LFUN_INSERT_URL
16729
16730         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16731         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16732         auto_region_delete and deadkeys.
16733
16734 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16735
16736         * LColor.h:
16737         * LColor.C: remove some dead entries, tidy a little
16738
16739 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16740
16741         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16742         commented code.
16743         (Dispatch): implement LFUN_ESCAPE
16744
16745         * commandtags.h: add LFUN_ESCAPE
16746
16747         * LyXAction.C (init): add entry for LFUN_ESCAPE
16748
16749         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16750         Remove commented code.
16751         (insertNote): moved here
16752         (open_new_inset): moved here
16753
16754         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16755         BufferView_pimpl
16756
16757 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16758
16759         * kbmap.C (findbinding): clean it up and make it work correctly.
16760
16761         * lyx_main.C (init): do not pass argc and argv as parameters
16762
16763 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16764
16765         * buffer.C: fix path for OS/2 & Win32
16766
16767         * lyx_gui.C:
16768         * lyx_main:
16769         * lyx_main.C: Added os:: class.
16770
16771         * os2_defines.h: update
16772
16773 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16774
16775         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16776         better by trying again with reduced state.
16777
16778 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16779
16780         * lyxrc.C (read): print error about invalid key sequence only when
16781         debugging (because not all latinX keysyms are known to some X
16782         servers)
16783
16784         * kbsequence.C (getiso): add a few std:: qualifiers
16785         (getiso): comment out extra return statement.
16786
16787 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16788
16789         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16790         handling.
16791         (Dispatch): enhance the accent inset a bit. (not perfect)
16792
16793 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16794
16795         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16796
16797 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16798
16799         * bufferlist.C (emergencyWrite): fix assert() call
16800
16801 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16802
16803         * text.C (InsertChar): Added trivial patch to only send the "you
16804         can not do multiple spaces this way" message once during a
16805         session.
16806
16807 2001-05-08  Baruch Even  <baruch@lyx.org>
16808
16809         * Makefile.am: Changed order of libraries to get LyX to link properly
16810         with the gnome frontend.
16811
16812 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16813
16814         * LaTeXFeatures.h: add a std:: qualifier
16815
16816 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16817
16818         * paragraph.C (String): use stringstream
16819
16820 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16821
16822         * paragraph.C (writeFile): remove footflag arg
16823
16824         * buffer.C (makeLaTeXFile): use stringstream
16825         (latexParagraphs): remove footnot gurba
16826
16827         * LaTeXFeatures.C (getPackages): use stringstream
16828         (getMacros): likewise
16829         (getTClassPreamble): likewise
16830         (getFloatDefinitions): new method
16831
16832         * paragraph.C (writeFile): reindent
16833         (Erase): reindent
16834
16835         * WorkArea.h: revert the xpos + etc changes.
16836
16837         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16838
16839         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16840
16841         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16842         (pasteSelection): likewise
16843         * text2.C (CreateUndo): likewise
16844
16845 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16846
16847         * minibuffer.C (peek_event): temporarily reduce the functionality
16848         of the minibuffer (to allow args on lfuns)
16849
16850         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16851         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16852
16853         * buffer.C (readInset): add compability reading of old float
16854         lists, add reading of new style float list.
16855         (readInset): avoid reevaluation of inscmd.getCmdName()
16856         (getLists): reindent
16857
16858         * MenuBackend.C (MenuItem): implement parsing of
16859         md_floatlistinsert and md_floatinsert.
16860         (expand::LastFiles): move initalizaton of iterators out of loop,
16861         avoid reevaluation.
16862         (expand::Documents): introduce typdedef vector<string> Strings,
16863         and use it.
16864         (expand::ExportFormats): introduce typedef vector<Format const *>
16865         Formats, and use it.
16866         (expand): implement FloatListInsert and FloatInsert.
16867
16868         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16869         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16870         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16871
16872         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16873         handling.
16874         (Dispatch::LFUN_FLOAT_LIST): implement
16875
16876 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16877
16878         * LaTeX.C (run): Fix problem with --export code.
16879
16880 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16881
16882         * BufferView.[Ch] (workarea): removed.
16883         (getClipboard) new method; wrapper for workarea()->getClipboard()
16884
16885         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16886         bug.
16887
16888         * WorkArea.h (width, height, xpos, ypos): These methods all
16889         returned the dimensions of the work_area sub-area of WorkArea,
16890         resulting in a position error if the WorkArea were resized. Now
16891         return the dimensions of the entire WorkArea.
16892
16893         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16894
16895 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16896
16897         * LaTeX.C (deplog): correct the syntax of regex reg1
16898
16899 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16900
16901         * undo.C: remove !NEW_INSETS cruft
16902
16903 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16904
16905         * text2.C: remove !NEW_INSETS cruft
16906
16907         * text.C: remove !NEW_INSETS cruft
16908
16909         * tabular.C: remove !NEW_INSETS cruft
16910
16911         * spellchecker.C: remove !NEW_INSETS cruft
16912
16913         * lyxtext.h: remove !NEW_INSETS cruft
16914
16915         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16916
16917         * lyxfunc.C: remove !NEW_INSETS cruft
16918
16919         * lyxfind.C: remove !NEW_INSETS cruft
16920
16921         * lyx_cb.C: remove !NEW_INSETS cruft
16922
16923         * figureForm.C: remove  !NEW_INSETS cruft
16924
16925         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16926
16927         * buffer.[Ch]: remove !NEW_INSETS cruft
16928
16929         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16930
16931         * CutAndPaste.C: remove !NEW_INSETS cruft
16932
16933         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16934
16935         * BufferView2.C: remove !NEW_INSETS cruft
16936
16937         * BufferView.h: remove !NEW_INSETS cruft
16938
16939 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16940
16941         * Lsstream.h: include LString.h before the sstream headers to
16942         fix problem with gcc 2.95.3 and lyxstring
16943
16944 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16945
16946         * lyx_main.C: add using directives when needed for C functions
16947         declared in std:: namespace.
16948
16949 2001-04-27  Juergen Vigna  <jug@sad.it>
16950
16951         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16952         (SetHeightOfRow): comment out the update call should not be needed!
16953
16954 2001-04-13  Juergen Vigna  <jug@sad.it>
16955
16956         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16957         (LyXTabular): tried to minimize operator= operations (and realized
16958         hopfully Lars wish).
16959
16960 2001-04-27  Juergen Vigna  <jug@sad.it>
16961
16962         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16963
16964 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16965
16966         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16967
16968         * buffer.C (readInset): hack to make listof algorithm work
16969
16970         * BufferView_pimpl.C: hack to make listof algorithm work
16971
16972 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16973
16974         * LyXAction.C: removed all !NEW_INSETS cruft
16975         (init): moved lfun_item in method
16976
16977         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16978
16979 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16980
16981         * BufferView2.C (theLockingInset): white space.
16982
16983 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16984
16985         * minibuffer.C: include <iostream>
16986
16987         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16988
16989         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16990
16991         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16992
16993         * text.[Ch] (TransposeChars): new method
16994
16995 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16996
16997         * call message directly through LyXView instead of through LyXFunc
16998         * BufferView2.C: adjust
16999         * BufferView_pimpl.C: adjust
17000         * FontLoader.C: adjust
17001         * buffer.C: adjust
17002         * bufferview_funcs.C: adjust
17003         * converter.C: adjust
17004         * figureForm.C: adjust
17005         * importer.C: adjust
17006         * lyx_cb.C: adjust
17007         * lyx_gui_misc.C: adjust
17008         * lyxfunc.C: adjust
17009         * lyxvc.C: adjust
17010         * text2.C: adjust
17011         + more files in subdirs
17012
17013         * lyxparagraph.h (size): move up int file
17014         (GetLayout): ditto
17015
17016         * adjust all uses of Assert to lyx::Assert.
17017
17018         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17019         lyxfunctional in namespace lyx
17020         * layout.C (hasLayout): ditto
17021         (GetLayout): ditto
17022         (GetLayout): ditto
17023         (delete_layout): ditto
17024         (NumberOfClass): ditto
17025         * converter.C (GetFormat): ditto
17026         (GetNumber): ditto
17027         (Add): ditto
17028         (Delete): ditto
17029         (SetViewer): ditto
17030         * bufferlist.C (getFileNames): ditto
17031         (emergencyWriteAll): ditto
17032         (exists): ditto
17033         (getBuffer): ditto
17034         * MenuBackend.C (hasSubmenu): ditto
17035         (hasMenu): ditto
17036         (getMenu): ditto
17037         * BufferView_pimpl.C (getInsetByCode): ditto
17038
17039 2001-04-18  Juergen Vigna  <jug@sad.it>
17040
17041         * vspace.C (asLatexString): fixed the 100% problem.
17042
17043 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17044
17045         * lyxfunc.C (Dispatch):
17046         * minibuffer.C:
17047         * minibuffer.h: add a few std:: qualifiers
17048
17049 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17050
17051         * minibuffer.[Ch]: reimplement so that commands is initiated and
17052         run from lyxfunc, simplified som handling, and made the completion
17053         and history code for complete. wip.
17054
17055         * lyxfunc.C (processKeySym): call message
17056         (miniDispatch): new temporary method
17057         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17058         (LFUN_MESSAGE): implement
17059         (LFUN_MESSAGE_PUSH): implement
17060         (LFUN_MESSAGE_POP): implement
17061         (initMiniBuffer): the initial/defualt minibuffer message.
17062
17063         * lyxfont.[Ch]: inline some more getters
17064
17065         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17066
17067         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17068
17069         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17070         (AutoSave): use LFUN_MESSAGE
17071         (Reconfigure): ditto
17072
17073         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17074
17075         * figureForm.C: use LFUN_MESSAGE
17076
17077         * converter.C (runLaTeX): use LFUN_MESSAGE
17078
17079         * bufferview_funcs.C: use LFUN_MESSAGE
17080         (Melt): ditto
17081         (changeDepth): ditto
17082
17083         * bufferparams.h: use boost::
17084
17085         * bufferlist.h: inherit privately from noncopyable
17086
17087         * bufferlist.C (loadLyXFile): remove some commented code.
17088
17089         * buffer.C (runChktex): use LFUN_MESSAGE
17090
17091         * ShareContainer.h: inherit privately from noncopyable
17092
17093         * ParagraphParameters.[hC] (depth): inline it.
17094
17095         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17096         methods.
17097         (message): new method
17098         (messagePush): ditto
17099         (messagePop): ditto
17100         (show): init minibuffer
17101         (showState): direct call
17102
17103         * LaTeX.[Ch]: inherit privately from noncopyable
17104         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17105         instead of WriteStatus.
17106
17107         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17108
17109         * BufferView_pimpl.C (buffer): don't init minibuffer
17110         (workAreaButtonPress): use LFUN_MESSAGE
17111         (workAreaButtonRelease): ditto
17112         (savePosition): ditto
17113         (restorePosition): ditto
17114         (MenuInsertLyXFile): ditto
17115         (workAreaExpose): don't init minibuffer
17116         (update): remove commented code, simplify
17117
17118         * BufferView2.C (openStuff): use LFUN_MESSAGE
17119         (toggleFloat): ditto
17120         (menuUndo): ditto
17121         (menuRedo): ditto
17122         (copyEnvironment): ditto
17123         (pasteEnvironment): ditto
17124         (copy): ditto
17125         (cut): ditto
17126         (paste): ditto
17127         (gotoInset): ditto
17128         (updateInset): remove some commented code
17129
17130         * lastfiles.h: inherit privately from noncopyable
17131         * layout.h: ditto
17132         * lyx_gui.h: ditto
17133         * lyx_main.h: ditto
17134         * lyxlex.h: ditto
17135         * lyxlex_pimpl.h: ditto
17136
17137         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17138         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17139         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17140
17141         * LyXAction.h: inherit privately from noncopyable, add methods
17142         func_begin, func_end, returning iterators to the func map.
17143
17144         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17145         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17146         (func_begin): new method
17147         (func_end): new method
17148
17149         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17150         and not)
17151         (copySelection): ditto
17152         (pasteSelection): ditto
17153
17154         * BufferView.C: whitespace change
17155         * BufferView.h: inherit privately from noncopyable
17156
17157 2001-04-16  Allan Rae  <rae@lyx.org>
17158
17159         * tabular-old.C (l_getline):
17160         * spellchecker.C (sc_check_word):
17161         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17162         an unrecognised preprocessor directive.  So ensure they're wrapped.
17163
17164 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17165
17166         * src/exporter.C (Export): Give an error message when path to file
17167         contains spaces.
17168
17169 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17170
17171         * LaTeX.C (deplog): Always check that foundfile exists.
17172
17173 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17174
17175         * lyx_main.h:
17176         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17177
17178 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17179
17180         * tabular.[Ch] (getLabelList): implement new method
17181
17182         * minibuffer.h: comment ouf setTiimer
17183
17184         * minibuffer.C (ExecutingCB): constify res
17185         (peek_event): constify s
17186         (Set): constify ntext
17187         (Init): constify nicename
17188
17189         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17190
17191         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17192         (savePosition): use two params to Minibuffer::Set
17193         (restorePosition): ditto
17194
17195 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17196
17197         * lyx_main.C: include language.h
17198
17199         * Makefile.am (lyx_main.o): add language.h
17200
17201 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17202
17203         * exporter.C:
17204         * paragraph.C:
17205         * screen.C:
17206         * tabular.C:
17207         * CutAndPaste.C: include gettext.h
17208
17209         * lyxfont.h: remove old hack with ON and OFF.
17210
17211         * lyxparagraph.h:
17212         * lyxfont.h: do not include language.h...
17213
17214         * BufferView2.C:
17215         * LaTeXFeatures.C:
17216         * Painter.C:
17217         * bufferview_funcs.C:
17218         * font.C:
17219         * lyxfont.C:
17220         * text.C:
17221         * text2.C:
17222         * trans_mgr.C:
17223         * paragraph.C: ... but do it here instead
17224
17225 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17226
17227         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17228
17229         * tabular.C: small reformat
17230
17231         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17232         NEW_INSETS version
17233         (GetChar): ditto
17234         (BreakParagraph): ditto
17235         (SetOnlyLayout): ditto
17236         (SetLayout): ditto
17237
17238         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17239         with one arg less.
17240
17241         * lastfiles.C: removed most using decl, add std:: where needed
17242
17243         * buffer.C: ws changes
17244
17245         * MenuBackend.C (class compare_format): put into anon namespace
17246         (expand): constify label, names, action, action2
17247         (expand):
17248
17249         * text.C (SingleWidth): constify font
17250         (IsBoundary): constify rtl2
17251         (GetVisibleRow): constify ww
17252
17253         * LaTeX.C (deplog): constify logfile
17254
17255         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17256         start_x, end_x
17257         (workAreaExpose): constify widthChange, heightChange
17258
17259         * lyxrow.C (par): moved
17260         (height): moved
17261         (next): moved
17262         * lyxrow.h: as inlines here
17263
17264         * lyxfont.h (shape): moved from lyxfont.C
17265         (emph): moved from lyxfont.C
17266
17267         * lyxfont.C (LyXFont): use initialization list for all
17268         constructors
17269         (shape): move to lyxfont.h as inline
17270         (emph): move to lyxfont.h as inline
17271
17272
17273 2001-04-04  Juergen Vigna  <jug@sad.it>
17274
17275         * vspace.C: had to include stdio.h for use of sscanf
17276
17277 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17278
17279         * BufferView.h:
17280         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17281         independent of xforms.
17282
17283 2001-04-02  Juergen Vigna  <jug@sad.it>
17284
17285         * spellchecker.C: fixed namespace placing!
17286
17287 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17288
17289         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17290         the LyXParagraph * is 0.
17291
17292 2001-03-29  Juergen Vigna  <jug@sad.it>
17293
17294         * vspace.C: added support for %, c%, p%, l%.
17295         (stringFromUnit): added helper function.
17296         (asLatexString): changed to give right results for the %-values.
17297
17298         * buffer.C: convert the widthp in a width%.
17299
17300 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17301
17302         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17303         figureForm.[Ch].
17304
17305         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17306         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17307
17308         * lyx_cb.[Ch]: see above.
17309
17310         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17311         form1.[Ch].
17312
17313         * form1.[Ch]:
17314         * lyx.[Ch]: replaced by figure_form.[Ch].
17315
17316         * lyx_gui.C:
17317         * lyx_gui_misc.C:
17318         * lyxfunc.C: changed headers associated with above changes.
17319
17320 2001-03-27  Juergen Vigna  <jug@sad.it>
17321
17322         * BufferView_pimpl.C: set the temporary cursor right!
17323
17324 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17325
17326         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17327
17328 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17329
17330         * LString.h: removed "using std::getline"!
17331
17332         * BufferView_pimpl.C (Dispatch): changes due to changes in
17333         InsetInclude::Params.
17334
17335         * buffer.C (tag_name): removed redundant break statements as they were
17336         producing lots of warnings with my compiler.
17337
17338 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17339
17340         * LString.h: add "using std::getline" when using the real <string>.
17341
17342 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17343
17344         * buffer.C: removed bitset usage.
17345         PAR_TAG moved to an anonymous name space.
17346         (tag_name): new funtion, also in the anonymous namespace.
17347         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17348         (makeDocBookFile): clean code. Completed transition from string arrays
17349         to string vectors.
17350         (SimpleDocBookOnePar): code clean.
17351
17352 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17353
17354         * tabular.C: add some comments.
17355
17356 2001-03-22  Juergen Vigna  <jug@sad.it>
17357
17358         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17359         compatibility read a bit and fixed bug with minipage in different
17360         depth.
17361
17362 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17363
17364         * buffer.C (pop_tag): removed.
17365         (push_tag): removed.
17366         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17367         array replaced with vector. Added support for CDATA sections.
17368         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17369         at any nest level.
17370         (makeDocBookFile): XML conformant declaration of CDATA section,
17371         fixed bug related to <emphasis> in the first paragraph char.
17372         (sgmlOpenTag): exclude empty tags.
17373         (sgmlCloseTag): ditto.
17374
17375         * buffer.h (pop_tag): removed.
17376         (push_tag): removed.
17377
17378 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17379
17380         * language.h (Languages): added size_type and size().
17381
17382 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17383
17384         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17385         response on compability reading of minipages. One probliem is that
17386         the old usage of minipages was flertydig
17387
17388         * several files here and in subdirs: don't use static at file
17389         scope use anon namespaces instead.
17390
17391 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17392
17393         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17394         LaTeX output. This is necessary for Literate document
17395         processing.
17396
17397 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17398
17399         * buffer.C: insert hfill when needed.
17400
17401         * tabular.C (l_getline): use string::erase, small whitespace change.
17402
17403         * BufferView_pimpl.C: try the anon namespace.
17404         * WorkArea.C: ditto
17405
17406 2001-03-16  Juergen Vigna  <jug@sad.it>
17407
17408         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17409         otherwise it won't open options-dialogs.
17410
17411         * buffer.C: honor pextraWidth(p) on converting minipages.
17412
17413         * tabular.C (l_getline): changed the functions to strip trailing \r.
17414
17415 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17416
17417         * BufferView_pimpl.C:
17418         * minibuffer..C: added "using SigC::slot" declaration.
17419
17420 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17421
17422         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17423
17424         * text2.C: ditto
17425
17426         * text.C: ditto
17427
17428         * paragraph.C: ditto
17429
17430         * lyxtext.h: NO_PEXTRA
17431
17432         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17433
17434         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17435         * ParameterStruct.h: ditto
17436         * ParagraphParameters.h: ditto
17437         * lyxparagraph.h: ditto
17438
17439 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17440
17441         * buffer.C: add compability for minipage alignment.
17442         (latexParagraphs): remove unwanted pextra check.
17443
17444         * several files: remove CXX_WORKING_NAMESPACES
17445
17446         * buffer.C (pop_tag): tie is in namespace boost
17447
17448         * BufferView.h: noncopyable is in namespace boost
17449         * lyxlex.h: ditto
17450         * lyx_main.h: ditto
17451         * lyx_gui.h: ditto
17452         * layout.h: ditto
17453         * lastfiles.h: ditto
17454         * bufferlist.h: ditto
17455         * ShareContainer.h: ditto
17456         * LyXView.h: ditto
17457         * LyXAction.h: ditto
17458         * LaTeX.h: ditto
17459
17460 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17461
17462         * Merging changes from BRANCH_MVC back into HEAD.
17463
17464         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17465
17466 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17467
17468         * BufferView_pimpl.C: change from intl.C
17469
17470         * combox.h:
17471         * combox.C:
17472         * Makefile.am: move combox.*
17473
17474         * form1.h:
17475         * form1.C:
17476         * lyx_gui.C:
17477         * intl.h:
17478         * intl.C: remove dialog (covered by prefs)
17479
17480 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17481
17482         * lyxfunc.C (Dispatch): removed redundant break statement.
17483
17484 2001-03-14  Juergen Vigna  <jug@sad.it>
17485
17486         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17487
17488 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17489
17490         * buffer.C: add hack to fix compability reading of minipages.
17491
17492 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17493
17494         * buffer.C (getLists): Cleanup.
17495
17496 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17497
17498         * lyxfont.C (update): don't honor toggleall on font size.
17499
17500 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17501
17502         * bmtable.c:
17503         * bmtable.h:
17504         * Makefile.am: moved to frontends/xforms/
17505
17506         * lyx_gui_misc.C:
17507         * lyxfunc.C:
17508         * BufferView_pimpl.C: changes for moved mathpanel
17509
17510 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17511
17512         * gettext.h: fix gettext_init() in --disable-nls
17513
17514 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17515
17516         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17517
17518 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17519
17520         * lyx.C:
17521         * lyx.h: strip external form
17522
17523 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17524
17525         * BufferView_pimpl.C: add comment, destroySplash()
17526
17527 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17528
17529         * BufferView_pimpl.C:
17530         * LyXAction.C:
17531         * buffer.C:
17532         * commandtags.h:
17533         * lyxfunc.C: use re-worked insetinclude
17534
17535 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17536
17537         * buffer.C: add using std::stringstream.
17538
17539         * lyx_cb.C: readd using std::ios.
17540
17541         * buffer.C: add using std::map.
17542
17543         * BufferView_pimpl.C: add using std::vector.
17544
17545         * ShareContainer.h: add std:: to swap.
17546
17547         * buffer.h: add some typedefs
17548         * buffer.C (getLists): use them
17549         (getLists): renamed from getTocList.
17550         add a counter for the different float types and use it in the
17551         generated string.
17552         (getLists): use the same counter for the NEW_INSETS and the "non"
17553         NEW_INSETS
17554
17555         * lyx_cb.h: remove unused items, includes, using etc.
17556
17557         * ShareContainer.h: remove some commented code, add more comments
17558         and "documentation".
17559
17560 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17561
17562         * buffer.C (getTocList): make the list also when NEW_INSETS is
17563         defined.
17564
17565         * buffer.h: remove TocType
17566
17567         * buffer.C (getTocList): change to return a map<string,
17568         vector<TocItem> >, implement for dynamic number of list.
17569
17570         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17571         * text2.C (PasteSelection): adjust
17572         * CutAndPaste.C (pasteSelection): adjust
17573
17574         * FloatList.C (FloatList): update from the new_insets branch.
17575         * Floating.[Ch]: ditto
17576         * LaTeXFeatures.C: ditto
17577         * buffer.C: ditto
17578         * lyxlex_pimpl.C: ditto
17579
17580         * paragraph.C (Last): remove when NEW_INSETS is defined.
17581
17582         * other file: changes because of the above.
17583
17584 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17585
17586         * lyxparagraph.h: rename next to next_, previous to previous_,
17587         make them private for NEW_INSETS. Rename Next() to next(),
17588         Previous() to previous().
17589
17590         * other files: changes because of the above.
17591
17592 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17593
17594         * BufferView.h:
17595         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17596         problem.
17597
17598 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17599
17600         * main.C (main): pass lyx_localedir to gettext_init().
17601
17602         * gettext.h: remove locale_init and gettext_init macros
17603
17604         * gettext.C (locale_init): new function
17605         (gettext_init): new function
17606
17607         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17608         setlocale().
17609
17610 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17611
17612         * Moved credits to frontends:
17613         * credits.[Ch]: removed
17614         * credits_form.[Ch]: removed
17615         * lyx_gui_misc.C: remove credits stuff
17616         * Makefile.am:
17617
17618 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17619
17620         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17621
17622         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17623         unneeded destructor.
17624
17625         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17626         a standalone pointer again.
17627
17628         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17629
17630 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17631
17632         * Makefile.am:
17633         * filedlg.h:
17634         * filedlg.C:
17635         * LyXAction.C:
17636         * ToolbarDefaults.C:
17637         * bufferlist.C:
17638         * commandtags.h:
17639         * form1.C:
17640         * form1.h:
17641         * lyx_cb.C:
17642         * lyx_cb.h:
17643         * lyxfunc.h:
17644         * lyxfunc.C:
17645         * BufferView_pimpl.C: use new file dialog in GUII
17646
17647         * lyx_cb.h:
17648         * lyx_cb.C: remove LayoutsCB to Toolbar
17649
17650 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17651
17652         * ShareContainer.h (get): add std:: qualifier
17653
17654 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17655
17656         * ShareContainer.h: define a proper ShareContainer::value_type
17657         type (and use typename to please compaq cxx)
17658
17659 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17660
17661         * lyxparagraph.h: move serveral local vars to
17662         ParameterStruct/ParagraphParameters., use ShareContainer in
17663         FontTable., make vars in FontTable private and add getter and
17664         setter.
17665
17666         * paragraph.C: changes because of the above.
17667
17668         * lyxfont.h: remove copy constructor and copy assignment. (the
17669         default ones is ok), move number inside FontBits. move inlines to
17670         lyxfont.C
17671
17672         * lyxfont.C: add number to initializaton of statics, move several
17673         inlines here. constify several local vars. some whitespace
17674         cleanup. Dont hide outerscope variables.
17675
17676         * Spacing.h: add two new constructors to match the set methods.
17677
17678         * ShareContainer.h: new file, will perhaps be moved to support
17679
17680         * ParameterStruct.h: new file
17681
17682         * ParagraphParameters.h: new file
17683
17684         * ParagraphParameters.C: new file
17685
17686         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17687         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17688
17689         * BufferView_pimpl.C: ParagraphParameter changes.
17690         * buffer.C: Likewise.
17691         * bufferview_funcs.C: Likewise.
17692         * text.C: Likewise.
17693         * text2.C: Likewise.
17694
17695 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17696
17697         * lyxfind.C (LyXReplace): do not redefine default argument in
17698         implementation.
17699         (IsStringInText): ditto
17700         (SearchForward): ditto
17701         (SearchBackward): ditto
17702
17703 2001-03-06  Juergen Vigna  <jug@sad.it>
17704
17705         * lyxfind.C (IsStringInText): put parentes around expressions.
17706
17707 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17708
17709         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17710
17711 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17712
17713         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17714
17715         * stl_string_fwd.h: add comment
17716
17717         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17718
17719         * tabular.h:
17720         * tabular.C: remove unused DocBook methods
17721
17722         * intl.C:
17723         * language.C:
17724         * paragraph.C:
17725         * buffer.C:
17726         killed DO_USE_DEFAULT_LANGUAGE
17727
17728 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17729
17730         * lyx_gui.C: do not include language.h.
17731
17732         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17733         arguments in function implementation.
17734
17735 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17736
17737         * BufferView_pimpl.C: add <ctime>
17738
17739 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17740
17741         * BufferView_pimpl.C: add using std::find_if
17742
17743 2001-02-27  José Matos  <jamatos@fep.up.pt>
17744
17745         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17746         by OnlyPath.
17747
17748 2001-02-11  José Matos  <jamatos@fep.up.pt>
17749
17750         * buffer.C (makeDocBookFile): command styles now have a parameter as
17751         "title" by default.
17752
17753 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17754
17755         * layout_forms.[Ch]: removed
17756         * lyx_cb.[Ch]: out character
17757         * lyx_gui.C: out character
17758         * lyx_gui_misc.C: out character
17759         * bufferview_funcs.C: : out character,
17760         added toggleall as parameter in ToggleAndShow
17761
17762 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17763
17764         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17765
17766         * text2.C (SetCurrentFont): Disable number property at boundary.
17767
17768 2001-02-26  Juergen Vigna  <jug@sad.it>
17769
17770         * lyxfunc.C (getStatus): added a string argument override function so
17771         that this is correctly called from LyXFunc::Dispatch if it contains a
17772         do_not_use_argument which is used!
17773         (Dispatch): added check for "custom" export and call appropriate func.
17774
17775 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17776
17777         * lyxrc.C: Add language_command_local, language_use_babel and
17778         language_global_options.
17779
17780         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17781
17782         * buffer.C (makeLaTeXFile): Use language_use_babel and
17783         language_global_options.
17784
17785 2001-02-23  Juergen Vigna  <jug@sad.it>
17786
17787         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17788         which works with LyXText and putted it inside BufferView. Here now we
17789         only call for that part the BufferView::Dispatch() function.
17790
17791         * BufferView.C (Dispatch): added.
17792
17793         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17794         functions which needs to use a LyXText over from LyXFunc.
17795         (MenuInsertLyXFile): added
17796         (getInsetByCode): added
17797         (moveCursorUpdate): added
17798         (static TEXT): added
17799
17800 2001-02-22  Juergen Vigna  <jug@sad.it>
17801
17802         * BufferView_pimpl.C (update): call a status update to see if LyXText
17803         needs it.
17804
17805 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17806
17807         * vc-backend.C (revert): implement for CVS
17808         (getLog): implement for CVS
17809
17810 2001-02-20  Juergen Vigna  <jug@sad.it>
17811
17812         * text2.C (ClearSelection): added BufferView param for inset_owner call
17813
17814         * lyxfunc.C (TEXT): added this function and use it instead of
17815         directly owner->view()-text of getLyXText().
17816
17817 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17818
17819         * src/layout_forms.C: out preamble
17820         * src/layout_forms.h: out preamble
17821         * src/lyx_cb.C: out preamble
17822         * src/lyx_cb.h: out preamble
17823         * src/lyx_gui.C: out preamble
17824         * src/lyx_gui_misc.C: out preamble
17825         * src/lyxfunc.C: connect with guii preamble
17826
17827 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17828
17829         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17830
17831 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17832
17833         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17834         whether to run bibtex.
17835
17836 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17837
17838         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17839
17840 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17841
17842         * Makefile.am (lyx_SOURCES): removed bibforms.h
17843
17844         * vspace.h: doxygen
17845
17846         * text.C (GetVisibleRow): make several local vars const
17847
17848         * tabular.C: small cleanup.
17849
17850         * lyxserver.C (callback): use compare instead of strncmp
17851
17852         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17853         inlines to after class or to paragraph.C
17854
17855         * lyxfont.h: remove friend operator!=
17856
17857         * converter.h: move friend bool operator< to non friend and after
17858         class def.
17859
17860         * combox.h: small cleanup
17861
17862         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17863         to inlines after class def.
17864
17865         * buffer.C (pop_tag): use string operations instead of strcmp
17866
17867         * bmtable.c: doxygen, small cleanup
17868
17869         * LaTeX.h: remove friend operator==
17870
17871 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17872
17873         * screen.C:
17874         * lyxrc.[Ch]:
17875         * lyxfunc.C:
17876         * lyxfont.[Ch]:
17877         * lyx_cb.C:
17878         * intl.[Ch]:
17879         * commandtags.h:
17880         * buffer.C:
17881         * WorkArea.[Ch]:
17882         * LyXAction.C:
17883         * BufferView_pimpl.C:
17884         * BufferView.[Ch]: remove cruft
17885
17886 2001-02-14  Juergen Vigna  <jug@sad.it>
17887
17888         * lyxfunc.C: removed #if 0 unused code
17889
17890         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17891
17892         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17893
17894         * text2.C (SetSelection): added a BufferView * parameter
17895
17896 2001-02-13  Juergen Vigna  <jug@sad.it>
17897
17898         * lyxfunc.C (Dispatch): fixed protected blank problem.
17899         * BufferView2.C (protectedBlank): added LyxText * parameter.
17900
17901         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17902         (AppendColumn): same as above for column_info.
17903
17904         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17905         (moveCursorUpdate): use a LyXText param for support of InsetText.
17906
17907         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17908         (tripleClick): ditto
17909
17910         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17911
17912         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17913
17914         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17915
17916         * text2.C (SetSelection): set correct update status if inset_owner
17917         (ToggleFree): ditto
17918
17919 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17920
17921         * tabular.C: remove some commented code.
17922
17923 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17924
17925         * BufferView_pimpl.C: call hideSplash()
17926
17927         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17928
17929         * include_form.h:
17930         * bibforms.h: remove
17931
17932         * lyxfunc.C:
17933         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17934           add LFUN_CHILD_CREATE
17935
17936         * counters.h: fix tiny typo
17937
17938         * lyx_cb.C:
17939         * lyx.h:
17940         * lyx_gui.C:
17941         * lyx.C: move splash to frontends/xforms/
17942
17943         * lyx_gui_misc.C: move Include and Bibform to frontends
17944
17945         * lyxvc.h: clarify comment
17946
17947         * vspace.C: tiny housekeeping
17948
17949 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17950
17951         * text.C (PrepareToPrint): RTL Fix.
17952
17953         * paragraph.C (GetUChar): New method.
17954         (String):  Use GetUChar.
17955
17956         * buffer.C (asciiParagraph): Use GetUChar.
17957
17958 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17959
17960         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17961
17962 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17963
17964         * buffer.h:
17965         * buffer.C: rename to getLogName(), handle
17966           build log / latex log nicely
17967
17968 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17969
17970         * MenuBackend.C:
17971         * MenuBackend.h: remove support for reference menuitem type.
17972
17973 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17974
17975         * BufferView_pimpl.C: housekeeping
17976         * BufferView_pimpl.h:
17977         * LyXView.h:
17978         * Makefile.am:
17979         * Timeout.C:
17980         * Timeout.h:
17981         * minibuffer.h: move Timeout GUI-I
17982
17983 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17984
17985         * lyxrc.C (read): Update converters data-structures.
17986
17987 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17988
17989         * LaTeX.h (operator!=): add operator != for Aux_Info
17990
17991 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17992
17993         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17994
17995         * LaTeXLog.C: deleted, useful code moved to Buffer
17996
17997         * buffer.h:
17998         * buffer.C: new function getLatexLogName()
17999
18000         * lyx_gui_misc.C:
18001         * lyx_gui.C:
18002         * lyxvc.C:
18003         * lyxvc.h:
18004         * lyxfunc.C: use frontends for LaTeX and VC logs
18005
18006 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18007
18008         * LaTeX.h: yet another std:: that Allan forgot.
18009
18010         * Variables.C (set): renamed from isset(), because this clashes
18011         with some HP-UX macros (grr).
18012
18013 2001-02-06  Allan Rae  <rae@lyx.org>
18014
18015         * LaTeX.h: Another bug fix.  Missing std:: this time.
18016
18017 2001-02-04  Allan Rae  <rae@lyx.org>
18018
18019         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18020         floats problem. I've left it commented out because it's not quite
18021         correct.  It should also test that the current object is a table or
18022         figure inset.  But I haven't gotten around to figuring out how to do
18023         that.  I *think* it'll be something like: "table" == inset.type()
18024
18025         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18026         bool.
18027
18028 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18029
18030         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18031         all the citation/databases/styles in the auxilary file.
18032         (run): Rerun latex if there was a babel language error.
18033
18034 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18035
18036         * text.C (Backspace): Preserve the font when changing newline char
18037         with a space.
18038         (BreakParagraph): If the cursor is before a space, delete the space.
18039
18040         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18041
18042 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18043
18044         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18045         new argument (code).
18046         (ChangeCitationsIfUnique): New method.
18047
18048         * paragraph.C (GetPositionOfInset): Handle bibkey.
18049
18050 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18051
18052         * BufferView_pimpl.h: change type of Position::par_pos to
18053         LyXParagraph::size_type.
18054
18055 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18056
18057         * BufferView_pimpl.C (savePosition, restorePosition): Write
18058         messages to minibuffer.
18059
18060 2001-01-28  José Matos  <jamatos@fep.up.pt>
18061
18062         * buffer.C (makeDocBookFile): adds support for document language.
18063         A silly restriction on the name of LatexCommand types where removed.
18064         Added support for CDATA sections, allows to chars unescaped, used
18065         among others in code, to avoid escape < and >.
18066
18067 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18068
18069         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18070         saved positions instrad of a stack. Furthermore, a position is
18071         stored using paragraph id/paragraph position.
18072
18073         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18074         Remove LFUN_REF_BACK.
18075
18076 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18077
18078         * converter.C (dvipdfm_options): New method.
18079
18080 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18081
18082         * vspace.C (isValidLength): Fix for empty input string.
18083
18084 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18085
18086         * LyXAction.C (init): change description of LFUN_FIGURE to
18087         "Insert Graphics"
18088
18089 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18090
18091         * LaTeX.C: add using directive
18092
18093 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18094
18095         * MenuBackend.C (expand): Fix the sorting of the formats.
18096
18097 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18098
18099         * lyx_main.C: tiny error message fix
18100
18101 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18102
18103         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18104         calling fl_initialize(). This fixes the problem with ',' as
18105         decimal separator in text files.
18106
18107 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18108
18109         * trans.C (process): Fix the keymap bug.
18110
18111 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18112
18113         * LaTeX.C (scanAuxFiles): New method. Provides support for
18114         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18115         (scanLogFile) Scan for "run BibTeX" messages.
18116
18117         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18118         OT1 font encoding. Also, load the aecompl package if the ae
18119         package is loaded.
18120
18121         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18122
18123 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18124
18125         * texrow.C (increasePos): turn two error messages into debug
18126         messages.
18127
18128 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18129
18130         * LaTeX.C (scanAux): Handle the \@input macro.
18131         (runBibTeX): Use scanAux().
18132
18133         * language.C (latex_options_): New field.
18134
18135         * LaTeXFeatures.C (getMacros): Add language macros.
18136
18137         * buffer.C (makeLaTeXFile): Small fix.
18138
18139 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18140
18141         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18142
18143         * text2.C: add a using directive.
18144
18145 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18146
18147         * BufferView2.C:
18148         * lyx_gui_misc.h:
18149         * lyxfr1.C:
18150         * lyxfunc.C: kill LyXBell.
18151
18152 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18153
18154         * text.C (IsBoundary): Remove the error message
18155
18156         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18157
18158         * lyxrc.C (setDefaults): Correct initialization value for
18159         font_norm_type.
18160
18161 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18162
18163         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18164         gotoError().
18165
18166         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18167         and GotoNextNote().
18168
18169         * src/LyXAction.C: Added reference-next.
18170
18171         * text.C (InsertChar): Use contains instead of strchr.
18172
18173         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18174
18175 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18176
18177         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18178         alignment commands (when needed).
18179
18180         * text.C (InsertChar): Add ':' to number separator chars.